Skip to content

Commit 494a751

Browse files
authored
Merge branch 'main' into upload/deno-runtime
2 parents e5047a2 + f0f41ac commit 494a751

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+10893
-7233
lines changed

.ghjk/deno.lock

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ghjk/lock.json

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "0",
3-
"platform": "aarch64-darwin",
3+
"platform": "x86_64-linux",
44
"moduleEntries": {
55
"ports": {
66
"version": "0",
@@ -402,6 +402,11 @@
402402
"portRef": "[email protected]",
403403
"crateName": "whiz",
404404
"locked": true
405+
},
406+
"66212eb79fbcb37961450d5dfffdaedc0b949e0e7c9257c3c63093d009a5fc75": {
407+
"version": "v9.0.5",
408+
"depConfigs": {},
409+
"portRef": "[email protected]"
405410
}
406411
}
407412
},
@@ -424,9 +429,10 @@
424429
"57da4ca242ec52ba50359a7fd78653e6bf253df0",
425430
"67d371eb0c4ae641830a955975d7134f7ee9a864",
426431
"4ca29edff5e070fd0885680b178ed6948d7a4c7f",
427-
"dd83a99f49f3f0fba11cdd014ff718cc9539316b",
432+
"a12d1020fe585e5ea75d9a2035bdcbde8dd90044",
428433
"4d1916871a40b6ac730709f7721f740df192c84d",
429434
"4df902463d60efc5b8e760ea4899f6ab6df0f16e",
435+
"88f6aa5ddb513712623d31a17096ea26286064da",
430436
"185be72d02330f9b3dfa3d0791274feb958e119d",
431437
"5549508f1f5eddf9cb2465f07cf0c7603dc0c849",
432438
"5c041a4209ae50657ea5acacc26683688f2913a9",
@@ -754,8 +760,8 @@
754760
"moduleSpecifier": "https://raw.githubusercontent.com/metatypedev/ghjk/423d38e/ports/node.ts"
755761
}
756762
},
757-
"dd83a99f49f3f0fba11cdd014ff718cc9539316b": {
758-
"version": "v8.15.2",
763+
"a12d1020fe585e5ea75d9a2035bdcbde8dd90044": {
764+
"version": "v9.0.5",
759765
"port": {
760766
"ty": "denoWorker@v1",
761767
"name": "pnpm_ghrel",
@@ -841,6 +847,25 @@
841847
},
842848
"packageName": "node-gyp"
843849
},
850+
"88f6aa5ddb513712623d31a17096ea26286064da": {
851+
"version": "v2.4.0",
852+
"port": {
853+
"ty": "denoWorker@v1",
854+
"name": "mold_ghrel",
855+
"platforms": [
856+
"aarch64-linux",
857+
"x86_64-linux"
858+
],
859+
"version": "0.1.0",
860+
"deps": [
861+
{
862+
"name": "tar_aa"
863+
}
864+
],
865+
"moduleSpecifier": "https://raw.githubusercontent.com/metatypedev/ghjk/423d38e/ports/mold.ts"
866+
},
867+
"replaceLd": false
868+
},
844869
"185be72d02330f9b3dfa3d0791274feb958e119d": {
845870
"version": "3.8.18",
846871
"port": {

.git-branches.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
push-hook = true
2+
push-new-branches = false
3+
ship-delete-tracking-branch = false
4+
sync-before-ship = true
5+
sync-upstream = true
6+
7+
[branches]
8+
main = "main"
9+
perennials = []
10+
perennial-regex = ""
11+
12+
[hosting]
13+
# platform = ""
14+
# origin-hostname = ""
15+
16+
[sync-strategy]
17+
18+
feature-branches = "rebase"
19+
perennial-branches = "rebase"

.github/pull_request_template.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,29 @@ Pull requests are squash merged using:
33
- their title as the commit message
44
- their description as the commit body
55
6-
Having a good title and description is important for the users to get readable changelog and understand when they need to update his code and how.
6+
Having a good title and description is important for the users to get readable changelog.
77
-->
88

9-
<!-- Explain WHAT the change is -->
9+
<!-- 1. Explain below WHAT the change is -->
1010

11-
#### Motivation and context
11+
...
1212

13-
<!-- Explain WHY the was made or link an issue number -->
13+
<!-- 2. Explain below WHY the change cannot be made simpler -->
1414

15-
#### Migration notes
15+
...
16+
17+
<!-- 3. Explain below WHY the was made or link an issue number -->
18+
19+
...
1620

17-
<!-- Explain HOW users should update their code when required -->
21+
<!-- 4. Explain HOW users should update their code or remove that section -->
1822

19-
### Checklist
23+
#### Migration notes
24+
25+
...
2026

27+
<!-- 5. Readiness checklist
2128
- [ ] The change come with new or modified tests
2229
- [ ] Hard-to-understand functions have explanatory comments
2330
- [ ] End-user documentation is updated to reflect the change
31+
-->

.github/workflows/tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,23 +278,25 @@ jobs:
278278
mkdir -p $(dirname $WASM_FILE)
279279
wasm-opt -Oz target/wasm/wasm32-unknown-unknown/debug/typegraph_core.wasm -o $WASM_FILE.opt
280280
wasm-tools component new $WASM_FILE.opt -o $WASM_FILE
281-
281+
282282
jco transpile $WASM_FILE -o typegraph/node/sdk/src/gen --map metatype:typegraph/host=../host/host.js
283283
cd typegraph/node
284284
pnpm install
285285
pnpm run sdk-build
286286
cp ./sdk/{package.json,package-lock.json,LICENSE.md} ./sdk/dist
287287
cd ../..
288-
288+
289289
poetry run python -m wasmtime.bindgen $WASM_FILE --out-dir typegraph/python/typegraph/gen
290290
291291
# start the docker containers
292292
deno run -A dev/env.ts base prisma
293293
294+
export NPM_CONFIG_REGISTRY=http://localhost:4873
295+
294296
# publish the sdk to the local registry
295297
cd typegraph/node/sdk/dist
296298
npm config set "//localhost:4873/:_authToken" fooBar
297-
npm publish --registry http://localhost:4873
299+
npm publish --registry $NPM_CONFIG_REGISTRY
298300
cd ../../../..
299301
300302
# install packages inside metatype examples
@@ -312,12 +314,12 @@ jobs:
312314
# from old test-libs
313315
cargo test --locked --exclude meta-cli --exclude typegate --exclude typegate_engine --exclude typegraph_core --exclude metagen_mdk_rust_static --workspace
314316
315-
NPM_CONFIG_REGISTRY=http://localhost:4873 deno run -A dev/update.ts --cache-only || deno run -A dev/update.ts --cache-only
317+
deno run -A dev/update.ts --cache-only || deno run -A dev/update.ts --cache-only
316318
cargo build -p meta-cli
317319
cargo build -p xtask # xtask and meta-cli are used by the test suite
318320
deno run -A dev/test.ts --threads 1 -- --coverage=coverage
319321
# FIXME: required due to https://github.com/denoland/deno/issues/21621#issuecomment-1887870712
320-
NPM_CONFIG_REGISTRY=http://localhost:4873 deno cache --import-map typegate/import_map.json \
322+
deno cache --import-map typegate/import_map.json \
321323
typegate/src/main.ts \
322324
typegate/tests/utils/*.ts \
323325
typegate/tests/runtimes/wasm/*.ts \

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ typegraph/node/sdk/src/gen
4545
typegraph/python/typegraph/gen
4646

4747
*.egg-info/
48+
49+
examples/typegraphs/migrations

0 commit comments

Comments
 (0)