mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add 'private' property to userDir generated package.json
This stops the warnings from npm about missing repo and license fields. As there's no expectation for a user to publish their userDir to npm, then setting private is entirely appropriate.
This commit is contained in:
parent
184b1b018c
commit
36105412b1
@ -72,7 +72,8 @@ var localfilesystem = {
|
||||
var defaultPackage = {
|
||||
"name": "node-red-project",
|
||||
"description": "A Node-RED Project",
|
||||
"version": "0.0.1"
|
||||
"version": "0.0.1",
|
||||
"private": true
|
||||
};
|
||||
return util.writeFile(packageFile,JSON.stringify(defaultPackage,"",4));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user