Skip to content

Commit

Permalink
migrate yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcheng committed Oct 30, 2023
1 parent 62e6fa7 commit e39da5b
Show file tree
Hide file tree
Showing 6 changed files with 16,704 additions and 12,055 deletions.
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ dist
# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
},
"packageManager": "[email protected]"
}
6 changes: 3 additions & 3 deletions packages/connect-miniprogram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"headers-polyfill": "^4.0.2"
},
"peerDependencies": {
"@connectrpc/connect": "^1.1.3",
"@bufbuild/protobuf": "^1.4.1"
"@bufbuild/protobuf": "^1.4.1",
"@connectrpc/connect": "^1.1.3"
},
"devDependencies": {
"@connectrpc/connect": "^1.1.3",
"@bufbuild/protobuf": "^1.4.1",
"@connectrpc/connect": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
Expand Down
30 changes: 15 additions & 15 deletions packages/example-taro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"ios >= 8"
],
"dependencies": {
"@babel/runtime": "^7.7.7",
"@babel/runtime": "^7.23.2",
"@bufbuild/protobuf": "^1.4.1",
"@connectrpc/connect": "^1.1.3",
"@tarojs/components": "3.6.18",
Expand All @@ -50,28 +50,28 @@
"@tarojs/runtime": "3.6.18",
"@tarojs/shared": "3.6.18",
"@tarojs/taro": "3.6.18",
"connect-miniprogram": "2.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"connect-miniprogram": "workspace:packages/connect-miniprogram",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@babel/core": "^7.23.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@tarojs/cli": "3.6.18",
"@tarojs/webpack5-runner": "3.6.18",
"@types/react": "^18.0.0",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^6.9.0 ",
"@typescript-eslint/parser": "^6.9.0 ",
"@types/react": "^18.2.33",
"@types/webpack-env": "^1.18.3",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"babel-preset-taro": "3.6.18",
"eslint": "^8.12.0",
"eslint": "^8.52.0",
"eslint-config-taro": "3.6.18",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.31",
"react-refresh": "^0.14.0",
"typescript": "^5.2.2",
"webpack": "5.78.0"
"webpack": "5.89.0"
}
}
Loading

0 comments on commit e39da5b

Please sign in to comment.