mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore(deps): update dev dependencies (#1467)
* chore(deps): update dev dependencies * patch for older ts
This commit is contained in:
parent
e3d738f385
commit
60b7458179
4
.github/workflows/test-multiple-versions.yml
vendored
4
.github/workflows/test-multiple-versions.yml
vendored
@ -33,8 +33,8 @@ jobs:
|
||||
- 18.0.0
|
||||
- 18.1.0
|
||||
- 18.2.0
|
||||
- 18.3.0-next-cf3932be5-20221027
|
||||
- 0.0.0-experimental-cf3932be5-20221027
|
||||
- 18.3.0-next-353c30252-20221202
|
||||
- 0.0.0-experimental-353c30252-20221202
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
|
||||
5
.github/workflows/test-old-typescript.yml
vendored
5
.github/workflows/test-old-typescript.yml
vendored
@ -37,6 +37,11 @@ jobs:
|
||||
sed -i~ "s/\"zustand\": \[\"\.\/src\/index\.ts\"\],/\"zustand\": [\".\/dist\/index.d.ts\"],/" tsconfig.json
|
||||
sed -i~ "s/\"zustand\/\*\": \[\"\.\/src\/\*\.ts\"\]/\"zustand\/*\": [\".\/dist\/*.d.ts\"]/" tsconfig.json
|
||||
sed -i~ "s/\"include\": .*/\"include\": [\"src\/types.d.ts\", \"dist\/**\/*\", \"tests\/**\/*\"],/" tsconfig.json
|
||||
- name: Patch for Older TS
|
||||
if: ${{ matrix.typescript == '4.2.3' || matrix.typescript == '4.1.5' }}
|
||||
run: |
|
||||
yarn json -I -f package.json -e "this.resolutions['@types/jest']='29.2.0';"
|
||||
yarn add -D @types/jest@29.2.0
|
||||
- name: Test ${{ matrix.typescript }}
|
||||
run: |
|
||||
yarn add -D typescript@${{ matrix.typescript }}
|
||||
|
||||
44
package.json
44
package.json
@ -167,51 +167,51 @@
|
||||
"use-sync-external-store": "1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.19.6",
|
||||
"@babel/core": "^7.20.5",
|
||||
"@babel/plugin-external-helpers": "^7.18.6",
|
||||
"@babel/plugin-transform-react-jsx": "^7.19.0",
|
||||
"@babel/plugin-transform-runtime": "^7.19.6",
|
||||
"@babel/plugin-transform-typescript": "^7.20.0",
|
||||
"@babel/preset-env": "^7.19.4",
|
||||
"@babel/plugin-transform-typescript": "^7.20.2",
|
||||
"@babel/preset-env": "^7.20.2",
|
||||
"@redux-devtools/extension": "^3.2.3",
|
||||
"@rollup/plugin-alias": "^4.0.2",
|
||||
"@rollup/plugin-babel": "^6.0.2",
|
||||
"@rollup/plugin-babel": "^6.0.3",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-replace": "^5.0.1",
|
||||
"@rollup/plugin-typescript": "^9.0.2",
|
||||
"@swc/core": "^1.3.11",
|
||||
"@rollup/plugin-typescript": "^10.0.1",
|
||||
"@swc/core": "^1.3.21",
|
||||
"@swc/jest": "^0.2.23",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@types/jest": "^29.2.0",
|
||||
"@types/react": "^18.0.24",
|
||||
"@types/react-dom": "^18.0.8",
|
||||
"@types/jest": "^29.2.4",
|
||||
"@types/react": "^18.0.26",
|
||||
"@types/react-dom": "^18.0.9",
|
||||
"@types/use-sync-external-store": "^0.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
||||
"@typescript-eslint/parser": "^5.41.0",
|
||||
"concurrently": "^7.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
"@typescript-eslint/parser": "^5.45.0",
|
||||
"concurrently": "^7.6.0",
|
||||
"downlevel-dts": "^0.11.0",
|
||||
"esbuild": "^0.15.12",
|
||||
"eslint": "^8.26.0",
|
||||
"esbuild": "^0.15.18",
|
||||
"eslint": "^8.29.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-jest": "^27.1.3",
|
||||
"eslint-plugin-jest": "^27.1.6",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.31.10",
|
||||
"eslint-plugin-react": "^7.31.11",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"immer": "^9.0.16",
|
||||
"jest": "^29.2.2",
|
||||
"jest-environment-jsdom": "^29.2.2",
|
||||
"jest": "^29.3.1",
|
||||
"jest-environment-jsdom": "^29.3.1",
|
||||
"json": "^11.0.0",
|
||||
"prettier": "^2.7.1",
|
||||
"prettier": "^2.8.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"redux": "^5.0.0-alpha.0",
|
||||
"rollup": "^3.2.3",
|
||||
"rollup-plugin-esbuild": "^4.10.1",
|
||||
"rollup": "^3.6.0",
|
||||
"rollup-plugin-esbuild": "^5.0.0",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"shx": "^0.3.4",
|
||||
"typescript": "^4.8.4"
|
||||
"typescript": "^4.9.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"date-fns": "2.27.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user