@kurot/cli 3.6.0 → 3.7.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 CHANGED
@@ -7,11 +7,131 @@ and CLI command/configuration APIs follow [Semantic Versioning](https://semver.o
7
7
  The early KUI XML contract follows the pre-1.0 `ui-document` kernel; authored
8
8
  format changes are documented explicitly in each release.
9
9
 
10
+ ## 3.7.0 — 2026-10-27
11
+
12
+ Prepared for publication; not yet published.
13
+
14
+ ### Added
15
+
16
+ - Optional `output.versionedAssets` release packaging: place runtime files in
17
+ `assets/<content-hash>/` and emit an HTML base URL, covering same-name resource
18
+ updates, generated themes, atlas/font pages and page-shell assets. Identical
19
+ output reuses the version; development and existing configurations keep their
20
+ paths. Root manifest and reported script paths use the version prefix.
21
+ - Validate the option and reject conflicting HTML base elements before moving
22
+ output. Add regressions for same-name replacements, deterministic versions,
23
+ generated KUI, shell/script changes and disabled/development builds.
24
+
25
+ ### Changed
26
+
27
+ - The game starter resolves its Theme URL against document.baseURI so compiled
28
+ skin imports follow the selected release directory with existing UI runtimes.
29
+
30
+ ### Fixed
31
+
32
+ - Parse release HTML with parse5 before inserting the versioned base URL.
33
+ Preserve quoted attribute values containing greater-than signs and ignore
34
+ base-like text in scripts/styles. Keep the authored template intact, require
35
+ an explicit head and reject actual conflicting base elements.
36
+
37
+ ### Compatibility and adoption
38
+
39
+ - This minor release adds an opt-in configuration field. The default paths,
40
+ development/watch behavior, commands and KUI/resource formats retain their
41
+ existing contracts. ui-document remains ^0.13.0; Core/UI and other SDKs need
42
+ no new release or higher peer minima.
43
+ - Add parse5 ^7.3.0 as a CLI dependency for HTML parsing. Its entities dependency
44
+ supports the CLI's Node.js >= 20 baseline; it is not shipped in game bundles.
45
+ - Projects enabling versioning need CLI >= 3.7.0 within 3.x, an absolute Theme
46
+ config URL based on document.baseURI and the deployment rules in
47
+ docs/release-assets.md. Existing projects may keep versioning disabled.
48
+ - demo/game use ^3.3.1, and the selected Tentax/MilfMaster templates use ^3.6.0;
49
+ these ranges accept 3.7.0 as optional installation/lock adoption. Star Catcher
50
+ pins 3.3.1, and Editor/Studio pin 3.6.1; adopting this feature requires explicit
51
+ declaration updates. Their installations/locks are unchanged by preparation.
52
+ - Bundled template latest placeholders remain; create records the running CLI's
53
+ version range. New scaffolds from 3.7.0 receive the Theme URL correction.
54
+ Other SDK peers/development locks and unrelated applications are unaffected.
55
+
56
+ ### Adoption
57
+
58
+ - MilfMaster enables versioning using a committed pnpm patch to its installed
59
+ registry CLI 3.6.0. The patch carries the release feature without upgrading
60
+ runtime SDKs or depending on another checkout. No npm publication is claimed.
61
+
62
+ ### Verification — 2026-10-27
63
+
64
+ - Clean CLI build and all 25 test files / 132 tests pass with maxWorkers=1,
65
+ including quoted HTML attributes, script/style text, release process
66
+ configuration and generated KUI output. git diff --check passes. An earlier
67
+ parallel run hit a resource-watch batch-reason assertion; its isolated rerun
68
+ and subsequent full runs passed.
69
+ - The packed 3.7.0 archive contains 239 entries, including the compiled version
70
+ plugin, release deployment guide and corrected game starter. Its metadata
71
+ declares parse5 ^7.3.0 and the unchanged ui-document ^0.13.0 requirement.
72
+ - MilfMaster's same-browser-cache fixture keeps its old immutable response
73
+ cached while the next deployment loads the changed resource, atlas page and
74
+ font through a new version directory; uncached old-version lazy loads remain
75
+ available. Actual minified game startup passes on WebGL and Canvas.
76
+
77
+ ## 3.6.1 — 2026-10-18
78
+
79
+ Published; verified on npm on 2026-10-18, including latest, downloaded tarball
80
+ SHA-512 integrity and all 234 files matching prepared commit 46459e97.
81
+
82
+ ### Fixed
83
+
84
+ - Emit getter signatures when narrowing host skinParts in generated module
85
+ augmentations, preserving Component's accessor contract. This fixes TS2610
86
+ with skipLibCheck=false without changing runtime Skin output or Core/UI.
87
+ - Add compiler regression coverage for generic, explicitly named, conventionally
88
+ named and configured reusable hosts. Preserve exact part types and read-only
89
+ access; reject wrong values, unknown parts and attempted replacement.
90
+
91
+ ### Documentation
92
+
93
+ - Add project README/AGENTS navigation to both templates, using installed SDK
94
+ guides/types and explicit build/browser verification boundaries.
95
+ - Route gameplay tasks to Core's quick guide (published in 2.5.5) and repository Star
96
+ Catcher reference when available, with installed README/types as the fallback.
97
+ - Link installed UI 3.6.2's standard UI workflow and complete ScoreHUD example
98
+ for directory/TS–Skin conventions, with fallbacks for older installations.
99
+ - Correct gallery instructions for its installed Core 2.5.4 and older CLI lock;
100
+ source-engine trials remain optional maintenance tooling.
101
+
102
+ ### Compatibility and adoption
103
+
104
+ - Command/configuration APIs, KUI format and runtime Skin output are unchanged.
105
+ ui-document remains ^0.13.0, locked to registry 0.13.0; no Core/UI dependency
106
+ or other dependency/lock update is added.
107
+ - To receive the declaration correction, update the project's
108
+ CLI installation/lock and rebuild to regenerate .kurot/skin-parts.d.ts.
109
+ Published 3.6.0 keeps the old property form. Core/UI runtime upgrades are not
110
+ required for this fix; existing compatible application ranges remain valid.
111
+ - New scaffolds receive README/AGENTS entries. Existing games retain their own
112
+ instructions, resources and directories. Template latest placeholders remain
113
+ unchanged; UI 3.6.2 is needed only to read the new bundled UI guides.
114
+ - Kurot-Studio adopts exact registry CLI 3.6.1 with a matching lock in commit
115
+ 048e5c1. Its application build and complete check (175 files / 1,451 tests)
116
+ pass; other direct/transitive dependencies and game installations are unchanged.
117
+ The application has not been published.
118
+
119
+ ### Verification
120
+
121
+ - Build and all 23 test files / 114 tests pass with maxWorkers=1, including
122
+ compiler checks for four host discovery paths and rejected invalid part access.
123
+ Serial execution avoids existing parallel watcher timing failures.
124
+ - Packed CLI 3.6.1 contains both templates' README/AGENTS entries and the fixed
125
+ generator. Its game template and the packed UI 3.6.2 ScoreHUD example pass
126
+ development/release builds and strict tsc --noEmit --skipLibCheck false against
127
+ published Core 2.5.5 without engine source. Runtime browser behavior is not
128
+ revalidated for this declaration/documentation patch.
129
+
10
130
  ## 3.6.0 — 2026-10-10
11
131
 
12
- Prepared for publication; not yet published. Latest verified npm release is
13
- 3.5.0. Core 2.5.0 publication and npm package download are verified; new game
14
- scaffolds resolve Core ^2.5.0, satisfying this release's prerequisite.
132
+ Published; verified on npm on 2026-10-10, including latest, package download
133
+ and registry integrity. Core 2.5.0 is also published; actual registry CLI
134
+ scaffolding resolves Core ^2.5.0.
15
135
 
16
136
  ### Changed
17
137
 
@@ -29,7 +149,7 @@ scaffolds resolve Core ^2.5.0, satisfying this release's prerequisite.
29
149
  examples/game and reproducible private SVG-to-atlas tooling.
30
150
  - Generate the KUI atlas at 2× (512×512, sheet `resolution: 2`) while preserving
31
151
  XML sizes and logical nine-slice grids. This template needs Core ^2.5.0;
32
- publish Core 2.5.0 before this CLI refresh.
152
+ Core 2.5.0 was published before this CLI refresh.
33
153
  Provide an isolated source preview without modifying application registry locks.
34
154
  - Refresh the game template's mascot logo and introduce a "Made with Kurot"
35
155
  brand splash with a playful entrance, looping hops and sways, repeating sparkles
@@ -55,8 +175,8 @@ scaffolds resolve Core ^2.5.0, satisfying this release's prerequisite.
55
175
  dependency remains published ui-document ^0.13.0; CLI gains no Core/UI/Atlas
56
176
  dependency. Existing projects keep their own skins, resource keys and HTML.
57
177
  - New game scaffolds require Core ^2.5.0 for the 2× skin kit. `create` resolves
58
- registry SDK versions; the template placeholders stay `latest`. Publish Core
59
- before CLI, then install/rebuild projects that explicitly adopt the new skins.
178
+ registry SDK versions; the template placeholders stay `latest`. Core was published
179
+ before CLI. Install/rebuild projects that explicitly adopt the new skins.
60
180
  - UI/Game/document/runtime/Atlas need no release. Adopting only the CLI build
61
181
  fixes requires updating the project's CLI installation/lock and rebuilding.
62
182
 
@@ -68,8 +188,10 @@ scaffolds resolve Core ^2.5.0, satisfying this release's prerequisite.
68
188
  mascot logo, public documentation and release notes; the old EUI atlas is absent.
69
189
  - The native isolated preview passed strict development/release builds with
70
190
  checkout Core and registry UI/Game/document. Original app locks remain unchanged.
71
- - Registry scaffolding generates Core ^2.5.0, UI ^3.4.0, CLI ^3.6.0 and the 2×
72
- atlas. Published Core 2.5.0 downloads through npm pack with matching integrity.
191
+ - Published CLI 3.6.0 downloads through npm pack with matching registry integrity.
192
+ Its archive contains all 16 XML skins, the 2× atlas, mascot logo and build fixes.
193
+ Scaffolding with the published CLI generates Core ^2.5.0, UI ^3.4.0 and
194
+ CLI ^3.6.0. Published Core 2.5.0 also downloads with matching integrity.
73
195
 
74
196
  ## 3.5.0 — 2026-10-09
75
197
 
package/README.md CHANGED
@@ -1,89 +1,21 @@
1
1
  # @kurot/cli
2
2
 
3
- **3.6.0 is prepared for publication, not yet published.** Latest verified npm
4
- release: 3.5.0. It adds the rounded 2× KUI game skin kit and mascot brand splash,
5
- and fixes development Theme lookup and empty runtime asset directories.
6
- Core 2.5.0 publication and package download are verified; CLI's release
7
- prerequisite is satisfied. The dependency/lock remains published ui-document 0.13.0.
3
+ Build-time KUI XML → ESM Skin compilation, game scaffolding and development
4
+ resource watching. Package version: **3.7.0** (prepared for publication).
5
+ Requires Node.js >= 20 and
6
+ ui-document **^0.13.0**; games supply their own Core/UI runtime packages.
8
7
 
9
- Build tooling for the Kurot UI Editor workflow. It uses esbuild, emits ES2022
10
- ESM, and compiles canonical KUI XML skins into runtime theme modules.
11
-
12
- > **Current version: 3.6.0 (pending publication).** Requires `@kurot/ui-document@^0.13.0`
13
- > and Node.js 20 or later. The CLI runs only at build time.
14
-
15
- > **Release scope:** The 3.x line is dedicated to Kurot Editor integration.
16
- > Existing game projects that use EXML should remain on
17
- > `@kurot/cli@1.3.x`. The KUI toolchain is not an in-place project upgrade and does
18
- > not require those projects to change their configuration or UI assets.
19
-
20
- See [CHANGELOG.md](CHANGELOG.md) for release history.
21
-
22
- Version 3.3.1 fixes development synchronization for all runtime resources,
23
- including locale JSON, atlas PNG/JSON, fonts and translations. No project
24
- configuration changes are required; refresh the preview after synchronization.
25
- See [development resource watching](docs/dev-resource-watching.md).
26
-
27
- Version 3.2.1 adds project styles, bundled fonts and English translations to the
28
- game template. Existing projects are not rewritten. See [game template setup](docs/game-template.md).
29
-
30
- Version 3.3.0 compiles shared Label presets from `style.json.labels` into native
31
- properties, with local and Skin state fields taking priority. See [Label presets](#label-presets-in-330).
32
-
33
- ## Centered flips in 3.5.0
34
-
35
- Compile independent `flipX`/`flipY` booleans on display nodes and named Skin
36
- states, for example `flipY="true" flipY.down="false"`. The compiler rejects
37
- malformed booleans and flags on the nonvisual Skin root. Percent dimensions and
38
- negative scale retain their existing contracts; no authored XML is converted.
39
-
40
- The dependency/lock uses published ui-document 0.13.0. Apps rendering these
41
- flags need published Core 2.4.0/UI 3.4.0; CLI-built skins run directly through
42
- UI. CLI 3.5.0 is published.
43
-
44
- ## BitmapLabel and RichLabel in 3.4.0
45
-
46
- Compile BitmapLabel with a configured `font` resource, and RichLabel with
47
- literal `textFlow` / `Span` elements. Named Skin states replace complete run
48
- arrays; an empty flow clears content. Span elements never become display
49
- children or Skin parts. New native text fields are validated before output,
50
- and percentage-looking text such as `100%` remains literal.
51
-
52
- Rendering these new tags requires UI `^3.3.0` and Core `^2.3.0` in the app;
53
- these are the original native API minimums. Current UI 3.4.0 requires Core
54
- `^2.4.0`, which includes the Core 2.3.1 blank rich-text line correction. Existing controls
55
- and templates do not require automatic upgrades or migrations. See
56
- [text component compilation](docs/text-components.md).
57
-
58
- ## Label text fitting in 3.1.0
59
-
60
- The shared ui-document catalog supports Label `textFit` and `minFontSize`
61
- in KUI XML:
62
-
63
- ```xml
64
- <Skin xmlns="https://kurot.dev/ui/1" class="skins.AmountSkin" states="down">
65
- <Label id="labelDisplay" text="KZT 10 000,00" width="140" size="24"
66
- multiline="false" textFit="shrink" minFontSize="16" size.down="20" />
67
- </Skin>
68
- ```
69
-
70
- The compiler emits the policy, base size and state overrides unchanged. UI
71
- derives the drawing size after layout validation. Rendering this capability
72
- requires `@kurot/ui@^3.1.0` and `@kurot/core@^2.1.0` in the application.
73
- These are the original fitting API minimums; current UI 3.4.0 requires Core ^2.4.0.
74
- Explicit `multiline="false"` means one unwrapped first line; remove it or set
75
- it to true for text intended to wrap. Files are not migrated automatically.
76
- See the [compilation contract](docs/label-text-layout.md) and
77
- [native Label contract](../ui/docs/label-text-layout.md).
8
+ For UI production use the installed UI [authoring guide](../ui/docs/ui-authoring.md)
9
+ and [ScoreHUD recipe](../ui/docs/recipes/score-hud.md). Legacy EXML projects use
10
+ the separate CLI 1.3.x line. KUI configuration and resource files are project-owned.
78
11
 
79
12
  ## Usage
80
13
 
81
- The CLI does not require a global install. After CLI 3.6.0 is
82
- published, use the versions below. New game scaffolds need Core ^2.5.0 for the
14
+ The CLI does not require a global install. Install the CLI as a project development dependency. New game scaffolds need Core ^2.5.0 for the
83
15
  2× skin kit; existing projects keep their own installed SDKs and resources.
84
16
 
85
17
  ```bash
86
- npx @kurot/cli@3.6.0 create my-game
18
+ npx @kurot/cli@3.7.0 create my-game
87
19
  cd my-game
88
20
  pnpm install
89
21
  pnpm dev
@@ -91,7 +23,7 @@ pnpm dev
91
23
 
92
24
  Scaffolded projects expose `build`, `dev`, and `clean` scripts. For an
93
25
  Editor-managed KUI XML project, install the package with
94
- `pnpm add -D @kurot/cli@^3.6.0` after publication. Existing EXML projects should keep their current
26
+ `pnpm add -D @kurot/cli@^3.7.0`. Existing EXML projects should keep their current
95
27
  1.3.x dependency.
96
28
 
97
29
  ## Commands
@@ -108,18 +40,12 @@ resource loading, and an editable HTML template. Fonts load before creating UI;
108
40
  translations register after preload. The `empty` template contains a minimal
109
41
  `Sprite` application without UI/style/language dependencies.
110
42
 
111
- CLI 3.6.0 supplies rounded Kurot-owned textures,
112
- native `.kui.xml` component states and resource-default nine-slice grids under
113
- `resource/assets/ui/kui`. See [default KUI skins](docs/default-ui-skins.md).
114
- Registry CLI 3.5.0 still contains the previous atlas.
115
- The default Button uses symmetric padding and Panel titles use middle alignment.
116
- The source preview also uses Core 2.5.0's multilingual ink centering;
117
- inputs and multiline text retain stable baselines.
118
- The new 2× atlas requires Core ^2.5.0; publish Core 2.5.0 before CLI 3.6.0.
119
-
120
- The CLI 3.6.0 game-template refresh introduces a "Made with Kurot" brand splash
121
- with a playful mascot entrance, looping hops and sparkles. It supports reduced
122
- motion and applies to newly created projects; see [HTML brand splash](docs/game-template.md#html-brand-splash).
43
+ Both templates include README/AGENTS entries for commands, authored/generated
44
+ files and installed SDK guides. The game template supplies rounded 2× KUI skins,
45
+ project fonts/colors/translations and a mascot splash with reduced-motion support.
46
+ The 2× skin kit needs Core >= 2.5.0 within 2.x. Existing project files remain
47
+ project-owned. See [template startup](docs/game-template.md) and
48
+ [default UI skins](docs/default-ui-skins.md).
123
49
 
124
50
  ### `kurot build`
125
51
 
@@ -133,8 +59,14 @@ Development output is written to `bin-debug/`. Release output is written to
133
59
  project namespace, theme, and application code are separate ESM chunks joined
134
60
  by the generated HTML import map.
135
61
 
136
- The CLI 3.6.0 asset-copy correction omits empty runtime directory trees;
137
- registry CLI 3.5.0 does not include it. With KUI enabled, authored
62
+ Set `output: { dir: 'bin-debug', versionedAssets: true }` to place release
63
+ resources and scripts in `assets/<content-hash>/`. A generated HTML base URL
64
+ versions relative requests, including atlas pages, fonts and startup images.
65
+ Identical builds reuse the same path; development output is unchanged.
66
+ See [release assets and deployment](docs/release-assets.md) for theme loading,
67
+ cache headers and upload order. This option requires CLI >= 3.7.0 within 3.x.
68
+
69
+ Asset copying omits empty runtime directory trees. With KUI enabled, authored
138
70
  `.kui.xml` files are compiled into the theme chunk and excluded from `resource/`;
139
71
  skin-only directories such as `resource/ui` therefore do not appear in output.
140
72
  Images, JSON and other runtime files inside those directories are still copied.
@@ -154,7 +86,7 @@ The development server rebuilds TypeScript, KUI XML, custom namespaces, and
154
86
  the component catalog as their sources change. Browser refresh is currently
155
87
  manual. JSONL mode reserves stdout for incremental build and server events.
156
88
 
157
- Since 3.3.1, dev also synchronizes the complete `resource/` tree,
89
+ Dev also synchronizes the complete `resource/` tree,
158
90
  including locale JSON, atlas PNG/JSON, fonts and translation files, with deletion
159
91
  and rename handling. Runtime-only edits do not recompile skins; style and resource
160
92
  default changes still do. Refresh after synchronization succeeds. No atlas
@@ -228,7 +160,7 @@ use `property.state` on the affected node, so internal graphics remain unnamed.
228
160
  Image sources use their resource key directly, for example
229
161
  `source="button_up_png"`.
230
162
 
231
- Current CLI 3.6.0 uses published `@kurot/ui-document@^0.13.0` and retains its literal-string XML rules.
163
+ The CLI uses `@kurot/ui-document@^0.13.0` and its literal-string XML rules.
232
164
  For example, `<Label text="100.80" text.down="false" size="48" />` compiles
233
165
  the exact strings `100.80` and `false`, while the font size stays numeric.
234
166
  String properties no longer add or remove backslash type escapes. Remove old
@@ -254,6 +186,11 @@ node inside the Skin is inferred as a skin part; its `id` is the part
254
186
  name. The declaration augments the UI runtime with those exact names and types.
255
187
  This file is editor-only, ignored by git, and never enters browser bundles.
256
188
 
189
+ Generated host skinParts use getter signatures matching Component's accessor.
190
+ After changing authored Skin inputs, rebuild the declarations and run
191
+ `tsc --noEmit --skipLibCheck false`. Edit authored inputs rather than generated
192
+ `.kurot/` files. Runtime Skin factories are separate from editor declarations.
193
+
257
194
  ## Reusable components
258
195
 
259
196
  Convention-based reusable components pair:
@@ -308,7 +245,7 @@ enabled properties files are registered in `preload`. Replace fonts by changing
308
245
  the resource-relative files/paths, and add languages through the Editor.
309
246
  See [game template setup](docs/game-template.md) for lifecycle and fallback rules.
310
247
 
311
- ## Resource defaults in 3.0.0
248
+ ## Resource defaults
312
249
 
313
250
  KUI builds validate `resource/default.res.json` and inherit image or sheet-frame
314
251
  `scale9grid` values into compiled `Image.scale9Grid` when XML does not set one.
@@ -320,7 +257,7 @@ Sheet `subkeys` must be an object-valued frame map. Refresh old sheets in the
320
257
  Editor before upgrading a KUI project; string-valued subkeys now fail the build.
321
258
  See the [resource nine-slice contract](../ui-document/docs/resource-nine-slice.md).
322
259
 
323
- ## Project style colors in 3.2.0
260
+ ## Project style colors
324
261
 
325
262
  The optional fixed `resource/config/style.json` is independent of
326
263
  `default.res.json`. Each KUI build reads it through the shared document kernel, validates
@@ -348,14 +285,12 @@ switching. CLI-built skins run directly through `@kurot/ui`; `@kurot/ui-runtime`
348
285
  is not required for this compilation path. Node.js >= 20 and semantic format
349
286
  version 2 remain unchanged.
350
287
 
351
- The previous `@token:color:<key>` XML prefix is rejected by ui-document 0.10.
352
- Update those references explicitly before adopting CLI 3.2; ordinary text stays
353
- literal. Existing EXML projects remain on CLI 1.3.x. No Core/UI rendering change
354
- is required for color expansion.
288
+ Only `@style:colors:<key>` is accepted for authored palette references.
289
+ Ordinary text remains literal; color expansion changes compiled copies only.
355
290
 
356
- ## Label presets in 3.3.0
291
+ ## Label presets
357
292
 
358
- CLI 3.3.0 expands `textStyle="@style:labels:<key>"` through the shared
293
+ The compiler expands `textStyle="@style:labels:<key>"` through the shared
359
294
  `style.json.labels` contract before generating native Label properties. Local and
360
295
  state fields win; authoring references remain in XML. Development watches the
361
296
  stylesheet and retains the last good bundle on errors. Programmatic `compileKUI`
@@ -366,6 +301,4 @@ than selecting a different preset. Missing presets, unsupported selection or
366
301
  invalid configuration fail explicitly. Expansion runs after resource defaults
367
302
  and before color resolution. It does not load fonts or measure text.
368
303
 
369
- Current CLI 3.6.0 uses published ui-document 0.13.0 without local overrides. CLI
370
- 3.2.1 does not include this feature. Existing projects are not migrated.
371
304
  See [the shared contract](../ui-document/docs/project-styles.md).
@@ -67,6 +67,11 @@ export interface OutputConfig {
67
67
  * `bin-release/web/<timestamp>` regardless of this setting.
68
68
  */
69
69
  readonly dir: string;
70
+ /**
71
+ * Place release assets in `assets/<content-hash>/` and set the entry page's
72
+ * base URL to that directory. Defaults to false; ignored in development.
73
+ */
74
+ readonly versionedAssets?: boolean;
70
75
  }
71
76
  export interface HtmlConfig {
72
77
  /**
@@ -86,7 +91,7 @@ export interface ProjectConfig {
86
91
  */
87
92
  readonly entry: string;
88
93
  /**
89
- * Development build output settings.
94
+ * Build output settings.
90
95
  */
91
96
  readonly output: OutputConfig;
92
97
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mapp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rB;;;OAGG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,MAAM,WAAW,UAAU;IAC1B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,aAAa;IAC7B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,SAAS,CAAC;CACxB;AA0BD;;;;;;;GAOG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC,CAgDzD"}
@@ -45,6 +45,9 @@ export async function loadConfig() {
45
45
  else {
46
46
  config = DEFAULTS;
47
47
  }
48
+ if (config.output.versionedAssets !== undefined && typeof config.output.versionedAssets !== 'boolean') {
49
+ throw new ConfigError('Invalid config: output.versionedAssets must be a boolean');
50
+ }
48
51
  if (!Number.isInteger(config.stage.frameRate) || config.stage.frameRate <= 0) {
49
52
  throw new ConfigError(`Invalid config: stage.frameRate must be a positive integer, got ${config.stage.frameRate}`);
50
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiH1C,MAAM,QAAQ,GAAkB;IAC/B,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,aAAa;IACpB,MAAM,EAAE,EAAE,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UAAU;QAAE,OAAO;IACxB,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9D,MAAM,IAAI,WAAW,CACpB,sFAAsF,UAAU,CAAC,SAAS,GAAG,CAC7G,CAAC;IACH,CAAC;IACD,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,CAAC;QAClC,MAAM,IAAI,WAAW,CAAC,2DAA2D,CAAC,CAAC;IACpF,CAAC;IACD,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;QAChC,MAAM,IAAI,WAAW,CAAC,yDAAyD,CAAC,CAAC;IAClF,CAAC;AACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"skin-parts-declaration.d.ts","sourceRoot":"","sources":["../../../src/core/kui/skin-parts-declaration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAY,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AAcpE;;;GAGG;AACH,wBAAsB,4BAA4B,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA+C9G"}
1
+ {"version":3,"file":"skin-parts-declaration.d.ts","sourceRoot":"","sources":["../../../src/core/kui/skin-parts-declaration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAY,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AAcpE;;;GAGG;AACH,wBAAsB,4BAA4B,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAgD9G"}
@@ -36,7 +36,8 @@ export async function generateSkinPartsDeclaration(project, skins) {
36
36
  }
37
37
  lines.push('\t}', '}', '');
38
38
  for (const host of hosts) {
39
- lines.push(`declare module ${JSON.stringify(host.module)} {`, `\tinterface ${host.className} {`, `\t\treadonly skinParts: import("@kurot/ui").SkinPartsOf<${JSON.stringify(host.skinName)}>;`, '\t}', '}', '');
39
+ // Preserve Component's accessor kind when narrowing the inherited member.
40
+ lines.push(`declare module ${JSON.stringify(host.module)} {`, `\tinterface ${host.className} {`, `\t\tget skinParts(): import("@kurot/ui").SkinPartsOf<${JSON.stringify(host.skinName)}>;`, '\t}', '}', '');
40
41
  }
41
42
  lines.push('export {};', '');
42
43
  return lines.join('\n');
@@ -1 +1 @@
1
- {"version":3,"file":"skin-parts-declaration.js","sourceRoot":"","sources":["../../../src/core/kui/skin-parts-declaration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAKlC;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,wBAAwB,CAAC;AAcpE;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAAC,OAAgB,EAAE,KAAwB;IAC5F,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,2BAA2B,CAAC,CAAC;IAC7E,MAAM,OAAO,GAAG,KAAK;SACnB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACb,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,CAAC;KACvD,CAAC,CAAC;SACF,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IACzD,M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AAC;IAErD,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;AACjE,CAAC"}
@@ -8,6 +8,7 @@ export { compileSource } from './compile-source.js';
8
8
  export { generateHtml } from './generate-html.js';
9
9
  export { writeManifest } from './manifest.js';
10
10
  export { copyAssets } from './copy-assets.js';
11
+ export { versionAssets } from './version-assets.js';
11
12
  /**
12
13
  * The standard build sequence.
13
14
  *
@@ -16,7 +17,7 @@ export { copyAssets } from './copy-assets.js';
16
17
  * files external and exclude them from per-file dev output (see
17
18
  * `compile-source.ts`). Engine and source compilation report their output
18
19
  * paths, then the HTML and manifest referencing them are written, and
19
- * finally static assets are copied.
20
+ * finally static assets are copied and optionally versioned for release.
20
21
  */
21
22
  export declare function defaultPlugins(): BuildPlugin[];
22
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAWlD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;;;;GASG;AACH,wBAAgB,cAAc,IAAI,WAAW,EAAE,CAY9C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAYlD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,IAAI,WAAW,EAAE,CAa9C"}
@@ -7,6 +7,7 @@ import { compileSource } from './compile-source.js';
7
7
  import { generateHtml } from './generate-html.js';
8
8
  import { writeManifest } from './manifest.js';
9
9
  import { copyAssets } from './copy-assets.js';
10
+ import { versionAssets } from './version-assets.js';
10
11
  export { cleanOutput } from './clean-output.js';
11
12
  export { compileKUI } from './compile-kui.js';
12
13
  export { compileEngine } from './compile-engine.js';
@@ -16,6 +17,7 @@ export { compileSource } from './compile-source.js';
16
17
  export { generateHtml } from './generate-html.js';
17
18
  export { writeManifest } from './manifest.js';
18
19
  export { copyAssets } from './copy-assets.js';
20
+ export { versionAssets } from './version-assets.js';
19
21
  /**
20
22
  * The standard build sequence.
21
23
  *
@@ -24,7 +26,7 @@ export { copyAssets } from './copy-assets.js';
24
26
  * files external and exclude them from per-file dev output (see
25
27
  * `compile-source.ts`). Engine and source compilation report their output
26
28
  * paths, then the HTML and manifest referencing them are written, and
27
- * finally static assets are copied.
29
+ * finally static assets are copied and optionally versioned for release.
28
30
  */
29
31
  export function defaultPlugins() {
30
32
  return [
@@ -37,6 +39,7 @@ export function defaultPlugins() {
37
39
  generateHtml(),
38
40
  writeManifest(),
39
41
  copyAssets(),
42
+ versionAssets(),
40
43
  ];
41
44
  }
42
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/plugins/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;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,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc;IAC7B,OAAO;QACN,WAAW,EAAE;QACb,UAAU,EAAE;QACZ,aAAa,EAAE;QACf,uBAAuB,EAAE;QACzB,qBAAqB,EAAE;QACvB,aAAa,EAAE;QACf,YAAY,EAAE;QACd,aAAa,EAAE;QACf,UAAU,EAAE;QACZ,aAAa,EAAE;KACf,CAAC;AACH,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { BuildPlugin } from '../pipeline.js';
2
+ /**
3
+ * Gives every relative release URL one content-addressed base, including
4
+ * secondary analyzer requests, fonts and assets owned by the HTML template.
5
+ */
6
+ export declare function versionAssets(): BuildPlugin;
7
+ //# sourceMappingURL=version-assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version-assets.d.ts","sourceRoot":"","sources":["../../../src/core/plugins/version-assets.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhE;;;GAGG;AACH,wBAAgB,aAAa,IAAI,WAAW,CAyC3C"}