Skip to content

Commit 87e6479

Browse files
committed
chore: bump ghjk to 0.3.1-rc.1
1 parent e9c699f commit 87e6479

File tree

14 files changed

+522
-237
lines changed

14 files changed

+522
-237
lines changed

.ghjk/deno.lock

Lines changed: 120 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ghjk/lock.json

Lines changed: 257 additions & 214 deletions
Large diffs are not rendered by default.

.github/workflows/publish-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
GHJK_VERSION: "v0.3.0"
9+
GHJK_VERSION: "v0.3.1-rc.1"
1010

1111
jobs:
1212
changes:

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- v*
1919

2020
env:
21-
GHJK_VERSION: "v0.3.0"
21+
GHJK_VERSION: "v0.3.1-rc.1"
2222
GHJK_ENV: "ci"
2323
REGISTRY_IMAGE: ghcr.io/${{ github.repository_owner }}/typegate
2424
DOCKER_BUILD_NO_SUMMARY: true
@@ -104,7 +104,7 @@ jobs:
104104
- uses: dsherret/rust-toolchain-file@v1
105105
with:
106106
targets: ${{ matrix.target }}
107-
- uses: mozilla-actions/[email protected].7
107+
- uses: mozilla-actions/[email protected].9
108108
- run: |
109109
# sometimes, dtolnay/rust-toolchain does not select the correct default target
110110
rustup target add ${{ matrix.target }}
@@ -164,15 +164,15 @@ jobs:
164164
runs-on: ubuntu-22.04
165165
permissions:
166166
contents: write
167-
id-token: write # The OIDC ID token is used for authentication with JSR.
167+
id-token: write # The OIDC ID token is used for authentication with JSR.
168168
steps:
169169
- uses: actions/checkout@v4
170170
with:
171171
fetch-depth: 0
172172
- uses: WyriHaximus/[email protected]
173173
id: latest-tag
174-
- uses: mozilla-actions/[email protected].7
175-
174+
- uses: mozilla-actions/[email protected].9
175+
176176
- uses: metatypedev/setup-ghjk@b4ab7287a841fd5f8a4117f3efc14131c7ec62e1
177177
- env:
178178
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
@@ -305,7 +305,7 @@ jobs:
305305
with:
306306
fetch-depth: 0
307307
- uses: kenji-miyake/setup-git-cliff@v2
308-
308+
309309
- uses: metatypedev/setup-ghjk@b4ab7287a841fd5f8a4117f3efc14131c7ec62e1
310310
- id: bump
311311
run: |
@@ -325,7 +325,7 @@ jobs:
325325
body: "Automatic suggested bump"
326326
base: main
327327
# since PRs created from workflows won't have actions run
328-
# on them, we create it as a draft PR
328+
# on them, we create it as a draft PR
329329
# the actions will then run when it's readied for review
330330
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
331331
draft: "always-true"

.github/workflows/tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# TODO: cache rust crate downloads
2+
13
name: test suite
24
run-name: test suite for ${{ github.event.pull_request.title || github.ref }}
35
on:
@@ -28,7 +30,7 @@ concurrency:
2830

2931
env:
3032
# GHJK_LOG: "debug"
31-
GHJK_VERSION: "v0.3.0"
33+
GHJK_VERSION: "v0.3.1-rc.1"
3234
GHJK_ENV: "ci"
3335
RUST_BACKTRACE: "full"
3436
DENO_DIR: deno-dir
@@ -85,7 +87,7 @@ jobs:
8587
name: Setup sccache secrets
8688
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
8789
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
88-
uses: mozilla-actions/[email protected].7
90+
uses: mozilla-actions/[email protected].9
8991

9092
- uses: metatypedev/setup-ghjk@b4ab7287a841fd5f8a4117f3efc14131c7ec62e1
9193
- run: |
@@ -96,6 +98,7 @@ jobs:
9698
ghjk x install-ts
9799
ghjk x install-website
98100
ghjk x fetch-deno
101+
ghjk x build-tgraph
99102
100103
# pre-resolve everything to disable resolutions
101104
# changing the lockfile which would fail the hooks
@@ -129,7 +132,7 @@ jobs:
129132
name: Setup sccache secrets
130133
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
131134
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
132-
uses: mozilla-actions/[email protected].7
135+
uses: mozilla-actions/[email protected].9
133136

134137
- uses: metatypedev/setup-ghjk@b4ab7287a841fd5f8a4117f3efc14131c7ec62e1
135138
with:
@@ -246,7 +249,7 @@ jobs:
246249
name: Setup sccache secrets
247250
run: echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
248251
- if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
249-
uses: mozilla-actions/[email protected].7
252+
uses: mozilla-actions/[email protected].9
250253
# - name: Cache deno dir
251254
# uses: actions/cache@v4
252255
# with:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ You can install it using the following instructions.
101101

