Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Update tsconfig by replacing ts-node-test with tsx #1028

Merged
merged 7 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
- run: npm ci
- run: npx tsc
- run: make eslint-check
- run: npx ts-node-test test/*.ts
- run: npm test
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $ make check
dprint check
./bin/cli lint
npx tsc
npx ts-node-test test/*.ts
npm test
crystal spec
./bin/cli validate
```
Expand Down Expand Up @@ -83,12 +83,12 @@ Actual behavior checking requires <https://github.com/uhop/node-re2> that includ

```console
$ npm install
$ node
Welcome to Node.js v18.15.0.
$ npx tsx
Welcome to Node.js v18.16.1.
Type ".help" for more information.
```

```js
```typescript
> const RE2 = require("re2");
undefined
> let pattern = new RE2("^v(?<version>\\S+)");
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ check: lint-all test validate
.PHONY: test
test:
npx tsc
npx ts-node-test test/*.ts
npm test
crystal spec

.PHONY: setup
Expand Down
Loading
Loading