Skip to content

Commit

Permalink
Merge pull request #923 from ergebnis/feature/schema
Browse files Browse the repository at this point in the history
Enhancement: Update `schema.json`
  • Loading branch information
localheinz committed May 2, 2022
2 parents 8ef0995 + 684cba4 commit 0045fae
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 6 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`2.25.2...main`][2.25.2...main].
For a full diff see [`2.26.0...main`][2.26.0...main].

## [`2.26.0`][2.26.0]

For a full diff see [`2.25.2...2.26.0`][2.25.2....2.26.0].

### Changed

- Updated `schema.json` ([#923]), by [@ergebnis-bot]

## [`2.25.2`][2.25.2]

Expand Down Expand Up @@ -736,6 +744,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[2.25.0]: https://github.com/ergebnis/composer-normalize/releases/tag/2.25.0
[2.25.1]: https://github.com/ergebnis/composer-normalize/releases/tag/2.25.1
[2.25.2]: https://github.com/ergebnis/composer-normalize/releases/tag/2.25.2
[2.26.0]: https://github.com/ergebnis/composer-normalize/releases/tag/2.26.0

[81bc3a8...0.1.0]: https://github.com/ergebnis/composer-normalize/compare/81bc3a8...0.1.0
[0.1.0...0.2.0]: https://github.com/ergebnis/composer-normalize/compare/0.1.0...0.2.0
Expand Down Expand Up @@ -807,7 +816,8 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[2.24.1...2.25.0]: https://github.com/ergebnis/composer-normalize/compare/2.24.1...2.25.0
[2.25.0...2.25.1]: https://github.com/ergebnis/composer-normalize/compare/2.25.0...2.25.1
[2.25.1...2.25.2]: https://github.com/ergebnis/composer-normalize/compare/2.25.1...2.25.2
[2.25.2...main]: https://github.com/ergebnis/composer-normalize/compare/2.25.2...main
[2.25.2...2.26.0]: https://github.com/ergebnis/composer-normalize/compare/2.25.2...2.26.0
[2.26.0...main]: https://github.com/ergebnis/composer-normalize/compare/2.26.0...main

[#1]: https://github.com/ergebnis/composer-normalize/pull/1
[#2]: https://github.com/ergebnis/composer-normalize/pull/2
Expand Down Expand Up @@ -911,6 +921,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0].
[#916]: https://github.com/ergebnis/composer-normalize/pull/916
[#920]: https://github.com/ergebnis/composer-normalize/pull/920
[#922]: https://github.com/ergebnis/composer-normalize/pull/922
[#923]: https://github.com/ergebnis/composer-normalize/pull/923

[@core23]: https://github.com/core23
[@dependabot]: https://github.com/dependabot
Expand Down
33 changes: 29 additions & 4 deletions resource/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
"properties": {
"platform": {
"type": "object",
"description": "This is an object of package name (keys) and version (values) that will be used to mock the platform packages on this machine.",
"description": "This is an object of package name (keys) and version (values) that will be used to mock the platform packages on this machine, the version can be set to false to make it appear like the package is not present.",
"additionalProperties": {
"type": [
"string",
Expand Down Expand Up @@ -396,7 +396,7 @@
},
"github-protocols": {
"type": "array",
"description": "A list of protocols to use for github.com clones, in priority order, defaults to [\"git\", \"https\", \"http\"].",
"description": "A list of protocols to use for github.com clones, in priority order, defaults to [\"https\", \"ssh\", \"git\"].",
"items": {
"type": "string"
}
Expand All @@ -417,9 +417,26 @@
},
"gitlab-token": {
"type": "object",
"description": "An object of domain name => gitlab private tokens, typically {\"gitlab.com\":\"<token>\"}.",
"description": "An object of domain name => gitlab private tokens, typically {\"gitlab.com\":\"<token>\"}, or an object with username and token keys.",
"additionalProperties": {
"type": "string"
"type": [
"string",
"object"
],
"required": [
"username",
"token"
],
"properties": {
"username": {
"type": "string",
"description": "The username used for GitLab authentication"
},
"token": {
"type": "string",
"description": "The token used for GitLab authentication"
}
}
}
},
"gitlab-protocol": {
Expand Down Expand Up @@ -608,6 +625,14 @@
"consumer-secret": {
"type": "string",
"description": "The consumer-secret used for OAuth authentication"
},
"access-token": {
"type": "string",
"description": "The OAuth token retrieved from Bitbucket's API, this is written by Composer and you should not set it nor modify it."
},
"access-token-expiration": {
"type": "integer",
"description": "The generated token's expiration timestamp, this is written by Composer and you should not set it nor modify it."
}
}
}
Expand Down

0 comments on commit 0045fae

Please sign in to comment.