diff --git a/.changeset/fix-create-element-publish.md b/.changeset/fix-create-element-publish.md new file mode 100644 index 0000000000..a362bea42a --- /dev/null +++ b/.changeset/fix-create-element-publish.md @@ -0,0 +1,4 @@ +--- +"@patternfly/create-element": patch +--- +Fixed missing files in published package that prevented `npm run new` from working diff --git a/tools/create-element/.npmignore b/tools/create-element/.npmignore new file mode 100644 index 0000000000..5ea712c799 --- /dev/null +++ b/tools/create-element/.npmignore @@ -0,0 +1,4 @@ +# Override .gitignore so that compiled .js and .d.ts files +# are included in the published package via the "files" field +# in package.json. Without this, newer npm versions apply +# .gitignore patterns as a filter even when "files" is set.