@neocompose/cli 0.62.1 → 0.63.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 +15 -0
- package/README.md +17 -3
- package/dist/neo.mjs +403 -55
- package/dist/test-worker.mjs +48529 -0
- 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 +14 -0
- package/skills/neocompose-cli/references/declarations-and-construction.md +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.63.0] - 2026-10-02
|
|
4
|
+
|
|
5
|
+
- Add `@effect` for class member functions. The Unity runtime runs an effect for every live instance, then reruns it whenever data it read changes. `@effect(kind: .None)` stops an inherited effect. An effect must be an immediate, parameterless `void` instance function with a NeoScript or abstract body; anything else reports `invalid-effect` at its source.
|
|
6
|
+
- Pull functions with empty bodies instead of failing on their stored empty source.
|
|
7
|
+
|
|
8
|
+
## [0.62.3] - 2026-10-02
|
|
9
|
+
|
|
10
|
+
- `neo export unity` saves the server codegen revision in the generated-file manifest, matching Unity synchronization. Server codegen changes now invalidate incremental Unity exports even when project records have not changed. Unchanged generated C# files retain their contents and timestamps.
|
|
11
|
+
|
|
12
|
+
## [0.62.2] - 2026-10-02
|
|
13
|
+
|
|
14
|
+
- Speed up `neo test` after production edits by sharing one indexed compiler context across specs and omitting the push-only source serialization round trip. Production compilation and whole-graph validation still run.
|
|
15
|
+
- Execute spec files in parallel with up to four CPU workers by default. Configure `test.maxWorkers`, override it with `--maxWorkers <n>`, or use `--runInBand` for serial execution. Workers reuse the prepared project and retain per-test fixture and mock isolation.
|
|
16
|
+
- Report worker startup and elapsed execution separately from summed parallel test work.
|
|
17
|
+
|
|
3
18
|
## [0.62.1] - 2026-10-02
|
|
4
19
|
|
|
5
20
|
- Construct populated unordered member defaults through initializers so fresh entries survive test, push, and pull. Keep nested list rows in their existing representation.
|
package/README.md
CHANGED
|
@@ -418,12 +418,26 @@ JavaScript regular expression:
|
|
|
418
418
|
neo test
|
|
419
419
|
neo test Classes/Player.spec.neo
|
|
420
420
|
neo test -t "TakeDamage"
|
|
421
|
+
neo test --maxWorkers=4
|
|
422
|
+
neo test --runInBand
|
|
421
423
|
neo test --reporter=json --outputFile=.neo/test-results.json
|
|
422
424
|
```
|
|
423
425
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
426
|
+
Spec files run in parallel with up to four available CPU workers by default.
|
|
427
|
+
Set `test.maxWorkers` in `neo.json` or override it with `--maxWorkers <positive
|
|
428
|
+
integer>`. `--runInBand` overrides both and runs serially. A single selected
|
|
429
|
+
file runs in the main process. Hooks and tests within each file remain ordered;
|
|
430
|
+
fixtures and mocks stay isolated. Reports keep file and test registration order.
|
|
431
|
+
|
|
432
|
+
The JSON output file is written atomically. Reports distinguish elapsed startup
|
|
433
|
+
and execution from summed test work, which can exceed elapsed time in parallel
|
|
434
|
+
runs. JSON `timings.workerStartupMs` measures worker initialization and
|
|
435
|
+
`timings.executeMs` measures elapsed execution.
|
|
436
|
+
|
|
437
|
+
Tests compile and validate the local candidate once. They omit the extra source
|
|
438
|
+
serialization and re-lowering rehearsal used by `neo push --dry-run`; production
|
|
439
|
+
syntax, type checks, and whole-graph validation remain required. Spec compilation
|
|
440
|
+
shares one immutable compiler context and schema index across cache misses.
|
|
427
441
|
|
|
428
442
|
Test compilation metadata and the experimental verified prepared-project cache
|
|
429
443
|
live in `.neo/test-build/`; neither they nor test files are server records.
|