@homepages/concrete 11.0.0 → 13.0.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/CHANGELOG.md +203 -0
- package/README.md +8 -10
- package/codemods/fixtures-are-data.mjs +7 -0
- package/codemods/fixtures-list-properties.mjs +6 -0
- package/codemods/manifest.json +17 -0
- package/codemods/steps/fixtures-list-properties.mjs +16 -0
- package/codemods/steps/fixtures-to-data.mjs +41 -0
- package/dist/artifact/playground/client/assets/archivo-latin-ext-wght-normal-C4zznr8T.woff2 +0 -0
- package/dist/artifact/playground/client/assets/archivo-latin-wght-normal-E0tuGl4L.woff2 +0 -0
- package/dist/artifact/playground/client/assets/archivo-vietnamese-wght-normal-XAtsl5Q_.woff2 +0 -0
- package/dist/artifact/playground/client/assets/index-Bmvcss4B.js +1338 -0
- package/dist/artifact/playground/client/assets/index-C01UCAWD.css +1 -0
- package/dist/artifact/playground/client/index.html +2 -2
- package/dist/artifact/playground/client/island-canvas-host.mjs +1 -1
- package/dist/artifact/playground/host.mjs +110 -60
- package/dist/base.css +19 -59
- package/dist/cli/build/icons.js +1 -1
- package/dist/cli/build/index.js +11 -10
- package/dist/cli/build/manifest.js +44 -0
- package/dist/cli/build/record.js +123 -0
- package/dist/cli/build/sections.js +28 -18
- package/dist/cli/build/source.js +1 -1
- package/dist/cli/build/static.js +8 -5
- package/dist/cli/build/template-build.js +614 -0
- package/dist/cli/check/analyze.js +18 -1
- package/dist/cli/check/load-workspace.js +2 -2
- package/dist/cli/check/portable-names.js +1 -1
- package/dist/cli/check/render/corpus.js +119 -0
- package/dist/cli/check/render/invariants.js +1 -0
- package/dist/cli/check/stages/bundles.js +15 -18
- package/dist/cli/check/stages/composition.js +8 -25
- package/dist/cli/check/stages/fixtures.js +14 -10
- package/dist/cli/check/stages/logic.js +7 -23
- package/dist/cli/check/stages/render.js +12 -14
- package/dist/cli/check/stages/sections.js +22 -66
- package/dist/cli/check/stages/stylesheet.js +4 -26
- package/dist/cli/check/stages/workspace.js +27 -22
- package/dist/cli/commands.js +51 -23
- package/dist/cli/currency/preamble.js +1 -1
- package/dist/cli/currency/resolve-latest.js +3 -2
- package/dist/cli/dev/capture-browser.js +26 -0
- package/dist/cli/dev/fixture-schema.js +441 -0
- package/dist/cli/dev/folder-files.js +244 -0
- package/dist/cli/dev/index.js +7 -3
- package/dist/cli/dev/playground-server.js +34 -0
- package/dist/cli/dev/section-ladders.js +76 -0
- package/dist/cli/dev/server.js +120 -304
- package/dist/cli/install/background.js +16 -0
- package/dist/cli/install/index.js +45 -0
- package/dist/cli/install/tools.js +27 -0
- package/dist/cli/media/derive.js +19 -13
- package/dist/cli/media/deriver-plugin.js +14 -3
- package/dist/cli/property/fixture-list.js +46 -0
- package/dist/cli/property/index.js +12 -9
- package/dist/cli/property/library.js +12 -10
- package/dist/cli/publish/artifact.js +90 -0
- package/dist/cli/publish/captures.js +61 -0
- package/dist/cli/publish/fixtures.js +17 -0
- package/dist/cli/publish/index.js +10 -18
- package/dist/cli/{build → publish}/playground.js +3 -3
- package/dist/cli/publish/report.js +15 -33
- package/dist/cli/upgrade/codemod.d.ts +14 -0
- package/dist/cli/upgrade/fixture-conversion.d.ts +11 -0
- package/dist/cli/upgrade/fixture-conversion.js +54 -0
- package/dist/cli/upgrade/fixture-modules.js +125 -0
- package/dist/cli/upgrade/fixtures-to-data.d.ts +40 -0
- package/dist/cli/upgrade/fixtures-to-data.js +498 -0
- package/dist/cli/upgrade/index.js +18 -2
- package/dist/cli/upgrade/legacy-fixtures.d.ts +34 -0
- package/dist/cli/upgrade/legacy-fixtures.js +22 -0
- package/dist/cli/upgrade/stage.js +1 -1
- package/dist/cli/workspace-fixtures.js +80 -0
- package/dist/cli.js +1 -0
- package/dist/css/compile.js +9 -3
- package/dist/fixtures/bundle-rule.js +16 -16
- package/dist/fixtures/media-plugin.js +12 -33
- package/dist/fixtures/synthesize-empties.js +3 -2
- package/dist/index.d.ts +7 -7
- package/dist/{playground-island-runtime.d.ts → island-runtime.d.ts} +1 -2
- package/dist/{playground-island-runtime.js → island-runtime.js} +1 -2
- package/dist/islands/client-module.js +1 -1
- package/dist/{cli/dev → islands}/tsconfig-paths.js +2 -14
- package/dist/islands/wrap.js +40 -0
- package/dist/node_modules/.pnpm/acorn@8.18.0/node_modules/acorn/dist/acorn.js +5119 -0
- package/dist/packages/external/concrete/package.js +1 -1
- package/dist/packages/internal/bundle-evaluation/dist/cache.js +36 -0
- package/dist/packages/internal/bundle-evaluation/dist/evaluate.js +174 -0
- package/dist/packages/internal/bundle-evaluation/dist/index.js +5 -0
- package/dist/packages/internal/bundle-evaluation/dist/section-code.js +10 -0
- package/dist/packages/internal/capture-settle/dist/index.js +2 -2
- package/dist/packages/internal/capture-settle/dist/settle.js +88 -13
- package/dist/packages/internal/code-fingerprint/dist/index.js +57 -0
- package/dist/packages/internal/content-doc-ops/dist/index.js +176 -0
- package/dist/packages/internal/content-doc-ops/dist/made-rows.js +15 -0
- package/dist/packages/internal/deliverable-reads/dist/bootstrap.js +81 -0
- package/dist/packages/internal/deliverable-reads/dist/display.js +21 -0
- package/dist/packages/internal/deliverable-reads/dist/format.js +15 -0
- package/dist/packages/internal/deliverable-reads/dist/index.js +7 -0
- package/dist/packages/internal/deliverable-reads/dist/pages.js +29 -0
- package/dist/packages/internal/deliverable-reads/dist/requirements.js +72 -0
- package/dist/{cli/capture → packages/internal/download-files/dist}/bundle.js +8 -4
- package/dist/packages/internal/download-files/dist/capture-origin.js +126 -0
- package/dist/packages/internal/download-files/dist/capture-routes.js +139 -0
- package/dist/packages/internal/download-files/dist/capture-shell.js +38 -0
- package/dist/packages/internal/download-files/dist/capture.js +74 -0
- package/dist/packages/internal/download-files/dist/egress-watch.js +38 -0
- package/dist/packages/internal/download-files/dist/files.js +7 -0
- package/dist/packages/internal/download-files/dist/finish.js +35 -0
- package/dist/packages/internal/download-files/dist/fleet.js +94 -0
- package/dist/packages/internal/download-files/dist/format.js +40 -0
- package/dist/packages/internal/download-files/dist/make.js +105 -0
- package/dist/packages/internal/download-files/dist/master-tally.js +32 -0
- package/dist/packages/internal/download-files/dist/names.js +24 -0
- package/dist/packages/internal/download-files/dist/pdf-boxes.js +33 -0
- package/dist/packages/internal/download-files/dist/pdf-image-placements.js +194 -0
- package/dist/packages/internal/download-files/dist/pdf-images.js +289 -0
- package/dist/packages/internal/file-store/dist/files.js +8 -0
- package/dist/packages/internal/file-store/dist/lru.js +40 -0
- package/dist/packages/internal/file-store/dist/refusal.js +12 -0
- package/dist/packages/internal/file-store/dist/trees.js +151 -0
- package/dist/packages/internal/fill-bake/dist/bake-property-ref.js +1 -1
- package/dist/packages/internal/fill-bake/dist/compute-reads.js +48 -22
- package/dist/packages/internal/fill-bake/dist/held-rows.js +2 -0
- package/dist/packages/internal/fill-bake/dist/index.js +6 -1
- package/dist/packages/internal/fill-bake/dist/item-merge.js +4 -3
- package/dist/packages/internal/fill-bake/dist/resolve-instance.js +9 -0
- package/dist/packages/internal/fill-bake/dist/resolve.js +3 -0
- package/dist/packages/internal/fill-bake/dist/round-trip.js +2 -0
- package/dist/packages/internal/fill-bake/dist/strip.js +6 -0
- package/dist/packages/internal/fill-vocabulary/dist/holder.js +1 -1
- package/dist/packages/internal/fill-vocabulary/dist/resolved-decision.js +1 -1
- package/dist/packages/internal/fill-vocabulary/dist/verbs.js +1 -1
- package/dist/packages/internal/format-geometry/dist/capture.js +3 -11
- package/dist/packages/internal/format-geometry/dist/format.d.ts +2 -8
- package/dist/packages/internal/format-geometry/dist/geometry.js +2 -13
- package/dist/packages/internal/island-runtime/dist/index.js +1 -10
- package/dist/packages/internal/island-runtime/dist/use-capture-ready.d.ts +5 -0
- package/dist/packages/internal/lead-fields/dist/ingest.js +72 -0
- package/dist/packages/internal/media-resolution/dist/video.js +6 -2
- package/dist/packages/internal/page-render/dist/addresses.js +57 -0
- package/dist/packages/internal/page-render/dist/index.js +6 -0
- package/dist/packages/internal/page-render/dist/kept.js +30 -0
- package/dist/packages/internal/page-render/dist/nav.js +42 -0
- package/dist/packages/internal/page-render/dist/render.js +152 -0
- package/dist/packages/internal/page-shell/dist/assemble.js +161 -0
- package/dist/packages/internal/page-shell/dist/escape.js +10 -0
- package/dist/packages/internal/page-shell/dist/frame.js +23 -0
- package/dist/packages/internal/page-shell/dist/index.js +26 -0
- package/dist/packages/internal/playground/dist/build-fingerprint.js +18 -0
- package/dist/packages/internal/playground/dist/fixture-conversions/list-names-properties.js +76 -0
- package/dist/packages/internal/playground/dist/fixture-formats.d.ts +37 -0
- package/dist/packages/internal/playground/dist/fixture-formats.js +20 -0
- package/dist/packages/internal/playground/dist/host/bootstrap.js +108 -0
- package/dist/packages/internal/playground/dist/host/built.js +202 -0
- package/dist/packages/internal/playground/dist/host/catalog-fixture.js +53 -0
- package/dist/packages/internal/playground/dist/host/download.js +34 -0
- package/dist/packages/internal/playground/dist/host/env.js +11 -0
- package/dist/packages/internal/playground/dist/host/everywhere-saves.js +353 -0
- package/dist/packages/internal/playground/dist/host/fixture-addresses.js +52 -0
- package/dist/packages/internal/playground/dist/host/fixture-documents.js +494 -0
- package/dist/packages/internal/playground/dist/host/fixture-operations.js +364 -0
- package/dist/packages/internal/playground/dist/host/fixture-units.js +93 -0
- package/dist/{fixtures → packages/internal/playground/dist/host}/image-dimensions.js +1 -1
- package/dist/packages/internal/playground/dist/host/leads.js +41 -0
- package/dist/packages/internal/playground/dist/host/media-saves.js +309 -0
- package/dist/{fixtures → packages/internal/playground/dist/host}/media-store.js +79 -26
- package/dist/packages/internal/playground/dist/host/overridable.js +9 -0
- package/dist/packages/internal/playground/dist/host/owned-saves.js +203 -0
- package/dist/{playground → packages/internal/playground/dist}/host/page-state.js +1 -1
- package/dist/packages/internal/playground/dist/host/program.js +54 -0
- package/dist/packages/internal/playground/dist/host/property-derive.js +216 -0
- package/dist/packages/internal/playground/dist/host/property-saves.js +74 -0
- package/dist/{fixtures → packages/internal/playground/dist/host}/property.js +88 -229
- package/dist/packages/internal/playground/dist/host/provenance.js +49 -0
- package/dist/packages/internal/playground/dist/host/resolve.js +553 -0
- package/dist/packages/internal/playground/dist/host/row-images.js +41 -0
- package/dist/{fixtures → packages/internal/playground/dist/host}/rows.js +1 -1
- package/dist/packages/internal/playground/dist/host/save.js +429 -0
- package/dist/packages/internal/playground/dist/host/serve.js +952 -0
- package/dist/packages/internal/playground/dist/host/site.js +79 -0
- package/dist/packages/internal/playground/dist/host/slots.js +202 -0
- package/dist/packages/internal/playground/dist/host/stated-content.js +93 -0
- package/dist/packages/internal/playground/dist/host/stored-fixtures.js +135 -0
- package/dist/packages/internal/playground/dist/host/violations.js +7 -0
- package/dist/packages/internal/playground/dist/jobs/lanes.js +24 -0
- package/dist/packages/internal/playground/dist/jobs/memory-queue.js +112 -0
- package/dist/packages/internal/playground/dist/jobs/probe.js +37 -0
- package/dist/packages/internal/playground/dist/jobs/queue.js +28 -0
- package/dist/packages/internal/playground/dist/jobs/runner.js +207 -0
- package/dist/packages/internal/playground/dist/layout.js +14 -0
- package/dist/packages/internal/playground/dist/platform.js +33 -0
- package/dist/packages/internal/playground/dist/server/changes.js +57 -0
- package/dist/packages/internal/playground/dist/server/crop.js +47 -0
- package/dist/packages/internal/playground/dist/server/derived-files.js +88 -0
- package/dist/packages/internal/playground/dist/server/download.js +158 -0
- package/dist/{cli/dev → packages/internal/playground/dist/server}/http.js +4 -12
- package/dist/packages/internal/playground/dist/server/jobs.js +29 -0
- package/dist/{cli/dev → packages/internal/playground/dist/server}/listen.js +4 -11
- package/dist/packages/internal/playground/dist/server/playground-server.js +424 -0
- package/dist/{cli/dev → packages/internal/playground/dist/server}/request-error.js +1 -1
- package/dist/packages/internal/playground/dist/server/size-ladders.js +170 -0
- package/dist/packages/internal/playground/dist/server/verification.js +75 -0
- package/dist/packages/internal/playground/dist/server/verify-build.js +139 -0
- package/dist/packages/internal/playground/dist/wire.js +78 -0
- package/dist/packages/internal/property-facts/dist/registry-facts.js +1 -1
- package/dist/packages/internal/section-contracts/dist/fill-verb-contract.js +1 -1
- package/dist/packages/internal/section-contracts/dist/reads-acyclic-contract.js +1 -1
- package/dist/packages/internal/section-contracts/dist/row-fill-contract.js +1 -1
- package/dist/packages/internal/site-files/dist/head.js +59 -0
- package/dist/packages/internal/site-files/dist/index.js +4 -0
- package/dist/packages/internal/site-files/dist/site.js +211 -0
- package/dist/packages/internal/static-assets-binding/dist/index.js +32 -0
- package/dist/packages/internal/static-assets-binding/dist/section-asset-url.js +38 -5
- package/dist/packages/internal/template-artifact/dist/asset-mime.js +8 -1
- package/dist/packages/internal/template-artifact/dist/build.js +148 -0
- package/dist/packages/internal/template-artifact/dist/composition.js +62 -0
- package/dist/packages/internal/template-artifact/dist/index.js +2 -2
- package/dist/packages/internal/template-artifact/dist/layout.js +48 -12
- package/dist/packages/internal/template-artifact/dist/manifest.js +3 -10
- package/dist/packages/internal/template-artifact/dist/verify.js +51 -31
- package/dist/packages/internal/template-contracts/dist/address-value.js +6 -1
- package/dist/packages/internal/template-contracts/dist/content-categories.js +10 -1
- package/dist/packages/internal/template-contracts/dist/fact-compute.d.ts +1 -1
- package/dist/packages/internal/template-contracts/dist/fact-keys.d.ts +1 -1
- package/dist/packages/internal/template-contracts/dist/fact-registry.d.ts +3 -3
- package/dist/packages/internal/template-contracts/dist/fact-registry.js +59 -32
- package/dist/packages/internal/template-contracts/dist/fill-spec.js +14 -1
- package/dist/packages/internal/template-contracts/dist/list.d.ts +3 -3
- package/dist/packages/internal/template-contracts/dist/media-candidates.js +67 -2
- package/dist/packages/internal/template-contracts/dist/media-offer.js +180 -0
- package/dist/packages/internal/template-contracts/dist/object.d.ts +2 -2
- package/dist/packages/internal/template-contracts/dist/primitive-descriptors.js +9 -2
- package/dist/packages/internal/template-contracts/dist/read-graph.js +36 -2
- package/dist/packages/internal/template-contracts/dist/ref-locate.js +16 -1
- package/dist/packages/internal/template-contracts/dist/registry-facts.d.ts +9 -10
- package/dist/packages/internal/template-contracts/dist/registry-facts.js +12 -1
- package/dist/packages/internal/template-contracts/dist/registry-graph.js +112 -0
- package/dist/packages/internal/template-contracts/dist/registry-shape.js +15 -2
- package/dist/packages/internal/template-contracts/dist/require-graph.js +300 -0
- package/dist/packages/internal/template-contracts/dist/row-ref.d.ts +3 -3
- package/dist/packages/internal/template-contracts/dist/row.d.ts +3 -3
- package/dist/packages/internal/template-contracts/dist/runtime-values.d.ts +1 -1
- package/dist/{schema → packages/internal/template-contracts/dist}/section-nav.d.ts +1 -1
- package/dist/packages/internal/template-contracts/dist/slot-builders.d.ts +4 -4
- package/dist/packages/internal/template-contracts/dist/slot-catalog.d.ts +3 -1
- package/dist/packages/internal/template-contracts/dist/slot-catalog.js +24 -1
- package/dist/packages/internal/template-contracts/dist/slot-overrides.js +26 -1
- package/dist/packages/internal/template-contracts/dist/slot-ref.d.ts +1 -1
- package/dist/packages/internal/template-contracts/dist/slot-types.js +1 -1
- package/dist/packages/internal/template-contracts/dist/slot-value.d.ts +1 -1
- package/dist/packages/internal/template-contracts/dist/table-members.js +7 -2
- package/dist/packages/internal/template-contracts/dist/video-value.d.ts +1 -1
- package/dist/packages/internal/upload-formats/dist/heic.js +35 -0
- package/dist/packages/internal/upload-formats/dist/index.js +80 -0
- package/dist/packages/internal/upload-formats/dist/magic-bytes.js +293 -0
- package/dist/platform/paths.js +1 -0
- package/dist/platform/process.js +49 -1
- package/dist/primitives/FrameShell.d.ts +5 -2
- package/dist/primitives/FrameShell.js +2 -1
- package/dist/rules/registry.js +28 -4
- package/dist/schema/fact.d.ts +2 -2
- package/dist/schema/facts-view.d.ts +1 -1
- package/dist/schema/format.d.ts +0 -1
- package/dist/schema/format.js +1 -2
- package/dist/schema/manifest.js +18 -24
- package/dist/schema/section-props.d.ts +1 -1
- package/dist/schema/section-schema.d.ts +1 -1
- package/dist/schema/section-schema.js +1 -0
- package/dist/section/declare.d.ts +1 -1
- package/dist/section/discovery.js +6 -2
- package/dist/section/publish-shape.js +38 -0
- package/dist/section/section.d.ts +1 -1
- package/dist/site-analytics.js +6 -1
- package/dist/site-runtime/window-height.js +19 -0
- package/dist/template/define-template.d.ts +25 -4
- package/dist/template/define-template.js +3 -0
- package/dist/template/logic-shim.d.ts +1 -1
- package/dist/template/materialize.js +3 -1
- package/dist/template/running-copy.js +0 -1
- package/dist/template/section-reads.js +1 -1
- package/guide/reference/cli/INDEX.md +6 -5
- package/guide/reference/cli/build.md +10 -8
- package/guide/reference/cli/check.md +4 -2
- package/guide/reference/cli/dev.md +6 -2
- package/guide/reference/cli/install.md +41 -0
- package/guide/reference/cli/property-add.md +5 -4
- package/guide/reference/cli/property-list.md +2 -2
- package/guide/reference/cli/publish.md +5 -5
- package/guide/reference/cli/upgrade.md +1 -1
- package/guide/reference/rules/INDEX.md +9 -5
- package/package.json +14 -30
- package/dist/artifact/playground/client/assets/index-ByeGGedv.js +0 -1259
- package/dist/artifact/playground/client/assets/index-CxWPYOH2.css +0 -1
- package/dist/cli/build/artifact.js +0 -220
- package/dist/cli/build/captures.js +0 -48
- package/dist/cli/build/fixtures.js +0 -92
- package/dist/cli/capture/capture-browser.js +0 -37
- package/dist/cli/capture/capture.js +0 -113
- package/dist/cli/check/render/inputs.js +0 -60
- package/dist/cli/check/render/nav.js +0 -31
- package/dist/cli/dev/crop.js +0 -20
- package/dist/cli/dev/fixture-ladders.js +0 -96
- package/dist/cli/dev/hmr.js +0 -26
- package/dist/cli/dev/islands.js +0 -234
- package/dist/cli/dev/load-template.js +0 -52
- package/dist/cli/dev/vite.js +0 -114
- package/dist/cli/dev/workspace-reader.js +0 -248
- package/dist/cli/publish/freshness.js +0 -64
- package/dist/fixtures/brand.d.ts +0 -4
- package/dist/fixtures/brand.js +0 -8
- package/dist/fixtures/load.js +0 -159
- package/dist/fixtures/resolve.js +0 -392
- package/dist/fixtures.d.ts +0 -429
- package/dist/fixtures.js +0 -23
- package/dist/packages/internal/canvas-core/dist/island-host.js +0 -62
- package/dist/packages/internal/canvas-core/dist/island-shields.js +0 -30
- package/dist/playground/canvas-island-host.d.ts +0 -11
- package/dist/playground/canvas-island-host.js +0 -29
- package/dist/playground/canvas-markers.js +0 -14
- package/dist/playground/host/paths.js +0 -8
- package/dist/playground/layout.js +0 -17
- package/dist/playground/wire.js +0 -28
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
purpose: The `concrete install` command — its flags, exit codes and constraints.
|
|
3
|
+
mode: reference
|
|
4
|
+
status: generated
|
|
5
|
+
generated_from: the concrete command table
|
|
6
|
+
applies_to: "@homepages/concrete >=13.0.0 <14.0.0"
|
|
7
|
+
related: [reference/cli/INDEX.md]
|
|
8
|
+
---
|
|
9
|
+
# concrete install
|
|
10
|
+
|
|
11
|
+
Install the tools the playground runs, at the builds this release pins.
|
|
12
|
+
|
|
13
|
+
## Synopsis
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
concrete install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Flags
|
|
20
|
+
|
|
21
|
+
This command takes no flags.
|
|
22
|
+
|
|
23
|
+
## Exit codes
|
|
24
|
+
|
|
25
|
+
| Code | When |
|
|
26
|
+
|---|---|
|
|
27
|
+
| `0` | every tool is installed, whether this run downloaded it or it was already there |
|
|
28
|
+
| `1` | a tool could not be installed |
|
|
29
|
+
|
|
30
|
+
## Constraints
|
|
31
|
+
|
|
32
|
+
- Installs the Chromium build the platform renders with, through Playwright's own installer, into Playwright's per-user cache: every workspace on the machine shares it.
|
|
33
|
+
- A tool already installed downloads nothing, so running it again costs nothing.
|
|
34
|
+
- `npm create @homepages/concrete` runs it after its install, and `upgrade` after it moves the package's version; a failed download there is a notice, never a failed command.
|
|
35
|
+
- `dev` starts the install of a missing tool in the background and says so in one line; a capture asked for meanwhile waits for it.
|
|
36
|
+
- On Linux, a browser that installs but cannot start names the system libraries it lacks in Playwright's own words.
|
|
37
|
+
- Never refreshes the package first: it installs what the version already installed pins.
|
|
38
|
+
|
|
39
|
+
## See also
|
|
40
|
+
|
|
41
|
+
- [Every command](INDEX.md) — the rest of the command's surface.
|
|
@@ -3,12 +3,12 @@ purpose: The `concrete property add` command — its flags, exit codes and const
|
|
|
3
3
|
mode: reference
|
|
4
4
|
status: generated
|
|
5
5
|
generated_from: the concrete command table
|
|
6
|
-
applies_to: "@homepages/concrete >=
|
|
6
|
+
applies_to: "@homepages/concrete >=13.0.0 <14.0.0"
|
|
7
7
|
related: [reference/cli/INDEX.md]
|
|
8
8
|
---
|
|
9
9
|
# concrete property add
|
|
10
10
|
|
|
11
|
-
Copy a sample property
|
|
11
|
+
Copy a sample property beside this workspace's fixture list.
|
|
12
12
|
|
|
13
13
|
## Synopsis
|
|
14
14
|
|
|
@@ -37,8 +37,9 @@ concrete property add <slug> [--no-auto-update]
|
|
|
37
37
|
|
|
38
38
|
## Constraints
|
|
39
39
|
|
|
40
|
-
- Copies the whole folder — property.
|
|
41
|
-
-
|
|
40
|
+
- Copies the whole folder — property.json, media/, README.md, sources.json — to `properties/<slug>/` beside the fixture list `template.ts` names: `fixtures/properties/<slug>/` for `./fixtures/index.json`. From then on it is the workspace's to edit.
|
|
41
|
+
- Prints the content fixture to make on it; listing that fixture in the fixture list is yours to do.
|
|
42
|
+
- Never overwrites: an existing `properties/<slug>/` there is refused and named, and nothing is copied.
|
|
42
43
|
- The workspace never depends on the library: nothing is added to package.json, so no later release of it can change a copied property.
|
|
43
44
|
- Reads the library the way `property list` does, through the same per-user cache.
|
|
44
45
|
|
|
@@ -3,7 +3,7 @@ purpose: The `concrete property list` command — its flags, exit codes and cons
|
|
|
3
3
|
mode: reference
|
|
4
4
|
status: generated
|
|
5
5
|
generated_from: the concrete command table
|
|
6
|
-
applies_to: "@homepages/concrete >=
|
|
6
|
+
applies_to: "@homepages/concrete >=13.0.0 <14.0.0"
|
|
7
7
|
related: [reference/cli/INDEX.md]
|
|
8
8
|
---
|
|
9
9
|
# concrete property list
|
|
@@ -32,7 +32,7 @@ concrete property list [--no-auto-update]
|
|
|
32
32
|
## Constraints
|
|
33
33
|
|
|
34
34
|
- Prints one line per property on stdout: its slug, its description, then its listing intent and non-zero counts.
|
|
35
|
-
- Reads the
|
|
35
|
+
- Reads the @homepages/sample-properties version its `documents` dist-tag names, from the registry the workspace installs from, and caches each version per user under `XDG_CACHE_HOME`, else `~/.cache`.
|
|
36
36
|
- When the registry cannot be read, lists the newest cached version and says so on stderr.
|
|
37
37
|
|
|
38
38
|
## Before it runs
|
|
@@ -3,7 +3,7 @@ purpose: The `concrete publish` command — its flags, exit codes and constraint
|
|
|
3
3
|
mode: reference
|
|
4
4
|
status: generated
|
|
5
5
|
generated_from: the concrete command table
|
|
6
|
-
applies_to: "@homepages/concrete >=
|
|
6
|
+
applies_to: "@homepages/concrete >=13.0.0 <14.0.0"
|
|
7
7
|
related: [reference/cli/INDEX.md]
|
|
8
8
|
---
|
|
9
9
|
# concrete publish
|
|
@@ -13,14 +13,13 @@ Publish the template to HomePages.
|
|
|
13
13
|
## Synopsis
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
concrete publish [--
|
|
16
|
+
concrete publish [--dry-run] [--json] [--env-file <path>] [--no-auto-update]
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Flags
|
|
20
20
|
|
|
21
21
|
| Flag | Type | Default | What it does |
|
|
22
22
|
|---|---|---|---|
|
|
23
|
-
| `--rebuild` | boolean | `false` | Build the artifact again even when the tree still matches the one on disk |
|
|
24
23
|
| `--dry-run` | boolean | `false` | Upload and verify the artifact, report what publishing would change, and write nothing |
|
|
25
24
|
| `--json` | boolean | `false` | Print the settled publication record on stdout instead of the summary |
|
|
26
25
|
| `--env-file <path>` | string | — | Read `CONCRETE_TOKEN` and `CONCRETE_API_URL` from this dotenv file instead of the workspace's `.env` |
|
|
@@ -31,7 +30,7 @@ concrete publish [--rebuild] [--dry-run] [--json] [--env-file <path>] [--no-auto
|
|
|
31
30
|
| Code | When |
|
|
32
31
|
|---|---|
|
|
33
32
|
| `0` | the template was published, the environment already held it as current, or a dry run passed verification |
|
|
34
|
-
| `1` | `check` is not green, or the platform refuses the publication, fails its verification or cannot finish it |
|
|
33
|
+
| `1` | `check` is not green, a capture failed, or the platform refuses the publication, fails its verification or cannot finish it |
|
|
35
34
|
| `2` | no publisher key is set, the key is malformed or not accepted, the endpoint cannot be reached, or it runs outside a workspace |
|
|
36
35
|
|
|
37
36
|
## Constraints
|
|
@@ -39,7 +38,8 @@ concrete publish [--rebuild] [--dry-run] [--json] [--env-file <path>] [--no-auto
|
|
|
39
38
|
- The key is the environment: `CONCRETE_TOKEN` names production, staging or dev in its prefix (`cpt_prod_…`), and publish goes where it points. There is no environment flag.
|
|
40
39
|
- Reads `CONCRETE_TOKEN` from the environment, then from the workspace's `.env`. `CONCRETE_API_URL` replaces the endpoint the key's prefix names.
|
|
41
40
|
- `--env-file <path>` names the key file instead, relative to the current directory: its values win over the environment and the workspace's `.env` is not read. It is how a library holding one key file per environment picks one, in any shell.
|
|
42
|
-
- Builds
|
|
41
|
+
- Builds and checks on every run, then assembles the artifact — the built files, the authored fixtures, the playground and, for an image or document template, the captures — and uploads it. An artifact is never reused.
|
|
42
|
+
- An image or document template's captures are every authored fixture at every declared format, taken exactly as `dev`'s *Download* takes it — the enabled pages and their zip, or the PDF. They sit outside the artifact hash, and are taken with the Chromium build the platform renders with: on a machine without it, publish refuses with the one command that installs it.
|
|
43
43
|
- Prints one line per stage on stderr as it settles: target, build, upload, verify, write, adopt.
|
|
44
44
|
- Publishing a tree the environment already holds as current changes nothing, says so, and exits 0. Rolling back is publishing the older tree.
|
|
45
45
|
- Under `--json` the publication record is the only thing written to stdout; every stage line goes to stderr.
|
|
@@ -3,7 +3,7 @@ purpose: The `concrete upgrade` command — its flags, exit codes and constraint
|
|
|
3
3
|
mode: reference
|
|
4
4
|
status: generated
|
|
5
5
|
generated_from: the concrete command table
|
|
6
|
-
applies_to: "@homepages/concrete >=
|
|
6
|
+
applies_to: "@homepages/concrete >=13.0.0 <14.0.0"
|
|
7
7
|
related: [reference/cli/INDEX.md]
|
|
8
8
|
---
|
|
9
9
|
# concrete upgrade
|
|
@@ -3,7 +3,7 @@ purpose: Every rule `concrete check` grades, by the stage that grades it, in the
|
|
|
3
3
|
mode: reference
|
|
4
4
|
status: generated
|
|
5
5
|
generated_from: the concrete rule registry
|
|
6
|
-
applies_to: "@homepages/concrete >=
|
|
6
|
+
applies_to: "@homepages/concrete >=13.0.0 <14.0.0"
|
|
7
7
|
related: [reference/cli/check.md]
|
|
8
8
|
---
|
|
9
9
|
# Rule reference
|
|
@@ -33,6 +33,7 @@ The workspace loads: `template.ts` default-exports a `defineTemplate` value and
|
|
|
33
33
|
| `concrete/workspace/duplicate-section-key` | tree | Two different exported sections declare the same key. |
|
|
34
34
|
| `concrete/workspace/crlf-text` | tree | A text file in the workspace has CRLF line endings, so the same commit would build a different version than an LF checkout. |
|
|
35
35
|
| `concrete/workspace/unportable-name` | tree | A source file name, the template key, a section key or a fixture id would not name the same file on Windows and macOS: two differ only by case or Unicode form, or one is a reserved device name (`con`, `nul`, `com1`…), ends in a dot or a space, or carries a character Windows refuses in a file name (`:`, `\`, `?`, `*`, a control character…). A key or id must also be NFC. |
|
|
36
|
+
| `concrete/workspace/duplicate-browser-file` | tree | Two of the build's browser files (a stylesheet, a script, an imported image or font) would have one filename. A host answers them by filename alone, and a published site keeps them in one folder. |
|
|
36
37
|
|
|
37
38
|
## typecheck
|
|
38
39
|
|
|
@@ -78,7 +79,7 @@ Each page is rendered once under the page probe, and the composition it places p
|
|
|
78
79
|
|---|---|---|
|
|
79
80
|
| `concrete/pages/non-section-markup` | probe | A page emits markup that is not a section; a page may contain only sections. |
|
|
80
81
|
| `concrete/pages/section-not-exported` | probe | A page places a section no module exports, so the build cannot bundle it alone. |
|
|
81
|
-
| `concrete/pages/composition-invalid` | probe | The composition the pages place breaks a page, canvas
|
|
82
|
+
| `concrete/pages/composition-invalid` | probe | The composition the pages place breaks a page, canvas or instance rule. |
|
|
82
83
|
|
|
83
84
|
## relations
|
|
84
85
|
|
|
@@ -111,17 +112,20 @@ Every placed section's logic bundle builds exactly as `build` builds it.
|
|
|
111
112
|
|
|
112
113
|
## fixtures
|
|
113
114
|
|
|
114
|
-
The fixtures
|
|
115
|
+
The fixtures the fixture list names load, resolve over the composition, and stay out of the bundle.
|
|
115
116
|
|
|
116
117
|
| Rule | Venue | What it requires |
|
|
117
118
|
|---|---|---|
|
|
118
|
-
| `concrete/fixtures/none` | tree | The workspace
|
|
119
|
+
| `concrete/fixtures/none` | tree | The workspace has no fixture: template.ts names no fixture list, or the list names no content fixture; marker coverage has no input. |
|
|
119
120
|
| `concrete/fixtures/property-invalid` | tree | A property fails the platform schema, references a missing file, or repeats an id within a list. |
|
|
120
121
|
| `concrete/fixtures/media-not-in-property` | tree | A content entry references a media entry its property does not carry. |
|
|
121
122
|
| `concrete/fixtures/rows-not-in-property` | tree | A content entry states more rows for a directly linked list than its property carries. |
|
|
122
123
|
| `concrete/fixtures/value-invalid` | tree | A content entry states a malformed date, email or phone value. |
|
|
124
|
+
| `concrete/fixtures/held-row-not-in-property` | tree | A content entry holds a row its property does not carry; the slot loads empty, as a deleted row does. |
|
|
125
|
+
| `concrete/fixtures/document-invalid` | tree | A fixture document does not parse, or does not match the template: an unknown key, slot or field, a value of the wrong kind, a sourced slot stated without its override mark, or one instance stated twice. |
|
|
126
|
+
| `concrete/fixtures/reference-invalid` | tree | A fixture document names a file outside its own folder, or one that does not exist. |
|
|
123
127
|
| `concrete/fixtures/instance-not-placed` | tree | A content entry names an instance the composition does not place. |
|
|
124
|
-
| `concrete/fixtures/reachable-from-bundle` | tree | A module reachable from template.ts imports
|
|
128
|
+
| `concrete/fixtures/reachable-from-bundle` | tree | A module reachable from template.ts imports a file the fixture list reaches, or the sample library. |
|
|
125
129
|
|
|
126
130
|
## sections
|
|
127
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homepages/concrete",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Concrete, the HomePages template framework: the authoring API, the contract primitives, the styles, the lint preset and the `concrete` command in one package that owns its whole toolchain.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"bin": {
|
|
27
27
|
"concrete": "dist/cli.js"
|
|
28
28
|
},
|
|
29
|
-
"$comment:exports": "The subpaths a template workspace imports, and nothing else. `.` is the authoring API and the primitives; `./eslint` the flat-config preset a workspace's eslint.config.mjs re-exports; `./tsconfig` the compiler options its tsconfig.json extends; `./styles.css` the primitives' utilities its globals.css imports; `./
|
|
29
|
+
"$comment:exports": "The subpaths a template workspace imports, and nothing else. `.` is the authoring API and the primitives; `./eslint` the flat-config preset a workspace's eslint.config.mjs re-exports; `./tsconfig` the compiler options its tsconfig.json extends; `./styles.css` the primitives' utilities its globals.css imports; `./browser` what a published page's island imports to reach the ingest endpoints. Not exported: base.css (a page-level asset the build ships), the dev client, the codemods and the command modules.",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
@@ -36,10 +36,6 @@
|
|
|
36
36
|
"types": "./dist/eslint.d.ts",
|
|
37
37
|
"default": "./dist/eslint.js"
|
|
38
38
|
},
|
|
39
|
-
"./fixtures": {
|
|
40
|
-
"types": "./dist/fixtures.d.ts",
|
|
41
|
-
"default": "./dist/fixtures.js"
|
|
42
|
-
},
|
|
43
39
|
"./browser": {
|
|
44
40
|
"types": "./dist/browser.d.ts",
|
|
45
41
|
"default": "./dist/browser.js"
|
|
@@ -64,19 +60,19 @@
|
|
|
64
60
|
"verify:consumer": "node scripts/verify-consumer.mjs",
|
|
65
61
|
"check": "npm run typecheck && npm run lint && npm run build && npm run test && npm run test:scaffold && npm run lint:pkg && npm run verify:consumer"
|
|
66
62
|
},
|
|
67
|
-
"$comment:dependencies": "The toolchain and the runtime are real dependencies, on purpose. This package owns the whole toolchain a template workspace runs: TypeScript, ESLint and the rules the preset needs, esbuild,
|
|
63
|
+
"$comment:dependencies": "The toolchain and the runtime are real dependencies, on purpose. This package owns the whole toolchain a template workspace runs: TypeScript, ESLint and the rules the preset needs, esbuild, Tailwind, and the compiler and source scanner the template stylesheet builds with (`@tailwindcss/node`, `@tailwindcss/oxide`). Vite is not among them: `@homepages/playground` builds the playground client with it, and this package copies the built client into dist, so a workspace never runs it. The package chooses and tests these versions, a framework update moves them with it, and `check` grades every workspace with the versions we shipped; a workspace declares none of them, and an editor extension finds TypeScript and ESLint hoisted beside the framework. zod is the runtime dependency the authoring API's schemas are written in. sharp is a dependency too, at one exact version, the same one every package in the monorepo that cuts an image declares: an image cut in `dev` or `build` is then cut by the same build the app cuts it with. Its native binary is an optional dependency of sharp itself, so an install on a platform without one still succeeds, and the image ladder degrades to passing the master through; verify a real derivation, never the audit count. playwright-core is the browser a download in `dev` and `publish` is shot in, at the exact version the platform's download worker pins (a pinned-versions gate holds the two together), and pdf-lib finishes that download's PDF (its trim and bleed boxes) in the shared download code compiled in. tsdown auto-externalizes every entry here, so the shipped modules import each of them by bare specifier.",
|
|
68
64
|
"dependencies": {
|
|
69
65
|
"@tailwindcss/node": "^4.3.3",
|
|
70
66
|
"@tailwindcss/oxide": "^4.3.3",
|
|
71
|
-
"@tailwindcss/vite": "^4.3.3",
|
|
72
67
|
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
|
73
68
|
"@typescript-eslint/parser": "^8.60.1",
|
|
74
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
75
69
|
"esbuild": "^0.28.1",
|
|
76
70
|
"eslint": "^10.8.0",
|
|
71
|
+
"pdf-lib": "^1.17.1",
|
|
72
|
+
"playwright-core": "1.62.1",
|
|
73
|
+
"sharp": "0.35.3",
|
|
77
74
|
"tailwindcss": "^4.3.0",
|
|
78
75
|
"typescript": "^5.7.2",
|
|
79
|
-
"vite": "^6.0.5",
|
|
80
76
|
"zod": "^4.4.3"
|
|
81
77
|
},
|
|
82
78
|
"$comment:peerDependencies": "React is a PEER, never a dependency. Renderer bundles externalize React and the platform supplies its own copy, so the workspace must hold exactly one, and only a peer makes that structural. scripts/verify-consumer.mjs asserts a consumer's tree carries one React.",
|
|
@@ -84,55 +80,43 @@
|
|
|
84
80
|
"react": "^19.0.0",
|
|
85
81
|
"react-dom": "^19.0.0"
|
|
86
82
|
},
|
|
87
|
-
"$comment:
|
|
88
|
-
"optionalDependencies": {
|
|
89
|
-
"sharp": "^0.35.3"
|
|
90
|
-
},
|
|
91
|
-
"$comment:devDependencies": "Every `@homepages/*` entry is a private workspace package compiled INTO dist by tsdown, which externalizes only dependencies, peerDependencies and optionalDependencies: nothing about them survives into a consumer's dependency graph, and the packed tarball declares no `workspace:*` edge in any block a consumer installs (src/package-boundary.test.ts). The set is every internal package Concrete inlines, declared here once so the command, check, dev and build modules that follow reach them without a manifest change; a module the shipped entries do not reach today is simply not in dist yet. One entry is never inlined: `@homepages/portability-lint` is imported by eslint.config.mjs alone, the lint rules that grade this package's own source.",
|
|
83
|
+
"$comment:devDependencies": "Every `@homepages/*` entry is a private workspace package compiled INTO dist by tsdown, which externalizes only dependencies, peerDependencies and optionalDependencies: nothing about them survives into a consumer's dependency graph, and the packed tarball declares no `workspace:*` edge in any block a consumer installs (src/package-boundary.test.ts). Each is one this package's own source imports; a package only `@homepages/playground` imports is declared there and inlined through it. That package is also the one whose BUILT files ship verbatim: its build lays out the playground client and host module an artifact carries, and scripts/build-playground.mjs copies them into dist. One entry is never inlined: `@homepages/portability-lint` is imported by eslint.config.mjs alone, the lint rules that grade this package's own source.",
|
|
92
84
|
"devDependencies": {
|
|
93
85
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
94
86
|
"@eslint/js": "^10.0.1",
|
|
95
87
|
"@homepages/api-contracts": "workspace:*",
|
|
96
|
-
"@homepages/canvas-core": "workspace:*",
|
|
97
88
|
"@homepages/capture-settle": "workspace:*",
|
|
98
|
-
"@homepages/
|
|
99
|
-
"@homepages/
|
|
89
|
+
"@homepages/code-fingerprint": "workspace:*",
|
|
90
|
+
"@homepages/download-files": "workspace:*",
|
|
91
|
+
"@homepages/file-store": "workspace:*",
|
|
100
92
|
"@homepages/fill-bake": "workspace:*",
|
|
101
93
|
"@homepages/format-geometry": "workspace:*",
|
|
102
|
-
"@homepages/icon": "workspace:*",
|
|
103
94
|
"@homepages/image-ladder": "workspace:*",
|
|
104
95
|
"@homepages/internal-refs": "workspace:*",
|
|
105
96
|
"@homepages/island-runtime": "workspace:*",
|
|
106
|
-
"@homepages/
|
|
107
|
-
"@homepages/
|
|
108
|
-
"@homepages/modal": "workspace:*",
|
|
109
|
-
"@homepages/page-shell": "workspace:*",
|
|
97
|
+
"@homepages/page-render": "workspace:*",
|
|
98
|
+
"@homepages/playground": "workspace:*",
|
|
110
99
|
"@homepages/portability-lint": "workspace:*",
|
|
111
100
|
"@homepages/property-facts": "workspace:*",
|
|
112
101
|
"@homepages/section-contracts": "workspace:*",
|
|
113
|
-
"@homepages/slot-editors": "workspace:*",
|
|
114
|
-
"@homepages/source-resolution": "workspace:*",
|
|
115
102
|
"@homepages/static-assets-binding": "workspace:*",
|
|
116
103
|
"@homepages/template-artifact": "workspace:*",
|
|
117
104
|
"@homepages/template-contracts": "workspace:*",
|
|
118
|
-
"@playwright/test": "^1.62.1",
|
|
119
105
|
"@tailwindcss/cli": "^4.3.0",
|
|
120
|
-
"@tanstack/react-query": "^5.101.4",
|
|
121
106
|
"@types/jsdom": "^21.1.7",
|
|
122
107
|
"@types/node": "^20.17.10",
|
|
123
108
|
"@types/react": "^19.0.0",
|
|
124
109
|
"@types/react-dom": "^19.0.0",
|
|
110
|
+
"ajv": "^8.20.0",
|
|
125
111
|
"expect-type": "^1.4.0",
|
|
126
112
|
"fflate": "^0.8.3",
|
|
127
113
|
"jsdom": "^26.1.0",
|
|
128
|
-
"lucide-react": "^1.28.0",
|
|
129
114
|
"publint": "^0.3.21",
|
|
130
115
|
"react": "^19.0.0",
|
|
131
116
|
"react-dom": "^19.0.0",
|
|
132
117
|
"tsdown": "0.22.7",
|
|
133
118
|
"tsx": "^4.19.2",
|
|
134
119
|
"typescript-eslint": "^8.60.1",
|
|
135
|
-
"yaml": "^2.9.0"
|
|
136
|
-
"zustand": "^5.0.14"
|
|
120
|
+
"yaml": "^2.9.0"
|
|
137
121
|
}
|
|
138
122
|
}
|