@neocompose/cli 0.74.0 → 0.75.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.75.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - 1ea5f25: Use shared EditorConfig formatting for CLI regeneration and VS Code, preserving
9
+ authored source when push changes no source tokens. Project wrapper indentation
10
+ onto Monaco bodies without storing it, and preserve multiline string whitespace
11
+ when formatting. Ignore formatting-only body and source-location differences on
12
+ subsequent pushes while retaining real code and literal-content edits.
13
+
14
+ ## 0.75.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 0a7ec0e: `member.OnChanged.Clear()` removes every handler from a member's or getter's listener set. On a stored member it clears `@listeners` defaults and Save and Session wiring. On a getter it ends the subscription. Any other use of `OnChanged` as a value now reports "OnChanged supports only '+=', '-=', and Clear()." instead of "Cannot read member 'OnChanged'". Exports move to schema 41, so Unity needs SDK 0.65.0.
19
+
3
20
  ## 0.74.0
4
21
 
5
22
  ### 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.