-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(npm): add tests for odd package names
- Loading branch information
Showing
11 changed files
with
316 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,10 @@ | |
"dependencies": { | ||
"@aspect-test/a": "^5.0.2", | ||
"@aspect-test/a2": "npm:@aspect-test/a", | ||
"aspect-test-a-no-scope": "npm:@aspect-test/a", | ||
"aspect-test-a/no-at": "npm:@aspect-test/a", | ||
"@aspect-test-a-bad-scope": "npm:@aspect-test/a", | ||
"@aspect-test-custom-scope/a": "npm:@aspect-test/a", | ||
"@isaacs/cliui": "8.0.2", | ||
"debug": "ngokevin/debug#9742c5f383a6f8046241920156236ade8ec30d53", | ||
"hello": "https://gitpkg.vercel.app/EqualMa/gitpkg-hello/packages/hello", | ||
|
@@ -16,6 +20,7 @@ | |
"is-odd": "npm:[email protected]", | ||
"is-odd-alt-version": "npm:is-odd@^2.0.0", | ||
"uvu": "0.5.6", | ||
"scoped/bad": "link:../projects/b", | ||
"@scoped/a": "workspace:*", | ||
"@scoped/b": "link:../projects/b", | ||
"@scoped/c": "file:../projects/c", | ||
|
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 |
---|---|---|
|
@@ -56,6 +56,10 @@ def lockfile_test(name = None): | |
data = [ | ||
":node_modules/@aspect-test/a", | ||
":node_modules/@aspect-test/a2", | ||
":node_modules/aspect-test-a-no-scope", | ||
":node_modules/aspect-test-a/no-at", | ||
":node_modules/@aspect-test-a-bad-scope", | ||
":node_modules/@aspect-test-custom-scope/a", | ||
":node_modules/@types/node", | ||
":node_modules/alias-only-sizzle", | ||
":node_modules/alias-types-node", | ||
|
@@ -73,6 +77,7 @@ def lockfile_test(name = None): | |
":node_modules", | ||
|
||
# Direct 'dependencies' | ||
":node_modules/@aspect-test", # target for the scope | ||
":node_modules/@aspect-test/a", | ||
|
||
# Direct 'devDependencies' | ||
|
@@ -97,10 +102,12 @@ def lockfile_test(name = None): | |
":node_modules/@isaacs/cliui", | ||
|
||
# link:, workspace:, file:, ./rel/path | ||
":node_modules/@scoped", # target for the scope | ||
":node_modules/@scoped/a", | ||
":node_modules/@scoped/b", | ||
":node_modules/@scoped/c", | ||
":node_modules/@scoped/d", | ||
":node_modules/scoped/bad", | ||
|
||
# Packages involving overrides | ||
":node_modules/is-odd", | ||
|
@@ -116,6 +123,13 @@ def lockfile_test(name = None): | |
":node_modules/@aspect-test/a2", | ||
# npm: alias to registry-scoped packages | ||
":node_modules/alias-types-node", | ||
# npm: alias adding/removing or odd @scopes | ||
":node_modules/aspect-test-a/no-at", | ||
":node_modules/aspect-test-a-no-scope", | ||
":node_modules/@aspect-test-a-bad-scope", | ||
":node_modules/@aspect-test-custom-scope", # target for the scope | ||
":node_modules/@aspect-test-custom-scope/a", | ||
|
||
# npm: alias to alternate versions | ||
":node_modules/is-odd-alt-version", | ||
":.aspect_rules_js/node_modules/[email protected]", | ||
|
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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.