Skip to content

Commit

Permalink
drop node 14 support (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
charkour authored May 23, 2023
1 parent 6453ad0 commit f89ef5c
Show file tree
Hide file tree
Showing 10 changed files with 577 additions and 540 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +23,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 7.24.2
version: latest
run_install: false

- name: Get pnpm store directory
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"lint": "next lint"
},
"dependencies": {
"next": "13.3.0",
"next": "13.4.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"ui": "workspace:*"
},
"devDependencies": {
"@types/node": "18.15.11",
"@types/react": "18.0.35",
"eslint": "8.38.0",
"@types/node": "20.2.3",
"@types/react": "18.2.6",
"eslint": "8.41.0",
"eslint-config-custom": "workspace:*",
"tsconfig": "workspace:*",
"typescript": "5.0.4"
Expand Down
10 changes: 5 additions & 5 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"dependencies": {
"lodash.merge": "4.6.2",
"lodash.throttle": "4.1.1",
"next": "13.3.0",
"next": "13.4.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"ui": "workspace:*",
"zundo": "workspace:*",
"zustand": "4.3.7"
"zustand": "4.3.8"
},
"devDependencies": {
"@types/lodash.merge": "4.6.7",
"@types/lodash.throttle": "4.1.7",
"@types/node": "18.15.11",
"@types/react": "18.0.35",
"eslint": "8.38.0",
"@types/node": "20.2.3",
"@types/react": "18.2.6",
"eslint": "8.41.0",
"eslint-config-custom": "workspace:*",
"tsconfig": "workspace:*",
"typescript": "5.0.4"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"devDependencies": {
"eslint-config-custom": "workspace:*",
"prettier": "2.8.7",
"turbo": "1.9.1"
"prettier": "2.8.8",
"turbo": "1.9.8"
},
"engines": {
"npm": ">=7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"eslint": "8.38.0",
"eslint-config-next": "13.3.0",
"eslint": "8.41.0",
"eslint-config-next": "13.4.3",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-react": "7.32.2",
"typescript": "5.0.4"
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"lint": "eslint *.ts*"
},
"devDependencies": {
"@types/react": "18.0.35",
"@types/react-dom": "18.0.11",
"eslint": "8.38.0",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"eslint": "8.41.0",
"eslint-config-custom": "workspace:*",
"react": "18.2.0",
"tsconfig": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/zundo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ npm i zustand zundo
```

> zustand v4.3.0 or higher is required for TS usage. v4.0.0 or higher is required for JS usage.
> Node 16 or higher is required.
## Background

Expand Down
10 changes: 5 additions & 5 deletions packages/zundo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@types/lodash.throttle": "4.1.7",
"@types/react-dom": "18.0.11",
"jsdom": "21.1.1",
"@types/react-dom": "18.2.4",
"jsdom": "22.0.0",
"lodash.throttle": "4.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand All @@ -53,10 +53,10 @@
"tsconfig": "workspace:*",
"tsup": "6.7.0",
"typescript": "5.0.4",
"vite": "4.2.1",
"vitest": "0.30.1",
"vite": "4.3.8",
"vitest": "0.31.1",
"vitest-localstorage-mock": "0.0.1",
"zustand": "4.3.7"
"zustand": "4.3.8"
},
"peerDependencies": {
"zustand": "^4.3.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/zundo/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src"
"rootDir": "./src",
"target": "ESNext"
},
"exclude": ["node_modules", "dist"],
"extends": "tsconfig/base.json",
Expand Down
Loading

0 comments on commit f89ef5c

Please sign in to comment.