mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore(deps): update dev dependencies (#1789)
* chore(deps): update dev dependencies * update node in csb config * use node 18 * move to dev deps * fix rollup error * missing fix * refactor for general case
This commit is contained in:
parent
496a466c2c
commit
c4e2809b6d
@ -9,5 +9,5 @@
|
||||
"next-js-uo1h0",
|
||||
"pavlobu-zustand-demo-frutec"
|
||||
],
|
||||
"node": "14"
|
||||
"node": "18"
|
||||
}
|
||||
|
||||
2
.github/workflows/lint-and-type.yml
vendored
2
.github/workflows/lint-and-type.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
cache: yarn
|
||||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
- run: yarn install --frozen-lockfile --check-files
|
||||
|
||||
2
.github/workflows/test-multiple-builds.yml
vendored
2
.github/workflows/test-multiple-builds.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
cache: yarn
|
||||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
- run: yarn install --frozen-lockfile --check-files
|
||||
|
||||
8
.github/workflows/test-multiple-versions.yml
vendored
8
.github/workflows/test-multiple-versions.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
cache: yarn
|
||||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
- run: yarn install --frozen-lockfile --check-files
|
||||
@ -33,8 +33,8 @@ jobs:
|
||||
- 18.0.0
|
||||
- 18.1.0
|
||||
- 18.2.0
|
||||
- 18.3.0-next-1308e49a6-20230330
|
||||
- 0.0.0-experimental-1308e49a6-20230330
|
||||
- 18.3.0-canary-aef7ce554-20230503
|
||||
- 0.0.0-experimental-aef7ce554-20230503
|
||||
devtools-skip:
|
||||
- CI-MATRIX-NOSKIP
|
||||
include:
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
cache: yarn
|
||||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
- run: yarn install --frozen-lockfile --check-files
|
||||
|
||||
2
.github/workflows/test-old-typescript.yml
vendored
2
.github/workflows/test-old-typescript.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: '18'
|
||||
cache: yarn
|
||||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
- run: yarn install --frozen-lockfile --check-files
|
||||
|
||||
44
package.json
44
package.json
@ -131,53 +131,53 @@
|
||||
},
|
||||
"homepage": "https://github.com/pmndrs/zustand",
|
||||
"dependencies": {
|
||||
"@vitest/ui": "^0.30.1",
|
||||
"eslint-plugin-vitest": "^0.1.4",
|
||||
"use-sync-external-store": "1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.4",
|
||||
"@babel/core": "^7.21.8",
|
||||
"@babel/plugin-external-helpers": "^7.18.6",
|
||||
"@babel/plugin-transform-react-jsx": "^7.21.0",
|
||||
"@babel/plugin-transform-react-jsx": "^7.21.5",
|
||||
"@babel/plugin-transform-runtime": "^7.21.4",
|
||||
"@babel/plugin-transform-typescript": "^7.21.3",
|
||||
"@babel/preset-env": "^7.21.4",
|
||||
"@babel/preset-env": "^7.21.5",
|
||||
"@redux-devtools/extension": "^3.2.5",
|
||||
"@rollup/plugin-alias": "^4.0.3",
|
||||
"@rollup/plugin-alias": "^5.0.0",
|
||||
"@rollup/plugin-babel": "^6.0.3",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-node-resolve": "^15.0.2",
|
||||
"@rollup/plugin-replace": "^5.0.2",
|
||||
"@rollup/plugin-terser": "^0.4.0",
|
||||
"@rollup/plugin-typescript": "^11.0.0",
|
||||
"@rollup/plugin-terser": "^0.4.1",
|
||||
"@rollup/plugin-typescript": "^11.1.0",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@types/react": "^18.0.31",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@types/react": "^18.2.2",
|
||||
"@types/react-dom": "^18.2.3",
|
||||
"@types/use-sync-external-store": "^0.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
||||
"@typescript-eslint/parser": "^5.57.0",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
||||
"@typescript-eslint/parser": "^5.59.2",
|
||||
"@vitest/coverage-c8": "^0.31.0",
|
||||
"@vitest/ui": "^0.31.0",
|
||||
"concurrently": "^8.0.1",
|
||||
"downlevel-dts": "^0.11.0",
|
||||
"esbuild": "^0.17.14",
|
||||
"eslint": "^8.37.0",
|
||||
"esbuild": "^0.17.18",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"immer": "^9.0.21",
|
||||
"jsdom": "^21.1.1",
|
||||
"eslint-plugin-vitest": "^0.1.4",
|
||||
"immer": "^10.0.1",
|
||||
"jsdom": "^22.0.0",
|
||||
"json": "^11.0.0",
|
||||
"prettier": "^2.8.7",
|
||||
"prettier": "^2.8.8",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"redux": "5.0.0-alpha.1",
|
||||
"rollup": "^3.20.2",
|
||||
"rollup": "^3.21.4",
|
||||
"rollup-plugin-esbuild": "^5.0.0",
|
||||
"shx": "^0.3.4",
|
||||
"typescript": "^5.0.3",
|
||||
"vitest": "^0.30.1"
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.31.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"immer": ">=9.0",
|
||||
|
||||
@ -56,7 +56,7 @@ function createESMConfig(input, output) {
|
||||
output: { file: output, format: 'esm' },
|
||||
external,
|
||||
plugins: [
|
||||
alias({ entries }),
|
||||
alias(entries.filter((e) => !e.find.test(input))),
|
||||
resolve({ extensions }),
|
||||
replace({
|
||||
...(output.endsWith('.js')
|
||||
@ -97,7 +97,7 @@ function createCommonJSConfig(input, output, options) {
|
||||
},
|
||||
external,
|
||||
plugins: [
|
||||
alias({ entries }),
|
||||
alias(entries.filter((e) => !e.find.test(input))),
|
||||
resolve({ extensions }),
|
||||
replace({
|
||||
'import.meta.env?.MODE': 'process.env.NODE_ENV',
|
||||
@ -133,7 +133,7 @@ function createUMDConfig(input, output, env) {
|
||||
},
|
||||
external,
|
||||
plugins: [
|
||||
alias({ entries }),
|
||||
alias(entries.filter((e) => !e.find.test(input))),
|
||||
resolve({ extensions }),
|
||||
replace({
|
||||
'import.meta.env?.MODE': JSON.stringify(env),
|
||||
@ -155,7 +155,7 @@ function createSystemConfig(input, output, env) {
|
||||
},
|
||||
external,
|
||||
plugins: [
|
||||
alias({ entries }),
|
||||
alias(entries.filter((e) => !e.find.test(input))),
|
||||
resolve({ extensions }),
|
||||
replace({
|
||||
'import.meta.env?.MODE': JSON.stringify(env),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user