From 4e7a96c5a831882463802cdd4f84fe1464969cb0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 23 Mar 2022 12:29:43 +0100 Subject: refactor: use formatjs swc plugin I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id. --- yarn.lock | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'yarn.lock') diff --git a/yarn.lock b/yarn.lock index a8f3c98..9355ce0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1282,6 +1282,17 @@ intl-messageformat "9.11.4" tslib "^2.1.0" +"@formatjs/swc-plugin@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@formatjs/swc-plugin/-/swc-plugin-1.3.2.tgz#3de6c0bd49819629b1398fa97759130ec909596b" + integrity sha512-gL9u/LRrJTBury5g4aQxW8s4ZuhMJljSkmDhXejAurVnRfdhFWV9DZc2lsZ7KqAvIOTOta7BUvzTu54JWZOEMg== + dependencies: + "@formatjs/icu-messageformat-parser" "2.0.18" + "@formatjs/ts-transformer" "3.9.2" + "@types/node" "14 || 16 || 17" + chalk "^4.0.0" + tslib "^2.1.0" + "@formatjs/ts-transformer@3.9.2": version "3.9.2" resolved "https://registry.yarnpkg.com/@formatjs/ts-transformer/-/ts-transformer-3.9.2.tgz#958582b16ed9125fd904c051a9dda1ecd2474a5a" @@ -4600,7 +4611,7 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" -intl-messageformat@9.11.4, intl-messageformat@^9.11.4: +intl-messageformat@9.11.4: version "9.11.4" resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-9.11.4.tgz#0f9030bc6d10e6a48592142f88e646d88f05f1f2" integrity sha512-77TSkNubIy/hsapz6LQpyR6OADcxhWdhSaboPb5flMaALCVkPvAIxr48AlPqaMl4r1anNcvR9rpLWVdwUY1IKg== -- cgit v1.2.3