@pplancq/react-template 2.8.5 → 2.8.7
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 +27 -0
- package/mise.toml +2 -2
- package/package.json +10 -10
- package/src/main.ts +9 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## @pplancq/react-template [2.8.7](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.8.6...@pplancq/react-template@2.8.7) (2026-03-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **deps:** update commitlint monorepo to ^20.4.3 ([#1592](https://github.com/pplancq/dev-tools/issues/1592)) ([253f17b](https://github.com/pplancq/dev-tools/commit/253f17bac00980416dbeb145b4e87521f1416c59))
|
|
6
|
+
* **deps:** update dependency @msw/playwright to ^0.6.5 ([#1591](https://github.com/pplancq/dev-tools/issues/1591)) ([1721453](https://github.com/pplancq/dev-tools/commit/1721453d6f7865a9903d4b10c4e07b2b213013f3))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
* **@pplancq/commitlint-config:** upgraded to 3.0.4
|
|
12
|
+
* **@pplancq/eslint-config:** upgraded to 6.0.6
|
|
13
|
+
|
|
14
|
+
## @pplancq/react-template [2.8.6](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.8.5...@pplancq/react-template@2.8.6) (2026-03-03)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **react-template:** restructure async IIFE for improved readability ([#1578](https://github.com/pplancq/dev-tools/issues/1578)) ([c5c4c8b](https://github.com/pplancq/dev-tools/commit/c5c4c8b58eb747daa29f4fd617bb042a5c5717b6)), closes [#1493](https://github.com/pplancq/dev-tools/issues/1493)
|
|
19
|
+
* **deps:** update dependency react-hook-form to ^7.71.2 ([#1581](https://github.com/pplancq/dev-tools/issues/1581)) ([f9c53e0](https://github.com/pplancq/dev-tools/commit/f9c53e0f1779e5cd0b2ab913cad064fad6073728))
|
|
20
|
+
* **deps:** update dependency react-router to ^7.13.1 ([#1582](https://github.com/pplancq/dev-tools/issues/1582)) ([554bed9](https://github.com/pplancq/dev-tools/commit/554bed93051af5b425271e75ac77f85a5bd906e4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
* **@pplancq/eslint-config:** upgraded to 6.0.5
|
|
26
|
+
* **@pplancq/postcss-config:** upgraded to 3.0.4
|
|
27
|
+
|
|
1
28
|
## @pplancq/react-template [2.8.5](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.8.4...@pplancq/react-template@2.8.5) (2026-02-24)
|
|
2
29
|
|
|
3
30
|
### Bug Fixes
|
package/mise.toml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
[tools]
|
|
2
|
-
node = "24.
|
|
3
|
-
npm = "11.
|
|
2
|
+
node = "24.14.0"
|
|
3
|
+
npm = "11.11.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pplancq/react-template",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.7",
|
|
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.
|
|
16
|
+
"packageManager": "npm@11.11.0",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "rsbuild dev",
|
|
19
19
|
"start:mock": "rsbuild dev --env-mode mock",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"@tanstack/react-query-devtools": "^5.91.3",
|
|
55
55
|
"react": "^19.2.4",
|
|
56
56
|
"react-dom": "^19.2.4",
|
|
57
|
-
"react-hook-form": "^7.71.
|
|
58
|
-
"react-router": "^7.13.
|
|
57
|
+
"react-hook-form": "^7.71.2",
|
|
58
|
+
"react-router": "^7.13.1",
|
|
59
59
|
"yup": "^1.7.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@bdellegrazie/playwright-sonar-reporter": "^0.4.0",
|
|
63
|
-
"@commitlint/cli": "^20.4.
|
|
64
|
-
"@msw/playwright": "^0.6.
|
|
63
|
+
"@commitlint/cli": "^20.4.3",
|
|
64
|
+
"@msw/playwright": "^0.6.5",
|
|
65
65
|
"@playwright/test": "^1.58.2",
|
|
66
66
|
"@pplancq/commitlint-config": "*",
|
|
67
67
|
"@pplancq/eslint-config": "*",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@pplancq/prettier-config": "*",
|
|
70
70
|
"@pplancq/stylelint-config": "*",
|
|
71
71
|
"@rsbuild/core": "^1.7.3",
|
|
72
|
-
"@rsbuild/plugin-eslint": "^1.
|
|
72
|
+
"@rsbuild/plugin-eslint": "^1.3.0",
|
|
73
73
|
"@rsbuild/plugin-react": "^1.4.5",
|
|
74
74
|
"@rsbuild/plugin-sass": "^1.5.0",
|
|
75
75
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"eslint-plugin-prettier": "^5.5.5",
|
|
85
85
|
"husky": "^9.1.7",
|
|
86
86
|
"jsdom": "^28.1.0",
|
|
87
|
-
"lint-staged": "^16.2
|
|
87
|
+
"lint-staged": "^16.3.2",
|
|
88
88
|
"monocart-coverage-reports": "^2.12.9",
|
|
89
89
|
"msw": "^2.12.10",
|
|
90
|
-
"nodemon": "^3.1.
|
|
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.4.0",
|
|
94
94
|
"stylelint-prettier": "^5.0.3",
|
|
95
95
|
"tsc-files": "^1.1.4",
|
|
96
96
|
"typescript": "^5.9.3",
|
package/src/main.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
if (import.meta.env.FRONT_MOCK_ENABLE === 'true') {
|
|
3
|
-
const { worker } = await import('@Mocks/browser');
|
|
4
|
-
await worker.start({
|
|
5
|
-
onUnhandledRequest: 'warn',
|
|
6
|
-
});
|
|
7
|
-
}
|
|
1
|
+
import AppReact from './bootstrap';
|
|
8
2
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
if (import.meta.env.FRONT_MOCK_ENABLE === 'true') {
|
|
4
|
+
const { worker } = await import('@Mocks/browser');
|
|
5
|
+
await worker.start({
|
|
6
|
+
onUnhandledRequest: 'warn',
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
customElements.define('app-react', AppReact);
|