File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "type" : " commonjs" ,
66 "scripts" : {
77 "all" : " pnpm run-s build test" ,
8- "build" : " pnpm run-s build:node10 build:node16 build:bundler" ,
8+ "build" : " pnpm run-s build:node10 build:node20 build:bundler" ,
99 "build:node10" : " tsc" ,
10- "build:node16 " : " tsc --project tsconfig.node16 .json" ,
10+ "build:node20 " : " tsc --project tsconfig.node20 .json" ,
1111 "build:bundler" : " tsc --project tsconfig.bundler.json" ,
1212 "test" : " pnpm run-s test:js test:ts" ,
1313 "test:js" : " node index.js" ,
14- "test:ts" : " pnpm run-s test:ts:node10 test:ts:node16 test:ts:bundler" ,
14+ "test:ts" : " pnpm run-s test:ts:node10 test:ts:node20 test:ts:bundler" ,
1515 "test:ts:node10" : " tsx index.ts" ,
16- "test:ts:node16 " : " tsx --tsconfig tsconfig.node16 .json index.ts" ,
16+ "test:ts:node20 " : " tsx --tsconfig tsconfig.node20 .json index.ts" ,
1717 "test:ts:bundler" : " tsx --tsconfig tsconfig.bundler.json index.ts"
1818 }
1919}
Original file line number Diff line number Diff line change 11{
22 "extends" : " ./tsconfig.json" ,
33 "compilerOptions" : {
4- "module" : " Node16 " ,
5- "moduleResolution" : " Node16 "
4+ "module" : " Node20 " ,
5+ "moduleResolution" : " NodeNext "
66 }
77}
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "all" : " pnpm run-s build test" ,
8- "build" : " pnpm run-s build:node10 build:node16 build:bundler" ,
8+ "build" : " pnpm run-s build:node10 build:node20 build:bundler" ,
99 "build:node10" : " tsc" ,
10- "build:node16 " : " tsc --project tsconfig.node16 .json" ,
10+ "build:node20 " : " tsc --project tsconfig.node20 .json" ,
1111 "build:bundler" : " tsc --project tsconfig.bundler.json" ,
1212 "test" : " pnpm run-s test:js test:ts" ,
1313 "test:js" : " node index.js" ,
14- "test:ts" : " pnpm run-s test:ts:node10 test:ts:node16 test:ts:bundler" ,
14+ "test:ts" : " pnpm run-s test:ts:node10 test:ts:node20 test:ts:bundler" ,
1515 "test:ts:node10" : " tsx index.ts" ,
16- "test:ts:node16 " : " tsx --tsconfig tsconfig.node16 .json index.ts" ,
16+ "test:ts:node20 " : " tsx --tsconfig tsconfig.node20 .json index.ts" ,
1717 "test:ts:bundler" : " tsx --tsconfig tsconfig.bundler.json index.ts"
1818 }
1919}
Original file line number Diff line number Diff line change 11{
22 "extends" : " ./tsconfig.json" ,
33 "compilerOptions" : {
4- "module" : " Node16 " ,
5- "moduleResolution" : " Node16 "
4+ "module" : " Node20 " ,
5+ "moduleResolution" : " NodeNext "
66 }
77}
You can’t perform that action at this time.
0 commit comments