-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request snyk#2285 from snyk/feat/merge-root-resolutions-wi…
…th-ws-manifests feat: apply resolutions to all yarn workspaces in a project
- Loading branch information
Showing
9 changed files
with
816 additions
and
16 deletions.
There are no files selected for viewing
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
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
20 changes: 20 additions & 0 deletions
20
test/acceptance/workspaces/yarn-workspaces-v2-resolutions/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,20 @@ | ||
{ | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"engines": { | ||
"node": "^10.11.0", | ||
"yarn": "1.10.1" | ||
}, | ||
"devDependencies": { | ||
"wsrun": "^3.6.2" | ||
}, | ||
"dependencies": { | ||
"node-fetch": "^2.3.0" | ||
}, | ||
"resolutions": { | ||
"node-uuid": "1.3.0" | ||
}, | ||
"packageManager": "yarn@2.4.3" | ||
} |
13 changes: 13 additions & 0 deletions
13
test/acceptance/workspaces/yarn-workspaces-v2-resolutions/packages/apples/.snyk
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,13 @@ | ||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.14.1 | ||
# ignores vulnerabilities until expiry date; change duration by modifying expiry date | ||
ignore: | ||
'npm:node-uuid:20160328': | ||
- '*': | ||
reason: None Given | ||
expires: 2020-07-17T17:21:53.744Z | ||
'npm:node-uuid:20111130': | ||
- '*': | ||
reason: None Given | ||
expires: 2020-07-17T21:40:21.917Z | ||
patch: {} |
12 changes: 12 additions & 0 deletions
12
test/acceptance/workspaces/yarn-workspaces-v2-resolutions/packages/apples/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,12 @@ | ||
{ | ||
"name": "apples", | ||
"version": "1.0.0", | ||
"license": "UNLICENSED", | ||
"main": "./src/index.js", | ||
"scripts": { | ||
"precommit": "lint-staged" | ||
}, | ||
"dependencies": { | ||
"node-uuid": "1.0.0" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
test/acceptance/workspaces/yarn-workspaces-v2-resolutions/packages/tomatoes/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": "tomatoes", | ||
"version": "1.0.0", | ||
"license": "UNLICENSED", | ||
"main": "./src/index.js", | ||
"dependencies": { | ||
"node-fetch": "2.2.0", | ||
"object-assign": "4.1.1" | ||
} | ||
} |
Oops, something went wrong.