Skip to content

Commit 5e93c0c

Browse files
committed
add codegen to build in hyperwebjs, add helper commands for publish
1 parent ffe39cf commit 5e93c0c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"build:dev": "lerna run build:dev --stream; yarn symlink",
2121
"lint": "lerna run lint --parallel",
2222
"symlink": "symlink-workspace --logLevel error",
23-
"postinstall": "yarn symlink"
23+
"postinstall": "yarn symlink",
24+
"publish": "yarn build; yarn lerna publish --no-private",
25+
"publish:minor": "yarn build; yarn lerna publish minor --no-private"
2426
},
2527
"devDependencies": {
2628
"@types/jest": "^29.5.11",

packages/hyperwebjs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"clean": "rimraf dist/**",
2525
"prepare": "npm run build",
2626
"codegen": "ts-node scripts/codegen.ts",
27-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
28-
"build:dev": "npm run clean; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
27+
"build": "npm run clean; npm run codegen; tsc; tsc -p tsconfig.esm.json; npm run copy",
28+
"build:dev": "npm run clean; npm run codegen; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
2929
"lint": "eslint . --fix",
3030
"test": "jest",
3131
"test:watch": "jest --watch"

0 commit comments

Comments
 (0)