pixelkiln 0.93.0 → 0.94.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/dist/cli.js +355 -175
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +317 -164
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -24
- package/dist/index.d.ts +58 -24
- package/dist/index.js +316 -163
- package/dist/index.js.map +1 -1
- package/docs/CLI.md +17 -1
- package/package.json +1 -1
package/docs/CLI.md
CHANGED
|
@@ -97,6 +97,17 @@ pixelkiln plan
|
|
|
97
97
|
pixelkiln plan --style neon --only anvil,hammer --json --check
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
+
`plan`, `hash` and `doctor` tolerate a manifest with broken entries: a style or
|
|
101
|
+
asset that fails validation, or that a provider rejects (a size outside its
|
|
102
|
+
limits), is left out, listed as `invalid` with the reason, and everything else
|
|
103
|
+
is still planned. Entries that depend on a dropped one (an asset in a dropped
|
|
104
|
+
style, a revision of a dropped asset) are listed too. With `--only` or
|
|
105
|
+
`--style`, entries outside the selection are counted, not listed. `--check`
|
|
106
|
+
treats any invalid entry as unsafe, and `--strict` restores the old
|
|
107
|
+
all-or-nothing failure. Commands that spend (`gen`, `submit`, and the rest)
|
|
108
|
+
always fail on an invalid manifest. A problem in the manifest's own top-level
|
|
109
|
+
fields still fails every command.
|
|
110
|
+
|
|
100
111
|
`--check` exits nonzero unless every selected entry is current. For styles with
|
|
101
112
|
`quality`, current raw output is not enough: each derived PNG must also have a
|
|
102
113
|
current named approval.
|
|
@@ -126,7 +137,11 @@ Validate the manifest, references, lockfile recovery sources, raw and quality
|
|
|
126
137
|
output paths, stale jobs, current plan, credential configuration, and provider
|
|
127
138
|
connectivity. A pending or stale quality profile is reported as a warning.
|
|
128
139
|
`--dry-run` skips only live connectivity. Supports `--json` and exits nonzero
|
|
129
|
-
for unsafe state.
|
|
140
|
+
for unsafe state. Invalid entries are reported as errors, one per entry, so every
|
|
141
|
+
problem shows at once. When the project's `package.json` pins pixelkiln, doctor
|
|
142
|
+
also compares the pin, the copy in `node_modules`, and the CLI that is running,
|
|
143
|
+
and warns when they differ: an older install rejects a manifest written for the
|
|
144
|
+
pin with errors that look like a broken manifest.
|
|
130
145
|
|
|
131
146
|
### `gen`
|
|
132
147
|
|
|
@@ -1290,6 +1305,7 @@ Print the package version. `-v` is an alias.
|
|
|
1290
1305
|
| `--dry-run` | supported mutating commands, adopt --local, quality snapshot --only | Inspect without spending or mutating provider state. |
|
|
1291
1306
|
| `--json` | plan/doctor/audit/cache/status/gallery/salvage/refine/recipe/quality/unzoom/pixelate/normal-map/vfx/font | Machine-readable stdout where supported. For `gallery`, prints the snapshot instead of serving it. |
|
|
1292
1307
|
| `--check` | plan/audit/cache | Exit nonzero when selected state is unsafe. |
|
|
1308
|
+
| `--strict` | plan/hash/doctor | Fail on any invalid manifest entry instead of listing it and continuing. |
|
|
1293
1309
|
| `--yes`, `-y` | confirmed operations | Skip an interactive confirmation. For `refine approve`, it records an already-completed human review; it does not replace one. |
|
|
1294
1310
|
| `--no-open` | pick/salvage/gallery/edit | Do not automatically open the browser (`open`, `xdg-open`, or `start`, by platform), or the editor for `edit`. |
|
|
1295
1311
|
| `--edit` | gallery | Let the page change asset prompts, sizes, category, and tags, and add assets. Rewrites the manifest only; never contacts a provider or spends. Also offers the in-browser editor. |
|