Skip to content

Commit

Permalink
#612: Changed --production to --omit=dev in npm calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Schröder committed Jul 30, 2024
1 parent 2639d0f commit 7cc14b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/tests/integration/lib/adapterSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class AdapterSetup {
await (0, fs_extra_1.remove)(this.testAdapterDir);
debug("Installing adapter");
// Defer to npm to install the controller (if it wasn't already)
await (0, executeCommand_1.executeCommand)("npm", ["i", "--production"], {
await (0, executeCommand_1.executeCommand)("npm", ["i", "--omit=dev"], {
cwd: this.testDir,
});
debug(" => done!");
Expand Down
2 changes: 1 addition & 1 deletion build/tests/integration/lib/controllerSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ControllerSetup {
const wasJsControllerInstalled = await this.isJsControllerInstalled();
// Defer to npm to install the controller (if it wasn't already)
debug("(Re-)installing JS Controller...");
await (0, executeCommand_1.executeCommand)("npm", ["i", "--production"], {
await (0, executeCommand_1.executeCommand)("npm", ["i", "--omit=dev"], {
cwd: this.testDir,
});
// Prepare/clean the databases and config
Expand Down
2 changes: 1 addition & 1 deletion src/tests/integration/lib/adapterSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class AdapterSetup {

debug("Installing adapter");
// Defer to npm to install the controller (if it wasn't already)
await executeCommand("npm", ["i", "--production"], {
await executeCommand("npm", ["i", "--omit=dev"], {
cwd: this.testDir,
});

Expand Down
2 changes: 1 addition & 1 deletion src/tests/integration/lib/controllerSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ControllerSetup {
const wasJsControllerInstalled = await this.isJsControllerInstalled();
// Defer to npm to install the controller (if it wasn't already)
debug("(Re-)installing JS Controller...");
await executeCommand("npm", ["i", "--production"], {
await executeCommand("npm", ["i", "--omit=dev"], {
cwd: this.testDir,
});
// Prepare/clean the databases and config
Expand Down

0 comments on commit 7cc14b1

Please sign in to comment.