-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
635 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ jobs: | |
if: | | ||
github.event_name == 'push' || | ||
!startsWith(github.event.pull_request.head.label, 'dsherret:') | ||
permissions: | ||
contents: read | ||
id-token: write | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 30 | ||
strategy: | ||
|
@@ -44,6 +47,10 @@ jobs: | |
registry-url: 'https://registry.npmjs.org' | ||
- name: npm build | ||
run: deno run -A ./scripts/build_npm.ts ${{steps.get_tag_version.outputs.TAG_VERSION}} | ||
|
||
- name: Publish to JSR on tag | ||
if: runner.os == 'Linux' | ||
run: deno run -A jsr:@david/[email protected] | ||
- name: npm publish | ||
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux' | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/target | ||
.vscode | ||
deno.lock | ||
npm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"lock": false, | ||
"name": "@david/dax", | ||
"version": "0.0.0", | ||
"tasks": { | ||
"test": "deno test -A", | ||
"wasmbuild": "deno run -A https://deno.land/x/[email protected]/main.ts --sync --out ./src/lib" | ||
|
@@ -18,7 +19,26 @@ | |
} | ||
}, | ||
"exclude": [ | ||
".gitattributes", | ||
".gitignore", | ||
".github", | ||
".rustfmt.toml", | ||
".vscode", | ||
"Cargo.toml", | ||
"Cargo.lock", | ||
"npm/", | ||
"target/" | ||
] | ||
], | ||
"exports": "./mod.ts", | ||
"imports": { | ||
"@deno/dnt": "jsr:@deno/dnt@^0.41.1", | ||
"@std/assert": "jsr:@std/assert@^0.221.0", | ||
"@std/fmt": "jsr:@std/fmt@^0.221.0", | ||
"@std/fs": "jsr:@std/[email protected]", | ||
"@std/io": "jsr:@std/[email protected]", | ||
"@std/path": "jsr:@std/[email protected]", | ||
"@std/streams": "jsr:@std/[email protected]", | ||
"which": "jsr:@david/[email protected]", | ||
"which_runtime": "jsr:@david/[email protected]" | ||
} | ||
} |
Oops, something went wrong.