Skip to content

Commit 987508d

Browse files
committed
fix(create): add packageConfig to template
1 parent 684a1f8 commit 987508d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/real-tips-relax.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+
Add publishconfig to template package.json

tools/create-element/templates/element/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"default": "./*.js"
2222
}
2323
},
24+
"publishConfig": {
25+
"access": "public",
26+
"registry": "https://registry.npmjs.org/"
27+
},
2428
"scripts": {
2529
"⚙️-----UTIL-------⚙️": "❓ Manages the repo",
2630
"clean": "git clean -fX -e node_modules -e tsconfig.tsbuildinfo",

0 commit comments

Comments
 (0)