Skip to content

Commit

Permalink
chore(deps): update dev dependencies (#2105)
Browse files Browse the repository at this point in the history
* chore(deps): update dev dependencies

* revert vitest

* give up with "bundler"

* fix test old ts file

* fix test old ts file 2

* fix test old ts file 3

* fix test old ts file 4
  • Loading branch information
dai-shi authored Aug 31, 2023
1 parent 1d25284 commit 904cec7
Show file tree
Hide file tree
Showing 5 changed files with 360 additions and 347 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-multiple-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- 18.0.0
- 18.1.0
- 18.2.0
- 18.3.0-canary-dd480ef92-20230822
- 0.0.0-experimental-dd480ef92-20230822
- 18.3.0-canary-ddff50469-20230829
- 0.0.0-experimental-ddff50469-20230829
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-old-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
fail-fast: false
matrix:
typescript:
- 5.2.2
- 5.1.6
- 5.0.4
- 4.9.5
Expand All @@ -39,7 +40,7 @@ jobs:
- name: Patch for Newer TS
if: ${{ matrix.typescript == '4.9.5' || matrix.typescript == '4.8.4' }}
run: |
sed -i~ 's/"moduleResolution": "nodenext",/"moduleResolution": "node",/' tsconfig.json
sed -i~ 's/"moduleResolution": "bundler",/"moduleResolution": "node",/' tsconfig.json
sed -i~ 's/"allowImportingTsExtensions": true,//' tsconfig.json
sed -i~ 's/"jotai": \["\.\/src\/index\.ts"\],/"jotai": [".\/dist\/index.d.ts"],/' tsconfig.json
sed -i~ 's/"jotai\/\*": \["\.\/src\/\*\.ts"\]/"jotai\/*": [".\/dist\/*.d.ts"]/' tsconfig.json
Expand All @@ -50,7 +51,7 @@ jobs:
sed -i~ 's/\/\/ @ts-expect-error.*\[LATEST-TS-ONLY\]//' tests/*/*.tsx tests/*/*/*.tsx
sed -i~ 's/"target":/"skipLibCheck":true,"target":/' tsconfig.json
sed -i~ 's/"exactOptionalPropertyTypes": true,//' tsconfig.json
sed -i~ 's/"moduleResolution": "nodenext",/"moduleResolution": "node",/' tsconfig.json
sed -i~ 's/"moduleResolution": "bundler",/"moduleResolution": "node",/' tsconfig.json
sed -i~ 's/"allowImportingTsExtensions": true,//' tsconfig.json
sed -i~ 's/"jotai": \["\.\/src\/index\.ts"\],/"jotai": [".\/dist\/ts3.8\/index.d.ts"],/' tsconfig.json
sed -i~ 's/"jotai\/\*": \["\.\/src\/\*\.ts"\]/"jotai\/*": [".\/dist\/ts3.8\/*.d.ts"]/' tsconfig.json
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,34 +113,34 @@
},
"homepage": "https://github.com/pmndrs/jotai",
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/core": "^7.22.11",
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@babel/plugin-transform-typescript": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/plugin-transform-typescript": "^7.22.11",
"@babel/preset-env": "^7.22.14",
"@babel/template": "^7.22.5",
"@babel/types": "^7.22.10",
"@babel/types": "^7.22.11",
"@redux-devtools/extension": "^3.2.5",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-typescript": "^11.1.3",
"@testing-library/dom": "^9.3.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/babel__core": "^7.20.1",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vitest/coverage-v8": "^0.34.2",
"@vitest/ui": "^0.34.2",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitest/coverage-v8": "^0.34.3",
"@vitest/ui": "^0.34.3",
"benny": "^3.7.1",
"concurrently": "^8.2.1",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.19.2",
"eslint": "^8.47.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.28.1",
Expand All @@ -150,7 +150,7 @@
"eslint-plugin-vitest": "^0.2.8",
"jsdom": "^22.1.0",
"json": "^11.0.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redux": "^4.2.1",
Expand All @@ -161,7 +161,7 @@
"ts-expect": "^1.3.0",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"vitest": "0.33.0",
"wonka": "^6.3.4"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"jsx": "react-jsx",
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "nodenext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
Expand Down
Loading

1 comment on commit 904cec7

@vercel
Copy link

@vercel vercel bot commented on 904cec7 Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.