-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise user error when Yarn is misconfigured
- Loading branch information
1 parent
6491e2e
commit 7214306
Showing
8 changed files
with
106 additions
and
0 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
1 change: 1 addition & 0 deletions
1
npm_and_yarn/spec/fixtures/projects/yarn_berry/misconfigured/.yarnrc.yml
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 @@ | ||
yarnPath: .yarn/releases/yarn-3.5.1.cjs |
16 changes: 16 additions & 0 deletions
16
npm_and_yarn/spec/fixtures/projects/yarn_berry/misconfigured/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,16 @@ | ||
{ | ||
"name": "original", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"is-positive": "3.1.0", | ||
"left-pad": "^1.0.1" | ||
}, | ||
"packageManager": "yarn@3.5.1" | ||
} |
29 changes: 29 additions & 0 deletions
29
npm_and_yarn/spec/fixtures/projects/yarn_berry/misconfigured/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,29 @@ | ||
# This file is generated by running "yarn install" inside your project. | ||
# Manual changes might be lost - proceed with caution! | ||
|
||
__metadata: | ||
version: 6 | ||
cacheKey: 8 | ||
|
||
"is-positive@npm:3.1.0": | ||
version: 3.1.0 | ||
resolution: "is-positive@npm:3.1.0" | ||
checksum: 3675229110735f470860b5fe0740dae1baa9d6f7c6a69f25116aa1888cbc3d092f068f6f94219c290022d0e334f1c82db3041286236ae8a8e132146fd7bcf99d | ||
languageName: node | ||
linkType: hard | ||
|
||
"left-pad@npm:^1.0.1": | ||
version: 1.3.0 | ||
resolution: "left-pad@npm:1.3.0" | ||
checksum: 13fa96e17b70a54836490de22d4bab706e2ed508338bbabecfac72ecce445a74139c5b009a8112252cab8fc4ab7ac4ebd870e5b35bd236b443b12be96f8745ac | ||
languageName: node | ||
linkType: hard | ||
|
||
"original@workspace:.": | ||
version: 0.0.0-use.local | ||
resolution: "original@workspace:." | ||
dependencies: | ||
is-positive: 3.1.0 | ||
left-pad: ^1.0.1 | ||
languageName: unknown | ||
linkType: soft |
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