Skip to content

Conversation

minggangw
Copy link
Member

@minggangw minggangw commented Jul 15, 2025

This PR updates the npm package configuration to exclude unnecessary script files from the published package.

  • Adds individual script files under scripts/ to .npmignore.

Fix: #1191

@coveralls
Copy link

Coverage Status

coverage: 84.526%. remained the same
when pulling b12822c on minggangw:fix-1190
into 50b95d6 on RobotWebTools:develop.

@minggangw minggangw requested a review from Copilot July 15, 2025 06:10
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the npm package configuration to exclude unnecessary script files from the published package.

  • Adds individual script files under scripts/ to .npmignore.

Comment on lines +29 to +32
scripts/cpplint.js
scripts/npm-pack.sh
scripts/npmjs-readme.md
scripts/run_test.js
Copy link

Copilot AI Jul 15, 2025

Choose a reason for hiding this comment

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

[nitpick] Instead of listing each script individually, consider ignoring the entire scripts/ directory (e.g., scripts/) to automatically exclude any current or future files in that folder.

Suggested change
scripts/cpplint.js
scripts/npm-pack.sh
scripts/npmjs-readme.md
scripts/run_test.js
scripts/

Copilot uses AI. Check for mistakes.

@minggangw minggangw merged commit ccb9c21 into RobotWebTools:develop Jul 15, 2025
19 checks passed
minggangw added a commit that referenced this pull request Jul 15, 2025
This PR updates the npm package configuration to exclude unnecessary script files from the published package.
- Adds individual script files under `scripts/` to `.npmignore`.

Fix: #1191
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