@kurot/cli 3.5.0 → 3.6.1
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 +116 -2
- package/README.md +54 -13
- package/dist/core/kui/skin-parts-declaration.d.ts.map +1 -1
- package/dist/core/kui/skin-parts-declaration.js +2 -1
- package/dist/core/kui/skin-parts-declaration.js.map +1 -1
- package/dist/core/plugins/compile-custom-namespaces.js +1 -1
- package/dist/core/plugins/compile-custom-namespaces.js.map +1 -1
- package/dist/core/plugins/compile-engine.js +3 -3
- package/dist/core/plugins/compile-engine.js.map +1 -1
- package/dist/core/plugins/copy-assets.d.ts +2 -0
- package/dist/core/plugins/copy-assets.d.ts.map +1 -1
- package/dist/core/plugins/copy-assets.js +3 -1
- package/dist/core/plugins/copy-assets.js.map +1 -1
- package/dist/utils/fs.d.ts +7 -1
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +10 -3
- package/dist/utils/fs.js.map +1 -1
- package/docs/ai-context.md +40 -9
- package/docs/architecture.md +7 -1
- package/docs/default-ui-skins.md +122 -0
- package/docs/game-template.md +47 -4
- package/docs/label-text-layout.md +3 -1
- package/docs/text-components.md +4 -1
- package/package.json +1 -1
- package/templates/empty/AGENTS.md +25 -0
- package/templates/empty/README.md +60 -0
- package/templates/game/AGENTS.md +30 -0
- package/templates/game/README.md +90 -0
- package/templates/game/resource/assets/ui/kui/kui.json +240 -0
- package/templates/game/resource/assets/ui/kui/kui.png +0 -0
- package/templates/game/resource/config/style.json +26 -4
- package/templates/game/resource/default.res.json +70 -3
- package/templates/game/resource/ui/skins/ButtonSkin.kui.xml +4 -4
- package/templates/game/resource/ui/skins/CheckBoxSkin.kui.xml +4 -4
- package/templates/game/resource/ui/skins/CloseButtonSkin.kui.xml +4 -0
- package/templates/game/resource/ui/skins/ComboBoxSkin.kui.xml +5 -5
- package/templates/game/resource/ui/skins/HScrollBarSkin.kui.xml +1 -1
- package/templates/game/resource/ui/skins/HSliderSkin.kui.xml +3 -3
- package/templates/game/resource/ui/skins/ItemRendererSkin.kui.xml +3 -3
- package/templates/game/resource/ui/skins/PanelSkin.kui.xml +5 -6
- package/templates/game/resource/ui/skins/ProgressBarSkin.kui.xml +4 -4
- package/templates/game/resource/ui/skins/RadioButtonSkin.kui.xml +4 -4
- package/templates/game/resource/ui/skins/TextInputSkin.kui.xml +4 -4
- package/templates/game/resource/ui/skins/ToggleButtonSkin.kui.xml +3 -3
- package/templates/game/resource/ui/skins/ToggleSwitchSkin.kui.xml +3 -3
- package/templates/game/resource/ui/skins/VScrollBarSkin.kui.xml +1 -1
- package/templates/game/resource/ui/skins/VSliderSkin.kui.xml +3 -3
- package/templates/game/src/Main.ts +1 -1
- package/templates/game/template/web/index.html +117 -34
- package/templates/game/template/web/logo.png +0 -0
- package/templates/game/resource/assets/ui/eui/eui.json +0 -24
- package/templates/game/resource/assets/ui/eui/eui.png +0 -0
- package/templates/game/resource/ui/skins/GroupSkin.kui.xml +0 -4
- package/templates/game/resource/ui/skins/ImageSkin.kui.xml +0 -4
- package/templates/game/resource/ui/skins/LabelSkin.kui.xml +0 -4
- package/templates/game/resource/ui/skins/ListSkin.kui.xml +0 -7
- package/templates/game/resource/ui/skins/TabBarSkin.kui.xml +0 -5
- package/templates/game/resource/ui/skins/ViewStackSkin.kui.xml +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,9 +7,123 @@ 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.6.1 — 2026-10-18
|
|
11
|
+
|
|
12
|
+
Prepared locally; not published.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Emit getter signatures when narrowing host skinParts in generated module
|
|
17
|
+
augmentations, preserving Component's accessor contract. This fixes TS2610
|
|
18
|
+
with skipLibCheck=false without changing runtime Skin output or Core/UI.
|
|
19
|
+
- Add compiler regression coverage for generic, explicitly named, conventionally
|
|
20
|
+
named and configured reusable hosts. Preserve exact part types and read-only
|
|
21
|
+
access; reject wrong values, unknown parts and attempted replacement.
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
- Add project README/AGENTS navigation to both templates, using installed SDK
|
|
26
|
+
guides/types and explicit build/browser verification boundaries.
|
|
27
|
+
- Route gameplay tasks to Core's quick guide (published in 2.5.5) and repository Star
|
|
28
|
+
Catcher reference when available, with installed README/types as the fallback.
|
|
29
|
+
- Link installed UI 3.6.2's standard UI workflow and complete ScoreHUD example
|
|
30
|
+
for directory/TS–Skin conventions, with fallbacks for older installations.
|
|
31
|
+
- Correct gallery instructions for its installed Core 2.5.4 and older CLI lock;
|
|
32
|
+
source-engine trials remain optional maintenance tooling.
|
|
33
|
+
|
|
34
|
+
### Compatibility and adoption
|
|
35
|
+
|
|
36
|
+
- Command/configuration APIs, KUI format and runtime Skin output are unchanged.
|
|
37
|
+
ui-document remains ^0.13.0, locked to registry 0.13.0; no Core/UI dependency
|
|
38
|
+
or other dependency/lock update is added.
|
|
39
|
+
- To receive the declaration correction after publication, update the project's
|
|
40
|
+
CLI installation/lock and rebuild to regenerate .kurot/skin-parts.d.ts.
|
|
41
|
+
Published 3.6.0 keeps the old property form. Core/UI runtime upgrades are not
|
|
42
|
+
required for this fix; existing compatible application ranges remain valid.
|
|
43
|
+
- New scaffolds receive README/AGENTS entries. Existing games retain their own
|
|
44
|
+
instructions, resources and directories. Template latest placeholders remain
|
|
45
|
+
unchanged; UI 3.6.2 is needed only to read the new bundled UI guides.
|
|
46
|
+
|
|
47
|
+
### Verification
|
|
48
|
+
|
|
49
|
+
- Build and all 23 test files / 114 tests pass with maxWorkers=1, including
|
|
50
|
+
compiler checks for four host discovery paths and rejected invalid part access.
|
|
51
|
+
Serial execution avoids existing parallel watcher timing failures.
|
|
52
|
+
- Packed CLI 3.6.1 contains both templates' README/AGENTS entries and the fixed
|
|
53
|
+
generator. Its game template and the packed UI 3.6.2 ScoreHUD example pass
|
|
54
|
+
development/release builds and strict tsc --noEmit --skipLibCheck false against
|
|
55
|
+
published Core 2.5.5 without engine source. Runtime browser behavior is not
|
|
56
|
+
revalidated for this declaration/documentation patch.
|
|
57
|
+
|
|
58
|
+
## 3.6.0 — 2026-10-10
|
|
59
|
+
|
|
60
|
+
Published; verified on npm on 2026-10-10, including latest, package download
|
|
61
|
+
and registry integrity. Core 2.5.0 is also published; actual registry CLI
|
|
62
|
+
scaffolding resolves Core ^2.5.0.
|
|
63
|
+
|
|
64
|
+
### Changed
|
|
65
|
+
|
|
66
|
+
- Use symmetric neutral padding for default Button captions/icons and enable
|
|
67
|
+
Panel title middle alignment. Keep the 2-pixel pressed offset. The supporting
|
|
68
|
+
Core 2.5.0 centers single-line visible ink and retains stable input and
|
|
69
|
+
multiline baselines; the source preview includes both changes.
|
|
70
|
+
|
|
71
|
+
- Replace the game template's EUI atlas with Kurot-owned rounded, blue KUI
|
|
72
|
+
textures and XML skins, including selected/pressed/disabled states, shared
|
|
73
|
+
text colors, resource-default nine-slice grids and a dedicated panel close
|
|
74
|
+
button. Keep scroll bars hidden while retaining scrolling. Remove six unused
|
|
75
|
+
container/text/image Skin placeholders; compose those nodes directly in XML.
|
|
76
|
+
Existing projects retain their own resources. Add a native XML gallery to
|
|
77
|
+
examples/game and reproducible private SVG-to-atlas tooling.
|
|
78
|
+
- Generate the KUI atlas at 2× (512×512, sheet `resolution: 2`) while preserving
|
|
79
|
+
XML sizes and logical nine-slice grids. This template needs Core ^2.5.0;
|
|
80
|
+
Core 2.5.0 was published before this CLI refresh.
|
|
81
|
+
Provide an isolated source preview without modifying application registry locks.
|
|
82
|
+
- Refresh the game template's mascot logo and introduce a "Made with Kurot"
|
|
83
|
+
brand splash with a playful entrance, looping hops and sways, repeating sparkles
|
|
84
|
+
and a soft blue glow.
|
|
85
|
+
Resource progress belongs to the game's Preloader; the HTML splash has no
|
|
86
|
+
loading text or progress indicator and adds no minimum wait. Fit portrait and
|
|
87
|
+
landscape viewports and stop animations under reduced motion. Existing project
|
|
88
|
+
HTML is unchanged.
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
|
|
92
|
+
- Preserve engine and reusable component constructor names in development
|
|
93
|
+
bundles as well as release bundles. Self-referencing classes such as Scroller
|
|
94
|
+
otherwise become `_Scroller`, preventing conventional default Theme lookup.
|
|
95
|
+
- Omit empty runtime asset directory trees after filtering compiled KUI sources,
|
|
96
|
+
rather than emitting an empty `resource/ui` hierarchy. Runtime files inside UI
|
|
97
|
+
directories, generated theme JSON and template scaffold directories are preserved.
|
|
98
|
+
No engine API, configuration, dependency or authored project migration is required.
|
|
99
|
+
|
|
100
|
+
### Compatibility
|
|
101
|
+
|
|
102
|
+
- CLI command/configuration APIs and KUI format remain unchanged. The ordinary
|
|
103
|
+
dependency remains published ui-document ^0.13.0; CLI gains no Core/UI/Atlas
|
|
104
|
+
dependency. Existing projects keep their own skins, resource keys and HTML.
|
|
105
|
+
- New game scaffolds require Core ^2.5.0 for the 2× skin kit. `create` resolves
|
|
106
|
+
registry SDK versions; the template placeholders stay `latest`. Core was published
|
|
107
|
+
before CLI. Install/rebuild projects that explicitly adopt the new skins.
|
|
108
|
+
- UI/Game/document/runtime/Atlas need no release. Adopting only the CLI build
|
|
109
|
+
fixes requires updating the project's CLI installation/lock and rebuilding.
|
|
110
|
+
|
|
111
|
+
### Verification — 2026-10-10
|
|
112
|
+
|
|
113
|
+
- CLI build and all 112 unit tests pass against published document 0.13.0;
|
|
114
|
+
Core 2.5.0 build and all 890 unit tests also pass.
|
|
115
|
+
- Package dry-run verifies the 3.6.0 manifest, default XML skins, 2× atlas,
|
|
116
|
+
mascot logo, public documentation and release notes; the old EUI atlas is absent.
|
|
117
|
+
- The native isolated preview passed strict development/release builds with
|
|
118
|
+
checkout Core and registry UI/Game/document. Original app locks remain unchanged.
|
|
119
|
+
- Published CLI 3.6.0 downloads through npm pack with matching registry integrity.
|
|
120
|
+
Its archive contains all 16 XML skins, the 2× atlas, mascot logo and build fixes.
|
|
121
|
+
Scaffolding with the published CLI generates Core ^2.5.0, UI ^3.4.0 and
|
|
122
|
+
CLI ^3.6.0. Published Core 2.5.0 also downloads with matching integrity.
|
|
123
|
+
|
|
10
124
|
## 3.5.0 — 2026-10-09
|
|
11
125
|
|
|
12
|
-
|
|
126
|
+
Published; verified on npm on 2026-10-09.
|
|
13
127
|
|
|
14
128
|
### Added
|
|
15
129
|
|
|
@@ -17,7 +131,7 @@ Center flip attributes and state overrides now compile with strict boolean valid
|
|
|
17
131
|
|
|
18
132
|
See [centered flips](../../docs/centered-flips.md) for semantics and adoption.
|
|
19
133
|
Dependency installation and pnpm lock now resolve published ui-document 0.13.0
|
|
20
|
-
without local overrides; frozen installation
|
|
134
|
+
without local overrides; frozen installation reproduces the published dependency baseline.
|
|
21
135
|
|
|
22
136
|
### Verification
|
|
23
137
|
|
package/README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# @kurot/cli
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
**3.6.0 is published**, verified on npm on 2026-10-10 with matching registry
|
|
4
|
+
integrity and successful package download. 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 is also published and verified; new game scaffolds resolve Core ^2.5.0. The dependency/lock remains published ui-document 0.13.0.
|
|
6
7
|
|
|
7
8
|
Build tooling for the Kurot UI Editor workflow. It uses esbuild, emits ES2022
|
|
8
9
|
ESM, and compiles canonical KUI XML skins into runtime theme modules.
|
|
9
10
|
|
|
10
|
-
> **Current version: 3.
|
|
11
|
+
> **Current version: 3.6.1 (prepared; not published).** Requires `@kurot/ui-document@^0.13.0`
|
|
11
12
|
> and Node.js 20 or later. The CLI runs only at build time.
|
|
12
13
|
|
|
13
14
|
> **Release scope:** The 3.x line is dedicated to Kurot Editor integration.
|
|
@@ -15,6 +16,13 @@ ESM, and compiles canonical KUI XML skins into runtime theme modules.
|
|
|
15
16
|
> `@kurot/cli@1.3.x`. The KUI toolchain is not an in-place project upgrade and does
|
|
16
17
|
> not require those projects to change their configuration or UI assets.
|
|
17
18
|
|
|
19
|
+
Version 3.6.1 fixes generated host skinParts declarations for full TypeScript
|
|
20
|
+
checks with skipLibCheck=false and ships README/AGENTS entries in both templates.
|
|
21
|
+
The game entry links UI 3.6.2's authoring/directory guide and complete ScoreHUD
|
|
22
|
+
recipe. Runtime Skin output, dependency ranges and locks are unchanged. After
|
|
23
|
+
publication, existing projects adopt the fix by updating their CLI installation/
|
|
24
|
+
lock and rebuilding; new template docs do not overwrite existing project files.
|
|
25
|
+
|
|
18
26
|
See [CHANGELOG.md](CHANGELOG.md) for release history.
|
|
19
27
|
|
|
20
28
|
Version 3.3.1 fixes development synchronization for all runtime resources,
|
|
@@ -37,7 +45,7 @@ negative scale retain their existing contracts; no authored XML is converted.
|
|
|
37
45
|
|
|
38
46
|
The dependency/lock uses published ui-document 0.13.0. Apps rendering these
|
|
39
47
|
flags need published Core 2.4.0/UI 3.4.0; CLI-built skins run directly through
|
|
40
|
-
UI. CLI 3.5.0
|
|
48
|
+
UI. CLI 3.5.0 is published.
|
|
41
49
|
|
|
42
50
|
## BitmapLabel and RichLabel in 3.4.0
|
|
43
51
|
|
|
@@ -48,7 +56,8 @@ children or Skin parts. New native text fields are validated before output,
|
|
|
48
56
|
and percentage-looking text such as `100%` remains literal.
|
|
49
57
|
|
|
50
58
|
Rendering these new tags requires UI `^3.3.0` and Core `^2.3.0` in the app;
|
|
51
|
-
|
|
59
|
+
these are the original native API minimums. Current UI 3.4.0 requires Core
|
|
60
|
+
`^2.4.0`, which includes the Core 2.3.1 blank rich-text line correction. Existing controls
|
|
52
61
|
and templates do not require automatic upgrades or migrations. See
|
|
53
62
|
[text component compilation](docs/text-components.md).
|
|
54
63
|
|
|
@@ -67,6 +76,7 @@ in KUI XML:
|
|
|
67
76
|
The compiler emits the policy, base size and state overrides unchanged. UI
|
|
68
77
|
derives the drawing size after layout validation. Rendering this capability
|
|
69
78
|
requires `@kurot/ui@^3.1.0` and `@kurot/core@^2.1.0` in the application.
|
|
79
|
+
These are the original fitting API minimums; current UI 3.4.0 requires Core ^2.4.0.
|
|
70
80
|
Explicit `multiline="false"` means one unwrapped first line; remove it or set
|
|
71
81
|
it to true for text intended to wrap. Files are not migrated automatically.
|
|
72
82
|
See the [compilation contract](docs/label-text-layout.md) and
|
|
@@ -74,12 +84,11 @@ See the [compilation contract](docs/label-text-layout.md) and
|
|
|
74
84
|
|
|
75
85
|
## Usage
|
|
76
86
|
|
|
77
|
-
The CLI does not require a global install.
|
|
78
|
-
|
|
79
|
-
baseline; adopt Core/UI centered-flip versions explicitly when using the flags.
|
|
87
|
+
The CLI does not require a global install. Use published CLI 3.6.0 below. New game scaffolds need Core ^2.5.0 for the
|
|
88
|
+
2× skin kit; existing projects keep their own installed SDKs and resources.
|
|
80
89
|
|
|
81
90
|
```bash
|
|
82
|
-
npx @kurot/cli@3.
|
|
91
|
+
npx @kurot/cli@3.6.0 create my-game
|
|
83
92
|
cd my-game
|
|
84
93
|
pnpm install
|
|
85
94
|
pnpm dev
|
|
@@ -87,7 +96,7 @@ pnpm dev
|
|
|
87
96
|
|
|
88
97
|
Scaffolded projects expose `build`, `dev`, and `clean` scripts. For an
|
|
89
98
|
Editor-managed KUI XML project, install the package with
|
|
90
|
-
`pnpm add -D @kurot/cli@^3.
|
|
99
|
+
`pnpm add -D @kurot/cli@^3.6.0`. Existing EXML projects should keep their current
|
|
91
100
|
1.3.x dependency.
|
|
92
101
|
|
|
93
102
|
## Commands
|
|
@@ -104,6 +113,25 @@ resource loading, and an editable HTML template. Fonts load before creating UI;
|
|
|
104
113
|
translations register after preload. The `empty` template contains a minimal
|
|
105
114
|
`Sprite` application without UI/style/language dependencies.
|
|
106
115
|
|
|
116
|
+
CLI 3.6.1 adds project README and AGENTS files to both templates.
|
|
117
|
+
They route gameplay work to installed SDK guides/types, document startup and
|
|
118
|
+
build checks, and distinguish authored files from generated output. Published
|
|
119
|
+
CLI 3.6.0 templates retain their original contents. Existing project files are
|
|
120
|
+
not overwritten when adopting the new CLI.
|
|
121
|
+
|
|
122
|
+
CLI 3.6.0 supplies rounded Kurot-owned textures,
|
|
123
|
+
native `.kui.xml` component states and resource-default nine-slice grids under
|
|
124
|
+
`resource/assets/ui/kui`. See [default KUI skins](docs/default-ui-skins.md).
|
|
125
|
+
Registry CLI 3.5.0 still contains the previous atlas.
|
|
126
|
+
The default Button uses symmetric padding and Panel titles use middle alignment.
|
|
127
|
+
The source preview also uses Core 2.5.0's multilingual ink centering;
|
|
128
|
+
inputs and multiline text retain stable baselines.
|
|
129
|
+
The new 2× atlas requires published Core ^2.5.0; CLI 3.6.0 is also published.
|
|
130
|
+
|
|
131
|
+
The CLI 3.6.0 game-template refresh introduces a "Made with Kurot" brand splash
|
|
132
|
+
with a playful mascot entrance, looping hops and sparkles. It supports reduced
|
|
133
|
+
motion and applies to newly created projects; see [HTML brand splash](docs/game-template.md#html-brand-splash).
|
|
134
|
+
|
|
107
135
|
### `kurot build`
|
|
108
136
|
|
|
109
137
|
```bash
|
|
@@ -116,6 +144,13 @@ Development output is written to `bin-debug/`. Release output is written to
|
|
|
116
144
|
project namespace, theme, and application code are separate ESM chunks joined
|
|
117
145
|
by the generated HTML import map.
|
|
118
146
|
|
|
147
|
+
The CLI 3.6.0 asset-copy correction omits empty runtime directory trees;
|
|
148
|
+
registry CLI 3.5.0 does not include it. With KUI enabled, authored
|
|
149
|
+
`.kui.xml` files are compiled into the theme chunk and excluded from `resource/`;
|
|
150
|
+
skin-only directories such as `resource/ui` therefore do not appear in output.
|
|
151
|
+
Images, JSON and other runtime files inside those directories are still copied.
|
|
152
|
+
The generated `resource/default.thm.json` remains available to theme loading.
|
|
153
|
+
|
|
119
154
|
`--diagnostics json` reserves stdout for one machine-readable build result.
|
|
120
155
|
Release builds apply strict diagnostic policy by default.
|
|
121
156
|
|
|
@@ -204,7 +239,7 @@ use `property.state` on the affected node, so internal graphics remain unnamed.
|
|
|
204
239
|
Image sources use their resource key directly, for example
|
|
205
240
|
`source="button_up_png"`.
|
|
206
241
|
|
|
207
|
-
|
|
242
|
+
CLI 3.6.0/3.6.1 uses published `@kurot/ui-document@^0.13.0` and retains its literal-string XML rules.
|
|
208
243
|
For example, `<Label text="100.80" text.down="false" size="48" />` compiles
|
|
209
244
|
the exact strings `100.80` and `false`, while the font size stays numeric.
|
|
210
245
|
String properties no longer add or remove backslash type escapes. Remove old
|
|
@@ -230,6 +265,12 @@ node inside the Skin is inferred as a skin part; its `id` is the part
|
|
|
230
265
|
name. The declaration augments the UI runtime with those exact names and types.
|
|
231
266
|
This file is editor-only, ignored by git, and never enters browser bundles.
|
|
232
267
|
|
|
268
|
+
CLI 3.6.1 emits a getter for each host's narrowed skinParts,
|
|
269
|
+
matching Component's accessor and supporting `tsc --noEmit --skipLibCheck false`.
|
|
270
|
+
Published CLI 3.6.0 emits a readonly property and can fail with TS2610. Rebuild
|
|
271
|
+
using the fixed CLI to regenerate declarations; Core/UI and project dependency
|
|
272
|
+
requirements are unchanged. Generated runtime Skin factories are unaffected.
|
|
273
|
+
|
|
233
274
|
## Reusable components
|
|
234
275
|
|
|
235
276
|
Convention-based reusable components pair:
|
|
@@ -342,6 +383,6 @@ than selecting a different preset. Missing presets, unsupported selection or
|
|
|
342
383
|
invalid configuration fail explicitly. Expansion runs after resource defaults
|
|
343
384
|
and before color resolution. It does not load fonts or measure text.
|
|
344
385
|
|
|
345
|
-
|
|
386
|
+
CLI 3.6.0/3.6.1 uses published ui-document 0.13.0 without local overrides. CLI
|
|
346
387
|
3.2.1 does not include this feature. Existing projects are not migrated.
|
|
347
388
|
See [the shared contract](../ui-document/docs/project-styles.md).
|
|
@@ -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,
|
|
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
|
-
|
|
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"],"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ACH,CAAC;IACF,CAAC;AACF,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,OAAgB,EAAE,eAAuB,EAAE,IAAc;IACnF,MAAM,SAAS,GAAG,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,SAAS,KAAK,IAAI,CAAC,MAAM,CAAC,CAAC;IAElG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IAED,MAAM,SAAS,GAAG,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7F,MAAM,MAAM,GAAG,SAAS,EAAE,MAAM,IAAI,SAAS,CAAC,KAAK,CAAC;IAEpD,IAAI,CAAC,MAAM,EAAE,CAAC;QACb,OAAO,IAAI,CAAC,MAAM,CAAC;IACpB,CAAC;IAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IAChG,MAAM,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAErD,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;AACjE,CAAC"}
|
|
@@ -81,7 +81,7 @@ async function bundleNamespace(project, ns, entry, jsDir, ctx) {
|
|
|
81
81
|
target: 'es2022',
|
|
82
82
|
minify,
|
|
83
83
|
// Convention-based Theme mappings use the exported component class name.
|
|
84
|
-
keepNames:
|
|
84
|
+
keepNames: true,
|
|
85
85
|
metafile: true,
|
|
86
86
|
logLevel: 'warning',
|
|
87
87
|
external: externalFor(project, ns),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile-custom-namespaces.js","sourceRoot":"","sources":["../../../src/core/plugins/compile-custom-namespaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAoBpG;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,uBAAuB;IACtC,OAAO;QACN,IAAI,EAAE,2BAA2B;QAEjC;;WAEG;QACH,KAAK,CAAC,KAAK,CAAC,GAAiB;YAC5B,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;YACxB,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,CACjD,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,KAAK,CACpF,CAAC;YAEF,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO;YAEpC,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YAEjD,MAAM,SAAS,CAAC,KAAK,CAAC,CAAC;YAEvB,KAAK,MAAM,EAAE,IAAI,UAAU,EAAE,CAAC;gBAC7B,MAAM,SAAS,GAAG,MAAM,oBAAoB,CAAC,EAAE,CAAC,CAAC;gBACjD,IAAI,CAAC,EAAE,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B,EAChB,EAAmB,EACnB,KAAa,EACb,KAAa,EACb,GAAiB;IAEjB,MAAM,IAAI,GAAG,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACtC,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC;IAC1C,MAAM,OAAO,GAAyB;QACrC,aAAa,EAAE,OAAO,CAAC,IAAI;QAC3B,WAAW,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE;QAC9B,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,QAAQ;QACnD,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,QAAQ;QAChB,MAAM;QACN,yEAAyE;QACzE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"compile-custom-namespaces.js","sourceRoot":"","sources":["../../../src/core/plugins/compile-custom-namespaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAoBpG;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,uBAAuB;IACtC,OAAO;QACN,IAAI,EAAE,2BAA2B;QAEjC;;WAEG;QACH,KAAK,CAAC,KAAK,CAAC,GAAiB;YAC5B,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;YACxB,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,M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G;AACH,SAAS,aAAa,CAAC,MAAc;IACpC,OAAO,MAAM,MAAM,EAAE,CAAC;AACvB,CAAC"}
|
|
@@ -59,9 +59,9 @@ async function bundlePackage(project, pkg, stubDir, jsDir, minify) {
|
|
|
59
59
|
platform: 'browser',
|
|
60
60
|
target: 'es2022',
|
|
61
61
|
minify,
|
|
62
|
-
// Theme
|
|
63
|
-
//
|
|
64
|
-
keepNames:
|
|
62
|
+
// Theme lookup also needs original names when development bundling
|
|
63
|
+
// renames a self-referencing class expression.
|
|
64
|
+
keepNames: true,
|
|
65
65
|
metafile: true,
|
|
66
66
|
logLevel: 'warning',
|
|
67
67
|
external: project.enginePackages.filter(p => p !== pkg),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile-engine.js","sourceRoot":"","sources":["../../../src/core/plugins/compile-engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAI/C;;;;;;;;;GASG;AACH,MAAM,UAAU,aAAa;IAC5B,OAAO;QACN,IAAI,EAAE,gBAAgB;QAEtB;;WAEG;QACH,KAAK,CAAC,KAAK,CAAC,GAAiB;YAC5B,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;YAExB,IAAI,OAAO,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO;YAEhD,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YAEjD,MAAM,SAAS,CAAC,KAAK,CAAC,CAAC;YAEvB,qEAAqE;YACrE,sEAAsE;YACtE,8DAA8D;YAC9D,MAAM,OAAO,GAAG,MAAM,EA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ACvD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAS,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAElF,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,IAAI,GAAG,IAAI,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -6,6 +6,8 @@ import type { BuildPlugin } from '../pipeline.js';
|
|
|
6
6
|
* payload, so copying the source version would overwrite it.
|
|
7
7
|
* - `.kui.xml` source files are skipped when KUI is enabled, since skins are
|
|
8
8
|
* compiled to a JS module and the runtime never reads raw `.kui.xml`.
|
|
9
|
+
* - Empty directory trees are omitted, including directories containing only
|
|
10
|
+
* excluded KUI sources. Runtime files remain eligible regardless of directory.
|
|
9
11
|
*/
|
|
10
12
|
export declare function copyAssets(): BuildPlugin;
|
|
11
13
|
//# sourceMappingURL=copy-assets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-assets.d.ts","sourceRoot":"","sources":["../../../src/core/plugins/copy-assets.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhE
|
|
1
|
+
{"version":3,"file":"copy-assets.d.ts","sourceRoot":"","sources":["../../../src/core/plugins/copy-assets.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhE;;;;;;;;;GASG;AACH,wBAAgB,UAAU,IAAI,WAAW,CA8BxC"}
|
|
@@ -8,6 +8,8 @@ import { KUI_THEME_OUTPUT_PATH } from '../project.js';
|
|
|
8
8
|
* payload, so copying the source version would overwrite it.
|
|
9
9
|
* - `.kui.xml` source files are skipped when KUI is enabled, since skins are
|
|
10
10
|
* compiled to a JS module and the runtime never reads raw `.kui.xml`.
|
|
11
|
+
* - Empty directory trees are omitted, including directories containing only
|
|
12
|
+
* excluded KUI sources. Runtime files remain eligible regardless of directory.
|
|
11
13
|
*/
|
|
12
14
|
export function copyAssets() {
|
|
13
15
|
return {
|
|
@@ -28,7 +30,7 @@ export function copyAssets() {
|
|
|
28
30
|
if (ui && name.endsWith('.kui.xml'))
|
|
29
31
|
return false;
|
|
30
32
|
return true;
|
|
31
|
-
});
|
|
33
|
+
}, { preserveEmptyDirectories: false });
|
|
32
34
|
},
|
|
33
35
|
};
|
|
34
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-assets.js","sourceRoot":"","sources":["../../../src/core/plugins/copy-assets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAGtD
|
|
1
|
+
{"version":3,"file":"copy-assets.js","sourceRoot":"","sources":["../../../src/core/plugins/copy-assets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAGtD;;;;;;;;;GASG;AACH,MAAM,UAAU,UAAU;IACzB,OAAO;QACN,IAAI,EAAE,aAAa;QAEnB;;WAEG;QACH,KAAK,CAAC,KAAK,CAAC,GAAiB;YAC5B,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;YAExB,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gBAAE,OAAO;YAEjD,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAC7B,MAAM,SAAS,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAExE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;YAEtD,MAAM,OAAO,CACZ,OAAO,CAAC,WAAW,EACnB,IAAI,EACJ,IAAI,CAAC,EAAE;gBACN,IAAI,IAAI,KAAK,SAAS;oBAAE,OAAO,KAAK,CAAC;gBACrC,IAAI,EAAE,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC;oBAAE,OAAO,KAAK,CAAC;gBAElD,OAAO,IAAI,CAAC;YACb,CAAC,EACD,EAAE,wBAAwB,EAAE,KAAK,EAAE,CACnC,CAAC;QACH,CAAC;KACD,CAAC;AACH,CAAC"}
|
package/dist/utils/fs.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export interface CopyDirectoryOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Defaults to true for template scaffolding; runtime asset copies may omit empty trees.
|
|
4
|
+
*/
|
|
5
|
+
readonly preserveEmptyDirectories?: boolean;
|
|
6
|
+
}
|
|
1
7
|
/**
|
|
2
8
|
* Creates a directory and any missing parent directories.
|
|
3
9
|
*/
|
|
@@ -8,7 +14,7 @@ export declare function ensureDir(dir: string): Promise<void>;
|
|
|
8
14
|
* The optional filter receives each file's base name; directories are always
|
|
9
15
|
* traversed so matching descendants remain discoverable.
|
|
10
16
|
*/
|
|
11
|
-
export declare function copyDir(src: string, dest: string, filter?: (name: string) => boolean): Promise<void>;
|
|
17
|
+
export declare function copyDir(src: string, dest: string, filter?: (name: string) => boolean, options?: CopyDirectoryOptions): Promise<void>;
|
|
12
18
|
/**
|
|
13
19
|
* Writes a UTF-8 file after creating its parent directory.
|
|
14
20
|
*/
|
package/dist/utils/fs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE1D;AAED;;;;;GAKG;AACH,wBAAsB,OAAO,
|
|
1
|
+
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACpC;;OAEG;IACH,QAAQ,CAAC,wBAAwB,CAAC,EAAE,OAAO,CAAC;CAC5C;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE1D;AAED;;;;;GAKG;AACH,wBAAsB,OAAO,CAC5B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,EAClC,OAAO,GAAE,oBAAyB,GAChC,OAAO,CAAC,IAAI,CAAC,CAqBf;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGhF;AAED;;GAEG;AACH,wBAAsB,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAK/D"}
|
package/dist/utils/fs.js
CHANGED
|
@@ -12,16 +12,23 @@ export async function ensureDir(dir) {
|
|
|
12
12
|
* The optional filter receives each file's base name; directories are always
|
|
13
13
|
* traversed so matching descendants remain discoverable.
|
|
14
14
|
*/
|
|
15
|
-
export async function copyDir(src, dest, filter) {
|
|
16
|
-
|
|
15
|
+
export async function copyDir(src, dest, filter, options = {}) {
|
|
16
|
+
let created = options.preserveEmptyDirectories ?? true;
|
|
17
|
+
if (created) {
|
|
18
|
+
await ensureDir(dest);
|
|
19
|
+
}
|
|
17
20
|
const entries = await fs.readdir(src, { withFileTypes: true });
|
|
18
21
|
for (const entry of entries) {
|
|
19
22
|
const srcPath = path.join(src, entry.name);
|
|
20
23
|
const destPath = path.join(dest, entry.name);
|
|
21
24
|
if (entry.isDirectory()) {
|
|
22
|
-
await copyDir(srcPath, destPath, filter);
|
|
25
|
+
await copyDir(srcPath, destPath, filter, options);
|
|
23
26
|
}
|
|
24
27
|
else if (!filter || filter(entry.name)) {
|
|
28
|
+
if (!created) {
|
|
29
|
+
await ensureDir(dest);
|
|
30
|
+
created = true;
|
|
31
|
+
}
|
|
25
32
|
await fs.copyFile(srcPath, destPath);
|
|
26
33
|
}
|
|
27
34
|
}
|
package/dist/utils/fs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.js","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"fs.js","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AASlC;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,GAAW;IAC1C,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,OAAO,CAC5B,GAAW,EACX,IAAY,EACZ,MAAkC,EAClC,UAAgC,EAAE;IAElC,IAAI,OAAO,GAAG,OAAO,CAAC,wBAAwB,IAAI,IA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I,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;SAChB,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;AACtB,CAAC"}
|
package/docs/ai-context.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# @kurot/cli — AI context map
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
CLI 3.6.0 is published, verified on npm on 2026-10-10, including latest,
|
|
4
|
+
package download and matching registry integrity. Development installs
|
|
5
|
+
published ui-document 0.13.0 with a matching
|
|
4
6
|
registry lockfile, without local overrides. Read
|
|
5
7
|
[centered flips](../../../docs/centered-flips.md) for transform and adoption contracts.
|
|
6
8
|
|
|
7
|
-
|
|
8
9
|
Read this before exploring `src/`. [`architecture.md`](./architecture.md)
|
|
9
|
-
explains the plugin pipeline. Version `@kurot/cli@3.
|
|
10
|
+
explains the plugin pipeline. Version `@kurot/cli@3.6.1` is prepared locally (not published), runs on Node.js 20+,
|
|
10
11
|
and is installed as a project dev dependency.
|
|
11
12
|
|
|
12
13
|
## Directory map
|
|
@@ -31,6 +32,19 @@ src/
|
|
|
31
32
|
```
|
|
32
33
|
|
|
33
34
|
Project templates are under `templates/game` and `templates/empty`.
|
|
35
|
+
CLI 3.6.1 includes README/AGENTS consumer navigation in both templates; its
|
|
36
|
+
game entry links the new UI 3.6.2 authoring guide and complete ScoreHUD recipe. See [game-template.md](game-template.md).
|
|
37
|
+
The CLI 3.6.0 game template's default KUI skin refresh includes 16 native Skin files,
|
|
38
|
+
a Kurot-owned 2× atlas with logical resource-default nine-slice grids, and project palette
|
|
39
|
+
colors. These replace the old EUI assets. Group/List/TabBar and text/image nodes use
|
|
40
|
+
native XML composition rather than unused default Skin placeholders. See
|
|
41
|
+
[default KUI skins](default-ui-skins.md). Private tools/default-ui-assets generates
|
|
42
|
+
the committed assets with registry Atlas; CLI gains no atlas runtime dependency.
|
|
43
|
+
The 2× sheet requires Core ^2.5.0; published Core 2.4.0
|
|
44
|
+
does not interpret it. Private preview tooling binds checkout Core in an isolated
|
|
45
|
+
trial. Core 2.5.0 was published before CLI 3.6.0; both are verified on npm.
|
|
46
|
+
The CLI 3.6.0 game template includes the looping mascot brand splash; registry
|
|
47
|
+
CLI 3.5.0 does not contain that HTML/logo refresh. See game-template.md.
|
|
34
48
|
The 3.2.1 game template includes fixed style/locale configuration,
|
|
35
49
|
English properties and licensed regular/bold font files. StyleManager finishes
|
|
36
50
|
font loading before Main creates Player/Preloader; LocaleManager registers
|
|
@@ -59,13 +73,18 @@ assets are adapted by `kui/kui-parser.ts` to the compiler-private `SkinIR`,
|
|
|
59
73
|
then `skin-module-builder.ts` bundles generated factories.
|
|
60
74
|
|
|
61
75
|
A Skin document root declares `class`, the generated skin registration name,
|
|
62
|
-
and may declare `states`. The Skin is
|
|
63
|
-
|
|
64
|
-
`skin.elementsContent` without an extra Group.
|
|
76
|
+
and may declare `states`. The native Skin is nonvisual: root dimensions
|
|
77
|
+
configure its size metadata, and its direct visual children become
|
|
78
|
+
`skin.elementsContent` on the host Component without an extra Group. Display
|
|
79
|
+
transforms such as `flipX`/`flipY` belong on those children. Overrides use local
|
|
65
80
|
`property.state` attributes. Storage IDs and runtime mapping metadata are not
|
|
66
81
|
authored XML fields.
|
|
67
82
|
|
|
68
|
-
CLI 3.5.0
|
|
83
|
+
CLI 3.5.0 validates centered-flip booleans on display nodes and named-state
|
|
84
|
+
overrides, including CLI-only controls. Malformed values and flags on the
|
|
85
|
+
nonvisual Skin root fail compilation. Negative scales are preserved.
|
|
86
|
+
|
|
87
|
+
CLI 3.6.0 requires `@kurot/ui-document@^0.13.0`. Schema-defined strings, including
|
|
69
88
|
numeric/boolean-looking text and state text, are literal attributes without
|
|
70
89
|
backslash type escaping. Old synthetic prefixes become literal characters;
|
|
71
90
|
do not migrate them silently. Numeric/boolean properties and schema-free
|
|
@@ -88,6 +107,11 @@ as the part name. Internal nodes can omit `id`; the declaration augments
|
|
|
88
107
|
component classes. The file is development metadata and is excluded from
|
|
89
108
|
runtime output.
|
|
90
109
|
|
|
110
|
+
CLI 3.6.1 narrows host `skinParts` through a getter signature,
|
|
111
|
+
preserving Component's accessor kind under `skipLibCheck=false`. Published CLI
|
|
112
|
+
3.6.0 instead emits a readonly property and can report TS2610. Regenerate with
|
|
113
|
+
the fixed CLI; do not change Core/UI or hand-edit the generated declaration.
|
|
114
|
+
|
|
91
115
|
## Reusable components
|
|
92
116
|
|
|
93
117
|
With `ui.components`, `<Name>.ts` under `sourceDir` pairs with
|
|
@@ -118,8 +142,10 @@ manual prefix cannot conflict with `ui.components.namespace`.
|
|
|
118
142
|
identity.
|
|
119
143
|
- Engine and custom namespace chunks share `ctx.outputs.engine` because the
|
|
120
144
|
import-map writer treats both as external specifier mappings.
|
|
121
|
-
-
|
|
122
|
-
|
|
145
|
+
- Engine and reusable namespace bundles preserve class names in both modes.
|
|
146
|
+
The CLI 3.6.0 development fix also protects self-referencing classes, which
|
|
147
|
+
esbuild can rename without minification. Registry CLI 3.5.0 protects release
|
|
148
|
+
names only. Theme fallback uses constructor names.
|
|
123
149
|
- The Skin module builder stages output in a temporary directory and installs a
|
|
124
150
|
bundle only after every Skin succeeds.
|
|
125
151
|
- `cleanOutput` wipes the active output directory at the start of each build.
|
|
@@ -127,6 +153,11 @@ manual prefix cannot conflict with `ui.components.namespace`.
|
|
|
127
153
|
- `create` queries the npm registry for current Kurot package versions and falls
|
|
128
154
|
back to `latest` if the request fails.
|
|
129
155
|
- Release output is timestamped and `manifest.json` exists only in release.
|
|
156
|
+
- The CLI 3.6.0 asset-copy correction omits empty runtime directory trees,
|
|
157
|
+
including skin-only `resource/ui`. Runtime files under UI directories remain
|
|
158
|
+
eligible; generated theme JSON and the compiled Skin module remain required.
|
|
159
|
+
Template copies still preserve empty directories. Registry CLI 3.5.0 does not
|
|
160
|
+
include this correction.
|
|
130
161
|
|
|
131
162
|
## Plugin order
|
|
132
163
|
|