diff --git a/change/beachball-4c6ad658-2d31-47ee-b8d7-6159244c9467.json b/change/beachball-4c6ad658-2d31-47ee-b8d7-6159244c9467.json new file mode 100644 index 000000000..9b66dfb86 --- /dev/null +++ b/change/beachball-4c6ad658-2d31-47ee-b8d7-6159244c9467.json @@ -0,0 +1,7 @@ +{ + "comment": "Remove non-meaningful or outdated default options", + "type": "patch", + "packageName": "beachball", + "email": "elcraig@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/src/options/getDefaultOptions.ts b/src/options/getDefaultOptions.ts index 213fd7e71..029b4c3eb 100644 --- a/src/options/getDefaultOptions.ts +++ b/src/options/getDefaultOptions.ts @@ -1,34 +1,20 @@ import { BeachballOptions } from '../types/BeachballOptions'; -export function getDefaultOptions() { +export function getDefaultOptions(): Partial { return { - all: false, authType: 'authtoken', - branch: 'origin/master', command: 'change', - message: '', publish: true, bumpDeps: true, push: true, registry: 'https://registry.npmjs.org/', - token: '', gitTags: true, - tag: '', - yes: false, access: 'restricted', - package: '', changehint: 'Run "beachball change" to create a change file', - type: null, fetch: true, - version: false, - disallowedChangeTypes: null, defaultNpmTag: 'latest', - scope: null, retries: 3, - timeout: undefined, bump: true, - canaryName: undefined, generateChangelog: true, - depth: undefined, - } as BeachballOptions; + }; }