Skip to content

Commit 0efa594

Browse files
committed
build: remove yarn in favor of pnpm
Final cleanup to remove Yarn in favor of pnpm. We resort to an extra Yarn package.json just for the remaining to-be-migrated `ng_package` rule and its dependencies. Everything else is full native `rules_js`.
1 parent f60e17f commit 0efa594

21 files changed

+3036
-162297
lines changed

.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx

-22
This file was deleted.

.bazelignore

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
1+
dist
12
node_modules
23

34
integration/harness-e2e-cli/.angular
45
integration/harness-e2e-cli/node_modules
5-
66
integration/ng-update-v13/.angular
77
integration/ng-update-v13/node_modules
8-
98
integration/ng-add/.angular
109
integration/ng-add/node_modules
11-
1210
integration/ng-add-standalone/.angular
1311
integration/ng-add-standalone/node_modules
14-
1512
integration/yarn-pnp-compat/.angular
1613
integration/yarn-pnp-compat/.yarn/cache
1714
integration/yarn-pnp-compat/.yarn/unplugged
1815
integration/yarn-pnp-compat/.yarn/install-state.gz
1916
integration/yarn-pnp-compat/node_modules
20-
2117
integration/node_modules
18+
2219
src/cdk-experimental/node_modules
2320
src/cdk/node_modules
2421
src/components-examples/node_modules
@@ -32,3 +29,5 @@ src/material-moment-adapter/node_modules
3229
src/material/node_modules
3330
src/universal-app/node_modules
3431
src/youtube-player/node_modules
32+
33+
tools/bazel/legacy-rnjs/node_modules

.bazelrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ test --test_output=errors
4949

5050
# Configures script to do version stamping.
5151
# See https://docs.bazel.build/versions/master/user-manual.html#flag--workspace_status_command
52-
build:release --workspace_status_command="yarn -s ng-dev:stamp --mode=release"
52+
build:release --workspace_status_command="pnpm -s ng-dev:stamp --mode=release"
5353
build:release --stamp
5454

55-
build:snapshot-build --workspace_status_command="yarn -s ng-dev:stamp --mode=snapshot"
55+
build:snapshot-build --workspace_status_command="pnpm -s ng-dev:stamp --mode=snapshot"
5656
build:snapshot-build --stamp
5757

5858
####################################

.yarn/README.md

-13
This file was deleted.

0 commit comments

Comments
 (0)