@nextsparkjs/cli 0.1.0-beta.70 → 0.1.0-beta.71
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/bin/nextspark.js +0 -0
- package/dist/cli.js +6 -3
- package/package.json +8 -8
- package/dist/cli.d.ts +0 -1
package/bin/nextspark.js
CHANGED
|
File without changes
|
package/dist/cli.js
CHANGED
|
@@ -2935,9 +2935,10 @@ async function runWizard(options = { mode: "interactive" }) {
|
|
|
2935
2935
|
prefixText: " "
|
|
2936
2936
|
}).start();
|
|
2937
2937
|
try {
|
|
2938
|
+
installSpinner.stop();
|
|
2938
2939
|
execSync("pnpm install --force", {
|
|
2939
2940
|
cwd: process.cwd(),
|
|
2940
|
-
stdio: "
|
|
2941
|
+
stdio: "inherit"
|
|
2941
2942
|
});
|
|
2942
2943
|
installSpinner.succeed("Dependencies installed!");
|
|
2943
2944
|
} catch (error) {
|
|
@@ -2951,9 +2952,10 @@ async function runWizard(options = { mode: "interactive" }) {
|
|
|
2951
2952
|
try {
|
|
2952
2953
|
const projectRoot = process.cwd();
|
|
2953
2954
|
const registryScript = join7(projectRoot, "node_modules/@nextsparkjs/core/scripts/build/registry.mjs");
|
|
2955
|
+
registrySpinner.stop();
|
|
2954
2956
|
execSync(`node "${registryScript}" --build`, {
|
|
2955
2957
|
cwd: projectRoot,
|
|
2956
|
-
stdio: "
|
|
2958
|
+
stdio: "inherit",
|
|
2957
2959
|
env: {
|
|
2958
2960
|
...process.env,
|
|
2959
2961
|
NEXTSPARK_PROJECT_ROOT: projectRoot
|
|
@@ -3147,8 +3149,9 @@ async function installCore() {
|
|
|
3147
3149
|
} else {
|
|
3148
3150
|
installCmd = `npm install ${packageSpec}`;
|
|
3149
3151
|
}
|
|
3152
|
+
spinner.stop();
|
|
3150
3153
|
execSync(installCmd, {
|
|
3151
|
-
stdio: "
|
|
3154
|
+
stdio: "inherit",
|
|
3152
3155
|
cwd: process.cwd()
|
|
3153
3156
|
});
|
|
3154
3157
|
spinner.succeed(chalk11.green("@nextsparkjs/core installed successfully!"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.71",
|
|
4
4
|
"description": "NextSpark CLI - Complete development toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
"bin",
|
|
14
14
|
"templates"
|
|
15
15
|
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsup src/cli.ts --format esm --dts --outDir dist",
|
|
18
|
+
"dev": "tsup src/cli.ts --format esm --watch"
|
|
19
|
+
},
|
|
16
20
|
"dependencies": {
|
|
17
21
|
"@inquirer/prompts": "^7.2.0",
|
|
18
22
|
"@nextsparkjs/core": "^0.1.0-beta.54",
|
|
@@ -24,12 +28,12 @@
|
|
|
24
28
|
"tar": "^7.0.0"
|
|
25
29
|
},
|
|
26
30
|
"devDependencies": {
|
|
31
|
+
"@nextsparkjs/core": "workspace:*",
|
|
27
32
|
"@types/fs-extra": "^11.0.4",
|
|
28
33
|
"@types/node": "^20.0.0",
|
|
29
34
|
"@types/tar": "^6.1.0",
|
|
30
35
|
"tsup": "^8.0.0",
|
|
31
|
-
"typescript": "^5.0.0"
|
|
32
|
-
"@nextsparkjs/core": "0.1.0-beta.50"
|
|
36
|
+
"typescript": "^5.0.0"
|
|
33
37
|
},
|
|
34
38
|
"keywords": [
|
|
35
39
|
"nextspark",
|
|
@@ -46,9 +50,5 @@
|
|
|
46
50
|
},
|
|
47
51
|
"engines": {
|
|
48
52
|
"node": ">=18.0.0"
|
|
49
|
-
},
|
|
50
|
-
"scripts": {
|
|
51
|
-
"build": "tsup src/cli.ts --format esm --dts --outDir dist",
|
|
52
|
-
"dev": "tsup src/cli.ts --format esm --watch"
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|