@node-red/registry 3.1.7 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -264,7 +264,7 @@ async function installModule(moduleDetails) {
264
264
  "module": moduleDetails.module,
265
265
  "version": moduleDetails.version,
266
266
  "dir": installDir,
267
- "args": ["--production","--engine-strict"]
267
+ "args": ["--omit=dev","--engine-strict"]
268
268
  }
269
269
  return hooks.trigger("preInstall", triggerPayload).then((result) => {
270
270
  // preInstall passed
package/lib/installer.js CHANGED
@@ -215,7 +215,7 @@ async function installModule(module,version,url) {
215
215
  "dir": installDir,
216
216
  "isExisting": isExisting,
217
217
  "isUpgrade": isUpgrade,
218
- "args": ['--no-audit','--no-update-notifier','--no-fund','--save','--save-prefix=~','--production','--engine-strict']
218
+ "args": ['--no-audit','--no-update-notifier','--no-fund','--save','--save-prefix=~','--omit=dev','--engine-strict']
219
219
  }
220
220
 
221
221
  return hooks.trigger("preInstall", triggerPayload).then((result) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/registry",
3
- "version": "3.1.7",
3
+ "version": "4.0.0-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./lib/index.js",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "dependencies": {
19
- "@node-red/util": "3.1.7",
19
+ "@node-red/util": "4.0.0-beta.1",
20
20
  "clone": "2.1.2",
21
21
  "fs-extra": "11.1.1",
22
22
  "semver": "7.5.4",