@neocompose/cli 0.75.0 → 0.75.2
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 +22 -0
- package/README.md +28 -0
- package/dist/neo.mjs +907 -654
- package/dist/test-worker.mjs +144 -171
- package/package.json +5 -2
- package/skills/neocompose-cli/SKILL.md +13 -1
- package/skills/neocompose-cli/references/cli-development.md +18 -7
- package/skills/neocompose-cli/references/declarations-and-construction.md +25 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.75.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 45f828c: Preserve generic constructor arguments and nested reference types when exporting member defaults, so Neowyn animation schemas compile without changing record identities.
|
|
8
|
+
- 60935a5: Report invalid object-initializer semicolons consistently in the editor and CLI, with the authored file position and a comma-separator hint.
|
|
9
|
+
- 869b95b: Ignore formatting-only changes in stored initializer recipes, computed member
|
|
10
|
+
defaults, and inline constructor delegates. Preserve their existing compiled
|
|
11
|
+
bodies while continuing to detect code and string-literal content edits.
|
|
12
|
+
- 267ccd2: Keep valid root value graphs available when another root construction fails, and show required-member declaration locations in CLI diagnostics.
|
|
13
|
+
|
|
14
|
+
## 0.75.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 04d8bb8: Extract database-neutral models and NeoScript execution into reusable packages. Hosts supply database lookups and execution capabilities; the CLI bundles the shared runtime without adding external runtime dependencies.
|
|
19
|
+
- 1ea5f25: Use shared EditorConfig formatting for CLI regeneration and VS Code, preserving
|
|
20
|
+
authored source when push changes no source tokens. Project wrapper indentation
|
|
21
|
+
onto Monaco bodies without storing it, and preserve multiline string whitespace
|
|
22
|
+
when formatting. Ignore formatting-only body and source-location differences on
|
|
23
|
+
subsequent pushes while retaining real code and literal-content edits.
|
|
24
|
+
|
|
3
25
|
## 0.75.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -572,3 +572,31 @@ npm --prefix cli run test:package
|
|
|
572
572
|
Run the repository's full verification suite before release, package and
|
|
573
573
|
exercise the VS Code extension, verify the Hello World and live `neowyn`
|
|
574
574
|
format-4 no-op workflows, and run `npm run doctor` last.
|
|
575
|
+
|
|
576
|
+
### Source formatting
|
|
577
|
+
|
|
578
|
+
The CLI and NeoScript VS Code extension use the same formatter. Put project
|
|
579
|
+
preferences in `.editorconfig`, including in a parent directory of `neo/`:
|
|
580
|
+
|
|
581
|
+
```ini
|
|
582
|
+
[*.{neo,neoflow}]
|
|
583
|
+
indent_style = space
|
|
584
|
+
indent_size = 2
|
|
585
|
+
end_of_line = lf
|
|
586
|
+
insert_final_newline = true
|
|
587
|
+
```
|
|
588
|
+
|
|
589
|
+
Nested EditorConfig sections override parent sections. Without an explicit
|
|
590
|
+
convention, CLI regeneration uses two spaces, LF, and a final newline. The VS Code
|
|
591
|
+
extension uses your editor settings as the fallback and disables indentation
|
|
592
|
+
guessing by default. To use four spaces or tabs across sync and editor saves,
|
|
593
|
+
set that preference in `.editorconfig`.
|
|
594
|
+
|
|
595
|
+
Push preserves authored text when the emitted tokens are unchanged, including
|
|
596
|
+
ordinary comments and blank lines. Pull preserves files without semantic changes.
|
|
597
|
+
Formatting-only body and source-location differences do not create a later push,
|
|
598
|
+
even alongside other edits. Local tests use current file locations;
|
|
599
|
+
`neo push --force-recompile` explicitly refreshes stored locations. Changes inside
|
|
600
|
+
string literals remain significant.
|
|
601
|
+
Files that must be regenerated use the shared formatting policy. Web editors use
|
|
602
|
+
the shared two-space default and keep wrapper indentation out of stored bodies.
|