-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathgetDefaultOptions.ts
More file actions
39 lines (38 loc) · 986 Bytes
/
getDefaultOptions.ts
File metadata and controls
39 lines (38 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { env } from '../env';
import { BeachballOptions } from '../types/BeachballOptions';
/**
* Default options.
* Note that as of writing, this does not actually set values for all "required" BeachballOptions.
*/
export function getDefaultOptions(): BeachballOptions {
return {
access: 'restricted',
all: false,
authType: 'authtoken',
branch: 'origin/master',
bump: true,
bumpDeps: true,
bumpPeerDeps: true,
canaryName: undefined,
changehint: 'Run "beachball change" to create a change file',
command: 'change',
defaultNpmTag: 'latest',
depth: undefined,
disallowedChangeTypes: null,
fetch: true,
generateChangelog: true,
gitTags: true,
gitTimeout: undefined,
message: '',
publish: true,
push: true,
registry: 'https://registry.npmjs.org/',
retries: 3,
scope: null,
tag: '',
timeout: undefined,
type: null,
version: false,
yes: env.isCI,
} as BeachballOptions;
}