Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit c913497

Browse files
committed
build: merge all pnpm workspaces into single pnpm workspace
1 parent ad673a6 commit c913497

19 files changed

+1486
-3876
lines changed

.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE2Njg3NjQwMg==

Lines changed: 0 additions & 8 deletions
This file was deleted.

.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE4Nzc1MDcwNjU=

Lines changed: 0 additions & 8 deletions
This file was deleted.

.aspect/rules/external_repository_action_cache/npm_translate_lock_LTE5NDc2NjEwNDI=

Lines changed: 0 additions & 8 deletions
This file was deleted.

.aspect/rules/external_repository_action_cache/npm_translate_lock_LTIxMDU2NzY0MDI=

Lines changed: 0 additions & 8 deletions
This file was deleted.

MODULE.bazel

Lines changed: 5 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ npm.npm_translate_lock(
3232
name = "npm",
3333
data = [
3434
"//:package.json",
35+
"//integration/pre_standalone_project:package.json",
36+
"//integration/workspace:package.json",
37+
"//integration/pre_apf_project:package.json",
38+
"//integration/project:package.json",
3539
"//:pnpm-workspace.yaml",
3640
],
3741
npmrc = "//:.npmrc",
@@ -54,60 +58,7 @@ npm.npm_translate_lock(
5458
verify_node_modules_ignored = "//:.bazelignore",
5559
yarn_lock = "//:yarn.lock",
5660
)
57-
58-
npm.npm_translate_lock(
59-
name = "npm_integration_pre_standalone_project",
60-
data = [
61-
"//integration/pre_standalone_project:package.json",
62-
"//integration/pre_standalone_project:pnpm-workspace.yaml",
63-
],
64-
npmrc = "//:.npmrc",
65-
pnpm_lock = "//integration/pre_standalone_project:pnpm-lock.yaml",
66-
verify_node_modules_ignored = "//:.bazelignore",
67-
)
68-
69-
npm.npm_translate_lock(
70-
name = "npm_integration_workspace",
71-
data = [
72-
"//integration/workspace:package.json",
73-
"//integration/workspace:pnpm-workspace.yaml",
74-
],
75-
npmrc = "//:.npmrc",
76-
pnpm_lock = "//integration/workspace:pnpm-lock.yaml",
77-
verify_node_modules_ignored = "//:.bazelignore",
78-
yarn_lock = "//integration/workspace:yarn.lock",
79-
)
80-
81-
npm.npm_translate_lock(
82-
name = "npm_integration_pre_apf_project",
83-
data = [
84-
"//integration/pre_apf_project:package.json",
85-
"//integration/pre_apf_project:pnpm-workspace.yaml",
86-
],
87-
npmrc = "//:.npmrc",
88-
pnpm_lock = "//integration/pre_apf_project:pnpm-lock.yaml",
89-
verify_node_modules_ignored = "//:.bazelignore",
90-
yarn_lock = "//integration/pre_apf_project:yarn.lock",
91-
)
92-
93-
94-
npm.npm_translate_lock(
95-
name = "npm_integration_project",
96-
data = [
97-
"//integration/project:package.json",
98-
"//integration/project:pnpm-workspace.yaml",
99-
],
100-
npmrc = "//:.npmrc",
101-
pnpm_lock = "//integration/project:pnpm-lock.yaml",
102-
verify_node_modules_ignored = "//:.bazelignore",
103-
yarn_lock = "//integration/project:yarn.lock",
104-
)
105-
106-
107-
108-
109-
110-
use_repo(npm, "npm", "npm_integration_pre_standalone_project", "npm_integration_workspace", "npm_integration_pre_apf_project", "npm_integration_project")
61+
use_repo(npm, "npm")
11162

11263
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
11364
node.toolchain(node_version = "22.11.0")

integration/pre_apf_project/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm_integration_pre_apf_project//:defs.bzl", "npm_link_all_packages")
1+
load("@npm//:defs.bzl", "npm_link_all_packages")
22
load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "copy_to_bin")
33

44
npm_link_all_packages(name = "node_modules")

0 commit comments

Comments
 (0)