Schema rejects valid root-level prerelease-type option
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- json, typescript
- Domain
- developer-experience, tooling
Research direction
Start with schemas/config.json and inspect how ReleaserConfigOptions is included at the root through allOf. Validate a root-level "prerelease-type": "alpha" configuration before and after the change; done means the schema accepts the option at the root while preserving its existing package validation.
Written by the indexing model from the issue text.
Description
schemas/config.json rejects a prerelease-type set at the root of the manifest config, even though it is a valid root option (it is defined in ReleaserConfigOptions and applied at the root via allOf, where it acts as the default for all packages).
Environment details
- OS: any
- Node.js version: n/a (schema validation in editor)
- npm version: n/a
release-pleaseversion: schema onmain
Steps to reproduce
- Add
"prerelease-type": "alpha"at the root of arelease-please-config.jsonthat referencesschemas/config.jsonvia$schema. - Validate against the schema (e.g. in an editor with JSON schema support).
- Validation fails with
Property prerelease-type is not allowed.
The option works at runtime; only schema validation is affected.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 589
- Avg merge
- 14h 14m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/release-please
-
priority: p3 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/release-please#2891 · 1 comment ·
-
priority: p2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/release-please#2884 · 1 reaction ·
-
priority: p2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/release-please#2878 · 1 comment · 2 reactions ·
-
priority: p3 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
googleapis/release-please#2828 · 2 comments ·
-
priority: p2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/release-please#2761 · 1 comment · 10 reactions ·
All issues in googleapis/release-please
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100