Skip to content

chore: add allowscripts to work with npm 12#4811

Open
ludofischer wants to merge 2 commits into
webpack:mainfrom
ludofischer:chore/allow-scripts
Open

chore: add allowscripts to work with npm 12#4811
ludofischer wants to merge 2 commits into
webpack:mainfrom
ludofischer:chore/allow-scripts

Conversation

@ludofischer

Copy link
Copy Markdown
Contributor

Summary

When using npm 12, post install scripts are not allowed to run by default. Without this change, the user has to manually approve the scripts after install, which modifies the package.json file or allow the scripts in their own .npmrc which makes the install less reproducible.

See https://github.com/orgs/community/discussions/198547

What kind of change does this PR introduce?

npm configuration change in package.json

Did you add tests for your changes?
The changes do not touch the code that reaches the end user, only the install procedure for development.

Does this PR introduce a breaking change?
No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Use of AI

@changeset-bot

changeset-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4933ea5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.30%. Comparing base (a967cc8) to head (4933ea5).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4811   +/-   ##
=======================================
  Coverage   93.30%   93.30%           
=======================================
  Files          14       14           
  Lines        5466     5466           
  Branches      793      793           
=======================================
  Hits         5100     5100           
  Misses        364      364           
  Partials        2        2           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a967cc8...4933ea5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread package.json Outdated
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