Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat the ignore-scripts in yarnrc as a synonym to the cli arg (#6983)
* Treat the ignore-scripts in yarnrc as a synonym to the cli arg Allow users to specify `ignore-scripts true` in the `.yarnrc` as specified by the `npm-config`. It is treated the same as if the user specifies `--ignore-scripts true` in the `.yarnrc` or passes `--ignore-scripts` as cli arg. * Update Changelog * Update CHANGELOG.md
- Loading branch information
Showing
14 changed files
with
49 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
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
yarn-offline-mirror "./mirror-for-offline" | ||
ignore-scripts true |
Binary file added
BIN
+1005 Bytes
__tests__/fixtures/install/ignore-scripts-by-yarnrc/mirror-for-offline/dep-a-1.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1001 Bytes
__tests__/fixtures/install/ignore-scripts-by-yarnrc/mirror-for-offline/dep-b-1.0.0.tgz
Binary file not shown.
Binary file added
BIN
+947 Bytes
__tests__/fixtures/install/ignore-scripts-by-yarnrc/mirror-for-offline/dep-c-1.0.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
__tests__/fixtures/install/ignore-scripts-by-yarnrc/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,5 @@ | ||
{ | ||
"dependencies": { | ||
"dep-a": "1.0.0" | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
__tests__/fixtures/install/ignore-scripts-by-yarnrc/yarn.lock
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,18 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
dep-a@1.0.0: | ||
version "1.0.0" | ||
resolved dep-a-1.0.0.tgz#63970c7301ec8a5d37dac4e454fff354f31c31b4 | ||
integrity sha1-Y5cMcwHsil032sTkVP/zVPMcMbQ= | ||
dependencies: | ||
dep-b "1.0.0" | ||
dep-b@1.0.0: | ||
version "1.0.0" | ||
resolved dep-b-1.0.0.tgz#569c27a4e30b1679eaa7e2299e741f30a7f70926 | ||
integrity sha1-VpwnpOMLFnnqp+IpnnQfMKf3CSY= | ||
dependencies: | ||
dep-c "1.0.0" | ||
dep-c@1.0.0: | ||
version "1.0.0" | ||
resolved dep-c-1.0.0.tgz#100eef2bf00fc31b596542fb9af18186e37716cc | ||
integrity sha1-EA7vK/APwxtZZUL7mvGBhuN3Fsw= |
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