Skip to content

Commit ce850da

Browse files
committed
build: update yarn version to v4.2.2
1 parent 49ee886 commit ce850da

File tree

22 files changed

+21144
-162149
lines changed

22 files changed

+21144
-162149
lines changed

.bazelrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ test:saucelabs --define=KARMA_WEB_TEST_MODE=SL_REQUIRED
8383
# Releases should always be stamped with version control info
8484
# This command assumes node on the path and is a workaround for
8585
# https://github.com/bazelbuild/bazel/issues/4802
86-
build:release --workspace_status_command="yarn -s ng-dev release build-env-stamp --mode=release"
86+
build:release --workspace_status_command="yarn ng-dev release build-env-stamp --mode=release"
8787
build:release --stamp
8888

89-
build:snapshot --workspace_status_command="yarn -s ng-dev release build-env-stamp --mode=snapshot"
89+
build:snapshot --workspace_status_command="yarn ng-dev release build-env-stamp --mode=snapshot"
9090
build:snapshot --stamp
9191
build:snapshot --//:enable_snapshot_repo_deps
9292

93-
build:e2e --workspace_status_command="yarn -s ng-dev release build-env-stamp --mode=release"
93+
build:e2e --workspace_status_command="yarn ng-dev release build-env-stamp --mode=release"
9494
build:e2e --stamp
9595
test:e2e --test_timeout=3600 --experimental_ui_max_stdouterr_bytes=2097152
9696

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
- name: Initialize environment
2828
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
2929
- name: Install node modules
30-
run: yarn install --frozen-lockfile --ignore-scripts
30+
run: yarn install --immutable
3131
- name: Run ESLint
3232
run: yarn lint --cache-strategy content
3333
- name: Validate NgBot Configuration
3434
run: yarn ng-dev ngbot verify
3535
- name: Validate Circular Dependencies
3636
run: yarn ts-circular-deps check
3737
- name: Run Validation
38-
run: yarn -s admin validate
38+
run: yarn admin validate
3939
- name: Check tooling setup
40-
run: yarn -s check-tooling-setup
40+
run: yarn check-tooling-setup
4141

4242
build:
4343
runs-on: ubuntu-latest
@@ -49,7 +49,7 @@ jobs:
4949
- name: Setup Bazel RBE
5050
uses: angular/dev-infra/github-actions/bazel/configure-remote@03b8a7dffd1205e061f0bee949024ebefc2a6592
5151
- name: Install node modules
52-
run: yarn install --frozen-lockfile
52+
run: yarn install --immutable
5353
- name: Build release targets
5454
run: yarn ng-dev release build
5555

@@ -63,7 +63,7 @@ jobs:
6363
- name: Setup Bazel RBE
6464
uses: angular/dev-infra/github-actions/bazel/configure-remote@03b8a7dffd1205e061f0bee949024ebefc2a6592
6565
- name: Install node modules
66-
run: yarn install --frozen-lockfile
66+
run: yarn install --immutable
6767
- name: Run module tests
6868
run: yarn bazel test //modules/...
6969
- name: Run package tests
@@ -98,7 +98,7 @@ jobs:
9898
- name: Initialize environment
9999
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
100100
- name: Install node modules
101-
run: yarn install --frozen-lockfile
101+
run: yarn install --immutable
102102
- name: Setup Bazel
103103
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592
104104
- name: Setup Bazel RBE
@@ -119,7 +119,7 @@ jobs:
119119
- name: Initialize environment
120120
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
121121
- name: Install node modules
122-
run: yarn install --frozen-lockfile
122+
run: yarn install --immutable
123123
- name: Setup Bazel
124124
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592
125125
- name: Setup Bazel RBE
@@ -136,7 +136,7 @@ jobs:
136136
- name: Initialize environment
137137
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
138138
- name: Install node modules
139-
run: yarn install --frozen-lockfile
139+
run: yarn install --immutable
140140
- name: Setup Bazel
141141
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592
142142
- name: Setup Bazel RBE
@@ -169,7 +169,7 @@ jobs:
169169
- name: Initialize environment
170170
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
171171
- name: Install node modules
172-
run: yarn install --frozen-lockfile
172+
run: yarn install --immutable
173173
- name: Setup Bazel
174174
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592
175175
- run: yarn admin snapshots --verbose

