Skip to content

Commit edb84ef

Browse files
committed
Merge branch 'master' into make-v28
# Conflicts: # pnpm-lock.yaml
2 parents 0fd0d08 + 4c359ec commit edb84ef

File tree

9 files changed

+27
-312
lines changed

9 files changed

+27
-312
lines changed

.github/workflows/headers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: pnpm install
3232

3333
- name: Check for new headers on IANA.ORG
34-
run: pnpm tsx tools/headers.ts
34+
run: pnpm unrun tools/headers.ts
3535

3636
- name: Check for changes
3737
id: git-state

compat-test/quick-start.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe("ESM Test", async () => {
1515
const listener = (chunk: Buffer) => {
1616
out += chunk.toString();
1717
};
18-
const quickStart = spawn("tsx", ["quick-start.ts"]);
18+
const quickStart = spawn("unrun", ["quick-start.ts"]);
1919
quickStart.stdout.on("data", listener);
2020
quickStart.stderr.on("data", listener);
2121
await vi.waitFor(() => assert(out.includes(`Listening`)), { timeout: 1e4 });

dts-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": "tsc"
1212
},
1313
"devDependencies": {
14-
"rolldown": "^1.0.0-rc.7",
14+
"rolldown": "^1.0.0-rc.9",
1515
"typescript": "catalog:dev"
1616
}
1717
}

esm-test/quick-start.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe("ESM Test", async () => {
66
const listener = (chunk: Buffer) => {
77
out += chunk.toString();
88
};
9-
const quickStart = spawn("tsx", ["quick-start.ts"]);
9+
const quickStart = spawn("unrun", ["quick-start.ts"]);
1010
quickStart.stdout.on("data", listener);
1111
quickStart.stderr.on("data", listener);
1212
const port = givePort("esm");

example/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe("Example", async () => {
1313
out += chunk.toString();
1414
};
1515
const matchOut = (regExp: RegExp) => regExp.test(out);
16-
const example = spawn("tsx", ["index.ts"]);
16+
const example = spawn("unrun", ["index.ts"]);
1717
example.stdout.on("data", listener);
1818
const port = givePort("example");
1919
await vi.waitFor(() => assert(out.includes(`Listening`)), { timeout: 1e4 });

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"start": "tsx index.ts",
7+
"start": "unrun index.ts",
88
"build": "pnpm build:docs && pnpm build:client",
9-
"build:docs": "tsx generate-documentation.ts",
10-
"build:client": "tsx generate-client.ts",
9+
"build:docs": "unrun generate-documentation.ts",
10+
"build:client": "unrun generate-client.ts",
1111
"pretest": "tsc",
1212
"test": "vitest run index.spec.ts"
1313
},

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"type": "module",
44
"scripts": {
55
"start": "pnpm -F example start",
6-
"prebuild": "tsx tools/contributors.ts && tsx tools/license.ts",
6+
"prebuild": "unrun tools/contributors.ts && unrun tools/license.ts",
77
"build": "pnpm -r build",
8-
"pretest": "tsx tools/make-tests.ts",
8+
"pretest": "unrun tools/make-tests.ts",
99
"test": "pnpm -r test",
1010
"bench": "pnpm -F express-zod-api bench",
1111
"lint": "eslint && prettier *.md **/*.md --check",
@@ -26,9 +26,9 @@
2626
"globals": "^17.3.0",
2727
"husky": "^9.1.7",
2828
"prettier": "3.8.1",
29-
"tsdown": "^0.21.0",
30-
"tsx": "^4.21.0",
29+
"tsdown": "^0.21.2",
3130
"typescript-eslint": "catalog:dev",
31+
"unrun": "^0.2.32",
3232
"vitest": "^4.0.16"
3333
},
3434
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"

0 commit comments

Comments
 (0)