File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 3939 node-version : ${{ matrix.node-version }}
4040 - run : npm ci
4141 - run : npm run test
42+ if : matrix.node-version != 'latest'
43+ # TODO (43081j): remove the following once there's some way to
44+ # tell node not to try run typescript sources in a way that doesn't
45+ # break <23 node
46+ - run : npm run test
47+ name : " npm run test (without type stripping)"
48+ env :
49+ NODE_OPTIONS : --no-experimental-strip-types
50+ if : matrix.node-version == 'latest'
Original file line number Diff line number Diff line change 55 "description" : " A minimal library for executing processes in Node" ,
66 "main" : " ./dist/main.js" ,
77 "files" : [
8- " dist" ,
9- " !dist/node_modules" ,
10- " !dist/cjs/test" ,
11- " !dist/esm/test"
8+ " dist"
129 ],
1310 "scripts" : {
1411 "build" : " npm run build:types && tsup" ,
5451 "import" : {
5552 "types" : " ./dist/main.d.ts" ,
5653 "default" : " ./dist/main.js"
57- },
58- "require" : {
59- "types" : " ./dist/main.d.cts" ,
60- "default" : " ./dist/main.cjs"
6154 }
6255 },
6356 "./package.json" : " ./package.json"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
33export default defineConfig ( {
44 entryPoints : [ "src/main.ts" ] ,
55 outDir : "dist" ,
6- format : [ "esm" , "cjs" ] ,
6+ format : [ "esm" ] ,
77 tsconfig : "./tsconfig.json" ,
88 target : "es2022" ,
99 minify : false ,
You can’t perform that action at this time.
0 commit comments