102102
```bash
103103
# install ghjk
104-
GHJK_VERSION="v0.3.0"
104+
GHJK_VERSION="v0.3.1-rc.1"
105105
GHJK_INSTALL_HOOK_SHELLS=bash # add more shells if needed
106106
curl -fsSL https://raw.githubusercontent.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | sh
107107
bash # re-open your shells to have the hooks register

deno.lock

Lines changed: 115 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ghjk.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ env("_rust").install(
4040
// use rustup for the actual toolchain
4141
ports.protoc({ version: "v28.2" }),
4242
ports.pipi({ packageName: "cmake" })[0],
43+
// ports.cargobi({
44+
// crateName: "sccache",
45+
// locked: true,
46+
// version: "0.10.0"
47+
// }),
4348
installs.rust_stable,
4449
);
4550

import_map.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"imports": {
3-
"@ghjk/ts/": "https://raw.githubusercontent.com/metatypedev/ghjk/33d82dece752d4e3fbcf955a1f48e54d7eefbbf8/src/ghjk_ts/",
4-
"@ghjk/ts": "https://raw.githubusercontent.com/metatypedev/ghjk/33d82dece752d4e3fbcf955a1f48e54d7eefbbf8/src/ghjk_ts/mod.ts",
5-
"@ghjk/ports_wip": "https://raw.githubusercontent.com/metatypedev/ghjk/33d82dece752d4e3fbcf955a1f48e54d7eefbbf8/ports/mod.ts",
6-
"@ghjk/ports_wip/": "https://raw.githubusercontent.com/metatypedev/ghjk/33d82dece752d4e3fbcf955a1f48e54d7eefbbf8/ports/",
7-
"@ghjk/utils": "https://raw.githubusercontent.com/metatypedev/ghjk/33d82dece752d4e3fbcf955a1f48e54d7eefbbf8/src/deno_utils/mod.ts",
3+
"@ghjk/ts/": "https://raw.githubusercontent.com/metatypedev/ghjk/a518e49ffe637f1596cb1a4f8686abd77f6e2348/src/ghjk_ts/",
4+
"@ghjk/ts": "https://raw.githubusercontent.com/metatypedev/ghjk/a518e49ffe637f1596cb1a4f8686abd77f6e2348/src/ghjk_ts/mod.ts",
5+
"@ghjk/ports_wip": "https://raw.githubusercontent.com/metatypedev/ghjk/a518e49ffe637f1596cb1a4f8686abd77f6e2348/ports/mod.ts",
6+
"@ghjk/ports_wip/": "https://raw.githubusercontent.com/metatypedev/ghjk/a518e49ffe637f1596cb1a4f8686abd77f6e2348/ports/",
7+
"@ghjk/utils": "https://raw.githubusercontent.com/metatypedev/ghjk/a518e49ffe637f1596cb1a4f8686abd77f6e2348/src/deno_utils/mod.ts",
88
"@david/dax": "jsr:@david/[email protected]",
99
"@sinonjs/fake-timers": "npm:@sinonjs/[email protected]",
1010
"@std/archive/": "jsr:/@std/archive@^0.225.0/",

src/mt_deno/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ pub async fn test(
247247
main_graph_container
248248
.check_specifiers(
249249
&specifiers_for_typecheck_and_test,
250-
// options.ext_flag().as_ref(),
251250
deno::graph_container::CheckSpecifiersOptions {
252251
ext_overwrite: options.ext_flag().as_ref(),
253252
..Default::default()

tools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN set -eux; \
5252
; \
5353
apt clean autoclean; apt autoremove --yes; rm -rf /var/lib/{apt,dpkg,cache,log}/;
5454

55-
ARG GHJK_VERSION=v0.3.0
55+
ARG GHJK_VERSION=v0.3.1-rc.1
5656
RUN curl -fsSL https://raw.githubusercontent.com/metatypedev/ghjk/$GHJK_VERSION/install.sh \
5757
| GHJK_INSTALL_EXE_DIR=/usr/bin sh
5858

tools/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
export const CURRENT_VERSION = "0.5.1-rc.4";
55
export const LATEST_RELEASE_VERSION = "0.5.0";
66
export const LATEST_PRE_RELEASE_VERSION = "0.5.1-rc.2";
7-
export const GHJK_VERSION = "v0.3.0";
7+
export const GHJK_VERSION = "v0.3.1-rc.1";
88
export const GHJK_ACTION_VERSION = "b4ab7287a841fd5f8a4117f3efc14131c7ec62e1";
99
export const RUST_VERSION = "1.85.0";
1010
export const DENO_VERSION = "2.2.4";

tools/cross.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN set -eux \
3636
unzip
3737

3838
ENV GHJK_SHARE_DIR=/ghjk
39-
ARG GHJK_VERSION=v0.3.0
39+
ARG GHJK_VERSION=v0.3.1-rc.1
4040
RUN curl -fsSL https://raw.githubusercontent.com/metatypedev/ghjk/$GHJK_VERSION/install.sh \
4141
| GHJK_INSTALL_EXE_DIR=/usr/bin GHJK_INSTALL_HOOK_SHELLS=bash sh
4242

whiz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ setup:
5757
- src/typegraph/python/pyproject.toml
5858
- docs/metatype.dev/package.json
5959
env:
60-
GHJK_VERSION: "v0.3.0"
60+
GHJK_VERSION: "v0.3.1-rc.1"
6161
command: |
6262
set -e
6363
curl -fsSL https://raw.githubusercontent.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash

0 commit comments

Comments
 (0)