Skip to content

Commit

Permalink
Addresses #294
Browse files Browse the repository at this point in the history
We use a workaround for `bun` types due to oven-sh/bun#358 (comment)
  • Loading branch information
lgarron committed Sep 20, 2023
1 parent 1ce46db commit 408b501
Show file tree
Hide file tree
Showing 39 changed files with 2,484 additions and 1,520 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
NODE=node
NPX=npx
BUN_RUN=bun run
BUN_BUN_RUN=bun --bun run
BIOME=bun x @biomejs/biome
BUN=bun
BUN_RUN=${BUN} run
BUN_BUN_RUN=${BUN} --bun run
BIOME=${BUN} x @biomejs/biome
WEB_TEST_RUNNER=./node_modules/.bin/wtr

.PHONY: default
Expand Down Expand Up @@ -104,6 +105,7 @@ test-src: \
test-src-scripts-consistency # keep CI.yml in sync with this
.PHONY: test-spec
test-spec:
${BUN} test
${WEB_TEST_RUNNER} --playwright
.PHONY: test-spec-with-coverage
test-spec-with-coverage:
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/chai": "^4.3.4",
"@types/dom-speech-recognition": "^0.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.5",
"@types/node": "^20.6.3",
"@types/node-fetch": "^2.6.2",
"@types/yargs": "^17.0.23",
"@web/dev-server-esbuild": "^0.3.4",
Expand Down
Loading

0 comments on commit 408b501

Please sign in to comment.