Skip to content

Commit 1c99aa0

Browse files
committed
fix(create): ship js to npm
also bump version number to 1.0
1 parent c563d34 commit 1c99aa0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/blue-emus-draw.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@patternfly/create-element": major
3+
---
4+
5+
- fix build script (ship .js to npm)
6+
- bump version to 1.0.0

tools/create-element/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"registry": "https://registry.npmjs.org/"
2626
},
2727
"scripts": {
28-
"prepublishOnly": "tsc -b .",
28+
"prepublishOnly": "npm run build",
2929
"clean": "rimraf './main.{js,d.ts}' './generator/*.{js,d.ts}' bin/main.d.ts",
3030
"build": "run-p build:*",
3131
"build:esbuild": "esbuild main.ts generator/element.ts generator/files.ts generator/fp.ts --outdir=. --target=es2020",

0 commit comments

Comments
 (0)