create-nuxt-base 0.3.6 → 0.3.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 +7 -0
- package/index.js +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.3.7](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.6...v0.3.7) (2025-02-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* change commands from npm to pnpm ([0e513ee](https://github.com/lenneTech/nuxt-base-starter/commit/0e513eeb14c122cdbeb76fb2344ac60dd731d8bd))
|
|
11
|
+
|
|
5
12
|
### [0.3.6](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.5...v0.3.6) (2025-02-17)
|
|
6
13
|
|
|
7
14
|
|
package/index.js
CHANGED
|
@@ -62,8 +62,8 @@ async function create() {
|
|
|
62
62
|
await waitForChildProcess(gitInit);
|
|
63
63
|
|
|
64
64
|
console.log('Installing dependencies ...');
|
|
65
|
-
const
|
|
66
|
-
await waitForSpawn(
|
|
65
|
+
const runInstall = spawn('pnpm', ['install'], { stdio: 'inherit' });
|
|
66
|
+
await waitForSpawn(runInstall);
|
|
67
67
|
|
|
68
68
|
const removeGit = spawn('npx', ['rimraf', '.git'], { stdio: 'inherit' });
|
|
69
69
|
await waitForSpawn(removeGit);
|
|
@@ -72,8 +72,8 @@ async function create() {
|
|
|
72
72
|
|
|
73
73
|
if (autoStart) {
|
|
74
74
|
console.log('Building Project ...');
|
|
75
|
-
const
|
|
76
|
-
await waitForSpawn(
|
|
75
|
+
const runBuild = spawn('pnpm', ['build'], { stdio: 'inherit' });
|
|
76
|
+
await waitForSpawn(runBuild)
|
|
77
77
|
.then(() => console.log('✅ Project was successfully built'))
|
|
78
78
|
.catch(() => console.log('❌ Error while building the project'));
|
|
79
79
|
|
|
@@ -86,8 +86,8 @@ async function create() {
|
|
|
86
86
|
await waitForMS(1000);
|
|
87
87
|
console.log(`Launching ${projectName} ... 🚀`);
|
|
88
88
|
await waitForMS(1000);
|
|
89
|
-
const
|
|
90
|
-
await waitForSpawn(
|
|
89
|
+
const runDev = spawn('pnpm', ['start'], { stdio: 'inherit' });
|
|
90
|
+
await waitForSpawn(runDev);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
package/package.json
CHANGED