Skip to content

fix(create-element): add prepack script to build before publish#3099

Merged
bennypowers merged 4 commits intomainfrom
fix/create-element-main
Apr 15, 2026
Merged

fix(create-element): add prepack script to build before publish#3099
bennypowers merged 4 commits intomainfrom
fix/create-element-main

Conversation

@bennypowers
Copy link
Copy Markdown
Member

Summary

Add prepack script to @patternfly/create-element so TypeScript
is compiled before publishing, ensuring main.js is present.

Closes #2967

Test plan

  • npm run new works downstream

Closes #2967

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: 3c8f554

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@patternfly/create-element Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 747996a
😎 Deploy Preview https://deploy-preview-3099--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 15, 2026

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "fix(create-element): add prepack script to build before publish"
}

@github-actions github-actions bot added the AT passed Automated testing has passed label Apr 15, 2026
@github-actions

This comment has been minimized.

@bennypowers bennypowers enabled auto-merge (squash) April 15, 2026 13:13
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for be0c60c: Report

@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 2d6c2f0: Report

@bennypowers bennypowers merged commit 5e1764b into main Apr 15, 2026
14 checks passed
@bennypowers bennypowers deleted the fix/create-element-main branch April 15, 2026 13:37
@github-actions
Copy link
Copy Markdown
Contributor

SSR Test Run for 747996a: Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] missing main.js for @patternfly/create-element@1.0.5

2 participants