MetaMask / MetaMask/create-release-branch

Monorepo flow: When validating a release spec, ensure list of packages is non-empty

Open Beginner friendly
#11 2 comments 0 reactions 0 assignees View on GitHub
enhancement team-core-platform
Dominant language
TypeScript
Stars
9
Forks
7
Avg merge
51m
Merged PRs (30d)
2

Description

Add a check to [`validateReleaseSpecification`](https://github.com/MetaMask/create-release-branch/blob/68072dac631087984b8d7f59df21ffa4407de35c/src/release-specification.ts#L164) which will check whether the list of packages is empty; if it is, then throw an error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/release-specification.ts at validateReleaseSpecification, linked from the issue. Read how the release specification and package list are currently validated, then add the requested empty-list rejection. Done means a release specification with no packages produces an error while non-empty package lists continue to validate.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.