Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/20649-div-entry-compile-condition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@objectstack/spec': patch
---

fix(spec): the `ui-html-page-div-refused` migration entry states when `dev` and `start` compile (#20649)

Clause-②: no

The entry's `reason`, which `objectstack migrate meta` prints as its `why:`
line, said `dev` and `start` run `objectstack compile` first. They run it before
they boot only when the artifact is missing or `--compile` is passed, and `dev`'s
watch mode runs it when a watched file changes. The text now says so. No schema
accepts or refuses anything it did not before.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export const entry: SemanticMigration = {
'An html page\'s source is a JSX string, not a keyed document: `objectstack migrate meta` '
+ 'rewrites stored metadata by key and cannot rewrite a tag inside authored source, so the '
+ 'move is by hand, and which wrapper keeps a page\'s layout is the author\'s call. '
+ '`objectstack validate`, `objectstack compile` (which `dev` and `start` run first) and '
+ '`objectstack validate`, `objectstack compile` (which `dev` and `start` run before they '
+ 'boot only when the artifact is missing or `--compile` is passed, and `dev`\'s watch mode '
+ 'when a watched file changes) and '
+ '`objectstack lint` check that source against an SDUI component manifest: the '
+ '`sdui.manifest.json` in the directory the command runs in, then the copy '
+ '`@objectstack/console` ships. The second lookup asked for a file the console package '
Expand Down
4 changes: 3 additions & 1 deletion packages/spec/src/migrations/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17453,7 +17453,9 @@ const step18: MigrationStep = {
'An html page\'s source is a JSX string, not a keyed document: `objectstack migrate meta` '
+ 'rewrites stored metadata by key and cannot rewrite a tag inside authored source, so the '
+ 'move is by hand, and which wrapper keeps a page\'s layout is the author\'s call. '
+ '`objectstack validate`, `objectstack compile` (which `dev` and `start` run first) and '
+ '`objectstack validate`, `objectstack compile` (which `dev` and `start` run before they '
+ 'boot only when the artifact is missing or `--compile` is passed, and `dev`\'s watch mode '
+ 'when a watched file changes) and '
+ '`objectstack lint` check that source against an SDUI component manifest: the '
+ '`sdui.manifest.json` in the directory the command runs in, then the copy '
+ '`@objectstack/console` ships. The second lookup asked for a file the console package '
Expand Down
Loading