Skip to content

Commit

Permalink
chore(deps): upgrade yarn to v4 major
Browse files Browse the repository at this point in the history
  • Loading branch information
adidner authored and jphechter committed Jan 5, 2024
1 parent 68142d7 commit bfce913
Show file tree
Hide file tree
Showing 8 changed files with 12,631 additions and 13,186 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ commands:
command: yarn info --json cypress | jq .children.Version > cypress.lock
- restore_cache:
keys:
- v8-cypress-deps-{{ checksum "cypress.lock" }}
- v2024.01.05-cypress-deps-{{ checksum "cypress.lock" }}
- restore_cache:
keys:
- v8-yarn-deploy-deps-{{ checksum "yarn.lock" }}
- v8-yarn-deps-{{ checksum "yarn.lock" }}
- v8-yarn-deploy-deps-
- v8-yarn-deps-
- v2024.01.05-yarn-deploy-deps-{{ checksum "yarn.lock" }}
- v2024.01.05-yarn-deps-{{ checksum "yarn.lock" }}
- v2024.01.05-yarn-deploy-deps-
- v2024.01.05-yarn-deps-
- run:
name: Install yarn packages
command: yarn install
Expand Down Expand Up @@ -139,19 +139,19 @@ commands:
name: Check Cypress Version
command: yarn info --json cypress | jq .children.Version > cypress.lock
- save_cache:
key: v8-cypress-deps-{{ checksum "cypress.lock" }}
key: v2024.01.05-cypress-deps-{{ checksum "cypress.lock" }}
paths:
- ~/.cache/Cypress
- save_cache:
key: v8-yarn-deps-{{ checksum "yarn.lock" }}
key: v2024.01.05-yarn-deps-{{ checksum "yarn.lock" }}
paths:
- ./.yarn/cache
- ~/.npm-global

store-deploy-cache:
steps:
- save_cache:
key: v8-yarn-deploy-deps-{{ checksum "yarn.lock" }}
key: v2024.01.05-yarn-deploy-deps-{{ checksum "yarn.lock" }}
paths:
- ./.yarn/cache
- ./web/.next/cache
Expand Down
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

875 changes: 0 additions & 875 deletions .yarn/releases/yarn-3.7.0.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://mskelton.dev/yarn-outdated/v2"
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.7.0.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
"main": "index.js",
"private": true,
"scripts": {
"build": "yarn verify:node && yarn workspaces foreach -ptvi run build",
"build": "yarn verify:node && yarn workspaces foreach -Aptvi run build",
"build:clean": "yarn clean && yarn build",
"clean": "yarn workspaces foreach -v run clean",
"clean": "yarn workspaces foreach -Av run clean",
"cms:proxy": "yarn dlx netlify-cms-proxy-server",
"dependency-check": "yarn workspaces foreach -v run dependency-check",
"dependency-check": "yarn workspaces foreach -Av run dependency-check",
"invokeNewsletter": "yarn workspace @businessnjgovnavigator/api invokeNewsletter",
"lint": "yarn workspaces foreach run lint",
"lint:fix": "yarn workspaces foreach run lint:fix",
"lint": "yarn workspaces foreach -A run lint",
"lint:fix": "yarn workspaces foreach -A run lint:fix",
"lint:staged": "lint-staged",
"prettier": "prettier --write . --ignore-path=./.eslintignore",
"prettier:check": "prettier --check . --ignore-path=./.eslintignore",
"start:dev": "yarn workspaces foreach -ptvi run dev",
"spellcheck": "yarn workspaces foreach -v run spellcheck",
"start:dev": "yarn workspaces foreach -Aptvi run dev",
"spellcheck": "yarn workspaces foreach -Av run spellcheck",
"sync:deps": "yarnw-sync-deps --fix",
"test": "jest",
"test:ci": "jest --colors --runInBand --ci",
"test:coverage": "jest --config jest.coverage.ts",
"test:python": "python -m unittest discover -b -s content/scripts -p \"test_*.py\" && python -m unittest discover -b -s scripts -p \"test_*.py\"",
"typecheck": "yarn workspaces foreach -v run typecheck",
"typecheck": "yarn workspaces foreach -Av run typecheck",
"verify:node": "check-node-version --node $(cat .nvmrc) --npm 10.2.3"
},
"dependencies": {
Expand Down Expand Up @@ -286,7 +286,7 @@
"@semantic-release/git"
]
},
"packageManager": "yarn@3.7.0",
"packageManager": "yarn@4.0.2",
"resolutions": {
"[email protected]": "1.0.1",
"postcss": "8.4.32",
Expand Down
Loading

0 comments on commit bfce913

Please sign in to comment.