Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
cache-dependency-path: './package-lock.json'
- run: 'npm clean-install'
- run: 'node ./cli.js build-xregistry'
- uses: peter-evans/create-pull-request@v7
- uses: peter-evans/create-pull-request@v8
12 changes: 12 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4937,6 +4937,12 @@
"fileMatch": ["prefect.toml"],
"url": "https://raw.githubusercontent.com/PrefectHQ/prefect/refs/heads/main/schemas/settings.schema.json"
},
{
"name": "prefect.yaml",
"description": "Prefect deployment configuration file",
"fileMatch": ["prefect.yaml", "prefect.yml"],
"url": "https://raw.githubusercontent.com/PrefectHQ/prefect/refs/heads/main/schemas/prefect.yaml.schema.json"
},
{
"name": "prettierrc.json",
"description": ".prettierrc configuration file",
Expand Down Expand Up @@ -9082,6 +9088,12 @@
"description": "Changepacks are a way to package changes to a project",
"fileMatch": ["**/.changepacks/config.json"],
"url": "https://www.schemastore.org/changepacks.json"
},
{
"name": "Devup",
"description": "JSX Zero-Runtime UI Styling Library",
"fileMatch": ["devup.json"],
"url": "https://www.schemastore.org/devup.json"
}
]
}
11 changes: 10 additions & 1 deletion src/schemas/json/dependabot-2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,16 @@
},
"allOf": [
{
"required": ["package-ecosystem", "schedule"]
"$comment": "Schedule is required UNLESS multi-ecosystem-group is specified",
"if": {
"required": ["multi-ecosystem-group"]
},
"then": {
"required": ["package-ecosystem"]
},
"else": {
"required": ["package-ecosystem", "schedule"]
}
},
{
"oneOf": [
Expand Down
304 changes: 304 additions & 0 deletions src/schemas/json/devup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,304 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.schemastore.org/devup.json",
"$defs": {
"ColorValue": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/ColorValue"
}
}
]
},
"ColorTheme": {
"description": "Color theme with color name to value mappings. Supports nested objects for color scales.",
"type": "object",
"additionalProperties": {
"oneOf": [
{
"description": "Color value (e.g., '#000', 'rgb(0,0,0)')",
"type": "string"
},
{
"description": "Nested color object",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/ColorValue"
}
}
]
}
},
"Theme": {
"type": "object",
"properties": {
"breakpoints": {
"description": "Breakpoints in pixels for responsive typography (default: [0, 480, 768, 992, 1280, 1600])",
"type": "array",
"default": [0, 480, 768, 992, 1280, 1600],
"items": {
"type": "integer",
"maximum": 65535,
"minimum": 0
}
},
"colors": {
"description": "Color themes by mode name (e.g., \"light\", \"dark\")",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/ColorTheme"
},
"default": {}
},
"typography": {
"description": "Typography definitions by name (e.g., \"h1\", \"body\", \"caption\")",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Typographies"
},
"default": {}
}
}
},
"Typographies": {
"description": "Typography definition supporting both traditional array format and compact object format",
"oneOf": [
{
"description": "Traditional array format: array of Typography objects or null for each breakpoint",
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/$defs/Typography"
},
{
"type": "null"
}
]
}
},
{
"description": "Compact object format: each property can be a single value or array of values per breakpoint",
"type": "object",
"properties": {
"fontFamily": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fontSize": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fontStyle": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"fontWeight": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"letterSpacing": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"lineHeight": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
]
},
"Typography": {
"type": "object",
"properties": {
"fontFamily": {
"type": ["string", "null"]
},
"fontSize": {
"type": ["string", "null"]
},
"fontWeight": {
"default": null,
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"letterSpacing": {
"type": ["string", "null"]
},
"lineHeight": {
"default": null,
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
]
}
}
}
},
"title": "DevupJson",
"description": "Root devup.json configuration",
"type": "object",
"properties": {
"theme": {
"description": "Theme configuration including colors, typography, and breakpoints",
"anyOf": [
{
"$ref": "#/$defs/Theme"
},
{
"type": "null"
}
],
"default": null
}
}
}
31 changes: 31 additions & 0 deletions src/schemas/json/github-workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,34 @@
}
]
},
"snapshot": {
"$comment": "https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idsnapshot",
"description": "You can use `jobs.<job_id>.snapshot` to generate a custom image.\nAdd the snapshot keyword to the job, using either the string syntax or mapping syntax as shown in https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#generating-a-custom-image.\nEach job that includes the snapshot keyword creates a separate image. To generate only one image or image version, include all workflow steps in a single job. Each successful run of a job that includes the snapshot keyword creates a new version of that image.\nFor more information, see https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images.",
"oneOf": [
{
"$comment": "https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#string-syntax",
"type": "string",
"description": "You can use the string syntax with `snapshot` to define the image name. This method creates a new image or adds a new version to an existing image with the same name. You cannot specify a version number using this syntax."
},
{
"$comment": "https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#mapping-syntax",
"type": "object",
"additionalProperties": false,
"description": "You can use the mapping syntax with `snapshot` to define both the `image-name` and the optional `version`. When you specify a major version, the minor versioning automatically increments if that major version already exists. Patch versions are not supported.",
"properties": {
"image-name": {
"type": "string"
},
"version": {
"$comment": "https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images#specifying-a-version-in-your-workflow",
"type": "string",
"pattern": "^\\d+(\\.\\d+|\\*)?$"
}
},
"required": ["image-name"]
}
]
},
"step": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -623,6 +651,9 @@
"needs": {
"$ref": "#/definitions/jobNeeds"
},
"snapshot": {
"$ref": "#/definitions/snapshot"
},
"permissions": {
"$ref": "#/definitions/permissions"
},
Expand Down
Loading