Skip to content

Commit

Permalink
Upgrade Yarn to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
dguo committed Jun 14, 2023
1 parent 2313409 commit 7032c42
Show file tree
Hide file tree
Showing 8 changed files with 10,424 additions and 5,994 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
* text=auto

# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
/.yarn/releases/** binary
/.yarn/plugins/** binary
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Install packages
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Check formatting
run: yarn run format:check
- name: Lint the code
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ extension/fonts/[fF]ont[aA]wesome*
extension/styles/bulma.css
extension/styles/font-awesome.min.css
web-ext-artifacts/

# Yarn
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
541 changes: 541 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.0.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
defaultSemverRangePrefix: ''

nodeLinker: 'node-modules'

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'

yarnPath: .yarn/releases/yarn-3.6.0.cjs
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
},
"homepage": "https://dannyguo.com/pawblock",
"dependencies": {
"bulma": "^0.4.3",
"font-awesome": "^4.7.0"
"bulma": "0.4.4",
"font-awesome": "4.7.0"
},
"devDependencies": {
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"jest": "^24.9.0",
"prettier": "^2.8.1",
"web-ext": "^7.4.0"
"eslint": "8.30.0",
"eslint-config-prettier": "8.5.0",
"jest": "24.9.0",
"prettier": "2.8.1",
"web-ext": "7.4.0"
},
"eslintConfig": {
"extends": [
Expand All @@ -56,5 +56,6 @@
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "none"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 7032c42

Please sign in to comment.