Skip to content

Commit

Permalink
fix: use import_map at runtime (#833)
Browse files Browse the repository at this point in the history
- Bump to release v0.4.10-rc1
- Use import_map.json at runtime since remote configs aren't supported
  • Loading branch information
Yohe-Am authored Sep 3, 2024
1 parent 7a221f6 commit 2e692b9
Show file tree
Hide file tree
Showing 47 changed files with 136 additions and 2,257 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,12 @@ jobs:
pnpm compile:vscode
pnpm vscode:package
[ ${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
&& pnpm run vscode:publish -p ${{ secrets.AZURE_DEVOPS_TOKEN }} --skip-duplicate \
|| pnpm run vscode:publish -p ${{ secrets.AZURE_DEVOPS_TOKEN }}
# avoid publishing pre-release versions as they don't
# support it
[[ "$(ghjk x version-print)" == *-* ]] \
&& ([ ${{ github.event_name == 'workflow_dispatch' && inputs.ovewriteArtifacts }} == 'true' ] \
&& pnpm run vscode:publish -p ${{ secrets.AZURE_DEVOPS_TOKEN }} --skip-duplicate \
|| pnpm run vscode:publish -p ${{ secrets.AZURE_DEVOPS_TOKEN }})
- uses: svenstaro/upload-release-action@v2
with:
tag: ${{ steps.latest-tag.outputs.tag }}
Expand All @@ -340,6 +343,7 @@ jobs:
fetch-depth: 0
- uses: dsherret/rust-toolchain-file@v1
- uses: kenji-miyake/setup-git-cliff@v2
- uses: metatypedev/setup-ghjk@318209a9d215f70716a4ac89dbeb9653a2deb8bc
- id: bump
run: |
ghjk x version-bump prerelease
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exclude = [
]

[workspace.package]
version = "0.4.9"
version = "0.4.10-rc1"
edition = "2021"

[workspace.dependencies]
Expand Down
35 changes: 7 additions & 28 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
// Deno doesn't suport remote workspaces so we must
// use import maps for meta-cli to work from github sources
"importMap": "./import_map.json",
"workspace": {
"members": [
"./src/typegate/",
"./tests",
"./tools",
"./src/typegraph/deno",
"./examples/"
"./src/typegate/", // need special lint rules
"./tests", // needs special lint rules
"./src/typegraph/deno", // needed for publishing
"./examples/" // needed for published_test
]
},
"compilerOptions": {
Expand Down Expand Up @@ -37,28 +39,5 @@
],
"exclude": []
}
},
"imports": {
"@david/dax": "jsr:@david/[email protected]",
"@std/archive": "jsr:@std/archive@^0.225.0",
"@std/assert": "jsr:@std/assert@^1.0.2",
"@std/cli": "jsr:@std/cli@^1.0.4",
"@std/collections": "jsr:@std/collections@^1.0.5",
"@std/encoding": "jsr:@std/encoding@^1.0.2",
"@std/fs": "jsr:@std/fs@^1.0.1",
"@std/http": "jsr:@std/http@^1.0.3",
"@std/io": "jsr:@std/io@^0.224.5",
"@std/path": "jsr:@std/path@^1.0.2",
"@std/streams": "jsr:@std/streams@^1.0.2",
"@std/uuid": "jsr:@std/uuid@^1.0.1",
"aws-sdk/client-s3": "https://esm.sh/@aws-sdk/[email protected]?pin=v131",
"aws-sdk/s3-request-presigner": "https://esm.sh/@aws-sdk/[email protected]?pin=v131",
"dispose": "https://deno.land/x/[email protected]/mod.ts",
"graphql": "npm:[email protected]",
"jwt": "https://deno.land/x/[email protected]/mod.ts",
"monads": "https://deno.land/x/[email protected]/mod.ts",
"native": "./src/typegate/engine/bindings.ts",
"redis": "https://deno.land/x/[email protected]/mod.ts",
"zod": "https://deno.land/x/[email protected]/mod.ts"
}
}
109 changes: 2 additions & 107 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e692b9

Please sign in to comment.