package.json of our samples are polluted by our maintenance tools
See original GitHub issueTake a look at this example: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/appengine/hello-world/standard/package.json
cloud-repo-tools
, devDependencies
and most of the scripts
do not serve the purpose of giving example code to our users, instead, they are data used by our maintenance tools.
Could they be in a different file that does not interfere with package.json
?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
npm audit: Broken by Design - Overreacted
If we don't want our sheep to be eaten, we need better tools. As of today, npm audit is a stain on the...
Read more >Schematics for libraries - Angular
The Angular CLI uses this entry to find named schematics in your collection when it runs commands. projects/my-lib/package.json (Schematics Collection Reference)
Read more >npm vs npx — What's the Difference? - freeCodeCamp
npm (node package manager) is the dependency/package manager you get out of the box when you install Node.js. It provides a way for...
Read more >Difference between npx and npm? - Stack Overflow
Introducing npx: an npm package runner. NPM - Manages packages but doesn't make life easy executing any. NPX - A tool for executing...
Read more >Auditing package dependencies for security vulnerabilities
Security audits help you protect your package's users by enabling you to find and fix known vulnerabilities in dependencies that could cause data...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A lot of samples rely on this test setup:
If we remove the
repo-tools
dependency, we’d need to write those tests ourselves - which I would prefer because no user will be familiar with therepo-tools
magic.Closing this, I think our
package.json
s are fairly standard and not confusing to Node devs.