@pplancq/react-template 2.8.9 → 2.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/mise.toml +2 -2
- package/package.json +15 -16
- package/rsbuild.config.ts +1 -1
- package/src/routing/routes.tsx +1 -1
- package/tsconfig.json +4 -5
- package/vitest.config.mts +5 -10
- package/tsconfig.test.json +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## @pplancq/react-template [2.8.11](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.8.10...@pplancq/react-template@2.8.11) (2026-04-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **deps:** update dependency @rsbuild/core to ^1.7.5 ([#1639](https://github.com/pplancq/dev-tools/issues/1639)) ([54c14ad](https://github.com/pplancq/dev-tools/commit/54c14adccccda3dd47b475a3b444c26810732b44))
|
|
6
|
+
* **deps:** update dependency react-hook-form to ^7.72.1 ([#1649](https://github.com/pplancq/dev-tools/issues/1649)) ([91ddb22](https://github.com/pplancq/dev-tools/commit/91ddb22527cd96092ce65253d05492f9c37fdfd1))
|
|
7
|
+
* **deps:** update dependency react-router to ^7.14.0 ([#1646](https://github.com/pplancq/dev-tools/issues/1646)) ([1a295b0](https://github.com/pplancq/dev-tools/commit/1a295b0703b06665b018c16765b4b4d2b175bb41))
|
|
8
|
+
* **deps:** update react-query mono repo to ^5.96.2 ([#1647](https://github.com/pplancq/dev-tools/issues/1647)) ([93accbc](https://github.com/pplancq/dev-tools/commit/93accbceacd5796fd59c50fbccaa3c82a13b142b))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* **@pplancq/eslint-config:** upgraded to 6.0.10
|
|
14
|
+
|
|
15
|
+
## @pplancq/react-template [2.8.10](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.8.9...@pplancq/react-template@2.8.10) (2026-03-31)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **deps:** update dependency msw to ^2.12.14 ([#1626](https://github.com/pplancq/dev-tools/issues/1626)) ([4be16f8](https://github.com/pplancq/dev-tools/commit/4be16f8f35c43e55e012f15faf05f58443095425))
|
|
20
|
+
* **deps:** update dependency react-hook-form to ^7.72.0 ([#1635](https://github.com/pplancq/dev-tools/issues/1635)) ([029e523](https://github.com/pplancq/dev-tools/commit/029e52397adbe34a4b17785b09bbc3f385e15407))
|
|
21
|
+
* **deps:** update dependency react-router to ^7.13.2 ([#1632](https://github.com/pplancq/dev-tools/issues/1632)) ([816c666](https://github.com/pplancq/dev-tools/commit/816c6669fb50f9937950345c81a557887873d71e))
|
|
22
|
+
* **deps:** update dependency typescript to v6 ([#1637](https://github.com/pplancq/dev-tools/issues/1637)) ([9cdf253](https://github.com/pplancq/dev-tools/commit/9cdf253b9e4ee73dbe2129a2346f649e36de9d1a))
|
|
23
|
+
* **deps:** update react-query mono repo to ^5.95.2 ([#1636](https://github.com/pplancq/dev-tools/issues/1636)) ([172730e](https://github.com/pplancq/dev-tools/commit/172730ee311b5d4b21f23c8aa0e28170f9313b0d))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* **@pplancq/eslint-config:** upgraded to 6.0.9
|
|
29
|
+
|
|
1
30
|
## @pplancq/react-template [2.8.9](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.8.8...@pplancq/react-template@2.8.9) (2026-03-23)
|
|
2
31
|
|
|
3
32
|
### Bug Fixes
|
package/mise.toml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
[tools]
|
|
2
|
-
node = "24.14.
|
|
3
|
-
npm = "11.12.
|
|
2
|
+
node = "24.14.1"
|
|
3
|
+
npm = "11.12.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pplancq/react-template",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "react template",
|
|
6
6
|
"author": "pplancq <paul.plancq@outlook.fr>",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"bin": {
|
|
14
14
|
"template-install": "bin/template-install.js"
|
|
15
15
|
},
|
|
16
|
-
"packageManager": "npm@11.12.
|
|
16
|
+
"packageManager": "npm@11.12.1",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "rsbuild dev",
|
|
19
19
|
"start:mock": "rsbuild dev --env-mode mock",
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@hookform/resolvers": "^5.2.2",
|
|
53
|
-
"@tanstack/react-query": "^5.
|
|
54
|
-
"@tanstack/react-query-devtools": "^5.
|
|
53
|
+
"@tanstack/react-query": "^5.96.2",
|
|
54
|
+
"@tanstack/react-query-devtools": "^5.96.2",
|
|
55
55
|
"react": "^19.2.4",
|
|
56
56
|
"react-dom": "^19.2.4",
|
|
57
|
-
"react-hook-form": "^7.
|
|
58
|
-
"react-router": "^7.
|
|
57
|
+
"react-hook-form": "^7.72.1",
|
|
58
|
+
"react-router": "^7.14.0",
|
|
59
59
|
"yup": "^1.7.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@bdellegrazie/playwright-sonar-reporter": "^0.4.0",
|
|
63
63
|
"@commitlint/cli": "^20.5.0",
|
|
64
64
|
"@msw/playwright": "^0.6.6",
|
|
65
|
-
"@playwright/test": "^1.
|
|
65
|
+
"@playwright/test": "^1.59.1",
|
|
66
66
|
"@pplancq/commitlint-config": "*",
|
|
67
67
|
"@pplancq/eslint-config": "*",
|
|
68
68
|
"@pplancq/postcss-config": "*",
|
|
69
69
|
"@pplancq/prettier-config": "*",
|
|
70
70
|
"@pplancq/stylelint-config": "*",
|
|
71
|
-
"@rsbuild/core": "^1.7.
|
|
71
|
+
"@rsbuild/core": "^1.7.5",
|
|
72
72
|
"@rsbuild/plugin-eslint": "^1.3.0",
|
|
73
73
|
"@rsbuild/plugin-react": "^1.4.6",
|
|
74
74
|
"@rsbuild/plugin-sass": "^1.5.1",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"@testing-library/user-event": "^14.6.1",
|
|
78
78
|
"@types/react": "^19.2.14",
|
|
79
79
|
"@types/react-dom": "^19.2.3",
|
|
80
|
-
"@vitejs/plugin-react
|
|
81
|
-
"@vitest/coverage-v8": "^4.1.
|
|
80
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
81
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
82
82
|
"concurrently": "^9.2.1",
|
|
83
83
|
"eslint": "^9.39.4",
|
|
84
84
|
"eslint-plugin-prettier": "^5.5.5",
|
|
@@ -86,17 +86,16 @@
|
|
|
86
86
|
"jsdom": "^29.0.1",
|
|
87
87
|
"lint-staged": "^16.4.0",
|
|
88
88
|
"monocart-coverage-reports": "^2.12.9",
|
|
89
|
-
"msw": "^2.12.
|
|
89
|
+
"msw": "^2.12.14",
|
|
90
90
|
"nodemon": "^3.1.14",
|
|
91
91
|
"prettier": "^3.8.1",
|
|
92
92
|
"rsbuild-plugin-stylelint": "^1.1.0",
|
|
93
|
-
"stylelint": "^17.
|
|
93
|
+
"stylelint": "^17.6.0",
|
|
94
94
|
"stylelint-prettier": "^5.0.3",
|
|
95
95
|
"tsc-files": "^1.1.4",
|
|
96
|
-
"typescript": "^
|
|
97
|
-
"vite-plugin-svgr": "^
|
|
98
|
-
"
|
|
99
|
-
"vitest": "^4.1.0",
|
|
96
|
+
"typescript": "^6.0.2",
|
|
97
|
+
"vite-plugin-svgr": "^5.2.0",
|
|
98
|
+
"vitest": "^4.1.2",
|
|
100
99
|
"vitest-axe": "^1.0.0-pre.5",
|
|
101
100
|
"vitest-sonar-reporter": "^3.0.0"
|
|
102
101
|
},
|
package/rsbuild.config.ts
CHANGED
package/src/routing/routes.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { demoRoutes } from '@Front/pages/Demo';
|
|
2
2
|
import { Layout } from '@Front/pages/Layout';
|
|
3
3
|
import type { RouteObject } from 'react-router';
|
|
4
|
-
import { UnexpectedError } from '
|
|
4
|
+
import { UnexpectedError } from '@Front/pages/UnexpectedError';
|
|
5
5
|
|
|
6
6
|
export const routeObject: RouteObject[] = [
|
|
7
7
|
{
|
package/tsconfig.json
CHANGED
|
@@ -17,17 +17,16 @@
|
|
|
17
17
|
"forceConsistentCasingInFileNames": true,
|
|
18
18
|
"noFallthroughCasesInSwitch": true,
|
|
19
19
|
"module": "esnext",
|
|
20
|
-
"moduleResolution": "
|
|
20
|
+
"moduleResolution": "bundler",
|
|
21
21
|
"resolveJsonModule": true,
|
|
22
22
|
"isolatedModules": true,
|
|
23
23
|
"noEmit": true,
|
|
24
24
|
"jsx": "react-jsx",
|
|
25
|
-
"baseUrl": ".",
|
|
26
25
|
"paths": {
|
|
27
|
-
"@Front/*": ["src/*"],
|
|
28
|
-
"@Mocks/*": ["mocks/*"]
|
|
26
|
+
"@Front/*": ["./src/*"],
|
|
27
|
+
"@Mocks/*": ["./mocks/*"]
|
|
29
28
|
}
|
|
30
29
|
},
|
|
31
|
-
"include": ["src", "rsbuild.config.ts"],
|
|
30
|
+
"include": ["src", "mocks", "vitest.setup.ts", "rsbuild.config.ts"],
|
|
32
31
|
"exclude": ["node_modules"]
|
|
33
32
|
}
|
package/vitest.config.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import react from '@vitejs/plugin-react
|
|
2
|
-
import { resolve } from 'node:path';
|
|
1
|
+
import react from '@vitejs/plugin-react';
|
|
3
2
|
import { loadEnv } from 'vite';
|
|
4
3
|
import svgr from 'vite-plugin-svgr';
|
|
5
|
-
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
|
6
4
|
// eslint-disable-next-line import/no-unresolved
|
|
7
5
|
import { defineConfig } from 'vitest/config';
|
|
8
6
|
|
|
@@ -10,14 +8,11 @@ export default defineConfig(({ mode }) => {
|
|
|
10
8
|
const env = loadEnv(mode, process.cwd(), '');
|
|
11
9
|
|
|
12
10
|
return {
|
|
13
|
-
plugins: [
|
|
14
|
-
react(),
|
|
15
|
-
viteTsconfigPaths({
|
|
16
|
-
projects: [resolve(__dirname, './tsconfig.test.json')],
|
|
17
|
-
}),
|
|
18
|
-
svgr(),
|
|
19
|
-
],
|
|
11
|
+
plugins: [react(), svgr()],
|
|
20
12
|
envPrefix: env.ENV_PREFIX ?? 'FRONT_',
|
|
13
|
+
resolve: {
|
|
14
|
+
tsconfigPaths: true,
|
|
15
|
+
},
|
|
21
16
|
test: {
|
|
22
17
|
globals: true,
|
|
23
18
|
environment: 'jsdom',
|