@pplancq/create-react-app 1.4.6 → 1.5.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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## @pplancq/create-react-app [1.5.1](https://github.com/pplancq/dev-tools/compare/@pplancq/create-react-app@1.5.0...@pplancq/create-react-app@1.5.1) (2025-08-11)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **deps:** update dependency chalk to ^5.5.0 ([f03cb23](https://github.com/pplancq/dev-tools/commit/f03cb23cf86b1255552412bcb1e95bc6499e3ea7))
6
+
7
+ ## @pplancq/create-react-app [1.5.0](https://github.com/pplancq/dev-tools/compare/@pplancq/create-react-app@1.4.6...@pplancq/create-react-app@1.5.0) (2025-06-16)
8
+
9
+ ### Features
10
+
11
+ * **create-react-app:** remove Vite support and update documentation ([6702c40](https://github.com/pplancq/dev-tools/commit/6702c407da239438e6767b06eaa96aac70645996))
12
+
1
13
  ## @pplancq/create-react-app [1.4.6](https://github.com/pplancq/dev-tools/compare/@pplancq/create-react-app@1.4.5...@pplancq/create-react-app@1.4.6) (2025-05-26)
2
14
 
3
15
  ### Bug Fixes
package/README.md CHANGED
@@ -30,32 +30,6 @@ pnpm create @pplancq/react-app@latest <project_name>
30
30
 
31
31
  Replace <project_name> with the name of your new project.
32
32
 
33
- ### Using Vite
34
-
35
- This package also supports creating a new React project with Vite. If you prefer to use Vite instead of webpack, you can use the `--use-vite` option
36
-
37
- ```shell
38
- npm create @pplancq/react-app@latest --use-vite < project_name > --
39
- ```
40
-
41
- or
42
-
43
- ```shell
44
- npx @pplancq/create-react-app@latest < project_name > --use-vite
45
- ```
46
-
47
- or
48
-
49
- ```shell
50
- yarn create @pplancq/react-app@latest < project_name > --use-vite
51
- ```
52
-
53
- or
54
-
55
- ```shell
56
- pnpm create @pplancq/react-app@latest < project_name > --use-vite
57
- ```
58
-
59
33
  ## Template
60
34
 
61
35
  This package uses the `@pplancq/react-template` to generate a new React project.
package/index.js CHANGED
@@ -32,18 +32,15 @@ const main = async () => {
32
32
  const chalk = await import('chalk').then(m => m.default);
33
33
 
34
34
  let projectName = '';
35
- let useVite = false;
36
35
  const packageJson = JSON.parse(readFileSync(resolve(__dirname, './package.json'), { encoding: 'utf-8' }));
37
36
 
38
37
  const cli = new Command(packageJson.name);
39
38
  cli
40
39
  .version(packageJson.version)
41
40
  .argument('<project-name>')
42
- .option('--use-vite', 'use vite on your application')
43
41
  .usage(chalk.green('<project-name>'))
44
- .action((name, options) => {
42
+ .action(name => {
45
43
  projectName = name;
46
- useVite = options.useVite ?? false;
47
44
  })
48
45
  .parse(process.argv);
49
46
 
@@ -128,10 +125,6 @@ const main = async () => {
128
125
  runCommand(`cd ${repoDir} && ${packageManager} install -D vite`);
129
126
  }
130
127
 
131
- if (useVite) {
132
- runCommand(`cd ${repoDir} && ${packageManager} run migrate:vite`);
133
- }
134
-
135
128
  console.info('\nCreated git commit.');
136
129
  runCommand(`cd ${repoDir} && git add . && git commit --no-verify --message "Initial commit"`, {
137
130
  stdio: 'ignore',
@@ -150,10 +143,6 @@ const main = async () => {
150
143
  console.info(' Starts the test runner.');
151
144
  logCommand(`${packageManager} run remove:demo`);
152
145
  console.info(' Remove the demo application.');
153
- if (!useVite) {
154
- logCommand(`${packageManager} run migrate:vite`);
155
- console.info(' Migrate from webpack to vite.');
156
- }
157
146
  console.info('\nWe suggest that you begin by typing:');
158
147
  console.info(`\n ${chalk.cyan('cd')} ${projectName}`);
159
148
  logCommand(`${packageManager} start`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pplancq/create-react-app",
3
- "version": "1.4.6",
3
+ "version": "1.5.1",
4
4
  "license": "MIT",
5
5
  "description": "pplancq create-react-app",
6
6
  "author": "pplancq <paul.plancq@outlook.fr>",
@@ -21,7 +21,7 @@
21
21
  "react"
22
22
  ],
23
23
  "dependencies": {
24
- "chalk": "^5.4.1",
24
+ "chalk": "^5.5.0",
25
25
  "commander": "^14.0.0"
26
26
  },
27
27
  "engines": {