-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(yarn-cling): rename test packages to real package names (#16325)
The tests for `yarn-cling` currently reference what were imaginary package names as placeholders; those package names have now been registered. While this has no practical impact, switching the package names to be ones we own just so there's no ambiguity. An `npm install` is never done on these directories, so the packages chosen really doesn't matter. Just picked two of our favorites at random. :) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
13 changed files
with
42 additions
and
42 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
2 changes: 1 addition & 1 deletion
2
...g/test/test-fixture/package2/package.json → ...-cling/test/test-fixture/cdk/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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"name": "package2", | ||
"name": "cdk", | ||
"version": "2.2.2" | ||
} |
4 changes: 4 additions & 0 deletions
4
tools/yarn-cling/test/test-fixture/jsii/node_modules/aws-cdk-lib/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
tools/yarn-cling/test/test-fixture/jsii/node_modules/aws-cdk/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "jsii", | ||
"version": "1.1.1", | ||
"dependencies": { | ||
"aws-cdk": "^1.2.3", | ||
"cdk": "2.2.2" | ||
} | ||
} |
1 change: 0 additions & 1 deletion
1
tools/yarn-cling/test/test-fixture/package1/node_modules/package2
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
tools/yarn-cling/test/test-fixture/package1/node_modules/registrydependency1/package.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
tools/yarn-cling/test/test-fixture/package1/node_modules/registrydependency2/package.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
"registrydependency1@^1.2.3": | ||
"aws-cdk@^1.2.3": | ||
version "1.2.999" | ||
resolved "https://registry.bla.com/stuff" | ||
integrity sha512-banana | ||
|
||
"registrydependency2@^2.3.4": | ||
"aws-cdk-lib@^2.3.4": | ||
version "2.3.999" | ||
resolved "https://registry.bla.com/stuff" | ||
integrity sha512-pineapple |