diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index b3aaea3ead2..0ca286be7ea 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -10121,7 +10121,7 @@ "**/testdata/insurance/insurance.yml", "**/testdata/insurance/insurance.yaml" ], - "url": "https://www.schemastore.org/gematik-test-hcpis.json" + "url": "https://www.schemastore.org/gematik-test-insurances.json" }, { "name": "gematik tiger test environment configuration", diff --git a/src/schemas/json/gematik-test-hcpis.json b/src/schemas/json/gematik-test-hcpis.json index ccd088f0c0b..568866f3b94 100644 --- a/src/schemas/json/gematik-test-hcpis.json +++ b/src/schemas/json/gematik-test-hcpis.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://json.schemastore.org/gematik-test-hcp1s.json", + "$id": "https://json.schemastore.org/gematik-test-hcpis.json", "title": "HCPIsRepository", "description": "List of all hcpis", "definitions": { diff --git a/src/schemas/json/pnpm-workspace.json b/src/schemas/json/pnpm-workspace.json index 9a28c71cc59..1e24fc47fac 100644 --- a/src/schemas/json/pnpm-workspace.json +++ b/src/schemas/json/pnpm-workspace.json @@ -810,6 +810,76 @@ "description": "The primary branch of the repository which is used for publishing the latest changes.", "type": "string" }, + "versioning": { + "description": "Versioning settings for pnpm's native workspace release management, used by `pnpm change` and recursive `pnpm version`.", + "type": "object", + "properties": { + "fixed": { + "description": "Groups of workspace projects that always release together at one shared version. The shared version is the highest current version in the group, bumped by the largest bump any member needs.", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "ignore": { + "description": "Workspace projects permanently excluded from versioning and dependent propagation.", + "type": "array", + "items": { + "type": "string" + } + }, + "maxBump": { + "description": "Caps the bump that a release from the current checkout may apply, after dependent propagation and fixed-group resolution.", + "type": "string", + "enum": ["patch", "minor", "major"] + }, + "lanes": { + "description": "Maps a workspace project to a release lane. Unlisted projects are on the reserved `main` lane and release stable versions.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "epics": { + "description": "Ties member projects to a lead project and constrains their major versions to the lead's major-version band.", + "type": "array", + "items": { + "type": "object", + "properties": { + "lead": { + "description": "Lead workspace project name or a `./`-prefixed workspace-relative directory.", + "type": "string" + }, + "packages": { + "description": "Project selectors matched in order, supporting name globs, `./`-prefixed directory globs, and `!`-prefixed negations.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["lead", "packages"], + "additionalProperties": false + } + }, + "changelog": { + "description": "Controls where release changelog content is stored.", + "type": "object", + "properties": { + "storage": { + "description": "Changelog storage mode. `registry` composes changelog entries at publish time, while `repository` commits CHANGELOG.md files in packages.", + "type": "string", + "enum": ["registry", "repository"] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, "provenance": { "description": "When publishing from a supported cloud CI/CD system, the package will be publicly linked to where it was built and published from.", "type": "boolean" diff --git a/src/test/pnpm-workspace/pnpm-workspace.yaml b/src/test/pnpm-workspace/pnpm-workspace.yaml index 6a7dec959ee..fb5c03d6f63 100644 --- a/src/test/pnpm-workspace/pnpm-workspace.yaml +++ b/src/test/pnpm-workspace/pnpm-workspace.yaml @@ -36,3 +36,20 @@ embedReadme: true # https://pnpm.io/cli/publish#--provenance provenance: true + +# https://pnpm.io/settings/versioning +versioning: + fixed: + - ['@example/cli', '@example/napi'] + ignore: + - '@example/internal' + maxBump: patch + lanes: + '@example/cli': alpha + epics: + - lead: '@example/app' + packages: + - './packages/**' + - '!./packages/private-*' + changelog: + storage: repository