File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
with-typescript-simple-cjs
with-typescript-simple-esm
packages/tinybench-plugin Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4040
4141 node-versions :
4242 runs-on : " ubuntu-latest"
43- name : " ${{ matrix.example }} on Node ${{ matrix.node-version }}"
43+ name : " Node ${{ matrix.node-version }} - ${{ matrix.example }}"
4444 needs : list-examples
4545 strategy :
4646 matrix :
Original file line number Diff line number Diff line change 22 "name" : " with-typescript-cjs" ,
33 "private" : true ,
44 "scripts" : {
5- "bench-benchmark-js" : " tsx bench/benchmark.js/index.bench.ts" ,
6- "bench-tinybench" : " tsx bench/tinybench/index.bench.ts"
5+ "bench-benchmark-js" : " node --require tsx/cjs bench/benchmark.js/index.bench.ts" ,
6+ "bench-tinybench" : " node --require tsx/cjs bench/tinybench/index.bench.ts"
77 },
88 "devDependencies" : {
99 "@codspeed/benchmark.js-plugin" : " link:../../packages/benchmark.js-plugin" ,
Original file line number Diff line number Diff line change 33 "private" : true ,
44 "type" : " module" ,
55 "scripts" : {
6- "bench-benchmark-js" : " tsx bench/benchmark.js/index.bench.ts" ,
7- "bench-tinybench" : " tsx bench/tinybench/index.bench.ts" ,
6+ "bench-benchmark-js" : " node --import tsx/esm bench/benchmark.js/index.bench.ts" ,
7+ "bench-tinybench" : " node --import tsx/esm bench/tinybench/index.bench.ts" ,
88 "bench-vitest" : " vitest bench --run"
99 },
1010 "devDependencies" : {
Original file line number Diff line number Diff line change 22 "name" : " with-typescript-simple-cjs" ,
33 "private" : true ,
44 "scripts" : {
5- "bench-benchmark-js" : " tsx benchmark-js.ts" ,
6- "bench-tinybench" : " tsx tinybench.ts"
5+ "bench-benchmark-js" : " node --require tsx/cjs benchmark-js.ts" ,
6+ "bench-tinybench" : " node --require tsx/cjs tinybench.ts"
77 },
88 "devDependencies" : {
99 "@codspeed/benchmark.js-plugin" : " link:../../packages/benchmark.js-plugin" ,
Original file line number Diff line number Diff line change 33 "private" : true ,
44 "type" : " module" ,
55 "scripts" : {
6- "bench-benchmark-js" : " tsx benchmark-js.ts" ,
7- "bench-tinybench" : " tsx tinybench.ts"
6+ "bench-benchmark-js" : " node --import tsx/esm benchmark-js.ts" ,
7+ "bench-tinybench" : " node --import tsx/esm tinybench.ts"
88 },
99 "devDependencies" : {
1010 "@codspeed/benchmark.js-plugin" : " link:../../packages/benchmark.js-plugin" ,
Original file line number Diff line number Diff line change 11tasks :
22 bench :
3- command : tsx benches/sample.ts
3+ command : node --import tsx/esm tsx benches/sample.ts
44 inputs :
55 - " benches/**"
66 local : true
You can’t perform that action at this time.
0 commit comments