File tree 3 files changed +11
-9
lines changed
3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 39
39
node-version : ${{ matrix.node-version }}
40
40
- run : npm ci
41
41
- 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 5
5
"description" : " A minimal library for executing processes in Node" ,
6
6
"main" : " ./dist/main.js" ,
7
7
"files" : [
8
- " dist" ,
9
- " !dist/node_modules" ,
10
- " !dist/cjs/test" ,
11
- " !dist/esm/test"
8
+ " dist"
12
9
],
13
10
"scripts" : {
14
11
"build" : " npm run build:types && tsup" ,
54
51
"import" : {
55
52
"types" : " ./dist/main.d.ts" ,
56
53
"default" : " ./dist/main.js"
57
- },
58
- "require" : {
59
- "types" : " ./dist/main.d.cts" ,
60
- "default" : " ./dist/main.cjs"
61
54
}
62
55
},
63
56
"./package.json" : " ./package.json"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
3
3
export default defineConfig ( {
4
4
entryPoints : [ "src/main.ts" ] ,
5
5
outDir : "dist" ,
6
- format : [ "esm" , "cjs" ] ,
6
+ format : [ "esm" ] ,
7
7
tsconfig : "./tsconfig.json" ,
8
8
target : "es2022" ,
9
9
minify : false ,
You can’t perform that action at this time.
0 commit comments