-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade deps and drop unnecessary dependencies
- Loading branch information
Showing
17 changed files
with
1,089 additions
and
1,714 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
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
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 |
---|---|---|
|
@@ -63,5 +63,5 @@ branding: | |
color: 'blue' | ||
|
||
runs: | ||
using: 'node16' | ||
using: 'node20' | ||
main: 'dist/index.js' |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
set -eEuo pipefail | ||
|
||
# | ||
# As of Node 20, the --test parameter does not support globbing, and it does not | ||
# support variable Windows paths. We also cannot invoke the test runner | ||
# directly, because while it has an API, there's no way to force it to transpile | ||
# the Typescript into JavaScript before passing it to the runner. | ||
# | ||
# So we're left with this solution, which shells out to Node to list all files | ||
# that end in *.test.ts (excluding node_modules/), and then execs out to that | ||
# process. We have to exec so the stderr/stdout and exit code is appropriately | ||
# fed to the caller. | ||
# | ||
|
||
FILES="$(node -e "process.stdout.write(require('node:fs').readdirSync('./', { recursive: true }).filter((e) => {return e.endsWith('.test.ts') && !e.startsWith('node_modules');}).sort().join(' '));")" | ||
|
||
set -x | ||
exec node --require ts-node/register --test-reporter spec --test ${FILES} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.