Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Jun 19, 2024
1 parent fae27a2 commit 7604b65
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Build package
run: bun run build
- name: Publish package
run: npx jsr publish
run: npx jsr publish --config jsr.json
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"scripts": {
"build": "bun build src/suite.deno.js --outdir=dist --minify",
"test": "node --test && deno test && bun test",
"deploy": "npm publish && npx jsr publish"
"deploy": "npm publish && npx jsr publish",
"prepublishOnly": "bun run build"
},
"publishConfig": {
"access": "public"
Expand All @@ -26,11 +27,11 @@
"bun": "./src/suite.bun.js",
"node": "./src/suite.node.js",
"types": "./src/suite.d.ts"
}
},
"./package.json": "./package.json"
},
"imports": {
"#suite": {
"deno": "./dist/suite.deno.js",
"bun": "./src/suite.bun.js",
"node": "./src/suite.node.js",
"types": "./src/suite.d.ts"
Expand Down
1 change: 0 additions & 1 deletion src/suite.bun.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export function setup(meta) {
// @ts-ignore
const native = Bun.jest(meta.path)
const test = native.test.bind()
test.skip = native.test.skip
Expand Down
1 change: 0 additions & 1 deletion src/suite.deno.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
assertThrows
} from '../node_modules/@jsr/std__assert/mod.js'

// @ts-ignore
const native = Deno.test
const test = native.bind()
test.skip = native.ignore
Expand Down

0 comments on commit 7604b65

Please sign in to comment.