You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Rename `test-local` to `test`
Suppress `prepack` when building tarball for installation into fixture directory
Update contributing.md
* try e2es
* turn off e2es; they worked
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ We use package.json scripts for building, testing, and linting. Read the script
14
14
```
15
15
yarn
16
16
yarn build
17
-
yarn test-local
17
+
yarn test
18
18
yarn fmt
19
19
```
20
20
21
-
`npm prepare` / `yarn prepare`is maintained so that anyone can install `ts-node` from git, which is useful for testing experimental branches and unreleased features.
21
+
`yarn prepack` / `pnpm prepack`/ `npm prepare`are maintained so that anyone can install `ts-node` from git, which is useful for testing experimental branches and unreleased features.
22
22
23
23
Source lives in `src` and is compiled to `dist`. Some shim files live outside of `src` so that they can be imported at
24
24
certain paths. For example, to allow users to import `ts-node/register`, we have `register/index.js` which is a shim to
@@ -28,15 +28,19 @@ compiled code in `dist`.
28
28
29
29
## Tests
30
30
31
-
Test cases are declared in `src/test/*.spec.ts`, and test fixtures live in `./tests`. They can be run with `yarn test-local`.
31
+
Test cases are declared in `src/test/*.spec.ts`, and test fixtures live in `./tests`. They can be run with `yarn test`.
32
32
33
33
To run a subset of tests:
34
34
35
35
```
36
36
# Use ava's --match flag to match the name of a test or suite
0 commit comments