mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 09:37:22 +00:00
fix(main): exclude schemas/ from biome formatting
Generated JSON schemas use JSON.stringify output and should not be reformatted by biome, avoiding CI drift between generation and formatting passes. Signed-off-by: Simon Rey <simon@podman-desktop.io> AI-assisted: yes Made-with: Cursor Signed-off-by: Simon Rey <51708585+simonrey1@users.noreply.github.com>
This commit is contained in:
parent
8dbe31ffd8
commit
9096743588
3 changed files with 103 additions and 24 deletions
|
|
@ -21,7 +21,8 @@
|
|||
"!**/website/static/release-notes/**",
|
||||
"!**/website-argos/screenshots/**",
|
||||
"!**/storybook/.storybook/themes.css",
|
||||
"!**/storybook/storybook-static/**"
|
||||
"!**/storybook/storybook-static/**",
|
||||
"!**/schemas/**"
|
||||
]
|
||||
},
|
||||
"javascript": {
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@
|
|||
"biome format --write"
|
||||
],
|
||||
"*.md": "prettier --cache --write",
|
||||
"*.{css,json}": "biome format --write"
|
||||
"*.{css,json}": "biome format --write --no-errors-on-unmatched"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.4.12",
|
||||
|
|
|
|||
|
|
@ -43,7 +43,10 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["light", "dark"],
|
||||
"required": [
|
||||
"light",
|
||||
"dark"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
|
|
@ -109,13 +112,31 @@
|
|||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["markdown", "string", "number", "integer", "boolean", "null", "array", "object"]
|
||||
"enum": [
|
||||
"markdown",
|
||||
"string",
|
||||
"number",
|
||||
"integer",
|
||||
"boolean",
|
||||
"null",
|
||||
"array",
|
||||
"object"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["markdown", "string", "number", "integer", "boolean", "null", "array", "object"]
|
||||
"enum": [
|
||||
"markdown",
|
||||
"string",
|
||||
"number",
|
||||
"integer",
|
||||
"boolean",
|
||||
"null",
|
||||
"array",
|
||||
"object"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -239,11 +260,15 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["id"],
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["title"],
|
||||
"required": [
|
||||
"title"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"commands": {
|
||||
|
|
@ -278,7 +303,10 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["light", "dark"],
|
||||
"required": [
|
||||
"light",
|
||||
"dark"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
|
|
@ -319,7 +347,10 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["command", "title"],
|
||||
"required": [
|
||||
"command",
|
||||
"title"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
|
|
@ -345,7 +376,9 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["fontCharacter"],
|
||||
"required": [
|
||||
"fontCharacter"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
|
|
@ -376,7 +409,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"required": ["id", "name", "parent", "colors"],
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"parent",
|
||||
"colors"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
|
|
@ -399,7 +437,9 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["icon"],
|
||||
"required": [
|
||||
"icon"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
|
|
@ -429,17 +469,24 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["light", "dark"],
|
||||
"required": [
|
||||
"light",
|
||||
"dark"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["label"],
|
||||
"required": [
|
||||
"label"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["badge"],
|
||||
"required": [
|
||||
"badge"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
|
|
@ -468,7 +515,10 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["path", "altText"],
|
||||
"required": [
|
||||
"path",
|
||||
"altText"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"steps": {
|
||||
|
|
@ -495,7 +545,10 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["path", "altText"],
|
||||
"required": [
|
||||
"path",
|
||||
"altText"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"command": {
|
||||
|
|
@ -524,28 +577,43 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["value"],
|
||||
"required": [
|
||||
"value"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"component": {
|
||||
"type": "string",
|
||||
"enum": ["createContainerProviderConnection", "createKubernetesProviderConnection"]
|
||||
"enum": [
|
||||
"createContainerProviderConnection",
|
||||
"createKubernetesProviderConnection"
|
||||
]
|
||||
},
|
||||
"when": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["completed", "failed", "skipped"]
|
||||
"enum": [
|
||||
"completed",
|
||||
"failed",
|
||||
"skipped"
|
||||
]
|
||||
},
|
||||
"state": {
|
||||
"type": "string",
|
||||
"enum": ["completed", "failed"]
|
||||
"enum": [
|
||||
"completed",
|
||||
"failed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["id", "title"],
|
||||
"required": [
|
||||
"id",
|
||||
"title"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
|
|
@ -553,7 +621,11 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["title", "steps", "enablement"],
|
||||
"required": [
|
||||
"title",
|
||||
"steps",
|
||||
"enablement"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"features": {
|
||||
|
|
@ -566,7 +638,13 @@
|
|||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["name", "displayName", "version", "publisher", "description"],
|
||||
"required": [
|
||||
"name",
|
||||
"displayName",
|
||||
"version",
|
||||
"publisher",
|
||||
"description"
|
||||
],
|
||||
"additionalProperties": {}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue