-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.bumpedrc
42 lines (31 loc) · 1.08 KB
/
.bumpedrc
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
40
41
42
files: [
'package.json'
]
plugins:
prerelease:
'Linting config files':
plugin: 'bumped-finepack'
sortOptions:
ignoreObjectAtKeys: ['rules']
ignoreArrayAtKeys: ['require']
'Exit if not logged in to NPM':
plugin: 'bumped-terminal'
command: 'npm whoami'
postrelease:
'Generating and committing lock files':
plugin: 'bumped-terminal'
command: 'npm i && yarn && git add yarn.lock package-lock.json && git commit -m "chore(package): update lockfiles"'
'Generating CHANGELOG file':
plugin: 'bumped-changelog'
'Committing new version':
plugin: 'bumped-terminal'
command: 'git add CHANGELOG.md package.json && git commit -m "Release $newVersion"'
'Detecting problems before publish':
plugin: 'bumped-terminal'
command: 'npx git-dirty && yarn prepublishOnly'
'Publishing at NPM':
plugin: 'bumped-terminal'
command: 'npm publish'
'Publishing tag at Github':
plugin: 'bumped-terminal'
command: 'git tag $newVersion && git push origin master && git push --tags'