@koda-sl/baker-cli 0.179.0 → 0.180.0-dev.e916855f4

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 CHANGED
@@ -4919,7 +4919,24 @@ baker creatives publish ./canvas/<run_id>/<final>.png --title "Spring Offer 4x5"
4919
4919
 
4920
4920
  Without `--slug` the command behaves as before (one creative record per published image). With `--slug` it upserts the repo-convention row — the same one the dashboard's Creatives tab and the `src/creatives/{slug}/` folder describe — so publish, repo sync, and run history all land on a single record regardless of order.
4921
4921
 
4922
- ## Landing Quality (`baker landing`)
4922
+ ## Landing Folders (`baker landing folder`)
4923
+
4924
+ Files landing pages into folders in the company's Landings view — how it stays readable once there are more pages than fit on a screen.
4925
+
4926
+ ```bash
4927
+ baker landing folder list # folders in use, with page counts
4928
+ baker landing folder set maii-info maii-dossier --name Masters # file two pages
4929
+ baker landing folder set old-promo --none # pull a page back out
4930
+ ```
4931
+
4932
+ - **A folder is nothing but the name its pages share.** There is no folder record: filing a page under an unused name creates the folder, and the last page leaving it takes the folder with it, so an empty folder cannot exist.
4933
+ - **A folder is never part of the page's URL.** The slug (the directory under `src/pages/`) is the URL and is untouched — filing a page that is live in ads moves nothing.
4934
+ - **`set` writes both ends.** It applies immediately to pages already published, and records `folder:` in each page's `_definition.md`. That second half matters: a landing has no record in Baker until its first publish registers it, so the definition is the only channel that can file a page that has never been published. A slug with no published page is reported in `data.pendingPublish` with a hint, not as an error.
4935
+ - **The definition is read once, at first publish.** After that the user owns the filing — they move pages in the dashboard and a republish never drags them back. Editing `folder:` on a published page does nothing; use `set`.
4936
+ - **`list` before you name a folder.** A near-duplicate ("Masters" vs "Master IA") splits one group in two and undoes the point of folders. `set` emits a hint when the name it just created collides with an existing one under case, accents, or separators.
4937
+ - Names are whitespace-collapsed, at most 48 characters, and may not contain `/`.
4938
+
4939
+ ## Landing Quality (`baker landing critique`)
4923
4940
 
4924
4941
  Deterministic design-quality critic for landing pages — an offline, no-LLM detector for the well-known "AI slop" tells (gradient text, overused fonts like Inter, side-tab colored borders, cream/parchment grounds, purple-on-heading palettes, buzzword copy, broken images, and more). It scores a landing's `.astro` source and returns findings tiered **block / warn / advisory**.
4925
4942
 
@@ -7,9 +7,9 @@ import {
7
7
  __toESM
8
8
  } from "./chunk-YL3HDEIJ.js";
9
9
 
10
- // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
10
+ // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js
11
11
  var require_safe_stable_stringify = __commonJS({
12
- "../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
12
+ "../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js"(exports, module) {
13
13
  "use strict";
14
14
  var { hasOwnProperty } = Object.prototype;
15
15
  var stringify = configure2();
@@ -1075,7 +1075,7 @@ function resolveAdaptFormats(params) {
1075
1075
  return params.formats ?? [];
1076
1076
  }
1077
1077
 
1078
- // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
1078
+ // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/esm/wrapper.js
1079
1079
  var import__ = __toESM(require_safe_stable_stringify(), 1);
1080
1080
  var configure = import__.default.configure;
1081
1081
  var wrapper_default = import__.default;
@@ -8028,4 +8028,4 @@ export {
8028
8028
  defaultRegistry,
8029
8029
  createEngineFromEnv
8030
8030
  };
8031
- //# sourceMappingURL=chunk-P2T3IZRE.js.map
8031
+ //# sourceMappingURL=chunk-QPVJGKV7.js.map