Skip to content

Runtime packages: Mihosoft.Vmf.Runtime and @mihosoft/vmf-runtime - #135

Merged
miho merged 2 commits into
mainfrom
build/runtime-package-names
Nov 29, 2026
Merged

miho merged 2 commits into
mainfrom
build/runtime-package-names

Conversation

@miho

@miho miho commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Renames the runtime packages of the C# and TypeScript targets, which are not published yet:

Before After
C# NuGet package, assembly and namespace Vmf.Runtime Mihosoft.Vmf.Runtime
C# project csharp-runtime/Vmf.Runtime.csproj csharp-runtime/Mihosoft.Vmf.Runtime.csproj
npm package, imported by generated modules @vmf/runtime @mihosoft/vmf-runtime
Packed files Vmf.Runtime.<version>.nupkg, vmf-runtime-<version>.tgz Mihosoft.Vmf.Runtime.<version>.nupkg, mihosoft-vmf-runtime-<version>.tgz

The owner's name in each ecosystem's own style, without Java's reverse domain. A bare "VMF" invites collisions in both registries (it is also the name of Valve's map format, among others), and .NET's naming guidelines put the company first.

  • Generated C# names the runtime with global::, so a model namespace with a Mihosoft segment of its own (Eu.Mihosoft...) does not hide it.
  • No document or journal that a runtime writes contains these names: Java, C# and TypeScript exchange them as before.
  • Models must be generated again, as they had to be after Performance lanes for C# and TypeScript, and faster hot paths in both runtimes #132.
  • Not done here: registering the npm scope @mihosoft and, if wanted, reserving the NuGet prefix Mihosoft. before the first release. I have not checked whether the names are free.

A second commit defines the three decisions that conformance/TEST-AREAS.md asks for per area (contract module, C#-only, dropped) and corrects the line count in the cursor recommendation: 213 runtime lines only the cursor tests cover, as the table says, not the 321 measured before #132.

Stacked on #134 (.NET 10).

Checked

On this branch, on Windows with the .NET 10.0.401 SDK:

  • :vmf:test: 125 tests pass.
  • :vmf:verifyCSharpConformance: 997 of 997, all Java readers of C#-written documents pass.
  • :vmf:verifyPortableContract: Java 225 of 225, C# 225 of 225, TypeScript 222 of 222.
  • :vmf:verifyTypeScriptWorkshop, :vmf:verifyTypeScriptStockModels and checkPerformanceTargets pass.
  • :vmf:packCSharpRuntime and :vmf:packTypeScriptRuntime produce Mihosoft.Vmf.Runtime.0.4.1-SNAPSHOT.nupkg (with lib/net10.0/Mihosoft.Vmf.Runtime.dll) and mihosoft-vmf-runtime-0.4.1-SNAPSHOT.tgz (package name @mihosoft/vmf-runtime).

miho added 2 commits November 29, 2026 08:58
The C# runtime was the NuGet package, assembly and namespace Vmf.Runtime,
the TypeScript runtime the npm package @vmf/runtime. Neither is
published yet. A bare "VMF" invites collisions in both registries (it is
also the name of Valve's map format, among others), and .NET's naming
guidelines put the company first. The owner's name in each ecosystem's
own style, without Java's reverse domain:

- C#: NuGet package, assembly and namespace Mihosoft.Vmf.Runtime, built
  from csharp-runtime/Mihosoft.Vmf.Runtime.csproj. Generated code names
  the runtime with global::, so a model namespace with a Mihosoft segment
  of its own (Eu.Mihosoft...) does not hide it.
- TypeScript: npm package @mihosoft/vmf-runtime, under which generated
  modules import it. npm packs it as mihosoft-vmf-runtime-<version>.tgz.
- The lock files of the projects that use the runtimes, and the
  documents.

No document or journal that a runtime writes contains these names, so
Java, C# and TypeScript exchange them as before. Models must be
generated again.
… lines

The document asked for a decision per area (contract module, C#-only or
dropped) without saying what each of them means and what it changes; it
does now.

The recommendation for cursors still named 321 runtime lines that only
the cursor tests cover, a count measured before #132. On the current
runtime it is 213, as the table says.
@miho
miho changed the base branch from build/dotnet-10 to main November 29, 2026 08:23
@miho
miho merged commit bea276b into main Nov 29, 2026
14 checks passed
@miho
miho deleted the build/runtime-package-names branch November 29, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant