@sculptor/cli 0.3.9 → 0.3.10

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.
Files changed (2) hide show
  1. package/README.md +14 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -14,12 +14,14 @@ It handles:
14
14
  - app dependency recovery with `sc install deps`
15
15
  - global CLI refresh with `sc update`
16
16
  - scaffolded `.gitignore` generation
17
+ - exact file register/unregister/remove flows with clean prompts
18
+ - package registry commands for both package indexes and individual files
17
19
 
18
20
  ## Version Policy
19
21
 
20
- - Pre-release line: `v0.3.x`
21
- - Current package version: `0.3.9`
22
- - This pre-release line adds package-aware generation, `sc doctor`, `sc agents`, `sculptor.packages.json`, and package alias commands.
22
+ - Pre-release line: `v0.3.10`
23
+ - Current package version: `0.3.10`
24
+ - This pre-release line adds package-aware generation, functional package scaffolds, `sc doctor`, `sc agents`, `sculptor.packages.json`, and exact package/file alias commands.
23
25
  - Expect minor changes and fixes until `v1.0.0`.
24
26
 
25
27
  ## Quick Command Sheet
@@ -51,6 +53,7 @@ It handles:
51
53
  | `sc g c user` | Generates a controller resource |
52
54
  | `sc g r user` | Generates a functional route and handler pair |
53
55
  | `sc g pkg user` | Generates a package index and package-local resources |
56
+ | `sc g c user --functional` | Generates paired functional route and handler output |
54
57
  | `sc g c user in src/app/users` | Generates into a custom path |
55
58
  | `sc g c in src/app/users` | Infers the name from the path and generates there |
56
59
  | `sc g t user -e` | Generates an enum type file |
@@ -176,6 +179,7 @@ Behavior:
176
179
 
177
180
  - supports `-p`, `--p`, `-pkg`, `--pkg`, `-package`, and `--package`
178
181
  - package targeting is exact and does not singularize or pluralize names
182
+ - package records track `registered` state and `tags` such as `helper`
179
183
  - warnings do not block the build path unless metadata is malformed or irrecoverable
180
184
 
181
185
  ### `sc ls` / `sc list`
@@ -202,12 +206,16 @@ What they do:
202
206
  What they do:
203
207
 
204
208
  - register a file in `sculptor.packages.json`
209
+ - resolve exact file paths before prompting
210
+ - support package registration with `sc reg pkg <name>`
205
211
 
206
212
  ### `sc ureg` / `sc unreg` / `sc unregister` / `sc ur`
207
213
 
208
214
  What they do:
209
215
 
210
216
  - unregister a file from `sculptor.packages.json`
217
+ - resolve exact file paths before prompting
218
+ - support exact file-path matching only
211
219
 
212
220
  ### `sc rm` / `sc remove`
213
221
 
@@ -215,6 +223,9 @@ What they do:
215
223
 
216
224
  - delete a file
217
225
  - sync the registry after removal
226
+ - support `sc rm pkg <name>` for package removal
227
+ - refuse to delete package index files directly
228
+ - prompt before deleting the resolved file
218
229
 
219
230
  ### `sc config`
220
231
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sculptor/cli",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
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.3.9",
40
- "@sculptor/core": "^0.3.9",
41
- "@sculptor/template-registry": "^0.3.9",
39
+ "@sculptor/config": "^0.3.10",
40
+ "@sculptor/core": "^0.3.10",
41
+ "@sculptor/template-registry": "^0.3.10",
42
42
  "typescript": "^5.8.3",
43
43
  "tsx": "^4.19.4"
44
44
  }