Skip to content

Commit

Permalink
chore(website): update to yarn 4 (carbon-design-system#3801)
Browse files Browse the repository at this point in the history
* chore(project): update to yarn 4

* chore: migrate to yarn 4 settings/commands
  • Loading branch information
tay1orjones authored Nov 16, 2023
1 parent 2be780a commit b30bf82
Show file tree
Hide file tree
Showing 7 changed files with 23,505 additions and 17,219 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Check formatting of project files
run: yarn format:check

Expand All @@ -29,6 +29,6 @@ jobs:
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Lint JavaScript files
run: yarn lint:js
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
node-version: 18.x
- name: Install packages
run: yarn install --frozen-lockfile --network-timeout 300000
run: yarn install --immutable --network-timeout 300000
- name: Gatsby Cache Folder
uses: actions/cache@v3
id: gatsby-cache-folder
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
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

nmHoistingLimits: workspaces
2 changes: 1 addition & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1. Update and install dependencies
```bash
git pull upstream main && yarn install --frozen-lockfile
git pull upstream main && yarn install --immutable
```
2. Run build and test locally

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"workspaces": {
"packages": [
"plugins/*"
],
"nohoist": []
]
},
"scripts": {
"dev": "NODE_OPTIONS='--max-old-space-size=8192' gatsby develop -H 0.0.0.0",
Expand Down Expand Up @@ -117,5 +116,6 @@
},
"resolutions": {
"webpack": "^5.59.0"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit b30bf82

Please sign in to comment.