Skip to content

fix: report failure when npm blocks install scripts - #35

Merged
theproducer merged 9 commits into
mainfrom
fix/RMET-5493
Oct 26, 2026
Merged

theproducer merged 9 commits into
mainfrom
fix/RMET-5493

Conversation

@theproducer

Copy link
Copy Markdown
Contributor

Description

Fixes an issue on NPM 12 where the migration currently exits 0 when it blocks an install script. A plugin author sees an unqualified success when in reality the install scripts were skipped.

Now, the migrator will report which packages were blocked, and give instructions on how to unblock them to continue the migration.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

Tests or Reproductions

Screenshots / Media

Platforms Affected

  • Android
  • iOS
  • Web

Notes / Comments

@theproducer
theproducer requested review from a team and andredestro and removed request for a team October 12, 2026 17:28
Comment thread src/install-scripts.ts
theproducer and others added 3 commits October 26, 2026 09:40
Co-authored-by: André Destro <254790+andredestro@users.noreply.github.com>
# Conflicts:
#	src/index.ts
@theproducer
theproducer merged commit 82dc220 into main Oct 26, 2026
1 check passed
@theproducer
theproducer deleted the fix/RMET-5493 branch October 26, 2026 20:13
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