From f53a57d0f8f6331cd328a598fa98ce172940f6e4 Mon Sep 17 00:00:00 2001 From: ZLY Date: Sun, 19 Oct 2025 15:20:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E6=B7=BB=E5=8A=A0=20JSON=20?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/package.json b/package.json index 68bc2e2..c271f2c 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@arco-design/web-react": "^2.32.2", "@arco-themes/react-arco-pro": "^0.0.7", "@codemirror/lang-java": "^6.0.2", + "@codemirror/lang-json": "^6.0.2", "@codemirror/lang-python": "^6.2.1", "@loadable/component": "^5.13.2", "@reduxjs/toolkit": "^2.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 430c716..ba27a2e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: '@codemirror/lang-java': specifier: ^6.0.2 version: 6.0.2 + '@codemirror/lang-json': + specifier: ^6.0.2 + version: 6.0.2 '@codemirror/lang-python': specifier: ^6.2.1 version: 6.2.1 @@ -837,6 +840,9 @@ packages: '@codemirror/lang-java@6.0.2': resolution: {integrity: sha512-m5Nt1mQ/cznJY7tMfQTJchmrjdjQ71IDs+55d1GAa8DGaB8JXWsVCkVT284C3RTASaY43YknrK2X3hPO/J3MOQ==} + '@codemirror/lang-json@6.0.2': + resolution: {integrity: sha512-x2OtO+AvwEHrEwR0FyyPtfDUiloG3rnVTSZV1W8UteaLL8/MajQd8DpvUb2YVzC+/T18aSDv0H9mu+xw0EStoQ==} + '@codemirror/lang-python@6.2.1': resolution: {integrity: sha512-IRjC8RUBhn9mGR9ywecNhB51yePWCGgvHfY1lWN/Mrp3cKuHr0isDKia+9HnvhiWNnMpbGhWrkhuWOc09exRyw==} @@ -929,6 +935,9 @@ packages: '@lezer/java@1.1.3': resolution: {integrity: sha512-yHquUfujwg6Yu4Fd1GNHCvidIvJwi/1Xu2DaKl/pfWIA2c1oXkVvawH3NyXhCaFx4OdlYBVX5wvz2f7Aoa/4Xw==} + '@lezer/json@1.0.3': + resolution: {integrity: sha512-BP9KzdF9Y35PDpv04r0VeSTKDeox5vVr3efE7eBbx3r4s3oNLfunchejZhjArmeieBH+nVOpgIiBJpEAv8ilqQ==} + '@lezer/lr@1.4.2': resolution: {integrity: sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==} @@ -5658,6 +5667,11 @@ snapshots: '@codemirror/language': 6.11.3 '@lezer/java': 1.1.3 + '@codemirror/lang-json@6.0.2': + dependencies: + '@codemirror/language': 6.11.3 + '@lezer/json': 1.0.3 + '@codemirror/lang-python@6.2.1': dependencies: '@codemirror/autocomplete': 6.19.0 @@ -5788,6 +5802,12 @@ snapshots: '@lezer/highlight': 1.2.2 '@lezer/lr': 1.4.2 + '@lezer/json@1.0.3': + dependencies: + '@lezer/common': 1.3.0 + '@lezer/highlight': 1.2.2 + '@lezer/lr': 1.4.2 + '@lezer/lr@1.4.2': dependencies: '@lezer/common': 1.3.0