@cmflow/cli 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmflow/cli",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "An awesome Git Flow",
5
5
  "author": "camfou",
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@ class YarnCli extends Cli {
18
18
  }
19
19
 
20
20
  install (...args) {
21
- return super.run('add', ...args)
21
+ return super.run('install', ...args)
22
22
  }
23
23
 
24
24
  /**
@@ -44,7 +44,7 @@ describe('YarnCli', () => {
44
44
  it('should run "install" cmd', async () => {
45
45
  await yarn.install('install-arg')
46
46
 
47
- expect(execa).toHaveBeenCalledWith('yarn', ['add', 'install-arg'], {
47
+ expect(execa).toHaveBeenCalledWith('yarn', ['install', 'install-arg'], {
48
48
  cwd: process.cwd(),
49
49
  stdio: 'inherit'
50
50
  })
@@ -10,5 +10,5 @@ export async function analyzeCommits (pluginConfig, context) {
10
10
  context.nextRelease.type = analyzedCommits
11
11
  context.nextRelease.version = calculateSnapshotVersion(context)
12
12
  context.lastRelease.version = null
13
- return analyzedCommits
13
+ return 'patch'
14
14
  }