Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
build: update yarn to v4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin committed Aug 15, 2024
1 parent f69f69e commit daae318
Show file tree
Hide file tree
Showing 10 changed files with 18,773 additions and 13,072 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Input hashes for repository rule npm_translate_lock(name = "npm", pnpm_lock = "//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-1306950124
pnpm-lock.yaml=-1501812944
yarn.lock=-587809900
package.json=-931066933
pnpm-lock.yaml=1345633539
yarn.lock=-2024993586
package.json=-2093305059
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var_4: &save_cache
var_5: &yarn_install
run:
name: 'Installing project dependencies'
command: yarn install --frozen-lockfile --non-interactive
command: yarn install --immutable
no_output_timeout: 20m

# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install
run: yarn install --immutable
- name: Execute Linting
run: yarn bazel test --test_tag_filters=lint //...

Expand All @@ -35,7 +35,7 @@ jobs:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install
run: yarn install --immutable
- name: Execute Build
run: yarn bazel build //...

Expand All @@ -45,7 +45,7 @@ jobs:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install
run: yarn install --immutable
- name: Execute Tests
run: yarn bazel test --test_tag_filters=-lint,-e2e,-audit //...
- name: Store Test Logs
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install
run: yarn install --immutable
- name: Execute Lighthouse Audit
run: yarn bazel test --test_tag_filters=audit //...
- name: Store Audit Logs
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
# dependencies
/node_modules

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json
Expand Down
925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.0.cjs
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "material-angular-io",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
"private": true,
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -18,7 +18,6 @@
"build:content": "yarn upgrade @angular/components-examples",
"build:sm": "ng build --configuration production --source-map",
"prod-build": "ng build --configuration production",
"preinstall": "node ./tools/npm/check-npm.js",
"publish-prod": "bash ./tools/deploy.sh stable prod",
"publish-dev": "bash ./tools/deploy.sh",
"publish-beta": "bash ./tools/deploy.sh stable beta",
Expand All @@ -28,7 +27,10 @@
"test:audit:bazel": "node tools/audit-docs $(bazel cquery --output=files //:build.production)",
"test:audit:ci": "node tools/audit-docs ../dist/material-angular-io"
},
"private": true,
"engines": {
"node": "^18.19.1 || ^20.11.1 || >=22.0.0",
"npm": "Please use yarn instead of NPM to install dependencies"
},
"dependencies": {
"@angular/animations": "^18.2.0",
"@angular/cdk": "^18.2.0",
Expand Down Expand Up @@ -99,5 +101,6 @@
"shelljs": "^0.8.4",
"ts-node": "^8.10.2",
"typescript": "~5.5.2"
}
},
"packageManager": "[email protected]"
}
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions tools/npm/check-npm.js

This file was deleted.

Loading

0 comments on commit daae318

Please sign in to comment.