File tree Expand file tree Collapse file tree 14 files changed +46
-24
lines changed
Expand file tree Collapse file tree 14 files changed +46
-24
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,12 @@ run = "deno test --check --doc --allow-all --unstable-kv --trace-leaks --paralle
106106[tasks ."test:node" ]
107107description = " Run the test suite using Node.js"
108108depends = [" prepare" ]
109- run = " pnpm run --recursive --filter '!{docs}' test"
109+ run = " pnpm run --recursive --filter '!{docs}' --config.enable-pre-post-scripts=false test"
110110
111111[tasks ."test:bun" ]
112112description = " Run the test suite using Bun"
113113depends = [" prepare" ]
114- run = " pnpm run --recursive --filter '!{docs}' test:bun"
114+ run = " pnpm run --recursive --filter '!{docs}' --config.enable-pre-post-scripts=false test:bun"
115115
116116[tasks .test ]
117117description = " Run the test suite across all environments (Deno, Node.js, Bun)"
Original file line number Diff line number Diff line change 7272 "build" : " pnpm --filter @fedify/amqp... run build:self" ,
7373 "prepack" : " pnpm build" ,
7474 "prepublish" : " pnpm build" ,
75- "test" : " pnpm build && node --experimental-transform-types --test" ,
76- "test:bun" : " pnpm build && bun test --timeout 15000" ,
75+ "pretest" : " pnpm build" ,
76+ "test" : " node --experimental-transform-types --test" ,
77+ "pretest:bun" : " pnpm build" ,
78+ "test:bun" : " bun test --timeout 15000" ,
7779 "test:deno" : " deno task test" ,
7880 "test-all" : " tsdown && node --experimental-transform-types --test && bun test --timeout 15000 && deno task test"
7981 }
Original file line number Diff line number Diff line change 9090 "build" : " pnpm --filter @fedify/cli... run build:self" ,
9191 "prepack" : " pnpm build" ,
9292 "prepublish" : " pnpm build" ,
93- "test" : " pnpm build && node --test --experimental-transform-types 'src/**/*.test.ts' '!src/init/test/**'" ,
93+ "pretest" : " pnpm build" ,
94+ "test" : " node --test --experimental-transform-types 'src/**/*.test.ts' '!src/init/test/**'" ,
9495 "test-init" : " deno task test-init" ,
95- "test:bun" : " pnpm build && bun test" ,
96+ "pretest:bun" : " pnpm build" ,
97+ "test:bun" : " bun test" ,
9698 "run" : " pnpm build && node dist/mod.js" ,
9799 "runi" : " tsdown && node dist/mod.js" ,
98100 "run:bun" : " pnpm build && bun dist/mod.js" ,
Original file line number Diff line number Diff line change 147147 "build" : " pnpm --filter @fedify/fedify... run build:self" ,
148148 "prepack" : " pnpm build" ,
149149 "prepublish" : " pnpm build" ,
150- "test" : " pnpm build && cd dist/ && node --test" ,
151- "test:bun" : " pnpm build && cd dist/ && bun test --timeout 60000" ,
150+ "pretest" : " pnpm build" ,
151+ "test" : " cd dist/ && node --test" ,
152+ "pretest:bun" : " pnpm build" ,
153+ "test:bun" : " cd dist/ && bun test --timeout 60000" ,
152154 "test:cfworkers" : " deno task codegen && wrangler deploy --dry-run --outdir src/cfworkers && node --import=tsx src/cfworkers/client.ts"
153155 }
154156}
Original file line number Diff line number Diff line change 4848 "build" : " pnpm --filter @fedify/fixture... run build:self" ,
4949 "prepack" : " pnpm build" ,
5050 "prepublish" : " pnpm build" ,
51- "test" : " pnpm build && cd dist/ && node --test"
51+ "pretest" : " pnpm build" ,
52+ "test" : " cd dist/ && node --test"
5253 },
5354 "private" : true
5455}
Original file line number Diff line number Diff line change 8888 "build" : " pnpm --filter @fedify/postgres... run build:self" ,
8989 "prepack" : " pnpm build" ,
9090 "prepublish" : " pnpm build" ,
91- "test" : " pnpm build && node --experimental-transform-types --test" ,
92- "test:bun" : " pnpm build && bun test --timeout=10000"
91+ "pretest" : " pnpm build" ,
92+ "test" : " node --experimental-transform-types --test" ,
93+ "pretest:bun" : " pnpm build" ,
94+ "test:bun" : " bun test --timeout=10000"
9395 }
9496}
Original file line number Diff line number Diff line change 9797 "build" : " pnpm --filter @fedify/redis... run build:self" ,
9898 "prepack" : " pnpm build" ,
9999 "prepublish" : " pnpm build" ,
100- "test" : " pnpm build && node --experimental-transform-types --test" ,
101- "test:bun" : " pnpm build && bun test --timeout=10000"
100+ "pretest" : " pnpm build" ,
101+ "test" : " node --experimental-transform-types --test" ,
102+ "pretest:bun" : " pnpm build" ,
103+ "test:bun" : " bun test --timeout=10000"
102104 }
103105}
Original file line number Diff line number Diff line change 6464 "build" : " pnpm --filter @fedify/relay... run build:self" ,
6565 "prepack" : " pnpm build" ,
6666 "prepublish" : " pnpm build" ,
67- "test" : " pnpm build && cd dist/ && node --test" ,
68- "test:bun" : " pnpm build && cd dist/ && bun test --timeout 60000"
67+ "pretest" : " pnpm build" ,
68+ "test" : " cd dist/ && node --test" ,
69+ "pretest:bun" : " pnpm build" ,
70+ "test:bun" : " cd dist/ && bun test --timeout 60000"
6971 }
7072}
Original file line number Diff line number Diff line change 8585 "build" : " pnpm --filter @fedify/sqlite... run build:self" ,
8686 "prepack" : " pnpm build" ,
8787 "prepublish" : " pnpm build" ,
88- "test" : " pnpm build && node --experimental-transform-types --test" ,
89- "test:bun" : " pnpm build && bun test --timeout=10000" ,
88+ "pretest" : " pnpm build" ,
89+ "test" : " node --experimental-transform-types --test" ,
90+ "pretest:bun" : " pnpm build" ,
91+ "test:bun" : " bun test --timeout=10000" ,
9092 "test:deno" : " deno task test"
9193 }
9294}
Original file line number Diff line number Diff line change 6868 "build" : " pnpm --filter @fedify/testing... run build:self" ,
6969 "prepack" : " pnpm build" ,
7070 "prepublish" : " pnpm build" ,
71- "test" : " pnpm build && node --experimental-transform-types --test" ,
72- "test:bun" : " pnpm build && bun test --timeout 15000" ,
71+ "pretest" : " pnpm build" ,
72+ "test" : " node --experimental-transform-types --test" ,
73+ "pretest:bun" : " pnpm build" ,
74+ "test:bun" : " bun test --timeout 15000" ,
7375 "test:deno" : " deno task test" ,
7476 "test-all" : " pnpm build && node --experimental-transform-types --test && bun test --timeout 15000 && deno task test"
7577 }
You can’t perform that action at this time.
0 commit comments