test: demonstrate first-party dep links in package_store_1p listings (#2922)
Give @image-test/d a workspace dep on @image-test/a so the
*_package_store_1p.listing fixtures show a first-party package linked
into another first-party package's store node_modules (the #2915 shape):
```
@image-test+d@0.0.0/node_modules/@image-test/a -> ../../../@image-test+a@0.0.0/node_modules/@image-test/a
```
Regenerated with pnpm 10.30.3, :<name>_test_update_all,
:checksum_test_test and //npm/private/test:write_npm_translate_lock.
### Changes are visible to end-users: no
### Test plan
- New test cases added
diff --git a/.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU= b/.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU=
index 53b866d..f950ae3 100755
--- a/.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU=
+++ b/.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU=
@@ -5,7 +5,7 @@
js/private/coverage/bundle/package.json=-1542925233
js/private/devserver/src/package.json=-787455596
js/private/test/image-fixture-a/package.json=-845392695
-js/private/test/image-fixture-d/package.json=-1165671186
+js/private/test/image-fixture-d/package.json=721834327
js/private/test/image/package.json=-1116578579
js/private/test/image/platform_deps/package.json=1916436400
js/private/test/js_run_devserver/package.json=-781575922
@@ -20,5 +20,5 @@
npm/private/test/vendored/lodash-4.17.21.tgz=-1206623349
npm/private/test/vendored/semver-max/package.json=578664053
package.json=564790136
-pnpm-lock.yaml=322824775
+pnpm-lock.yaml=1175097978
pnpm-workspace.yaml=1888889068
diff --git a/js/private/test/image-fixture-d/package.json b/js/private/test/image-fixture-d/package.json
index 00c3faf..62b13dd 100644
--- a/js/private/test/image-fixture-d/package.json
+++ b/js/private/test/image-fixture-d/package.json
@@ -3,6 +3,7 @@
"type": "module",
"private": true,
"dependencies": {
+ "@image-test/a": "workspace:*",
"uuid": "8.3.2"
}
}
diff --git a/js/private/test/image/checksum_test.expected b/js/private/test/image/checksum_test.expected
index aff8c11..63157c3 100644
--- a/js/private/test/image/checksum_test.expected
+++ b/js/private/test/image/checksum_test.expected
@@ -1,4 +1,4 @@
d593b54327e834bc737c57553f55c5f1e25370850ad0e9b594804acfd7957b98 js/private/test/image/cksum_node.tar
70b10220a2c05d87da4271c17c38ded8febc725e20e06f1c3809d2bb02ba4ae7 js/private/test/image/cksum_package_store_3p.tar
-b28409f66a999e8763c603645eb477942ae9b4f6fcb7ce75b104d7a66281ec6f js/private/test/image/cksum_package_store_1p.tar
-812caba3b24b89e5390a2a20791a90aa87cb8aba3584a018c53b54859a38ef1d js/private/test/image/cksum_node_modules.tar
+2cb6f678d6eb0b2e9d5e2637f41ae3f192233752f1ea2a55cede2531deec2a64 js/private/test/image/cksum_package_store_1p.tar
+79afa99006aff19460354e72cf2634db693670d09ccc7531fbf27f1f20fe0a5f js/private/test/image/cksum_node_modules.tar
diff --git a/js/private/test/image/custom_layers_nomatch_test_node_modules.listing b/js/private/test/image/custom_layers_nomatch_test_node_modules.listing
index 8002d60..a4ca846 100644
--- a/js/private/test/image/custom_layers_nomatch_test_node_modules.listing
+++ b/js/private/test/image/custom_layers_nomatch_test_node_modules.listing
@@ -14,6 +14,8 @@
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/
+drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/
+lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/a -> ../../../../../../node_modules/.aspect_rules_js/@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/@image-test/
diff --git a/js/private/test/image/custom_layers_nomatch_test_package_store_1p.listing b/js/private/test/image/custom_layers_nomatch_test_package_store_1p.listing
index 79e1b33..83f25d4 100644
--- a/js/private/test/image/custom_layers_nomatch_test_package_store_1p.listing
+++ b/js/private/test/image/custom_layers_nomatch_test_package_store_1p.listing
@@ -15,5 +15,6 @@
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/
+lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/a -> ../../../@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/d -> ../../../../../js/private/test/image-fixture-d
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/uuid -> ../../uuid@8.3.2/node_modules/uuid
diff --git a/js/private/test/image/custom_owner_test_app.listing b/js/private/test/image/custom_owner_test_app.listing
index 02c4032..caf16db 100644
--- a/js/private/test/image/custom_owner_test_app.listing
+++ b/js/private/test/image/custom_owner_test_app.listing
@@ -12,7 +12,7 @@
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/
-r-xr-xr-x 0 100 0 106 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/package.json
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
--r-xr-xr-x 0 100 0 128 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/package.json
+-r-xr-xr-x 0 100 0 168 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/package.json
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_/
-r-xr-xr-x 0 100 0 xxxxx Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_/bin
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_node_bin/
diff --git a/js/private/test/image/custom_owner_test_node_modules.listing b/js/private/test/image/custom_owner_test_node_modules.listing
index a48ebb4..91082f9 100644
--- a/js/private/test/image/custom_owner_test_node_modules.listing
+++ b/js/private/test/image/custom_owner_test_node_modules.listing
@@ -13,6 +13,8 @@
lrwxrwxr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/
+drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/
+lrwxrwxr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/a -> ../../../../../../node_modules/.aspect_rules_js/@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/@image-test/
diff --git a/js/private/test/image/custom_owner_test_package_store_1p.listing b/js/private/test/image/custom_owner_test_package_store_1p.listing
index acbbb01..4c4a469 100644
--- a/js/private/test/image/custom_owner_test_package_store_1p.listing
+++ b/js/private/test/image/custom_owner_test_package_store_1p.listing
@@ -14,5 +14,6 @@
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/
drwxr-xr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/
+lrwxrwxr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/a -> ../../../@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/d -> ../../../../../js/private/test/image-fixture-d
lrwxrwxr-x 0 100 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/uuid -> ../../uuid@8.3.2/node_modules/uuid
diff --git a/js/private/test/image/default_test_app.listing b/js/private/test/image/default_test_app.listing
index 55c9c7a..62e0163 100644
--- a/js/private/test/image/default_test_app.listing
+++ b/js/private/test/image/default_test_app.listing
@@ -12,7 +12,7 @@
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/
-r-xr-xr-x 0 0 0 106 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/package.json
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
--r-xr-xr-x 0 0 0 128 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/package.json
+-r-xr-xr-x 0 0 0 168 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/package.json
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_/
-r-xr-xr-x 0 0 0 xxxxx Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_/bin
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_node_bin/
diff --git a/js/private/test/image/default_test_node_modules.listing b/js/private/test/image/default_test_node_modules.listing
index 2ee2e8c..2191c5f 100644
--- a/js/private/test/image/default_test_node_modules.listing
+++ b/js/private/test/image/default_test_node_modules.listing
@@ -13,6 +13,8 @@
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/
+drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/
+lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/a -> ../../../../../../node_modules/.aspect_rules_js/@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/@image-test/
diff --git a/js/private/test/image/default_test_package_store_1p.listing b/js/private/test/image/default_test_package_store_1p.listing
index 7d336b7..aab00d0 100644
--- a/js/private/test/image/default_test_package_store_1p.listing
+++ b/js/private/test/image/default_test_package_store_1p.listing
@@ -14,5 +14,6 @@
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/
+lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/a -> ../../../@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/d -> ../../../../../js/private/test/image-fixture-d
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/uuid -> ../../uuid@8.3.2/node_modules/uuid
diff --git a/js/private/test/image/regex_edge_cases_test_app.listing b/js/private/test/image/regex_edge_cases_test_app.listing
index ebd1a34..9d7c7d4 100644
--- a/js/private/test/image/regex_edge_cases_test_app.listing
+++ b/js/private/test/image/regex_edge_cases_test_app.listing
@@ -13,7 +13,7 @@
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/
-r-xr-xr-x 0 0 0 106 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/package.json
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
--r-xr-xr-x 0 0 0 128 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/package.json
+-r-xr-xr-x 0 0 0 168 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/package.json
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_/
-r-xr-xr-x 0 0 0 xxxxx Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_/bin
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/bin_node_bin/
diff --git a/js/private/test/image/regex_edge_cases_test_node_modules.listing b/js/private/test/image/regex_edge_cases_test_node_modules.listing
index 8002d60..a4ca846 100644
--- a/js/private/test/image/regex_edge_cases_test_node_modules.listing
+++ b/js/private/test/image/regex_edge_cases_test_node_modules.listing
@@ -14,6 +14,8 @@
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-a/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/
+drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/
+lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/@image-test/a -> ../../../../../../node_modules/.aspect_rules_js/@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image-fixture-d/node_modules/uuid -> ../../../../../node_modules/.aspect_rules_js/uuid@8.3.2/node_modules/uuid
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/js/private/test/image/node_modules/@image-test/
diff --git a/js/private/test/image/regex_edge_cases_test_package_store_1p.listing b/js/private/test/image/regex_edge_cases_test_package_store_1p.listing
index 79e1b33..83f25d4 100644
--- a/js/private/test/image/regex_edge_cases_test_package_store_1p.listing
+++ b/js/private/test/image/regex_edge_cases_test_package_store_1p.listing
@@ -15,5 +15,6 @@
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/
drwxr-xr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/
+lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/a -> ../../../@image-test+a@0.0.0/node_modules/@image-test/a
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/@image-test/d -> ../../../../../js/private/test/image-fixture-d
lrwxrwxr-x 0 0 0 0 Jan 1 1970 ./app/js/private/test/image/bin.runfiles/_main/node_modules/.aspect_rules_js/@image-test+d@0.0.0/node_modules/uuid -> ../../uuid@8.3.2/node_modules/uuid
diff --git a/npm/private/test/snapshots/npm_defs-no_dev.bzl b/npm/private/test/snapshots/npm_defs-no_dev.bzl
index 4b2e79f..fb78d10 100644
--- a/npm/private/test/snapshots/npm_defs-no_dev.bzl
+++ b/npm/private/test/snapshots/npm_defs-no_dev.bzl
@@ -1013,7 +1013,13 @@
def _link_pkg_9():
link_868()
- return [":node_modules/uuid"], None
+ _fp_link_2()
+ return [
+ ":node_modules/uuid",
+ ":node_modules/@image-test/a",
+ ], {
+ "@image-test": [":node_modules/@image-test/a"],
+ }
def _link_pkg_10():
_fp_link_4()
@@ -2004,6 +2010,7 @@
package = "@image-test/d",
version = "0.0.0",
deps = {
+ "//:.aspect_rules_js/node_modules/@image-test+a@0.0.0": "@image-test/a",
"//:.aspect_rules_js/node_modules/uuid@8.3.2": "uuid",
},
visibility = ["//visibility:public"],
@@ -2117,7 +2124,10 @@
"prod": [":node_modules/uuid"],
},
"js/private/test/image-fixture-d": {
- "prod": [":node_modules/uuid"],
+ "prod": [
+ ":node_modules/uuid",
+ ":node_modules/@image-test/a",
+ ],
},
"npm/private/test/subs": {
"prod": [
diff --git a/npm/private/test/snapshots/npm_defs-no_optional.bzl b/npm/private/test/snapshots/npm_defs-no_optional.bzl
index ccab1b1..774f415 100644
--- a/npm/private/test/snapshots/npm_defs-no_optional.bzl
+++ b/npm/private/test/snapshots/npm_defs-no_optional.bzl
@@ -1066,7 +1066,13 @@
def _link_pkg_12():
link_759()
- return [":node_modules/uuid"], None
+ _fp_link_2()
+ return [
+ ":node_modules/uuid",
+ ":node_modules/@image-test/a",
+ ], {
+ "@image-test": [":node_modules/@image-test/a"],
+ }
def _link_pkg_13():
_fp_link_5()
@@ -1951,6 +1957,7 @@
package = "@image-test/d",
version = "0.0.0",
deps = {
+ "//:.aspect_rules_js/node_modules/@image-test+a@0.0.0": "@image-test/a",
"//:.aspect_rules_js/node_modules/uuid@8.3.2": "uuid",
},
visibility = ["//visibility:public"],
@@ -2150,7 +2157,10 @@
"prod": [":node_modules/uuid"],
},
"js/private/test/image-fixture-d": {
- "prod": [":node_modules/uuid"],
+ "prod": [
+ ":node_modules/uuid",
+ ":node_modules/@image-test/a",
+ ],
},
"npm/private/test/subs": {
"prod": [
diff --git a/npm/private/test/snapshots/npm_defs.bzl b/npm/private/test/snapshots/npm_defs.bzl
index 504ca7c..6fb82db 100644
--- a/npm/private/test/snapshots/npm_defs.bzl
+++ b/npm/private/test/snapshots/npm_defs.bzl
@@ -927,6 +927,7 @@
_NPM_PACKAGE_LOCATIONS = {
"js/private/test/image": ["@image-test/a", "@image-test/d", "acorn"],
+ "js/private/test/image-fixture-d": ["@image-test/a", "uuid"],
"npm/private/test": ["test-npm_package", "@fastify/send", "@figma/nodegit", "@kubernetes/client-node", "@plotly/regl", "regl", "@vscode/vsce-sign-alpine-arm64", "@vscode/vsce-sign-alpine-x64", "bufferutil", "debug", "esbuild", "handlebars-helpers/helper-date", "hot-shots", "inline-fixtures", "json-stable-stringify", "lodash", "lodash-4.17.21", "lodash-4.17.21-tar", "node-gyp", "plotly.js", "pngjs", "protoc-gen-grpc", "puppeteer", "sass-embedded-all-unknown", "segfault-handler", "semver-first-satisfied", "syncpack", "typescript", "unused", "webpack-bundle-analyzer"],
"npm/private/test/subs": ["@subs/a", "@subs/b"],
"js/private/test/node-patches": ["@babel/cli", "@babel/core", "@babel/plugin-transform-modules-commonjs", "inline-fixtures"],
@@ -939,7 +940,6 @@
"js/private/test/js_run_devserver": ["@types/node", "jasmine"],
"npm/private/test/npm_package": ["chalk", "chalk-alt"],
"js/private/test/image-fixture-a": ["uuid"],
- "js/private/test/image-fixture-d": ["uuid"],
}
def _link_pkg_0():
@@ -1208,7 +1208,13 @@
def _link_pkg_12():
link_868()
- return [":node_modules/uuid"], None
+ _fp_link_2()
+ return [
+ ":node_modules/uuid",
+ ":node_modules/@image-test/a",
+ ], {
+ "@image-test": [":node_modules/@image-test/a"],
+ }
def _link_pkg_13():
_fp_link_5()
@@ -2205,6 +2211,7 @@
package = "@image-test/d",
version = "0.0.0",
deps = {
+ "//:.aspect_rules_js/node_modules/@image-test+a@0.0.0": "@image-test/a",
"//:.aspect_rules_js/node_modules/uuid@8.3.2": "uuid",
},
visibility = ["//visibility:public"],
@@ -2408,7 +2415,10 @@
"prod": [":node_modules/uuid"],
},
"js/private/test/image-fixture-d": {
- "prod": [":node_modules/uuid"],
+ "prod": [
+ ":node_modules/uuid",
+ ":node_modules/@image-test/a",
+ ],
},
"npm/private/test/subs": {
"prod": [
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 71f6247..29d2c81 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -88,6 +88,9 @@
js/private/test/image-fixture-d:
dependencies:
+ '@image-test/a':
+ specifier: workspace:*
+ version: link:../image-fixture-a
uuid:
specifier: 8.3.2
version: 8.3.2