Skip to content

Remove redundant build call from prepublishOnly#224

Merged
bcomnes merged 1 commit into
masterfrom
fix-build
May 17, 2026
Merged

Remove redundant build call from prepublishOnly#224
bcomnes merged 1 commit into
masterfrom
fix-build

Conversation

@bcomnes

@bcomnes bcomnes commented May 17, 2026

Copy link
Copy Markdown
Owner

releasearoni automatically runs npm run build if a build script exists, so calling it explicitly beforehand causes tsc to run twice. The second run fails with TS5055 because the .d.ts files from the first run are now included in the input glob (lib/**/*) and would be overwritten.

releasearoni automatically runs `npm run build` if a build script exists,
so calling it explicitly beforehand causes tsc to run twice. The second
run fails with TS5055 because the .d.ts files from the first run are
now included in the input glob (lib/**/*) and would be overwritten.
Copilot AI review requested due to automatic review settings May 17, 2026 22:31
@bcomnes bcomnes merged commit 362279e into master May 17, 2026
25 checks passed
@bcomnes bcomnes deleted the fix-build branch May 17, 2026 22:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes an explicit npm run build invocation from the prepublishOnly lifecycle script, relying on releasearoni’s existing behavior to run the build once and avoiding duplicate tsc runs (and the resulting TS5055 overwrite scenario).

Changes:

  • Updated prepublishOnly to run only releasearoni, eliminating the redundant pre-build step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants