Skip to content

Commit 5e1764b

Browse files
authored
fix(create-element): add prepack script to build before publish (#3099)
Closes #2967 Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b057f87 commit 5e1764b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎.changeset/fix-create-element.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@patternfly/create-element": patch
3+
---
4+
5+
Fixed missing entry point in published package.

‎tools/create-element/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"templates/**/*"
3535
],
3636
"scripts": {
37+
"prepack": "tsc -b .",
3738
"test": "echo 'unit tests for PFE generator not written yet'"
3839
},
3940
"bugs": {

0 commit comments

Comments
 (0)