@neocompose/cli 0.82.2 → 0.82.4
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 +13 -0
- package/dist/neo-runtime.mjs +208644 -0
- package/dist/neo.mjs +3 -206404
- package/dist/test-worker.mjs +5207 -1627
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +1 -1
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/commands-and-sync.md +6 -3
- package/skills/neocompose-cli/references/declarations-and-construction.md +5 -5
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@ wrappers.
|
|
|
129
129
|
The marker near the top of `SKILL.md` must exactly match the package version:
|
|
130
130
|
|
|
131
131
|
```html
|
|
132
|
-
<!-- reviewed-through-cli: 0.82.
|
|
132
|
+
<!-- reviewed-through-cli: 0.82.4 -->
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
The quoted version above is checked too, so this instruction cannot go stale
|
|
@@ -325,11 +325,14 @@ it into the directories the Unity project's `NeoComposeConfig` asset names:
|
|
|
325
325
|
by storage partition, localization files, and generated C# under
|
|
326
326
|
`<generatedTypesDirectory>/Generated/`. It writes only files whose bytes
|
|
327
327
|
changed, skips codegen when its schema inputs are unchanged, and writes
|
|
328
|
-
`Library/NeoCompose/export.json` last for Unity to ingest.
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
`Library/NeoCompose/export.json` last for Unity to ingest. Exports remember
|
|
329
|
+
recent results by their exact inputs, so a repeated export, an undo, or a revert
|
|
330
|
+
to earlier content reuses that result after verifying output bytes; changed or
|
|
331
|
+
missing outputs are regenerated. Edited content is validated
|
|
331
332
|
even when C# generation is skipped. After a CLI code-generation fix, run
|
|
332
333
|
`neo export` again; generator revision changes invalidate cached C# output.
|
|
334
|
+
New instances that reuse existing member-localized text retain its shared ID
|
|
335
|
+
and translations in the export.
|
|
333
336
|
|
|
334
337
|
- A clean working copy exports the pulled head. Diagnostic location differences
|
|
335
338
|
alone, including line shifts after push inserts ids, do not make it local.
|
|
@@ -256,11 +256,11 @@ code types; see the NeoScript reference for handle and slot references.
|
|
|
256
256
|
`public Reference<Config> Config` selects one row and reads as `Config`.
|
|
257
257
|
`public Set<Reference<Config>> Configs` selects several and reads as
|
|
258
258
|
`Set<Config>`. `public Reference<int> TrackedStat` names another member's int.
|
|
259
|
-
`Reference<T>` also works as a
|
|
260
|
-
unbound generic argument such as
|
|
261
|
-
a single reference returns one
|
|
262
|
-
`@settings(collection:)` is an error; the language
|
|
263
|
-
it.
|
|
259
|
+
`Reference<T>` also works as a constructor or method parameter, a collection
|
|
260
|
+
element, a dictionary value, and an unbound generic argument such as
|
|
261
|
+
`Box<Reference<int>>`. An initializer body for a single reference returns one
|
|
262
|
+
row, never a set. `T` with `@settings(collection:)` is an error; the language
|
|
263
|
+
server's quick fix respells it.
|
|
264
264
|
|
|
265
265
|
`@settings(collection: Owner.Member)` binds a class reference to one
|
|
266
266
|
collection. Without it the reference is unbound: it selects any stored row of
|