@plitzi/cli 0.38.7 → 0.38.9
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/CHANGELOG.md +251 -0
- package/README.md +191 -78
- package/dist/index.js +11019 -8597
- package/package.json +3 -3
- package/skills/plitzi-cli/SKILL.md +43 -198
- package/skills/plitzi-cli/reference/from-space.md +5 -5
- package/skills/plitzi-cli/reference/functions.md +4 -5
- package/skills/plitzi-cli/reference/plugins.md +75 -0
- package/skills/plitzi-cli/reference/projects.md +42 -0
- package/skills/plitzi-cli/reference/troubleshooting.md +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,256 @@
|
|
|
1
1
|
# @plitzi/cli
|
|
2
2
|
|
|
3
|
+
## 0.38.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 64f4cd6: - **`unusedPort()`** (`@plitzi/sdk-server`): a port the system has just handed out, for a test to listen on. The
|
|
8
|
+
package's own tests and `@plitzi/sdk-mcp`'s listened on fixed ports in the ephemeral range (393xx), which any
|
|
9
|
+
outgoing connection of a test running beside them could take: CI failed with `EADDRINUSE` on runs with nothing
|
|
10
|
+
wrong. Every one now listens on a port the system gives it.
|
|
11
|
+
- **Brotli at quality 5** (`@plitzi/sdk-server`): `compression.brotliQuality`, for a page rendered for one request, is
|
|
12
|
+
5 (was 2). At 2 a 220 KB page came out larger than gzip — 36 KB against 31 — and at 5 it is 29 KB, for the CPU gzip
|
|
13
|
+
spends; on half a core ~0.1 ms a page.
|
|
14
|
+
- **`verify` checks the pages for signed-in visitors** (`@plitzi/cli`): a page that sends the browser to sign in is
|
|
15
|
+
checked again signed in as the account `.env` names — `PLITZI_CHECK_USER`, `PLITZI_CHECK_PASSWORD` (the environment
|
|
16
|
+
wins over `.env`). With none named, `verify` says how. `page check --as` reads the password from `.env` too, and
|
|
17
|
+
`page check` takes several pages, in one browser.
|
|
18
|
+
- **An address that shows nothing answers 404** (`@plitzi/sdk-shared`, `@plitzi/plitzi-sdk`, `@plitzi/sdk-server`):
|
|
19
|
+
one no page answers was sent to the home page with a 302 — every typo read as the home page. A page whose slug is
|
|
20
|
+
`'*'` is now the space's page for it, sent with status 404 (a folder may have its own; the deepest wins), and a page
|
|
21
|
+
gated off by a flag shows it too. Never kept in the page cache: an address asked for at random filled it. Only a slug
|
|
22
|
+
that IS `'*'`: a page answering a subtree by its own (`spaces/:spaceId/update/*`) stays a page like any other.
|
|
23
|
+
- **`authorSpace` gives a space with no `'*'` page a plain one** (`@plitzi/sdk-authoring`), in the home page's layout,
|
|
24
|
+
and says so: suggestion `not-found-page`. The project templates carry their own.
|
|
25
|
+
- **`notFound` on a server provider** (`@plitzi/sdk-elements`, `@plitzi/sdk-server`): an expression against its answer
|
|
26
|
+
(`{{ source.found == false }}`); when it is true the page is sent with status 404, rendered as written. Refused on a
|
|
27
|
+
browser provider (`not-found-in-browser`) and when it is not one expression (`not-found-not-a-template`).
|
|
28
|
+
- **`page check` and `verify` know a page sent with 404** (`@plitzi/cli`): it is said, not failed; the space's `'*'`
|
|
29
|
+
page is checked at an address no page has, and fails if it is not sent with 404.
|
|
30
|
+
- **A form field draws no background of its own** (`@plitzi/sdk-elements`): the `<input>` inside a form control's box
|
|
31
|
+
(`field`) took `background-color: inherit`, and painted a translucent box colour a second time — a darker box inside
|
|
32
|
+
the padding (Tremor's search). It is `transparent`: the box shows through it.
|
|
33
|
+
- **`space lint` offers `quiet` only where there is an element to put it on** (`@plitzi/cli`): a suggestion about what
|
|
34
|
+
the space lacks — `not-found-page` — is answered by writing it.
|
|
35
|
+
- **`feedback --previous`** (`@plitzi/cli`): the brief says what to do when an earlier report's link no longer opens —
|
|
36
|
+
say so, and ask the person for the highest id it had.
|
|
37
|
+
- **`start:prod` runs in production by itself** (`@plitzi/cli`): `NODE_ENV=production node …`. Without the variable a
|
|
38
|
+
deployed project was a development server — dev tools on, and every public action answering its `steps` and `trace`
|
|
39
|
+
(each step's result, what the `output` was meant to leave out). `doctor` says a `start:prod` that does not
|
|
40
|
+
(`start-prod-not-production`); `plitzi upgrade --write` rewrites the script.
|
|
41
|
+
- **A project's `ActionRefusal` reaches the flow** (`@plitzi/sdk-server`): a functions bundle carries its own copy of the
|
|
42
|
+
class, so `instanceof` never knew it and the run lost its reason (`{{ x.error }}` empty). Told apart by name now.
|
|
43
|
+
- **Plugins are not remounted after hydration** (`@plitzi/sdk-elements`): the registry wrapped each plugin again when
|
|
44
|
+
the host handed it over again, a new component type every time — the server's HTML thrown away, entrances replayed,
|
|
45
|
+
effects run twice. Each plugin component is wrapped once.
|
|
46
|
+
- **`start:dev` survives a space that does not author** (`@plitzi/sdk-server`): a restart while the space had an error
|
|
47
|
+
died, and fixing the space woke nothing. It comes up answering every page with what is wrong (503), and loads the
|
|
48
|
+
space the first time a save authors.
|
|
49
|
+
- **`page check` sees what is cut off at the screen's edge** (`@plitzi/sdk-authoring`, `@plitzi/cli`): a link or words an
|
|
50
|
+
ancestor hides past the viewport, which no sideways scroll shows (`cut-off`).
|
|
51
|
+
- **`page shot --click <element...> --sheet`** (`@plitzi/cli`): elements clicked in order — a name or a CSS selector,
|
|
52
|
+
inside a plugin too — pictured after each (`--frames`/`--every`), with how much changed, and every picture on one
|
|
53
|
+
contact sheet. The dev tools' badge is no longer in a picture: its shadow root is marked (`@plitzi/sdk-dev-tools`).
|
|
54
|
+
- **`formControl` is optional unless it says `required: true`** (`@plitzi/sdk-elements`), as an HTML field is. A field
|
|
55
|
+
left without `required` in an older space was required, and is not now.
|
|
56
|
+
- **`text({ decorative })`, `list({ label })`** (`@plitzi/sdk-elements`); **`writing-mode`, `text-orientation`** in the
|
|
57
|
+
CSS vocabulary (`@plitzi/sdk-shared`).
|
|
58
|
+
- **`unused-token` reads the plugins' stylesheets** (`@plitzi/sdk-authoring`): `authorSpace`'s `stylesheets`, which
|
|
59
|
+
`projectAuthoring` fills with every `.css` under `src/plugins/` — a token only a plugin used was said to be unused.
|
|
60
|
+
- **`id-taken` on a provider placed on two pages points at the layout they share** (`@plitzi/sdk-authoring`), not at
|
|
61
|
+
`scope()`, which renamed its source and every template reading it.
|
|
62
|
+
- **The welcome template's tokens keep their names** (`@plitzi/sdk-authoring`): `satisfies`, not an annotation, so
|
|
63
|
+
`tokens(variables).card` typechecks as the cheatsheet teaches.
|
|
64
|
+
- Updated dependencies [64f4cd6]
|
|
65
|
+
- @plitzi/sdk-authoring@0.38.9
|
|
66
|
+
|
|
67
|
+
## 0.38.8
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- 1b45aae: ## The CLI's commands are named after what they act on
|
|
72
|
+
|
|
73
|
+
Every command sits under the thing it acts on — `plitzi element move`, never a bare `move` that could mean anything —
|
|
74
|
+
and only what acts on the project as a whole or the account stays at the top:
|
|
75
|
+
|
|
76
|
+
| Before | Now |
|
|
77
|
+
| -------------------------------------------- | ------------------------------------------------------------------ |
|
|
78
|
+
| `where`, `edit`, `remove`, `move` | `element where`, `element edit`, `element remove`, `element move` |
|
|
79
|
+
| `check`, `shot`, `import` | `page check`, `page shot`, `page import` |
|
|
80
|
+
| `space`, `pull`, `push`, `lint`, `fix` | `space use`, `space pull`, `space push`, `space lint`, `space fix` |
|
|
81
|
+
| `add plugin`, `pack plugin`, `upload plugin` | `plugin add`, `plugin pack`, `plugin upload` |
|
|
82
|
+
| `add runtime` | `runtime add` |
|
|
83
|
+
| `pack source` | `source pack` |
|
|
84
|
+
| `update` (alias of `upgrade`) | `upgrade` |
|
|
85
|
+
|
|
86
|
+
`create`, `verify`, `doctor`, `upgrade`, `explain`, `feedback`, `login`, `logout` and `whoami` stay at the top, beside
|
|
87
|
+
`functions`, `runtime`, `data` and `skills`. There are no aliases: a name asked for at the top that is a group's command
|
|
88
|
+
answers where it is — `There is no plitzi push: it is one of plitzi space push, plitzi runtime push, plitzi functions
|
|
89
|
+
push` — read off the commands themselves. A project's scripts (`lint:space`, `check`, `shot`) call the new names;
|
|
90
|
+
`plitzi upgrade --write` updates the ones the CLI wrote.
|
|
91
|
+
|
|
92
|
+
## Agents load less to do the same (RFC 0025)
|
|
93
|
+
- **The MCP lists the operations vocabulary once.** A connection with a space listed ~69k tokens of tools before an
|
|
94
|
+
agent did anything — the operations schema five times. `plitzi_apply` carries it; `plitzi_render` lists only its
|
|
95
|
+
operations' types beside it (and keeps the whole schema on a guest connection, where it is alone). The listing is
|
|
96
|
+
now ~18k tokens.
|
|
97
|
+
- **`plitzi_validate` is `plitzi_apply`'s `dryRun`**, which already answered the same; the `validate` function, its
|
|
98
|
+
`validateShape` and `ValidateInput` are gone from `@plitzi/sdk-mcp`.
|
|
99
|
+
- **`plitzi_apply` looks at the page it would leave**: `look: 'html' | 'image' | 'accessibility' | 'both'` (with
|
|
100
|
+
`pageRef`, `viewport`, `fullPage`) renders it — with `dryRun`, as the batch would leave it, nothing saved; without, as
|
|
101
|
+
saved. Check, look and save with the operations written twice, not four times.
|
|
102
|
+
- **`plitzi_look` is the one way to see a saved page** — its accessibility outline (the default: text, cheap), its HTML
|
|
103
|
+
or a PNG; `plitzi_preview` and `plitzi_screenshot` are gone. It is always offered: without a browser service it answers
|
|
104
|
+
the HTML and says so.
|
|
105
|
+
- **`plitzi_describe_operation { type }`** answers one operation's schema, or every type there is; a type that does not
|
|
106
|
+
exist is answered with the nearest one.
|
|
107
|
+
- `closest` is exported from `@plitzi/sdk-authoring`: the nearest of a closed list of names.
|
|
108
|
+
- **`plitzi element where <id | class | words>`** answers where the project's code writes an element — the file, the line and
|
|
109
|
+
the call itself — asked of the code as it is now, so it follows an element wherever somebody moved it. A class is
|
|
110
|
+
found by its name or by the variable that holds it (`nav-link`, `navLink`).
|
|
111
|
+
- **`plitzi element edit <id> --set key=value --remove key`** writes attributes in that call (`content` where the factory takes
|
|
112
|
+
it first), keeping each one's kind, formatted as the project formats, and keeps the change only if the space still
|
|
113
|
+
authors with every value there. Behind both, `locateElements` in `@plitzi/sdk-authoring`: every element with the call
|
|
114
|
+
that wrote it.
|
|
115
|
+
- A generated project's `AGENTS.md` says to ask `where` instead of keeping a note of where things are.
|
|
116
|
+
- **`plitzi doctor` says one fact once**: packages installed from the same place, and packages behind the same version,
|
|
117
|
+
are one line each — on a project installed from local tarballs, ~1,050 tokens of output became ~330.
|
|
118
|
+
- **A mistake costs one line.** An operation type that does not exist is answered with the nearest one; a field an
|
|
119
|
+
operation, an element, a binding or a flow step does not have is refused naming the one meant — it used to be dropped,
|
|
120
|
+
and `prop` for `props` answered success having applied nothing. An element type spelt with other capitals
|
|
121
|
+
(`Heading`) is read as the catalog spells it and said in `warnings`.
|
|
122
|
+
- **The same batch refused twice is not run a third time** (`REPEATED_BATCH`), and the second refusal says so; `plitzi
|
|
123
|
+
edit` does the same, kept in the project's `tmp/refusals.json`.
|
|
124
|
+
- **`plitzi_apply`'s `look` renders a batch through the path a save takes** (`draftBatch`): a
|
|
125
|
+
`repeatElement` expanded, what has one reading read, the same refusals.
|
|
126
|
+
- **Each skill is a core an agent reads every time, and references it opens when the task names one.** The core —
|
|
127
|
+
what it is for, the rules that go wrong most, a table routing each task to its one file — is held to 1,500 tokens:
|
|
128
|
+
`plitzi-authoring` went from ~4,000 to ~920 (every rule kept in `reference/rules.md`, the recipes indexed in
|
|
129
|
+
`reference/recipes.md`, every reference in `reference/index.md`), `plitzi-cli` from ~4,000 to ~820 (projects,
|
|
130
|
+
plugins and troubleshooting are references of their own), `plitzi-render` from ~3,100 to ~1,050.
|
|
131
|
+
- **Intent tools on the MCP**: `plitzi_set_attributes`, `plitzi_set_classes` (classes added or removed, the rest
|
|
132
|
+
kept), `plitzi_bind_attribute`, `plitzi_place_component`, `plitzi_add_page` — a few parameters, the element by its ref alone (the
|
|
133
|
+
page is found, a ref that does not exist answered with the nearest), checked and saved as `plitzi_apply` saves, and
|
|
134
|
+
answered in a line with the next step.
|
|
135
|
+
- **An element may only wear a class the space has, or the batch declares**: `plitzi_apply` used to save one nothing
|
|
136
|
+
defines — rendered unstyled, said by nobody. It is refused naming the nearest class.
|
|
137
|
+
- **`plitzi explain` answers any export of `@plitzi/sdk-authoring`** — `pageFamily`, `styles`, `SpaceSpec` — with its
|
|
138
|
+
signature and the first paragraph of its doc, read from the `.d.ts` the project installed: a few dozen tokens where an
|
|
139
|
+
agent used to search ~180k of published types.
|
|
140
|
+
- **`plitzi element where --by id|class|text`** reads a query one way; without it, the first reading that matches is answered
|
|
141
|
+
and every other one that matched is said with its count and the command for it — a query that means two things is
|
|
142
|
+
never answered as one. `plitzi element edit` reads its element by id alone.
|
|
143
|
+
- **A helper written once and called for many elements** is told apart: `locateElements` answers each element's
|
|
144
|
+
`through` — the calls of the author's code that led to the one that wrote it — so `plitzi element where` says which other
|
|
145
|
+
elements the same call writes and the call that leads to this one alone, and `plitzi element edit` changes a value the helper
|
|
146
|
+
is handed where it is handed (`pageHead('about-head', 'About us')`), refuses an edit of a call that writes several
|
|
147
|
+
elements unless `--every` says so, and never writes `content` beside words given as the factory's first argument.
|
|
148
|
+
- `plitzi explain` of a name that is the project's own says where to read it.
|
|
149
|
+
- **Nothing a write does is silent.** `plitzi_apply` answers `effects`: every change the batch made, read off the space
|
|
150
|
+
before and after it (elements added or removed by subtree, attributes, classes, moves, styles, settings, connectors,
|
|
151
|
+
actions), with a note where a changed attribute is one a binding computes; a batch that changed nothing says so, and
|
|
152
|
+
a store with no persister leads the warnings as `NOT saved: …`. The intent tools answer those `effects`, whether it
|
|
153
|
+
was `saved` and what was already so, refuse to take off a class the element does not wear and to write a value under
|
|
154
|
+
a binding. `plitzi element edit` reads the whole space before and after the edit (`plitzi element readings`, in a fresh process),
|
|
155
|
+
prints every change, and puts the files back when anything changed that was not asked, naming it; it refuses an
|
|
156
|
+
attribute a binding computes, and `plitzi element where` marks those `Bound`. `canonicalJson` (`@plitzi/sdk-shared`) is
|
|
157
|
+
what every before-and-after comparison is made with. Authoring keeps deep enough a call stack (64 frames) that a
|
|
158
|
+
helper inside a helper is still told apart.
|
|
159
|
+
- `locateElements` answers the parts of every component too, in the component (`rootId` is its id): `plitzi element where`
|
|
160
|
+
and `plitzi element edit` reach an element inside a component as they reach one on a page or a layout.
|
|
161
|
+
|
|
162
|
+
## Fixed
|
|
163
|
+
- **A layout no longer mounts twice when the page hydrates.** An element with `runtime: 'server'` was wrapped in its
|
|
164
|
+
static shell while hydrating and handed back without it — under another key — on the next render, so React tore
|
|
165
|
+
down everything under it and built it again. With a server provider around a layout (an `apiContainer` that draws
|
|
166
|
+
no markup of its own), the whole layout's DOM was replaced on every page, and every `motion` arrival in it played
|
|
167
|
+
twice: a visible flicker on load. The shell now stays around the element on both sides of hydration, under the same
|
|
168
|
+
key, and only stops freezing (`frozen`).
|
|
169
|
+
- **A component's instance is written somewhere.** `component(…)` — and each child it places in a slot — rebuilt its
|
|
170
|
+
spec with a spread and lost the marker of where the author wrote it: `plitzi element where` could not place an instance and
|
|
171
|
+
`plitzi element edit` refused it. The original marker is carried (`carryWrittenAt`); `where` finds the words an instance
|
|
172
|
+
hands its component, and `edit` writes an instance's props.
|
|
173
|
+
- `plitzi element edit` follows a value read off a list the call is repeated for (`item.question` in
|
|
174
|
+
`QUESTIONS.flatMap(item => …)`) to the one entry that holds it, in the file the list is written in; when the shared
|
|
175
|
+
value is not a literal it says where it comes from instead of offering `--every`.
|
|
176
|
+
- **`plitzi page check --element` says which class wins.** Each property more than one of the element's classes sets, at
|
|
177
|
+
rest: the value shown, the class it comes from and what the others say — or that they all set it so. Which wins is
|
|
178
|
+
asked of the page, each class taken off for a moment; a style change is verified in text, not with a picture.
|
|
179
|
+
- **`plitzi element where` reads more.** By words it finds every word an element says (`words` on `WrittenElement`: content,
|
|
180
|
+
`label`, `title`, `alt`, `placeholder`, binding templates, an instance's props); by class it says where the class
|
|
181
|
+
is declared (`locateClasses` in `@plitzi/sdk-authoring`); an element repeated over a list says which list, and its
|
|
182
|
+
file; a page or a layout is placed at the object it is declared as.
|
|
183
|
+
- **`plitzi element edit` edits a page** by the attributes `where` shows (`seoPageTitle` written as `seoTitle`;
|
|
184
|
+
`PAGE_SPEC_FIELDS` in `@plitzi/sdk-authoring`), refusing `layout` and `seoEnabled`, which are no field of their own;
|
|
185
|
+
and a value read in more than one place (a list entry a nav and a menu both draw) changes them all only with
|
|
186
|
+
`--every`, each named.
|
|
187
|
+
- **A component prop of a type that does not exist is refused** (`prop-type-unknown`, with the types there are):
|
|
188
|
+
`type: 'string'` was accepted at run time, offered by no editor and checked against nothing. `BUILTIN_PARAM_TYPES`
|
|
189
|
+
in `@plitzi/sdk-shared` is the list, and `BuiltinParamType` is derived from it.
|
|
190
|
+
- **`plitzi element remove <id>` and `plitzi element move <id> --before|--after <id>`** take an element out of the code that writes
|
|
191
|
+
it, or reorder it among its siblings — following a section a helper returns to the helper's call — checked as
|
|
192
|
+
`edit` is: a removal may take only the element and what it holds, a move only reorder its parent, or the file goes
|
|
193
|
+
back. Styles and imports only the removed call used go with it, named; a helper left unread is said.
|
|
194
|
+
- **`plitzi verify`** runs the project's checks — author (no warning), lint:space, typecheck, lint, format — and every
|
|
195
|
+
page with no parameter, and prints only what fails; a page it could not open is said as not checked. Generated
|
|
196
|
+
projects get `npm run verify`, and their `AGENTS.md` names it as the way to leave the project passing.
|
|
197
|
+
- **A component's refusal says where it is written** (by its root's call).
|
|
198
|
+
- **`check --element`** says a class changes nothing on the element only when every property it sets stays without
|
|
199
|
+
it, and names the other elements the class is on: changing the class changes them; taking it off this element does
|
|
200
|
+
not.
|
|
201
|
+
- **An element's generated selector and binding ids are named after its id**, under its parent's place, not after its
|
|
202
|
+
position among its siblings: a move renames nothing. Every space written in code gets new generated names once —
|
|
203
|
+
the same rules, so nothing a visitor sees changes.
|
|
204
|
+
- A change of an element's children is said as what came, went or moved (`faq moved — now after hero, before pricing`).
|
|
205
|
+
- **`plitzi page check --click <id>`** clicks one element and says what changed — flows run and how each step ended, the
|
|
206
|
+
page it went to, what scrolled, what is shown now and what no longer is, the state — or that nothing did, in those words; a flow that
|
|
207
|
+
succeeded while nothing on the page changed is said as that. A click that could not be made, or a flow that failed,
|
|
208
|
+
fails the check.
|
|
209
|
+
- **A refusal of the authored space's gate says where**: each of the validator's errors (`UNRESOLVED_INTERACTION_TARGET`,
|
|
210
|
+
`UNRESOLVED_BINDING_SOURCE`, …) carries the file and line of the element it is about, and a name nothing answers to is
|
|
211
|
+
offered the nearest element that answers the step it was for (`openModal('search')` → `search-modal`, not the
|
|
212
|
+
`search-q` field), or the few that do. `SchemaValidationError` gains `missing` and `wantedBy` (`@plitzi/sdk-schema`).
|
|
213
|
+
- **`plitzi element where` finds the words a list's rows show** when the list is handed them as data (`items:
|
|
214
|
+
[...PLANS]`), and says the list they are the entries of and its file (`Its rows are the entries of PLANS
|
|
215
|
+
(src/space/enterprise/content.ts)`).
|
|
216
|
+
- `plitzi page check --click` says what is **shown** now and what no longer is (drawn, wherever the page is scrolled),
|
|
217
|
+
not "on screen".
|
|
218
|
+
- `plitzi upgrade` says packages installed locally in one line past three, and a skill rewritten within the same
|
|
219
|
+
version as that, not `0.38.7 → 0.38.7`.
|
|
220
|
+
- **What `element edit`, `remove` and `move` read back goes through the gate `npm run author` does**: a change that
|
|
221
|
+
leaves the space refused — a flow still opening a modal that was removed — is put back, the refusal said with where.
|
|
222
|
+
`element remove` refuses before writing when another element's flows act on what it takes away, and says what it
|
|
223
|
+
took once, by the outermost element (`search-modal removed, with 18 inside`). Moving an element beside itself is
|
|
224
|
+
refused as nothing to do.
|
|
225
|
+
- **An id, a plugin folder or a data file written a letter off is offered the nearest one** (`element where`, `edit`,
|
|
226
|
+
`remove`, `move`, `plugin pack`, `data describe`).
|
|
227
|
+
- **A project file that does not load is said at its file and line** — `src/space/hero.ts:139: Expected ','` — by the
|
|
228
|
+
server, `npm run author` and every CLI command, never as a stack (`ProjectModuleError` and `moduleProblem` in
|
|
229
|
+
`@plitzi/sdk-authoring/node`).
|
|
230
|
+
- **`plitzi verify` stops at the first failure** — one broken file fails every later step the same way — and says the
|
|
231
|
+
rest as not run (`--keep-going` runs them anyway); `--no-pages` no longer fails a run that passed.
|
|
232
|
+
- **`plitzi space fix` no longer drops attributes written one level too deep**: `attributes: { value: 5 }` where
|
|
233
|
+
`value: 5` was meant is put in its place (a new `unwrap` fix), not removed with what it said.
|
|
234
|
+
- **`plitzi explain <type>` explains the project's own elements** (`src/plugins/`), and `plugin add` prints how to place
|
|
235
|
+
one with the attributes it was declared with.
|
|
236
|
+
- **`plitzi data describe` says an object keyed by data once**, as a map of one shape with how many keys, so a file of
|
|
237
|
+
five hundred articles reads as one.
|
|
238
|
+
- **`plitzi page check` says a path no page answers before opening it**, with the paths the pages do answer — never a
|
|
239
|
+
redirect home read as a page for signed-in visitors.
|
|
240
|
+
- **`copyToClipboard(text)`**, a utility step (`@plitzi/sdk-interactions`, built with `copyToClipboard` in
|
|
241
|
+
`@plitzi/sdk-authoring`): a "Copy link" button had no step to write with. A browser that gives the page no clipboard
|
|
242
|
+
fails the step, so a toast after it is never said of a copy that was not made.
|
|
243
|
+
- **`plitzi explain` lists the values a param takes only when it is a choice** (`select`): `setState`'s `value` read
|
|
244
|
+
as `'true' | 'false'`, the examples of a free value taken for its only ones.
|
|
245
|
+
- **`plitzi page check --click` says what the page said** — a toast or an alert, `said: "Link copied"` — and **a form
|
|
246
|
+
the browser held back**, with the field and the browser's reason, never as a click that changed nothing.
|
|
247
|
+
- **`plitzi page check --click <id> --fill <id>=<value>`** fills fields before the click as a visitor does (typed, an
|
|
248
|
+
option chosen, a box ticked), so a form's success flow is checked, not only its refusal when empty. A container of
|
|
249
|
+
several fields is refused with their ids; a field filled inside another element says whose it is.
|
|
250
|
+
|
|
251
|
+
- Updated dependencies [1b45aae]
|
|
252
|
+
- @plitzi/sdk-authoring@0.38.8
|
|
253
|
+
|
|
3
254
|
## 0.38.7
|
|
4
255
|
|
|
5
256
|
### Patch Changes
|