-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install dev deps in mta build (#1685)
Ensure npm dev dependencies are available after mtaBuild as they are required by certain tests. Co-authored-by: Kevin Hudemann <[email protected]> Co-authored-by: Daniel Kurzynski <[email protected]>
- Loading branch information
Showing
10 changed files
with
136 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ foo.mtar | |
.flattened-pom.xml | ||
.pipeline/ | ||
mym2 | ||
app/node_modules | ||
app/package-lock.json |
10 changes: 10 additions & 0 deletions
10
integration/testdata/TestMtaIntegration/maven/app/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "my-awesome-package", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"uuid": "^8.1.0" | ||
}, | ||
"devDependencies": { | ||
"is-number": "^7.0.0" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
integration/testdata/TestMtaIntegration/npm-install-dev-dependencies/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.pipeline | ||
node_modules | ||
package-lock.json | ||
test-mta-js.mtar |
4 changes: 4 additions & 0 deletions
4
integration/testdata/TestMtaIntegration/npm-install-dev-dependencies/cleanup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
# shellcheck disable=SC2002 | ||
cat .gitignore | xargs -L1 rm -r |
8 changes: 8 additions & 0 deletions
8
integration/testdata/TestMtaIntegration/npm-install-dev-dependencies/mta.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
_schema-version: '3.1' | ||
ID: test-mta-js | ||
version: 1.0.0 | ||
|
||
modules: | ||
- name: test-mta-js-srv | ||
type: nodejs | ||
path: . |
10 changes: 10 additions & 0 deletions
10
integration/testdata/TestMtaIntegration/npm-install-dev-dependencies/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "my-awesome-package", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"uuid": "^8.1.0" | ||
}, | ||
"devDependencies": { | ||
"is-number": "^7.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters