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
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.

18 changes: 18 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -3854,6 +3854,12 @@
],
"url": "https://gitlab.com/gitlab-org/gitlab-foss/-/raw/master/app/assets/javascripts/editor/schema/ci.json"
},
{
"name": "GitLab Duo Workflow",
"description": "YAML configuration for GitLab Duo Workflows",
"fileMatch": [".gitlab/duo/flows/*.yaml"],
"url": "https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/raw/main/duo_workflow_service/schemas/v1/flow_config.schema.json"
},
{
"name": "Gitpod Automations",
"description": "Configuration for Gitpod Automations",
Expand Down Expand Up @@ -4025,6 +4031,12 @@
"fileMatch": ["*.goff.yml", "*.goff.yaml", "*.goff.json", "*.goff.toml"],
"url": "https://raw.githubusercontent.com/thomaspoignant/go-feature-flag/main/.schema/flag-schema.json"
},
{
"name": "gojo.yaml",
"description": "gojo project manifest (profiles, agents, schedules)",
"fileMatch": ["gojo.yaml", "**/.gojo/project.yaml"],
"url": "https://raw.githubusercontent.com/detroitpro/gojo/main/packages/contracts/schemas/gojo.project.schema.json"
},
{
"name": "Goreleaser",
"description": "Goreleaser configuration file",
Expand Down Expand Up @@ -5699,6 +5711,12 @@
"v0.9.0": "https://github.com/bitol-io/open-data-product-standard/blob/main/schema/odps-json-schema-v0.9.0.json"
}
},
{
"name": "Open Pentest Format",
"description": "OPF finding library or engagement export (*.opf.json): portable penetration test findings",
"fileMatch": ["*.opf.json"],
"url": "https://cairnsecurity.com/opf/schema/opf-1.1.schema.json"
},
{
"name": "OpenSRM",
"description": "Open Service Reliability Manifest - Define service reliability requirements as code",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
name: build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5
- name: satisfy constraings
run: echo 'constraints=${{ inputs.constraints }}'
env:
CONSTRAINTS: ${{ inputs.constraints }}
run: echo "constraints=$CONSTRAINTS"
- name: build
run: echo 'do build step'
- name: publish
uses: example/example-publisher-action@v1
uses: example/example-publisher-action@ee0669bd1cc54295c223e0bb666b733df41de1c5
with:
token: ${{ secrets.api_token }}
5 changes: 5 additions & 0 deletions src/negative_test/global/must-use-string-error-message.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"errorMessage": false
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"msbuild-sdks": {
"Microsoft.Build.Traversal": 4.1
}
}
5 changes: 5 additions & 0 deletions src/negative_test/global/must-use-string-sdk-paths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"paths": [".dotnet", 10]
}
}
5 changes: 5 additions & 0 deletions src/negative_test/global/rollforward-requires-version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"rollForward": "latestFeature"
}
}
51 changes: 44 additions & 7 deletions src/schemas/json/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
"properties": {
"sdk": {
"type": "object",
"description": "Specify information about the SDK.",
"description": "Specifies information about the .NET SDK to select.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#sdk",
"properties": {
"version": {
"type": "string",
"pattern": "^(?<major>0|[1-9]\\d*)\\.(?<minor>0|[1-9]\\d*)\\.(?<patch>0|[1-9]\\d*)(?:-(?<prerelease>(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+(?<buildmetadata>[0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"description": "The version of the SDK to use."
"description": "The version of the .NET SDK to use. A full version number is required; wildcards and version ranges aren't supported.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#version"
},
"allowPrerelease": {
"type": "boolean"
"type": "boolean",
"description": "Whether the SDK resolver should consider prerelease versions when selecting the SDK version to use.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#allowprerelease"
},
"rollForward": {
"type": "string",
Expand All @@ -28,20 +29,56 @@
"latestMajor",
"disable"
],
"default": "disable",
"description": "The roll-forward policy when selecting an SDK version, either as a fallback to accommodate missing a specific SDK version or as a directive to use a later version."
"description": "The roll-forward policy to use when selecting an SDK version. A version must also be specified unless this is set to 'latestMajor'. When omitted, the effective policy is 'patch' if a version is specified and 'latestMajor' otherwise.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#rollforward"
},
"paths": {
"type": "array",
"description": "The locations to consider when searching for a compatible .NET SDK. Paths can be absolute, relative to global.json, or the special value '$host$'. Available since .NET 10 SDK.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#paths",
"items": {
"type": "string"
}
},
"errorMessage": {
"type": "string",
"description": "A custom error message to display when the SDK resolver can't find a compatible .NET SDK. Available since .NET 10 SDK.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#errormessage"
}
},
"dependencies": {
"rollForward": {
"anyOf": [
{
"properties": {
"version": {}
},
"required": ["version"]
},
{
"properties": {
"rollForward": {
"enum": ["latestMajor"]
}
}
}
]
}
}
},
"msbuild-sdks": {
"type": "object",
"description": "Controls project SDK versions in one place rather than in each individual project. Each property name is a project SDK name and its value is the version to use.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#msbuild-sdks",
"additionalProperties": {
"type": "string"
}
},
"test": {
"type": "object",
"description": "Specify information related to testing",
"description": "Specifies information about tests.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#test",
"properties": {
"runner": {
"type": "string",
"enum": ["Microsoft.Testing.Platform", "VSTest"],
"default": "VSTest",
"description": "The test runner/platform used by 'dotnet test' command."
"description": "The test runner that the 'dotnet test' command uses to discover and run tests. Available since .NET 10 SDK.\nhttps://learn.microsoft.com/dotnet/core/tools/global-json#runner"
}
}
}
Expand Down
13 changes: 12 additions & 1 deletion src/schemas/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,18 @@
},
"sideEffects": {
"description": "Provides hints to the Webpack compiler, denoting which files in your project are \"pure\" and therefore safe to prune if unused.",
"type": "boolean"
"oneOf": [
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
]
}
},
"$id": "https://json.schemastore.org/package.json"
Expand Down
Loading
Loading