Repository navigation
Runtime packages: Mihosoft.Vmf.Runtime and @mihosoft/vmf-runtime - #135
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Renames the runtime packages of the C# and TypeScript targets, which are not published yet:
Vmf.RuntimeMihosoft.Vmf.Runtimecsharp-runtime/Vmf.Runtime.csprojcsharp-runtime/Mihosoft.Vmf.Runtime.csproj@vmf/runtime@mihosoft/vmf-runtimeVmf.Runtime.<version>.nupkg,vmf-runtime-<version>.tgzMihosoft.Vmf.Runtime.<version>.nupkg,mihosoft-vmf-runtime-<version>.tgzThe 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.
global::, so a model namespace with aMihosoftsegment of its own (Eu.Mihosoft...) does not hide it.@mihosoftand, if wanted, reserving the NuGet prefixMihosoft.before the first release. I have not checked whether the names are free.A second commit defines the three decisions that
conformance/TEST-AREAS.mdasks 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:verifyTypeScriptStockModelsandcheckPerformanceTargetspass.:vmf:packCSharpRuntimeand:vmf:packTypeScriptRuntimeproduceMihosoft.Vmf.Runtime.0.4.1-SNAPSHOT.nupkg(withlib/net10.0/Mihosoft.Vmf.Runtime.dll) andmihosoft-vmf-runtime-0.4.1-SNAPSHOT.tgz(package name@mihosoft/vmf-runtime).