Skip to content

Commit 0411a1b

Browse files
authored
Merge pull request #6 from react18-tools/clean-up
Clean up
2 parents da95508 + 5a46fad commit 0411a1b

File tree

10 files changed

+1004
-1393
lines changed

10 files changed

+1004
-1393
lines changed

.github/workflows/upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
- run: pnpm build --filter @example/nextjs
3434
name: Build all apps to make sure it is not broken due to dependency upgrades
3535
- name: Run unit tests
36-
run: pnpm test
36+
run: cd lib && pnpm test
3737
- name: Save upgraded packages back to repo
3838
run: echo $(date +%F_%H:%M:%S) > .lst && git add . && git commit -m "upgrade deps && docs [skip ci]" && git push origin main

examples/nextjs/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
1414
"dependencies": {
1515
"@repo/shared": "workspace:*",
1616
"kosha": "workspace:*",
17-
"next": "^15.4.1",
17+
"next": "^15.4.5",
1818
"nextjs-darkmode-lite": "^1.0.10",
1919
"nextjs-themes": "^4.0.6",
20-
"react": "^19.1.0",
21-
"react-dom": "^19.1.0",
22-
"react18-loaders": "^1.1.4",
20+
"react": "^19.1.1",
21+
"react-dom": "^19.1.1",
22+
"react18-loaders": "^1.1.7",
2323
"webgl-generative-particles": "^0.0.1"
2424
},
2525
"devDependencies": {
26-
"@next/eslint-plugin-next": "^15.3.3",
26+
"@next/eslint-plugin-next": "^15.4.5",
2727
"@repo/eslint-config": "workspace:*",
2828
"@repo/typescript-config": "workspace:*",
29-
"@types/node": "^22.15.30",
30-
"@types/react": "^19.1.7",
31-
"@types/react-dom": "^19.1.6",
32-
"typescript": "^5.8.3"
29+
"@types/node": "^24.1.0",
30+
"@types/react": "^19.1.9",
31+
"@types/react-dom": "^19.1.7",
32+
"typescript": "^5.9.2"
3333
}
34-
}
34+
}

examples/vite/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515
"@repo/shared": "workspace:*",
1616
"kosha": "workspace:*",
1717
"nextjs-darkmode": "^1.0.10",
18-
"react": "^19.1.0",
19-
"react-dom": "^19.1.0",
18+
"react": "^19.1.1",
19+
"react-dom": "^19.1.1",
2020
"react-mouse-trails": "^0.0.5",
21-
"react18-loaders": "^1.1.4",
21+
"react18-loaders": "^1.1.7",
2222
"react18-themes": "^3.2.0"
2323
},
2424
"devDependencies": {
2525
"@repo/eslint-config": "workspace:*",
2626
"@repo/typescript-config": "workspace:*",
27-
"@types/react": "^19.1.7",
28-
"@types/react-dom": "^19.1.6",
29-
"@vitejs/plugin-react": "^4.5.1",
30-
"typescript": "^5.8.3",
31-
"vite": "^6.3.5"
27+
"@types/react": "^19.1.9",
28+
"@types/react-dom": "^19.1.7",
29+
"@vitejs/plugin-react": "^4.7.0",
30+
"typescript": "^5.9.2",
31+
"vite": "^7.0.6"
3232
}
3333
}

lib/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# kosha
22

3+
## 1.3.1
4+
5+
### Patch Changes
6+
7+
- e39433b: Remove next.js from peedDependency
8+
39
## 1.3.0
410

511
### Minor Changes
@@ -15,7 +21,6 @@
1521
### Patch Changes
1622

1723
- fab33c4: - ✨ Support for Zustand-style **slice composition** via `SliceCreator` utility type.
18-
1924
- Now you can structure your store in a modular, scalable way by composing smaller slices and combining them into a single store.
2025

2126
```ts

lib/package.json

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "kosha",
33
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
44
"private": false,
5-
"version": "1.3.0",
5+
"version": "1.3.1",
66
"description": "⚡A modern, lightweight, fast, and powerful global state management library for modern React.js projects. ",
77
"license": "MPL-2.0",
88
"main": "./dist/index.js",
@@ -55,33 +55,29 @@
5555
"@repo/eslint-config": "workspace:*",
5656
"@repo/typescript-config": "workspace:*",
5757
"@testing-library/react": "^16.3.0",
58-
"@types/node": "^22.15.30",
59-
"@types/react": "^19.1.7",
60-
"@types/react-dom": "^19.1.6",
61-
"@vitejs/plugin-react": "^4.5.1",
62-
"@vitest/coverage-v8": "^3.2.3",
58+
"@types/node": "^24.1.0",
59+
"@types/react": "^19.1.9",
60+
"@types/react-dom": "^19.1.7",
61+
"@vitejs/plugin-react": "^4.7.0",
62+
"@vitest/coverage-v8": "^3.2.4",
6363
"esbuild-plugin-rdi": "^0.0.0",
6464
"esbuild-plugin-react18": "0.2.6",
6565
"esbuild-plugin-react18-css": "^0.0.4",
6666
"immer": "^10.1.1",
6767
"jsdom": "^26.1.0",
68-
"react": "^19.1.0",
69-
"react-dom": "^19.1.0",
68+
"react": "^19.1.1",
69+
"react-dom": "^19.1.1",
7070
"tsup": "^8.5.0",
71-
"typescript": "^5.8.3",
71+
"typescript": "^5.9.2",
7272
"vite-tsconfig-paths": "^5.1.4",
73-
"vitest": "^3.2.3"
73+
"vitest": "^3.2.4"
7474
},
7575
"peerDependencies": {
7676
"@types/react": ">=18",
77-
"next": ">=12.2",
78-
"react": ">=18",
79-
"immer": ">=9.0.0"
77+
"immer": ">=9.0.0",
78+
"react": ">=18"
8079
},
8180
"peerDependenciesMeta": {
82-
"next": {
83-
"optional": true
84-
},
8581
"immer": {
8682
"optional": true
8783
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
"preinstall": "node scripts/update-pm.js"
1414
},
1515
"devDependencies": {
16-
"@changesets/cli": "^2.29.4",
16+
"@changesets/cli": "^2.29.5",
1717
"@repo/typescript-config": "workspace:*",
18-
"@types/node": "^22.15.30",
19-
"prettier": "^3.5.3",
20-
"turbo": "^2.5.4"
18+
"@types/node": "^24.1.0",
19+
"prettier": "^3.6.2",
20+
"turbo": "^2.5.5"
2121
},
2222
"packageManager": "[email protected]",
2323
"engines": {

packages/eslint-config/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"type": "module",
55
"private": true,
66
"devDependencies": {
7-
"@next/eslint-plugin-next": "^15.3.3",
8-
"@typescript-eslint/eslint-plugin": "^8.34.0",
9-
"@typescript-eslint/parser": "^8.34.0",
10-
"eslint": "^9.28.0",
11-
"eslint-config-prettier": "^10.1.5",
7+
"@next/eslint-plugin-next": "^15.4.5",
8+
"@typescript-eslint/eslint-plugin": "^8.38.0",
9+
"@typescript-eslint/parser": "^8.38.0",
10+
"eslint": "^9.32.0",
11+
"eslint-config-prettier": "^10.1.8",
1212
"eslint-plugin-only-warn": "^1.1.0",
1313
"eslint-plugin-react": "^7.37.5",
1414
"eslint-plugin-react-hooks": "^5.2.0",
15-
"eslint-plugin-turbo": "^2.5.4",
16-
"globals": "^16.2.0",
17-
"typescript": "^5.8.3",
18-
"typescript-eslint": "^8.34.0"
15+
"eslint-plugin-turbo": "^2.5.5",
16+
"globals": "^16.3.0",
17+
"typescript": "^5.9.2",
18+
"typescript-eslint": "^8.38.0"
1919
}
2020
}

packages/shared/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @repo/shared
22

3+
## 0.0.15
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [e39433b]
8+
9+
310
## 0.0.14
411

512
### Patch Changes

packages/shared/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@repo/shared",
3-
"version": "0.0.14",
3+
"version": "0.0.15",
44
"private": true,
55
"sideEffects": false,
66
"main": "./dist/index.js",
@@ -22,34 +22,34 @@
2222
"@repo/eslint-config": "workspace:*",
2323
"@repo/typescript-config": "workspace:*",
2424
"@testing-library/react": "^16.3.0",
25-
"@types/node": "^22.15.30",
26-
"@types/react": "^19.1.7",
27-
"@types/react-dom": "^19.1.6",
28-
"@vitejs/plugin-react": "^4.5.1",
29-
"@vitest/coverage-v8": "^3.2.3",
25+
"@types/node": "^24.1.0",
26+
"@types/react": "^19.1.9",
27+
"@types/react-dom": "^19.1.7",
28+
"@vitejs/plugin-react": "^4.7.0",
29+
"@vitest/coverage-v8": "^3.2.4",
3030
"esbuild-plugin-rdi": "^0.0.0",
3131
"esbuild-plugin-react18": "^0.2.6",
3232
"esbuild-plugin-react18-css": "^0.0.4",
3333
"jsdom": "^26.1.0",
34-
"react": "^19.1.0",
35-
"react-dom": "^19.1.0",
34+
"react": "^19.1.1",
35+
"react-dom": "^19.1.1",
3636
"tsup": "^8.5.0",
37-
"typescript": "^5.8.3",
37+
"typescript": "^5.9.2",
3838
"vite-tsconfig-paths": "^5.1.4",
39-
"vitest": "^3.2.3"
39+
"vitest": "^3.2.4"
4040
},
4141
"dependencies": {
4242
"@mayank1513/fork-me": "^2.1.3",
4343
"@repo/scripts": "workspace:*",
44-
"esbuild-raw-plugin": "^0.2.0",
44+
"esbuild-raw-plugin": "^0.3.1",
4545
"kosha": "workspace:*",
4646
"nextjs-darkmode": "^1.0.10",
4747
"nextjs-themes": "^4.0.6",
4848
"r18gs": "^3.0.1",
4949
"react-error-boundary": "^6.0.0",
5050
"react-live": "^4.1.8",
51-
"react18-loaders": "^1.1.4",
51+
"react18-loaders": "^1.1.7",
5252
"typingfx": "^1.1.2",
53-
"zustand": "^5.0.5"
53+
"zustand": "^5.0.7"
5454
}
5555
}

0 commit comments

Comments
 (0)