Skip to content

chore(BeachballOptions): Move scope to RepoOptions type#599

Merged
ecraig12345 merged 2 commits into
microsoft:masterfrom
ling1726:fix/export-scope-option
Sep 20, 2021
Merged

chore(BeachballOptions): Move scope to RepoOptions type#599
ecraig12345 merged 2 commits into
microsoft:masterfrom
ling1726:fix/export-scope-option

Conversation

@ling1726

@ling1726 ling1726 commented Sep 20, 2021

Copy link
Copy Markdown
Contributor

The scope CLI option, can be used in the configuration file regardless
of it being a cli specific option.

Adds scope to the RepoOptions type so that it can be used in the
config file as a part of BeachballConfig

Also improves the options types by making CliOptions extend shared
RepoOptions. Also sorts the options for easier readability in the future.

The `scope` CLI option, can be used in the configuration file regardless
of it being a cli specific option.

Adds `scope` to the `RepoOptions` type so that it can be used in the
config file as a part of `BeachballConfig`

Also improves the options types by making `CliOptions` extend shared
`RepoOptions`.
export type BeachballOptions = CliOptions & RepoOptions & PackageOptions;

export interface CliOptions {
export interface CliOptions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the alphabetizing but it makes diffing challenging--were any properties removed from here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No removals, apart from alphebetizing, the only change was to add scope to RepoOptions

@ecraig12345 ecraig12345 merged commit d8b8297 into microsoft:master Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants