Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Nov 25, 2025

About

Disable npm postinstall scripts [in CI] where possible.

References

/cc @wmKvXo, @surister, @kneth

@amotl amotl requested a review from surister November 25, 2025 21:32
Copy link
Member Author

@amotl amotl Nov 25, 2025

Choose a reason for hiding this comment

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

I am not sure if the .npmrc file should be located here, or in the root folder? I guess locating it next to package.json is a good choice?

Copy link
Member

Choose a reason for hiding this comment

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

Looks like a good location for the file

Copy link
Member Author

Choose a reason for hiding this comment

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

When working locally in a project, a .npmrc file in the root of the project (ie, a sibling of node_modules and package.json) will set config values specific to this project.

-- https://docs.npmjs.com/cli/v8/configuring-npm/npmrc#per-project-config-file

Copy link
Member

Choose a reason for hiding this comment

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

yes that's the place

@amotl amotl requested a review from kneth November 26, 2025 17:04
@amotl amotl merged commit 64150e0 into main Nov 26, 2025
3 checks passed
@amotl amotl deleted the ignore-scripts branch November 26, 2025 21:35
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.

4 participants