Skip to content

Commit

Permalink
Chore: Bump Yarn
Browse files Browse the repository at this point in the history
because:
- We were still on the classic version and that often causes issues for contributors who are using a more up to date version of Yarn.

This commit:
- Bumps to the latest version of Yarn
- Amends the .gitignore file based on what Yarn recommends - https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
  • Loading branch information
KevinMulhern committed Aug 11, 2024
1 parent 7778100 commit 16dc1bb
Show file tree
Hide file tree
Showing 6 changed files with 7,572 additions and 4,366 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install packages
run: |
yarn install --pure-lockfile
yarn install
- name: Run linters
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Install packages
run: |
yarn install --pure-lockfile
yarn install
- name: Build assets
run: |
Expand Down
16 changes: 11 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,17 @@
/public/packs
/public/packs-test
/node_modules


# yarn -
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
/yarn-error.log
yarn-debug.log*
.yarn-integrity
.yarn/
.yarnrc.yml

# Spec example persistence / failure tracking
/spec/examples.txt
Expand All @@ -61,4 +67,4 @@ yarn-debug.log*
!/app/assets/builds/.keep

# Ruby tool versions
.tool-versions
.tool-versions
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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 16dc1bb

Please sign in to comment.