@pplancq/react-template 1.1.0 → 1.1.1
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 +9 -0
- package/package.json +8 -8
- package/scripts/migrateToVite.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## @pplancq/react-template [1.1.1](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@1.1.0...@pplancq/react-template@1.1.1) (2024-03-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **react-template:** fix webpack-dev-server@4 peerDependencies of webpack-config ([24e6db9](https://github.com/pplancq/dev-tools/commit/24e6db9e81dbaf6e874614edee0190a7bf129a6a))
|
|
7
|
+
* **react-template:** fix yarn add on script migrate to vite ([739ee45](https://github.com/pplancq/dev-tools/commit/739ee45f2867d7db1140e03ede235667f5704260))
|
|
8
|
+
* **react-template:** update interpackage dependencies to '*' ([23d766a](https://github.com/pplancq/dev-tools/commit/23d766aa12968d36cbd989c65d92744d926298e6))
|
|
9
|
+
|
|
1
10
|
## @pplancq/react-template [1.1.0](https://github.com/pplancq/dev-tools/compare/@pplancq/react-template@1.0.0...@pplancq/react-template@1.1.0) (2024-03-12)
|
|
2
11
|
|
|
3
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pplancq/react-template",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "react template",
|
|
6
6
|
"author": "pplancq <paul.plancq@outlook.fr>",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@commitlint/cli": "^19.0.3",
|
|
47
|
-
"@pplancq/babel-config": "
|
|
47
|
+
"@pplancq/babel-config": "*",
|
|
48
48
|
"@pplancq/commitlint-config": "*",
|
|
49
|
-
"@pplancq/eslint-config": "
|
|
50
|
-
"@pplancq/postcss-config": "
|
|
51
|
-
"@pplancq/prettier-config": "
|
|
52
|
-
"@pplancq/stylelint-config": "
|
|
53
|
-
"@pplancq/webpack-config": "
|
|
49
|
+
"@pplancq/eslint-config": "*",
|
|
50
|
+
"@pplancq/postcss-config": "*",
|
|
51
|
+
"@pplancq/prettier-config": "*",
|
|
52
|
+
"@pplancq/stylelint-config": "*",
|
|
53
|
+
"@pplancq/webpack-config": "*",
|
|
54
54
|
"@testing-library/jest-dom": "^6.1.5",
|
|
55
55
|
"@testing-library/react": "^14.1.2",
|
|
56
56
|
"@testing-library/user-event": "^14.5.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"vitest-sonar-reporter": "^2.0.0",
|
|
76
76
|
"webpack": "^5.90.3",
|
|
77
77
|
"webpack-cli": "^5.1.4",
|
|
78
|
-
"webpack-dev-server": "^
|
|
78
|
+
"webpack-dev-server": "^4.15.1"
|
|
79
79
|
},
|
|
80
80
|
"volta": {
|
|
81
81
|
"node": "20.10.0",
|
package/scripts/migrateToVite.js
CHANGED
|
@@ -34,7 +34,7 @@ runCommand(`${packageManager} remove @pplancq/webpack-config webpack webpack-cli
|
|
|
34
34
|
rmSync(resolve(__dirname, '../webpack.config.js'));
|
|
35
35
|
console.info('\ninstall vite package ...');
|
|
36
36
|
runCommand(
|
|
37
|
-
`${packageManager} ${packageManager === YARN ? 'add' : 'install
|
|
37
|
+
`${packageManager} ${packageManager === YARN ? 'add --dev' : 'install --save-dev'} vite vite-plugin-eslint2 vite-plugin-stylelint`,
|
|
38
38
|
);
|
|
39
39
|
|
|
40
40
|
writeFileSync(
|