From 0a3e51a4c0746b4a81c925c7d8e43a4bce143bc1 Mon Sep 17 00:00:00 2001 From: zhcnyuyang Date: Wed, 25 Jun 2025 15:39:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0i18n=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pnp.cjs | 24 ++++++++++++++++++++++++ package.json | 1 + yarn.lock | 10 ++++++++++ 3 files changed, 35 insertions(+) diff --git a/.pnp.cjs b/.pnp.cjs index 73d3ca1..0d7f119 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -37,6 +37,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@codemirror/lang-xml", "npm:6.1.0"],\ ["@codemirror/state", "npm:6.5.2"],\ ["@codemirror/view", "npm:6.37.2"],\ + ["@nanostores/i18n", "virtual:72ff44e1307b5c61447ede5ffc28ecacd700948466d7165d2b8899ff130869b2d667d50a2c66953dea1538a5d0a0d113cbca9e74c5d3de8af55596b6aff4d3a3#npm:1.0.1"],\ ["@rollup/plugin-typescript", "virtual:72ff44e1307b5c61447ede5ffc28ecacd700948466d7165d2b8899ff130869b2d667d50a2c66953dea1538a5d0a0d113cbca9e74c5d3de8af55596b6aff4d3a3#npm:12.1.3"],\ ["axios", "npm:1.10.0"],\ ["bulma", "npm:1.0.4"],\ @@ -223,6 +224,28 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@nanostores/i18n", [\ + ["npm:1.0.1", {\ + "packageLocation": "./.yarn/cache/@nanostores-i18n-npm-1.0.1-765084c384-b95f04da6b.zip/node_modules/@nanostores/i18n/",\ + "packageDependencies": [\ + ["@nanostores/i18n", "npm:1.0.1"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:72ff44e1307b5c61447ede5ffc28ecacd700948466d7165d2b8899ff130869b2d667d50a2c66953dea1538a5d0a0d113cbca9e74c5d3de8af55596b6aff4d3a3#npm:1.0.1", {\ + "packageLocation": "./.yarn/__virtual__/@nanostores-i18n-virtual-14b0d7207e/0/cache/@nanostores-i18n-npm-1.0.1-765084c384-b95f04da6b.zip/node_modules/@nanostores/i18n/",\ + "packageDependencies": [\ + ["@nanostores/i18n", "virtual:72ff44e1307b5c61447ede5ffc28ecacd700948466d7165d2b8899ff130869b2d667d50a2c66953dea1538a5d0a0d113cbca9e74c5d3de8af55596b6aff4d3a3#npm:1.0.1"],\ + ["@types/nanostores", null],\ + ["nanostores", "npm:1.0.1"]\ + ],\ + "packagePeers": [\ + "@types/nanostores",\ + "nanostores"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@npmcli/agent", [\ ["npm:3.0.0", {\ "packageLocation": "./.yarn/cache/@npmcli-agent-npm-3.0.0-169e79294f-e8fc25d536.zip/node_modules/@npmcli/agent/",\ @@ -3066,6 +3089,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@codemirror/lang-xml", "npm:6.1.0"],\ ["@codemirror/state", "npm:6.5.2"],\ ["@codemirror/view", "npm:6.37.2"],\ + ["@nanostores/i18n", "virtual:72ff44e1307b5c61447ede5ffc28ecacd700948466d7165d2b8899ff130869b2d667d50a2c66953dea1538a5d0a0d113cbca9e74c5d3de8af55596b6aff4d3a3#npm:1.0.1"],\ ["@rollup/plugin-typescript", "virtual:72ff44e1307b5c61447ede5ffc28ecacd700948466d7165d2b8899ff130869b2d667d50a2c66953dea1538a5d0a0d113cbca9e74c5d3de8af55596b6aff4d3a3#npm:12.1.3"],\ ["axios", "npm:1.10.0"],\ ["bulma", "npm:1.0.4"],\ diff --git a/package.json b/package.json index 377a710..3910ccb 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "@codemirror/lang-xml": "^6.1.0", "@codemirror/state": "^6.5.2", "@codemirror/view": "^6.37.2", + "@nanostores/i18n": "^1.0.1", "axios": "^1.10.0", "bulma": "^1.0.4", "nanostores": "^1.0.1" diff --git a/yarn.lock b/yarn.lock index b935e62..735b42c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -153,6 +153,15 @@ __metadata: languageName: node linkType: hard +"@nanostores/i18n@npm:^1.0.1": + version: 1.0.1 + resolution: "@nanostores/i18n@npm:1.0.1" + peerDependencies: + nanostores: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^1.0.0 + checksum: b95f04da6b09bff1d7b4ebe3bc791700baac482e33fe503af0eda72dfe747497c87330520bdf4d934fef0566276223bc5470ff021e5b879e48d4ef496aa36c95 + languageName: node + linkType: hard + "@npmcli/agent@npm:^3.0.0": version: 3.0.0 resolution: "@npmcli/agent@npm:3.0.0" @@ -2260,6 +2269,7 @@ __metadata: "@codemirror/lang-xml": ^6.1.0 "@codemirror/state": ^6.5.2 "@codemirror/view": ^6.37.2 + "@nanostores/i18n": ^1.0.1 "@rollup/plugin-typescript": ^12.1.3 axios: ^1.10.0 bulma: ^1.0.4