.github/workflows/pr.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ jobs:
4141
path: .eslintcache
4242
key: ${{ runner.os }}-${{ hashFiles('.eslintrc.json') }}
4343
- name: Install node modules
44-
run: yarn install --frozen-lockfile --ignore-scripts
44+
run: yarn install --immutable
4545
- name: Run ESLint
4646
run: yarn lint --cache-strategy content
4747
- name: Validate NgBot Configuration
4848
run: yarn ng-dev ngbot verify
4949
- name: Validate Circular Dependencies
5050
run: yarn ts-circular-deps check
5151
- name: Run Validation
52-
run: yarn -s admin validate
52+
run: yarn admin validate
5353
- name: Check Package Licenses
5454
uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3
5555
with:
5656
config-file: './.github/dependency-review-config.yml'
5757
- name: Check tooling setup
58-
run: yarn -s check-tooling-setup
58+
run: yarn check-tooling-setup
5959
- name: Check commit message
6060
# Commit message validation is only done on pull requests as its too late to validate once
6161
# it has been merged.
@@ -75,7 +75,7 @@ jobs:
7575
- name: Setup Bazel RBE
7676
uses: angular/dev-infra/github-actions/bazel/configure-remote@03b8a7dffd1205e061f0bee949024ebefc2a6592
7777
- name: Install node modules
78-
run: yarn install --frozen-lockfile
78+
run: yarn install --immutable
7979
- name: Build release targets
8080
run: yarn ng-dev release build
8181
- name: Store PR release packages
@@ -95,7 +95,7 @@ jobs:
9595
- name: Setup Bazel RBE
9696
uses: angular/dev-infra/github-actions/bazel/configure-remote@03b8a7dffd1205e061f0bee949024ebefc2a6592
9797
- name: Install node modules
98-
run: yarn install --frozen-lockfile
98+
run: yarn install --immutable
9999
- name: Run module tests
100100
run: yarn bazel test //modules/...
101101
- name: Run package tests
@@ -130,7 +130,7 @@ jobs:
130130
- name: Initialize environment
131131
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
132132
- name: Install node modules
133-
run: yarn install --frozen-lockfile
133+
run: yarn install --immutable
134134
- name: Setup Bazel
135135
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592
136136
- name: Setup Bazel RBE
@@ -153,7 +153,7 @@ jobs:
153153
- name: Initialize environment
154154
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@03b8a7dffd1205e061f0bee949024ebefc2a6592
155155
- name: Install node modules
156-
run: yarn install --frozen-lockfile
156+
run: yarn install --immutable
157157
- name: Setup Bazel
158158
uses: angular/dev-infra/github-actions/bazel/setup@03b8a7dffd1205e061f0bee949024ebefc2a6592
159159
- name: Setup Bazel RBE

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ test-project-host-*
44
dist/
55
dist-schema/
66

7+
# Yarn
8+
.yarn/*
9+
!.yarn/patches
10+
!.yarn/plugins
11+
!.yarn/releases
12+
!.yarn/sdks
13+
!.yarn/versions
14+
715
# IDEs
816
jsconfig.json
917

.husky/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarn -s ng-dev commit-message pre-commit-validate --file $1;
1+
yarn ng-dev commit-message pre-commit-validate --file $1;

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarn -s ng-dev format staged;
1+
yarn ng-dev format staged;

.husky/prepare-commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarn -s ng-dev commit-message restore-commit-message-draft $1 $2;
1+
yarn ng-dev commit-message restore-commit-message-draft $1 $2;

0 commit comments

Comments
 (0)