@nextsparkjs/cli 0.1.0-beta.50 → 0.1.0-beta.52
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 +2 -0
- package/package.json +9 -9
package/bin/nextspark.js
CHANGED
|
File without changes
|
package/dist/cli.js
CHANGED
|
@@ -81,6 +81,7 @@ async function devCommand(options) {
|
|
|
81
81
|
const devProcess = spawn("npx", ["next", "dev", "-p", options.port], {
|
|
82
82
|
cwd: projectRoot,
|
|
83
83
|
stdio: "inherit",
|
|
84
|
+
shell: true,
|
|
84
85
|
env: {
|
|
85
86
|
...process.env,
|
|
86
87
|
NEXTSPARK_CORE_DIR: coreDir
|
|
@@ -180,6 +181,7 @@ async function buildCommand(options) {
|
|
|
180
181
|
const buildProcess = spawn2("npx", ["next", "build"], {
|
|
181
182
|
cwd: projectRoot,
|
|
182
183
|
stdio: "inherit",
|
|
184
|
+
shell: true,
|
|
183
185
|
env: {
|
|
184
186
|
...projectEnv,
|
|
185
187
|
...process.env,
|
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.52",
|
|
4
4
|
"description": "NextSpark CLI - Complete development toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,9 +12,13 @@
|
|
|
12
12
|
"dist",
|
|
13
13
|
"bin"
|
|
14
14
|
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsup src/cli.ts --format esm --dts --outDir dist",
|
|
17
|
+
"dev": "tsup src/cli.ts --format esm --watch"
|
|
18
|
+
},
|
|
15
19
|
"dependencies": {
|
|
16
20
|
"@inquirer/prompts": "^7.2.0",
|
|
17
|
-
"@nextsparkjs/core": "^0.1.0-beta.
|
|
21
|
+
"@nextsparkjs/core": "^0.1.0-beta.52",
|
|
18
22
|
"chalk": "^5.3.0",
|
|
19
23
|
"commander": "^12.0.0",
|
|
20
24
|
"dotenv": "^17.2.2",
|
|
@@ -23,12 +27,12 @@
|
|
|
23
27
|
"tar": "^7.0.0"
|
|
24
28
|
},
|
|
25
29
|
"devDependencies": {
|
|
30
|
+
"@nextsparkjs/core": "workspace:*",
|
|
26
31
|
"@types/fs-extra": "^11.0.4",
|
|
27
32
|
"@types/node": "^20.0.0",
|
|
28
33
|
"@types/tar": "^6.1.0",
|
|
29
34
|
"tsup": "^8.0.0",
|
|
30
|
-
"typescript": "^5.0.0"
|
|
31
|
-
"@nextsparkjs/core": "0.1.0-beta.34"
|
|
35
|
+
"typescript": "^5.0.0"
|
|
32
36
|
},
|
|
33
37
|
"keywords": [
|
|
34
38
|
"nextspark",
|
|
@@ -45,9 +49,5 @@
|
|
|
45
49
|
},
|
|
46
50
|
"engines": {
|
|
47
51
|
"node": ">=18.0.0"
|
|
48
|
-
},
|
|
49
|
-
"scripts": {
|
|
50
|
-
"build": "tsup src/cli.ts --format esm --dts --outDir dist",
|
|
51
|
-
"dev": "tsup src/cli.ts --format esm --watch"
|
|
52
52
|
}
|
|
53
|
-
}
|
|
53
|
+
}
|