forked from aspect-build/rules_js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
403 additions
and
180 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
"hello": "https://gitpkg.vercel.app/EqualMa/gitpkg-hello/packages/hello", | ||
"jsonify": "https://github.com/aspect-build/test-packages/releases/download/0.0.0/@foo-jsonify-0.0.0.tgz", | ||
"jquery-git-ssh-e61fccb": "git+ssh://[email protected]/jquery/jquery.git#e61fccb9d736235b4b011f89cba6866bc0b8997d", | ||
"lodash": "file:../vendored/lodash-4.17.21.tgz", | ||
"rollup": "2.14.0", | ||
"rollup3": "npm:[email protected]", | ||
"rollup-plugin-with-peers": "npm:@rollup/[email protected]", | ||
|
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,8 @@ load("@docusaurus-direct-peer-v9//:defs.bzl", docusaurus_direct_with_peers_v9_li | |
load("@isaacs-cliui-v90//:defs.bzl", isaacs_cliui_v90_link_all = "npm_link_all_packages") | ||
load("@override-with-alias-url-v9//:defs.bzl", override_with_alias_link_all = "npm_link_all_packages") | ||
load("@tarball-no-url-v54//:defs.bzl", tarball_no_url_link_all = "npm_link_all_packages") | ||
load("@vendored-files-v6//:defs.bzl", vendored_files_v6_link_all = "npm_link_all_packages") | ||
load("@vendored-files-v9//:defs.bzl", vendored_files_v9_link_all = "npm_link_all_packages") | ||
|
||
exports_files(glob(["*.yaml"])) | ||
|
||
|
@@ -52,3 +54,29 @@ build_test( | |
# ":docusaurus_direct_with_peers_v6-modules/@docusaurus/module-type-aliases", | ||
], | ||
) | ||
|
||
vendored_files_v6_link_all(name = "vendored-files-v6-modules") | ||
|
||
build_test( | ||
name = "vendored-files-v6", | ||
targets = [ | ||
":vendored-files-v6-modules", | ||
":vendored-files-v6-modules/lodash", | ||
":vendored-files-v6-modules/is-number", | ||
":.aspect_rules_js/vendored-files-v6-modules/[email protected]", | ||
":.aspect_rules_js/vendored-files-v6-modules/[email protected]", | ||
], | ||
) | ||
|
||
vendored_files_v9_link_all(name = "vendored-files-v9-modules") | ||
|
||
build_test( | ||
name = "vendored-files-v9", | ||
targets = [ | ||
":vendored-files-v9-modules", | ||
":vendored-files-v9-modules/lodash", | ||
":vendored-files-v9-modules/is-number", | ||
":.aspect_rules_js/vendored-files-v9-modules/[email protected]", | ||
":.aspect_rules_js/vendored-files-v9-modules/[email protected]", | ||
], | ||
) |
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,31 @@ | ||
lockfileVersion: '6.0' | ||
|
||
settings: | ||
autoInstallPeers: true | ||
excludeLinksFromLockfile: false | ||
|
||
onlyBuiltDependencies: [] | ||
|
||
importers: | ||
|
||
.: | ||
dependencies: | ||
is-number: | ||
specifier: file:../vendored/is-number | ||
version: file:../vendored/is-number | ||
lodash: | ||
specifier: file:../vendored/lodash-4.17.19.tgz | ||
version: file:../vendored/lodash-4.17.19.tgz | ||
|
||
packages: | ||
|
||
file:../vendored/is-number: | ||
resolution: {directory: ../vendored/is-number, type: directory} | ||
name: is-number | ||
dev: false | ||
|
||
file:../vendored/lodash-4.17.19.tgz: | ||
resolution: {integrity: sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==, tarball: file:../vendored/lodash-4.17.19.tgz} | ||
name: lodash | ||
version: 4.17.19 | ||
dev: false |
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,31 @@ | ||
lockfileVersion: '9.0' | ||
|
||
settings: | ||
autoInstallPeers: true | ||
excludeLinksFromLockfile: false | ||
|
||
importers: | ||
|
||
.: | ||
dependencies: | ||
is-number: | ||
specifier: file:../vendored/is-number | ||
version: file:../vendored/is-number | ||
lodash: | ||
specifier: file:../vendored/lodash-4.17.20.tgz | ||
version: file:../vendored/lodash-4.17.20.tgz | ||
|
||
packages: | ||
|
||
is-number@file:../vendored/is-number: | ||
resolution: {directory: ../vendored/is-number, type: directory} | ||
|
||
lodash@file:../vendored/lodash-4.17.20.tgz: | ||
resolution: {integrity: sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==, tarball: file:../vendored/lodash-4.17.20.tgz} | ||
version: 4.17.20 | ||
|
||
snapshots: | ||
|
||
is-number@file:../vendored/is-number: {} | ||
|
||
lodash@file:../vendored/lodash-4.17.20.tgz: {} |
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 |
---|---|---|
|
@@ -102,22 +102,26 @@ def lockfile_test(name = None): | |
# npm: alias to a package that has many peers | ||
":node_modules/rollup-plugin-with-peers", | ||
# underlying repo for the many-peers package | ||
"@%s__at_rollup_plugin-typescript__8.2.1_%s//:pkg" % (lock_repo, "ommloj5qql5ba6x5wuiluawhoi" if lock_version == "v54" else "1662662592" if lock_version == "v90" else "1813138439"), | ||
"@%s__at_rollup_plugin-typescript__8.2.1_%s//:pkg" % (lock_repo, "7f3ueovs674nryaiv3k7rfzidm" if lock_version == "v54" else "217335199" if lock_version == "v90" else "1813138439"), | ||
|
||
# uuv 'hasBin' | ||
":node_modules/uvu", | ||
|
||
# a package with various `npm:` cases | ||
":node_modules/@isaacs/cliui", | ||
|
||
# link:, workspace:, file:, ./rel/path | ||
# link:, workspace:, file:dir, ./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", | ||
|
||
# file:tarball | ||
":node_modules/lodash", | ||
":.aspect_rules_js/node_modules/[email protected]", | ||
|
||
# Packages involving overrides | ||
":node_modules/is-odd", | ||
":.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.
Oops, something went wrong.