@pplancq/react-template 2.4.3 → 2.4.5

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 CHANGED
@@ -1,3 +1,32 @@
1
+ ## @pplancq/react-template [2.4.5](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.4.4...@pplancq/react-template@2.4.5) (2025-06-02)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **react-template:** ensure coverage is enabled only when CI is true ([4c03fd7](https://github.com/pplancq/dev-tools/commit/4c03fd719c5520840769471ebf6bf1093c5de6c9))
6
+ * **deps:** update dependency react-router to ^7.6.1 ([fa3d5e5](https://github.com/pplancq/dev-tools/commit/fa3d5e5bbbd54d1682b50706e554fee2c5916363))
7
+ * **deps:** update react-query mono repo to ^5.79.0 ([2addaa3](https://github.com/pplancq/dev-tools/commit/2addaa3807fee055f76c74d9dcd09340b903d8aa))
8
+
9
+
10
+ ### Dependencies
11
+
12
+ * **@pplancq/eslint-config:** upgraded to 4.0.25
13
+ * **@pplancq/postcss-config:** upgraded to 2.1.11
14
+ * **@pplancq/webpack-config:** upgraded to 1.9.16
15
+
16
+ ## @pplancq/react-template [2.4.4](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.4.3...@pplancq/react-template@2.4.4) (2025-05-26)
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency react-hook-form to ^7.56.4 ([0088bbb](https://github.com/pplancq/dev-tools/commit/0088bbba85d2a9d5389a5b7d787209ff66c07b26))
21
+ * **deps:** update react-query mono repo to ^5.76.2 ([1502384](https://github.com/pplancq/dev-tools/commit/1502384e9fdccd743e7e936ae24f5e24b2bcdcc6))
22
+
23
+
24
+ ### Dependencies
25
+
26
+ * **@pplancq/eslint-config:** upgraded to 4.0.24
27
+ * **@pplancq/stylelint-config:** upgraded to 4.0.1
28
+ * **@pplancq/webpack-config:** upgraded to 1.9.15
29
+
1
30
  ## @pplancq/react-template [2.4.3](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@2.4.2...@pplancq/react-template@2.4.3) (2025-05-19)
2
31
 
3
32
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pplancq/react-template",
3
- "version": "2.4.3",
3
+ "version": "2.4.5",
4
4
  "license": "MIT",
5
5
  "description": "react template",
6
6
  "author": "pplancq <paul.plancq@outlook.fr>",
@@ -39,12 +39,12 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "@hookform/resolvers": "^5.0.1",
42
- "@tanstack/react-query": "^5.76.1",
43
- "@tanstack/react-query-devtools": "^5.76.1",
42
+ "@tanstack/react-query": "^5.79.0",
43
+ "@tanstack/react-query-devtools": "^5.79.0",
44
44
  "react": "^19.1.0",
45
45
  "react-dom": "^19.1.0",
46
- "react-hook-form": "^7.56.3",
47
- "react-router": "^7.6.0",
46
+ "react-hook-form": "^7.56.4",
47
+ "react-router": "^7.6.1",
48
48
  "yup": "^1.6.1"
49
49
  },
50
50
  "devDependencies": {
@@ -58,28 +58,28 @@
58
58
  "@testing-library/jest-dom": "^6.6.3",
59
59
  "@testing-library/react": "^16.3.0",
60
60
  "@testing-library/user-event": "^14.6.1",
61
- "@types/react": "^19.1.4",
61
+ "@types/react": "^19.1.6",
62
62
  "@types/react-dom": "^19.1.5",
63
- "@vitejs/plugin-react-swc": "^3.9.0",
64
- "@vitest/coverage-v8": "^3.1.3",
63
+ "@vitejs/plugin-react-swc": "^3.10.0",
64
+ "@vitest/coverage-v8": "^3.1.4",
65
65
  "concurrently": "^9.1.2",
66
- "eslint": "^9.26.0",
67
- "eslint-plugin-prettier": "^5.4.0",
66
+ "eslint": "^9.27.0",
67
+ "eslint-plugin-prettier": "^5.4.1",
68
68
  "husky": "^9.1.7",
69
69
  "jsdom": "^26.1.0",
70
- "lint-staged": "^16.0.0",
71
- "msw": "^2.8.2",
70
+ "lint-staged": "^16.1.0",
71
+ "msw": "^2.8.6",
72
72
  "prettier": "^3.5.3",
73
- "stylelint": "^16.19.1",
73
+ "stylelint": "^16.20.0",
74
74
  "stylelint-prettier": "^5.0.3",
75
75
  "tsc-files": "^1.1.4",
76
76
  "typescript": "^5.8.3",
77
77
  "vite-plugin-svgr": "^4.3.0",
78
78
  "vite-tsconfig-paths": "^5.1.4",
79
- "vitest": "^3.1.3",
79
+ "vitest": "^3.1.4",
80
80
  "vitest-axe": "^1.0.0-pre.5",
81
81
  "vitest-sonar-reporter": "^2.0.1",
82
- "webpack": "^5.99.8",
82
+ "webpack": "^5.99.9",
83
83
  "webpack-cli": "^6.0.1",
84
84
  "webpack-dev-server": "^5.2.1"
85
85
  },
@@ -87,8 +87,8 @@
87
87
  "node": ">=20.12.2"
88
88
  },
89
89
  "volta": {
90
- "node": "22.15.1",
91
- "npm": "11.4.0"
90
+ "node": "22.16.0",
91
+ "npm": "11.4.1"
92
92
  },
93
93
  "browserslist": {
94
94
  "production": [
package/vitest.config.mts CHANGED
@@ -1,12 +1,11 @@
1
- /* eslint-disable import/no-extraneous-dependencies */
2
1
  import react from '@vitejs/plugin-react-swc';
3
2
  import { resolve } from 'path';
4
3
  import { loadEnv } from 'vite';
5
4
  import svgr from 'vite-plugin-svgr';
6
5
  import viteTsconfigPaths from 'vite-tsconfig-paths';
6
+ // eslint-disable-next-line import/no-unresolved
7
7
  import { defineConfig } from 'vitest/config';
8
8
 
9
- // eslint-disable-next-line import/no-default-export
10
9
  export default defineConfig(({ mode }) => {
11
10
  const env = loadEnv(mode, process.cwd(), '');
12
11
 
@@ -38,7 +37,7 @@ export default defineConfig(({ mode }) => {
38
37
  },
39
38
  },
40
39
  coverage: {
41
- enabled: env.CI,
40
+ enabled: env.CI === 'true',
42
41
  reporter: ['lcov', 'json', 'html', 'text', 'cobertura'],
43
42
  provider: 'v8',
44
43
  lines: 80,