Skip to content

Commit

Permalink
chore: upgrade yarn to v4 (#201)
Browse files Browse the repository at this point in the history
* chore: upgrade yarn to v4

* fix: add yarn release

* fix: add gitattributes

* fix: yarn install muttable

* fix: add .yarn folder to prettier ignore
  • Loading branch information
MaikoTan authored Mar 23, 2024
1 parent a8cb047 commit 76f4bd8
Show file tree
Hide file tree
Showing 6 changed files with 917 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
*.ico -text
*.gif -text
*.webp -text

.yarn/release/* -text binary linguist-generated
.yarn/cache/* -text binary linguist-generated
.yarn/plugins/* -text binary linguist-generated
.yarn/sdks/* -text binary linguist-generated
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ tsconfig.tsbuildinfo
*.ntvs*
*.njsproj
*.sln

.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
!.pnp.*
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules/
/packages/lib
/packages/*/src/locales/*
!/packages/*/src/locales/zh-CN*
**/.yarn/*
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs

# For CI environments
enableImmutableInstalls: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "yarn@1.22.22",
"packageManager": "yarn@4.1.1",
"license": "MIT",
"scripts": {
"build": "yakumo build",
Expand Down

0 comments on commit 76f4bd8

Please sign in to comment.