From f4d0420d60de08032311f4ffce6dd5a3e13ce8e8 Mon Sep 17 00:00:00 2001 From: Damien Date: Thu, 5 Dec 2024 14:56:05 +0100 Subject: [PATCH] modgen 2.2.1/vscode 2.2.1 (hotfix) --- TopModel.Generator/TopModel.Generator.csproj | 2 +- TopModel.Utils/ModelUtils.cs | 2 +- TopModel.VSCode/package-lock.json | 4 ++-- TopModel.VSCode/package.json | 8 ++++---- samples/model/angular.topmodel.lock | 2 +- samples/model/csharp.topmodel.lock | 2 +- samples/model/focus.topmodel.lock | 2 +- samples/model/jpa.topmodel.lock | 2 +- samples/model/pg.topmodel.lock | 2 +- samples/model/php.topmodel.lock | 2 +- samples/model/ssdt.topmodel.lock | 2 +- samples/model/translation.topmodel.lock | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) diff --git a/TopModel.Generator/TopModel.Generator.csproj b/TopModel.Generator/TopModel.Generator.csproj index cc365845..e484c316 100644 --- a/TopModel.Generator/TopModel.Generator.csproj +++ b/TopModel.Generator/TopModel.Generator.csproj @@ -13,7 +13,7 @@ true ../.nupkg modgen - 2.2.0 + 2.2.1 false JabX;gideruette Générateur de modèle TopModel. diff --git a/TopModel.Utils/ModelUtils.cs b/TopModel.Utils/ModelUtils.cs index a64258ae..c81cc596 100644 --- a/TopModel.Utils/ModelUtils.cs +++ b/TopModel.Utils/ModelUtils.cs @@ -116,7 +116,7 @@ public static string ToKebabCase(this string text) /// Le texte en sortie. public static string ToPascalCase(this string text, bool strict = false, bool strictIfUppercase = false) { - if (strictIfUppercase && text.Equals(text, StringComparison.InvariantCultureIgnoreCase)) + if (strictIfUppercase && text == text.ToUpperInvariant()) { strict = true; } diff --git a/TopModel.VSCode/package-lock.json b/TopModel.VSCode/package-lock.json index 9d19cbb9..887907ba 100644 --- a/TopModel.VSCode/package-lock.json +++ b/TopModel.VSCode/package-lock.json @@ -1,12 +1,12 @@ { "name": "topmodel", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "topmodel", - "version": "2.2.0", + "version": "2.2.1", "dependencies": { "mermaid": "8.14.0", "mobx": "6.13.1", diff --git a/TopModel.VSCode/package.json b/TopModel.VSCode/package.json index 7eee3d6b..f91a1385 100644 --- a/TopModel.VSCode/package.json +++ b/TopModel.VSCode/package.json @@ -20,7 +20,7 @@ "directory": "TopModel.VSCode", "type": "git" }, - "version": "2.2.0", + "version": "2.2.1", "engines": { "vscode": "^1.84.1" }, @@ -81,15 +81,15 @@ "yamlValidation": [ { "fileMatch": "topmodel*.config", - "url": "./language-server-net8.0/schema.config.json" + "url": "./language-server/schema.config.json" }, { "fileMatch": "tmdgen*.config", - "url": "./language-server-net8.0/schema.tmdgen.config.json" + "url": "./language-server/schema.tmdgen.config.json" }, { "fileMatch": "*.tmd", - "url": "./language-server-net8.0/schema.json" + "url": "./language-server/schema.json" } ], "languages": [ diff --git a/samples/model/angular.topmodel.lock b/samples/model/angular.topmodel.lock index 12707c43..7d11ad97 100644 --- a/samples/model/angular.topmodel.lock +++ b/samples/model/angular.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Javascript: 813bd1d0b6e6a08aff8900e52ef483ae generatedFiles: diff --git a/samples/model/csharp.topmodel.lock b/samples/model/csharp.topmodel.lock index c8da5cd6..591c0401 100644 --- a/samples/model/csharp.topmodel.lock +++ b/samples/model/csharp.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Csharp: 1f47b333bf3d8c8acce3ee5d40956cc9 generatedFiles: diff --git a/samples/model/focus.topmodel.lock b/samples/model/focus.topmodel.lock index 3d66a9f2..ff36d678 100644 --- a/samples/model/focus.topmodel.lock +++ b/samples/model/focus.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Javascript: 813bd1d0b6e6a08aff8900e52ef483ae generatedFiles: diff --git a/samples/model/jpa.topmodel.lock b/samples/model/jpa.topmodel.lock index e56f8997..4dc39b40 100644 --- a/samples/model/jpa.topmodel.lock +++ b/samples/model/jpa.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Jpa: 4f75c07ccb7cfc4d25c7454af0863a56 generatedFiles: diff --git a/samples/model/pg.topmodel.lock b/samples/model/pg.topmodel.lock index e36480a8..bfe4a1a3 100644 --- a/samples/model/pg.topmodel.lock +++ b/samples/model/pg.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Sql: 6c49105633a94d33dc5f26d6fece3a43 generatedFiles: diff --git a/samples/model/php.topmodel.lock b/samples/model/php.topmodel.lock index 5983012d..004f626d 100644 --- a/samples/model/php.topmodel.lock +++ b/samples/model/php.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Php: 8029e36a5806c385b25b725c2e00ecdc generatedFiles: diff --git a/samples/model/ssdt.topmodel.lock b/samples/model/ssdt.topmodel.lock index 3a6e62d5..e1542de0 100644 --- a/samples/model/ssdt.topmodel.lock +++ b/samples/model/ssdt.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Sql: 6c49105633a94d33dc5f26d6fece3a43 generatedFiles: diff --git a/samples/model/translation.topmodel.lock b/samples/model/translation.topmodel.lock index fb67e2de..7a040f88 100644 --- a/samples/model/translation.topmodel.lock +++ b/samples/model/translation.topmodel.lock @@ -2,7 +2,7 @@ # ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! # -version: 2.2.0 +version: 2.2.1 custom: ../../../TopModel.Generator.Translation: 9f15a161c1cd09a554e17eb18f624495 generatedFiles: