Skip to content

Commit 74dc086

Browse files
committed
FIXUP
1 parent 1a00a40 commit 74dc086

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/nodejs-16.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
sed --version >/dev/null 2>&1 && sed -i "s@'vite-plus'@'vite'@g" vite.config.ts || sed -i '' "s@'vite-plus'@'vite'@g" vite.config.ts
2727
jq 'del(.overrides)' package.json > package.json.tmp && mv package.json.tmp package.json
2828
npm install -D vitest@3 vite@7
29-
- run: npx vitest && npm run build && npm pack && npx attw --pack
29+
- run: npx vitest && npm run build:ts && npm run build:version && npm pack && npx attw --pack
3030
env:
3131
NODE_OPTIONS: --require ./test/patch-for-node16-18.cjs
3232
- run: npm run test-node16

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"typecheck": "tsc --noEmit && tsgo --noEmit",
5151
"fmtcheck": "vite fmt --check .",
5252
"prebuild": "npm run clean",
53-
"build": "tsc --version && tshy && tshy-after && vite run build:version && rm -rf *.tsbuildinfo",
53+
"build": "vite run build:ts && vite run build:version && rm -rf *.tsbuildinfo",
54+
"build:ts": "tsc --version && tshy && tshy-after",
5455
"build:version": "node ./scripts/replace_urllib_version.js",
5556
"build:cjs:test": "cd test/cjs && rm -rf node_modules && npm link ../.. && node index.js",
5657
"build:esm:test": "cd test/esm && rm -rf node_modules && npm link ../.. && node index.js",

0 commit comments

Comments
 (0)