@sculptor/cli 0.3.11 → 1.0.0
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/README.md +9 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @sculptor/cli
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
The SculptorTS CLI is the user-facing command line for the framework.
|
|
4
6
|
|
|
5
7
|
It handles:
|
|
@@ -19,10 +21,10 @@ It handles:
|
|
|
19
21
|
|
|
20
22
|
## Version Policy
|
|
21
23
|
|
|
22
|
-
-
|
|
23
|
-
- Current package version: `0.
|
|
24
|
-
- This
|
|
25
|
-
-
|
|
24
|
+
- Release line: `v1.0.0`
|
|
25
|
+
- Current package version: `1.0.0`
|
|
26
|
+
- This release line keeps package-aware generation, functional package scaffolds, `sc doctor`, `sc agents`, `sculptor.packages.json`, and exact package/file alias commands.
|
|
27
|
+
- Future changes should stay additive and backwards-conscious.
|
|
26
28
|
|
|
27
29
|
## Quick Command Sheet
|
|
28
30
|
|
|
@@ -130,6 +132,7 @@ Behavior:
|
|
|
130
132
|
- uses `nodemon` when `project.devServer` is `nodemon`
|
|
131
133
|
- uses `tsx` when `project.devServer` is `tsx`
|
|
132
134
|
- refuses to run outside a Sculptor app root
|
|
135
|
+
- prints a clean one-line framework error instead of a raw stack trace when the command is not allowed in the current directory
|
|
133
136
|
- suppresses the runtime banner by setting `SCULPTOR_SUPPRESS_BANNER=1`
|
|
134
137
|
|
|
135
138
|
### `sc start`
|
|
@@ -316,6 +319,8 @@ The CLI only allows certain commands outside a Sculptor app root:
|
|
|
316
319
|
|
|
317
320
|
The runtime commands require `sculptor.json` in the current app root.
|
|
318
321
|
|
|
322
|
+
When a command is rejected by the app-root guard, Sculptor prints a user-facing message only. It does not expose the internal stack trace in normal CLI output.
|
|
323
|
+
|
|
319
324
|
Next:
|
|
320
325
|
|
|
321
326
|
- [packages/core/README.md](../core/README.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sculptor/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sc": "./bin/sc.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
},
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@sculptor/config": "^0.
|
|
40
|
-
"@sculptor/core": "^0.
|
|
41
|
-
"@sculptor/template-registry": "^0.
|
|
39
|
+
"@sculptor/config": "^1.0.0",
|
|
40
|
+
"@sculptor/core": "^1.0.0",
|
|
41
|
+
"@sculptor/template-registry": "^1.0.0",
|
|
42
42
|
"typescript": "^5.8.3",
|
|
43
43
|
"tsx": "^4.19.4"
|
|
44
44
|
}
|