From d13fe254c84e888c6bbd08f3f4463812820e5e47 Mon Sep 17 00:00:00 2001 From: Nassim <71079376+nas-tabchiche@users.noreply.github.com> Date: Fri, 10 Jan 2025 13:30:48 +0100 Subject: [PATCH] Hotfix: inlang build (#1347) * Hotfix: inlang build https://github.com/opral/inlang-paraglide-js/issues/304#issuecomment-2582087107 * Bump plugin-message-format to 2.2.0 --- frontend/package.json | 1 + frontend/pnpm-lock.yaml | 8 ++++++++ frontend/project.inlang/settings.json | 10 +--------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 3ca8ce7c0..ed41c2914 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,6 +21,7 @@ }, "devDependencies": { "@inlang/paraglide-js": "1.11.2", + "@inlang/plugin-message-format": "2.2.0", "@playwright/test": "^1.49.1", "@skeletonlabs/skeleton": "^2.10.3", "@skeletonlabs/tw-plugin": "^0.4.0", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 0b37da127..3186d167a 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -54,6 +54,9 @@ importers: '@inlang/paraglide-js': specifier: 1.11.2 version: 1.11.2(babel-plugin-macros@3.1.0) + '@inlang/plugin-message-format': + specifier: 2.2.0 + version: 2.2.0 '@playwright/test': specifier: ^1.49.1 version: 1.49.1 @@ -732,6 +735,9 @@ packages: '@inlang/paraglide-vite@1.2.74': resolution: {integrity: sha512-SRHwD7vGO89NEzY2g+TsZWHo8EKoWrVppl/WePKzviRytUggOWZjW+Fxog2suOxC7Gm/C9X9r+7srzvrYasm7w==} + '@inlang/plugin-message-format@2.2.0': + resolution: {integrity: sha512-6MJLExr3OLqbR8gCP4UEgNMgdaJFFCug2GLmFwid7Ana4kObnbCA33YN3m3eN8p+lmnv7zpfW7oeyTZXZLoptg==} + '@inlang/plugin@2.4.14': resolution: {integrity: sha512-HFI1t1tKs6jXqwKVl59vvt7kvMgg2Po7xA3IFijfJTZCt0tTI8txqeXCUV9jhUop29Hqj6a5zQd32BYv33Dulw==} peerDependencies: @@ -4752,6 +4758,8 @@ snapshots: - debug - supports-color + '@inlang/plugin-message-format@2.2.0': {} + '@inlang/plugin@2.4.14(@sinclair/typebox@0.31.28)': dependencies: '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) diff --git a/frontend/project.inlang/settings.json b/frontend/project.inlang/settings.json index 3ac50e4a2..6f49cae1f 100644 --- a/frontend/project.inlang/settings.json +++ b/frontend/project.inlang/settings.json @@ -18,15 +18,7 @@ "sv", "id" ], - "modules": [ - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-valid-js-identifier@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" - ], + "modules": ["./node_modules/@inlang/plugin-message-format/dist/index.js"], "plugin.inlang.messageFormat": { "pathPattern": "./messages/{languageTag}.json" }