Skip to content
Merged
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 19 additions & 17 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
],
"url": "https://raw.githubusercontent.com/teneplaysofficial/release-hub/main/schema/release-hub.schema.json"
},
{
"name": "ReleaseKit",
"description": "Configuration for ReleaseKit release automation",
"fileMatch": ["releasekit.config.json"],
"url": "https://goosewobbler.github.io/releasekit/schema.json"
},
{
"name": "Releasaurus Config",
"description": "Configuration file for Releasaurus",
Expand Down Expand Up @@ -5010,17 +5016,6 @@
"fileMatch": ["paper-plugin.yml"],
"url": "https://www.schemastore.org/paper-plugin.json"
},
{
"name": "pathfinder.yml",
"description": "Configuration for Transcend's Pathfinder, a proxy that intercepts calls to AI tools to enable AI governance",
"fileMatch": [
"pathfinder.yml",
"pathfinder.yaml",
"transcend-pathfinder.yml",
"transcend-pathfinder.yaml"
],
"url": "https://raw.githubusercontent.com/transcend-io/cli/main/pathfinder-policy-yml-schema.json"
},
{
"name": "PDM",
"description": "A modern Python package and dependency manager supporting the latest PEP standard (pdm.toml config file)",
Expand Down Expand Up @@ -6536,9 +6531,9 @@
},
{
"name": "transcend.yml",
"description": "Define personal data in code using Transcend",
"description": "Configure as Code for Transcend",
"fileMatch": ["transcend.yml", "transcend.yaml"],
"url": "https://raw.githubusercontent.com/transcend-io/cli/main/transcend-yml-schema-latest.json"
"url": "https://raw.githubusercontent.com/transcend-io/tools/refs/heads/main/packages/cli/schema/transcend-yml-schema-latest.json"
},
{
"name": "trime.yaml",
Expand Down Expand Up @@ -7441,7 +7436,7 @@
"name": "Gradle Enterprise",
"description": "Gradle Enterprise configuration",
"fileMatch": ["*gradle-enterprise.yml", "*gradle-enterprise.yaml"],
"url": "https://docs.gradle.com/downloads/gradle-enterprise-config-schema/gradle-enterprise-config-schema-14.json",
"url": "https://docs.gradle.com/downloads/gradle-enterprise-config-schema/gradle-enterprise-config-schema-15.json",
"versions": {
"1.0": "https://docs.gradle.com/develocity/helm-admin/schema/gradle-enterprise-config-schema-1.json",
"2.0": "https://docs.gradle.com/develocity/helm-admin/schema/gradle-enterprise-config-schema-2.json",
Expand All @@ -7456,7 +7451,8 @@
"11.0": "https://docs.gradle.com/develocity/helm-admin/schema/gradle-enterprise-config-schema-11.json",
"12.0": "https://docs.gradle.com/develocity/helm-admin/schema/gradle-enterprise-config-schema-12.json",
"13.0": "https://docs.gradle.com/downloads/gradle-enterprise-config-schema/gradle-enterprise-config-schema-13.json",
"14.0": "https://docs.gradle.com/downloads/gradle-enterprise-config-schema/gradle-enterprise-config-schema-14.json"
"14.0": "https://docs.gradle.com/downloads/gradle-enterprise-config-schema/gradle-enterprise-config-schema-14.json",
"15.0": "https://docs.gradle.com/downloads/gradle-enterprise-config-schema/gradle-enterprise-config-schema-15.json"
}
},
{
Expand Down Expand Up @@ -9529,13 +9525,13 @@
{
"name": "oxfmt",
"description": "Configuration file for Oxfmt, a high-performance formatter for the JavaScript ecosystem",
"fileMatch": [".oxfmtrc.json"],
"fileMatch": ["**/.oxfmtrc.json"],
"url": "https://raw.githubusercontent.com/oxc-project/oxc/refs/heads/main/npm/oxfmt/configuration_schema.json"
},
{
"name": "oxlint",
"description": "Configuration file for Oxlint, a high-performance linter for JavaScript and TypeScript built on the Oxc compiler stack",
"fileMatch": [".oxlintrc.json"],
"fileMatch": ["**/.oxlintrc.json"],
"url": "https://raw.githubusercontent.com/oxc-project/oxc/refs/heads/main/npm/oxlint/configuration_schema.json"
},
{
Expand All @@ -9554,6 +9550,12 @@
"description": "Cursor cloud agent environment configuration",
"fileMatch": ["**/.cursor/environment.json"],
"url": "https://cursor.com/schemas/environment.schema.json"
},
{
"name": "nexus-rpc-gen",
"description": "nexus-rpc-gen configuration for generating Nexus RPC service stubs",
"fileMatch": ["*.nexusrpc.yaml", "*.nexusrpc.yml"],
"url": "https://raw.githubusercontent.com/nexus-rpc/nexus-rpc-gen/main/schemas/nexus-rpc-gen.json"
}
]
}
43 changes: 43 additions & 0 deletions src/schemas/json/bitrise-step.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,38 @@
"additionalProperties": false,
"type": "object"
},
"ContainerReferenceConfigModel": {
"type": "object",
"description": "Additional configuration for a container reference.",
"properties": {
"recreate": {
"type": "boolean",
"description": "If true, the current container instance is discarded and a fresh one is started for this Step."
}
},
"additionalProperties": false
},
"ContainerReferenceModel": {
"description": "A reference to a container. Can be specified as a container ID string or as an object with the container ID as the key and optional configuration as the value.",
"oneOf": [
{
"type": "string",
"description": "The ID of the container as defined in the top-level `containers` map."
},
{
"type": "object",
"description": "The container ID with optional configuration.",
"patternProperties": {
".*": {
"$ref": "#/definitions/ContainerReferenceConfigModel"
}
},
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 1
}
]
},
"StepModel": {
"properties": {
"title": {
Expand Down Expand Up @@ -237,6 +269,17 @@
"type": "object",
"description": "Additional metadata related to the Step."
},
"execution_container": {
"$ref": "#/definitions/ContainerReferenceModel",
"description": "The execution container for this Step. The Step runs inside the specified Docker container."
},
"service_containers": {
"type": "array",
"description": "Service containers to run alongside this Step as background services.",
"items": {
"$ref": "#/definitions/ContainerReferenceModel"
}
},
"inputs": {
"items": {
"patternProperties": {
Expand Down
59 changes: 59 additions & 0 deletions src/schemas/json/bitrise.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@
"ContainerModel": {
"required": ["image"],
"properties": {
"type": {
"type": "string",
"enum": ["execution", "service"],
"description": "The type of the container. Use `execution` for containers that execute Steps, and `service` for background service containers."
},
"image": {
"type": "string",
"description": "The Docker image for the container, in `[REPOSITORY[:TAG]]` format."
Expand Down Expand Up @@ -182,6 +187,38 @@
"additionalProperties": false,
"type": "object"
},
"ContainerReferenceConfigModel": {
"type": "object",
"description": "Additional configuration for a container reference.",
"properties": {
"recreate": {
"type": "boolean",
"description": "If true, the current container instance is discarded and a fresh one is started for this Step."
}
},
"additionalProperties": false
},
"ContainerReferenceModel": {
"description": "A reference to a container. Can be specified as a container ID string or as an object with the container ID as the key and optional configuration as the value.",
"oneOf": [
{
"type": "string",
"description": "The ID of the container as defined in the top-level `containers` map."
},
{
"type": "object",
"description": "The container ID with optional configuration.",
"patternProperties": {
".*": {
"$ref": "#/definitions/ContainerReferenceConfigModel"
}
},
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 1
}
]
},
"DockerCredentialModel": {
"required": ["username", "password"],
"properties": {
Expand Down Expand Up @@ -812,6 +849,17 @@
"$ref": "#/definitions/EnvModel",
"description": "Inputs defined for the Step bundle: these are values that can be set when the Step bundle is added to a Workflow."
},
"execution_container": {
"$ref": "#/definitions/ContainerReferenceModel",
"description": "The default execution container for Steps in this bundle. Steps in the bundle inherit this container unless they define their own."
},
"service_containers": {
"type": "array",
"description": "The default service containers for Steps in this bundle. Service containers accumulate additively through the hierarchy.",
"items": {
"$ref": "#/definitions/ContainerReferenceModel"
}
},
"steps": {
"items": {
"patternProperties": {
Expand Down Expand Up @@ -848,6 +896,17 @@
},
"inputs": {
"$ref": "#/definitions/EnvModel"
},
"execution_container": {
"$ref": "#/definitions/ContainerReferenceModel",
"description": "Overrides the execution container for this bundle invocation."
},
"service_containers": {
"type": "array",
"description": "Overrides the service containers for this bundle invocation.",
"items": {
"$ref": "#/definitions/ContainerReferenceModel"
}
}
},
"additionalProperties": false,
Expand Down
14 changes: 11 additions & 3 deletions src/schemas/json/partial-pixi.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@
"title": "Task",
"description": "the name of the task to depend on",
"type": "string",
"minLength": 1,
"pattern": "^[^\\s\\$]+$"
}
}
Expand Down Expand Up @@ -642,7 +643,8 @@
}
},
"propertyNames": {
"description": "A valid task name."
"description": "A valid task name.",
"minLength": 1
}
}
}
Expand Down Expand Up @@ -1842,7 +1844,8 @@
}
},
"propertyNames": {
"description": "A valid task name."
"description": "A valid task name.",
"minLength": 1
}
}
}
Expand Down Expand Up @@ -1971,6 +1974,7 @@
{
"description": "A valid task name.",
"type": "string",
"minLength": 1,
"pattern": "^[^\\s\\$]+$"
}
]
Expand All @@ -1982,6 +1986,7 @@
{
"description": "A valid task name.",
"type": "string",
"minLength": 1,
"pattern": "^[^\\s\\$]+$"
}
]
Expand All @@ -1995,12 +2000,14 @@
"items": {
"description": "A valid task name.",
"type": "string",
"minLength": 1,
"pattern": "^[^\\s\\$]+$"
}
},
{
"description": "A valid task name.",
"type": "string",
"minLength": 1,
"pattern": "^[^\\s\\$]+$"
}
]
Expand Down Expand Up @@ -2533,7 +2540,8 @@
}
},
"propertyNames": {
"description": "A valid task name."
"description": "A valid task name.",
"minLength": 1
}
},
"tool": {
Expand Down
3 changes: 3 additions & 0 deletions src/schemas/json/traefik-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,9 @@
"addInternals": {
"type": "boolean"
},
"dualOutput": {
"type": "boolean"
},
"bufferingSize": {
"type": "integer"
},
Expand Down
12 changes: 11 additions & 1 deletion src/schemas/json/ty.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@
},
"ignore-comment-unknown-rule": {
"title": "detects `ty: ignore` comments that reference unknown rules",
"description": "## What it does\nChecks for `ty: ignore[code]` where `code` isn't a known lint rule.\n\n## Why is this bad?\nA `ty: ignore[code]` directive with a `code` that doesn't match\nany known rule will not suppress any type errors, and is probably a mistake.\n\n## Examples\n```py\na = 20 / 0 # ty: ignore[division-by-zer]\n```\n\nUse instead:\n\n```py\na = 20 / 0 # ty: ignore[division-by-zero]\n```",
"description": "## What it does\nChecks for `ty: ignore[code]` or `type: ignore[ty:code]` comments where `code` isn't a known lint rule.\n\n## Why is this bad?\nA `ty: ignore[code]` or a `type:ignore[ty:code] directive with a `code` that doesn't match\nany known rule will not suppress any type errors, and is probably a mistake.\n\n## Examples\n```py\na = 20 / 0 # ty: ignore[division-by-zer]\n```\n\nUse instead:\n\n```py\na = 20 / 0 # ty: ignore[division-by-zero]\n```",
"default": "warn",
"oneOf": [
{
Expand Down Expand Up @@ -1080,6 +1080,16 @@
}
]
},
"invalid-yield": {
"title": "detects yield expressions where the \"yield\" or \"send\" type is incompatible with the annotated return type",
"description": "## What it does\nDetects `yield` and `yield from` expressions where the \"yield\" or \"send\" type\nis incompatible with the generator function's annotated return type.\n\n## Why is this bad?\nYielding a value of a type that doesn't match the generator's declared yield type,\nor using `yield from` with a sub-iterator whose yield or send type is incompatible,\nis a type error that may cause downstream consumers of the generator to receive\nvalues of an unexpected type.\n\n## Examples\n```python\nfrom typing import Iterator\n\ndef gen() -> Iterator[int]:\n yield \"not an int\" # error: [invalid-yield]\n```",
"default": "error",
"oneOf": [
{
"$ref": "#/definitions/Level"
}
]
},
"isinstance-against-protocol": {
"title": "reports invalid runtime checks against protocol classes",
"description": "## What it does\nReports invalid runtime checks against `Protocol` classes.\nThis includes explicit calls `isinstance()`/`issubclass()` against\nnon-runtime-checkable protocols, `issubclass()` calls against protocols\nthat have non-method members, and implicit `isinstance()` checks against\nnon-runtime-checkable protocols via pattern matching.\n\n## Why is this bad?\nThese calls (implicit or explicit) raise `TypeError` at runtime.\n\n## Examples\n```python\nfrom typing_extensions import Protocol, runtime_checkable\n\nclass HasX(Protocol):\n x: int\n\n@runtime_checkable\nclass HasY(Protocol):\n y: int\n\ndef f(arg: object, arg2: type):\n isinstance(arg, HasX) # error: [isinstance-against-protocol] (not runtime-checkable)\n issubclass(arg2, HasX) # error: [isinstance-against-protocol] (not runtime-checkable)\n\ndef g(arg: object):\n match arg:\n case HasX(): # error: [isinstance-against-protocol] (not runtime-checkable)\n pass\n\ndef h(arg2: type):\n isinstance(arg2, HasY) # fine (runtime-checkable)\n\n # `HasY` is runtime-checkable, but has non-method members,\n # so it still can't be used in `issubclass` checks)\n issubclass(arg2, HasY) # error: [isinstance-against-protocol]\n```\n\n## References\n- [Typing documentation: `@runtime_checkable`](https://docs.python.org/3/library/typing.html#typing.runtime_checkable)",
Expand Down