Skip to content

Commit

Permalink
chore(deps): update dev dependencies (pmndrs#1789)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dai-shi authored May 4, 2023
1 parent 496a466 commit c4e2809
Show file tree
Hide file tree
Showing 8 changed files with 630 additions and 882 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"next-js-uo1h0",
"pavlobu-zustand-demo-frutec"
],
"node": "14"
"node": "18"
}
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-multiple-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-multiple-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-old-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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),
Expand All @@ -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),
Expand Down
Loading

0 comments on commit c4e2809

Please sign in to comment.