Skip to content

Commit 9ab5f3b

Browse files
committed
chore(publish): fix publishing
1 parent d48f59f commit 9ab5f3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959
],
6060
"scripts": {
6161
"build": "npm run build:clean && npm run build:src && npm run build:next && npm run build:express && npm run build:koa && npm run build:edge",
62-
"build:clean": "rimraf dist/ next/dist express/dist edge/dist",
62+
"build:clean": "rimraf dist/ next/dist express/dist edge/dist koa/dist",
6363
"build:edge": "tsup edge/index.ts -d edge/dist",
6464
"build:express": "tsup express/index.ts -d express/dist",
6565
"build:koa": "tsup koa/index.ts -d koa/dist",
6666
"build:next": "tsup next/index.ts -d next/dist",
6767
"build:src": "tsup src/index.ts",
6868
"installExamples": "(cd examples/express && npm ci) && (cd examples/koa && npm ci) && (cd examples/next.js && npm ci) && (cd examples/next.js-typescript && npm ci)",
6969
"lint": "eslint --ext ts,js,jsx,tsx src/ next/ express/ koa/ edge/ examples/",
70-
"prepublishOnly": "npm run build && cp next/dist/* next/ && cp express/dist/* express/ && cp express/dist/* express/ && cp edge/dist/* edge/",
70+
"prepublishOnly": "npm run build && cp next/dist/* next/ && cp express/dist/* express/ && cp edge/dist/* edge/ && cp koa/dist/* koa/",
7171
"postpublish": "rm next/*.d.ts next/*.js next/*.map next/*.mjs && rm express/*.d.ts express/*.js express/*.map express/*.mjs && rm koa/*.d.ts koa/*.js koa/*.map koa/*.mjs && rm edge/*.d.ts edge/*.js edge/*.map edge/*.mjs",
7272
"test": "jest --coverage --ci && npm run installExamples && npm run lint && tsc --noEmit && npm run build && npm run build:clean",
7373
"watch": "npm run build:clean && concurrently \"npm:watch:*\"",

0 commit comments

Comments
 (0)