chore: bump schema to 1.18.5-alpha7

This commit is contained in:
dongchengjie 2024-07-02 19:38:44 +08:00
parent 82bc1d5da5
commit 0021fc24bb
4 changed files with 8 additions and 11 deletions

View File

@ -37,7 +37,7 @@
"i18next": "^23.11.5",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.21",
"meta-json-schema": "1.18.5-alpha6",
"meta-json-schema": "1.18.5-alpha7",
"monaco-editor": "^0.49.0",
"monaco-yaml": "^5.2.0",
"nanoid": "^5.0.7",

View File

@ -65,8 +65,8 @@ importers:
specifier: ^4.17.21
version: 4.17.21
meta-json-schema:
specifier: 1.18.5-alpha6
version: 1.18.5-alpha6
specifier: 1.18.5-alpha7
version: 1.18.5-alpha7
monaco-editor:
specifier: ^0.49.0
version: 0.49.0
@ -3311,10 +3311,10 @@ packages:
integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==,
}
meta-json-schema@1.18.5-alpha6:
meta-json-schema@1.18.5-alpha7:
resolution:
{
integrity: sha512-Qh1NOgM8HMKLdx59NUy+Um+r2xOJptD7ge/0rnwxGS+MuEFeBCmNF1lUjW3e1Iktngd8TCopji8KdmGPCla+cw==,
integrity: sha512-VhlrRXgtzZFIg6VAuipDfQ9cuBxUlondbwRHzB8++OkXWD9HZYp4wXYZPTNa7pcTIr1rMWsg+0llvBlGGp/Z5w==,
}
micromark-core-commonmark@2.0.1:
@ -6639,7 +6639,7 @@ snapshots:
merge-stream@2.0.0: {}
meta-json-schema@1.18.5-alpha6: {}
meta-json-schema@1.18.5-alpha7: {}
micromark-core-commonmark@2.0.1:
dependencies:

View File

@ -494,7 +494,6 @@ export const ProfileItem = (props: Props) => {
property={option?.proxies ?? ""}
open={proxiesOpen}
language="yaml"
schema={undefined}
onChange={onChange}
onClose={() => setProxiesOpen(false)}
/>
@ -503,7 +502,6 @@ export const ProfileItem = (props: Props) => {
property={option?.groups ?? ""}
open={groupsOpen}
language="yaml"
schema={undefined}
onChange={onChange}
onClose={() => setGroupsOpen(false)}
/>
@ -512,7 +510,7 @@ export const ProfileItem = (props: Props) => {
property={option?.merge ?? ""}
open={mergeOpen}
language="yaml"
schema="merge"
schema="clash"
onChange={onChange}
onClose={() => setMergeOpen(false)}
/>
@ -521,7 +519,6 @@ export const ProfileItem = (props: Props) => {
property={option?.script ?? ""}
open={scriptOpen}
language="javascript"
schema={undefined}
onChange={onChange}
onClose={() => setScriptOpen(false)}
/>

View File

@ -173,7 +173,7 @@ export const ProfileMore = (props: Props) => {
property={id}
open={fileOpen}
language={id === "Merge" ? "yaml" : "javascript"}
schema={id === "Merge" ? "merge" : undefined}
schema={id === "Merge" ? "clash" : undefined}
onChange={onChange}
onClose={() => setFileOpen(false)}
/>