Skip to content

Chore: Update .npmrc configuration settings#1312

Merged
shm11C3 merged 1 commit into
developfrom
chore/update-npmrc
Apr 2, 2026
Merged

Chore: Update .npmrc configuration settings#1312
shm11C3 merged 1 commit into
developfrom
chore/update-npmrc

Conversation

@shm11C3

@shm11C3 shm11C3 commented Apr 2, 2026

Copy link
Copy Markdown
Owner

Summary

Related Issues

Type of Change

  • Bug fix (fix/ branch)
  • New feature (feat/ branch)
  • Refactoring (refactor/ branch)
  • Documentation (docs/ branch)
  • Dependencies update
  • Other (chore/ branch)

Screenshots / Videos

Test Plan

  • Manual testing
  • Unit tests

Checklist

  • Self-reviewed the code
  • Linting and formatting pass (npm run lint && npm run format / cargo tauri-lint && cargo tauri-fmt)
  • Tests pass (npm test / cargo tauri-test)
  • No new warnings or errors

Copilot AI review requested due to automatic review settings April 2, 2026 15:29
@shm11C3 shm11C3 merged commit 31eb7b2 into develop Apr 2, 2026
19 checks passed
@shm11C3 shm11C3 deleted the chore/update-npmrc branch April 2, 2026 15:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s npm configuration to tighten install-time behavior and package policy defaults.

Changes:

  • Adds ignore-scripts=true to disable lifecycle scripts during dependency installation.
  • Enables audit=true to run security audit checks during installs.
  • Adds min-release-age=1 as an additional package policy constraint.

Comment thread .npmrc
@@ -1 +1,4 @@
engine-strict=true
ignore-scripts=true

Copilot AI Apr 2, 2026

Copy link

Choose a reason for hiding this comment

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

Setting ignore-scripts=true globally will prevent dependency install scripts from running. In this repo, fsevents (optional on macOS and used for file watching performance) is marked with hasInstallScript: true in package-lock.json, so this change will disable its install step and can degrade/disable efficient file watching on macOS. Consider removing this global setting and instead applying --ignore-scripts only in hardened CI contexts, or documenting/ensuring any required scripts are still executed where needed.

Suggested change
ignore-scripts=true

Copilot uses AI. Check for mistakes.
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