Merge pull request #93 from semantic-release/greenkeeper-pin
Pinned all dependencies
This commit is contained in:
commit
19150d84fb
28
package.json
28
package.json
@ -27,30 +27,30 @@
|
|||||||
"@semantic-release/release-notes-generator": "^2.0.0",
|
"@semantic-release/release-notes-generator": "^2.0.0",
|
||||||
"git-head": "^1.2.1",
|
"git-head": "^1.2.1",
|
||||||
"github": "^0.2.4",
|
"github": "^0.2.4",
|
||||||
"lodash": "^3.9.3",
|
"lodash": "3.10.0",
|
||||||
"nerf-dart": "^1.0.0",
|
"nerf-dart": "^1.0.0",
|
||||||
"nopt": "^3.0.3",
|
"nopt": "3.0.3",
|
||||||
"npmconf": "^2.1.2",
|
"npmconf": "^2.1.2",
|
||||||
"npmlog": "^1.2.1",
|
"npmlog": "^1.2.1",
|
||||||
"parse-github-repo-url": "^1.0.0",
|
"parse-github-repo-url": "^1.0.0",
|
||||||
"require-relative": "^0.8.7",
|
"require-relative": "^0.8.7",
|
||||||
"run-auto": "^1.1.2",
|
"run-auto": "1.1.2",
|
||||||
"run-series": "^1.1.2",
|
"run-series": "1.1.3",
|
||||||
"semver": "^5.0.1"
|
"semver": "5.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel": "^5.5.8",
|
"babel": "5.8.21",
|
||||||
"coveralls": "^2.11.2",
|
"coveralls": "2.11.3",
|
||||||
"cz-conventional-changelog": "^1.1.0",
|
"cz-conventional-changelog": "1.1.0",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"nixt": "^0.4.1",
|
"nixt": "^0.4.1",
|
||||||
"nock": "^2.5.0",
|
"nock": "2.11.0",
|
||||||
"npm-registry-couchapp": "^2.6.11",
|
"npm-registry-couchapp": "^2.6.11",
|
||||||
"nyc": "^3.0.0",
|
"nyc": "3.2.1",
|
||||||
"proxyquire": "^1.5.0",
|
"proxyquire": "1.7.1",
|
||||||
"rimraf": "^2.4.0",
|
"rimraf": "2.4.2",
|
||||||
"standard": "^5.0.2",
|
"standard": "5.3.0",
|
||||||
"tap": "^1.3.1"
|
"tap": "1.4.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10",
|
"node": ">=0.10",
|
||||||
|
@ -32,9 +32,9 @@ module.exports = function ({lastRelease, options}, cb) {
|
|||||||
`The commit the last release of this package was derived from is not in the direct history of the "${branch}" branch.
|
`The commit the last release of this package was derived from is not in the direct history of the "${branch}" branch.
|
||||||
This means semantic-release can not extract the commits between now and then.
|
This means semantic-release can not extract the commits between now and then.
|
||||||
This is usually caused by force pushing, releasing from an unrelated branch, or using an already existing package name.
|
This is usually caused by force pushing, releasing from an unrelated branch, or using an already existing package name.
|
||||||
You can recover from this error by publishing manually or restoring the commit "${from}".` + (branches && branches.length ?
|
You can recover from this error by publishing manually or restoring the commit "${from}".` + (branches && branches.length
|
||||||
`\nHere is a list of branches that still contain the commit in question: \n * ${branches.join('\n * ')}` :
|
? `\nHere is a list of branches that still contain the commit in question: \n * ${branches.join('\n * ')}`
|
||||||
''
|
: ''
|
||||||
))
|
))
|
||||||
return cb(new SemanticReleaseError('Commit not in history', 'ENOTINHISTORY'))
|
return cb(new SemanticReleaseError('Commit not in history', 'ENOTINHISTORY'))
|
||||||
}
|
}
|
||||||
|
@ -12,9 +12,9 @@ let exports = module.exports = function (options) {
|
|||||||
if (!Array.isArray(options[plugin])) {
|
if (!Array.isArray(options[plugin])) {
|
||||||
plugins[plugin] = exports.normalize(
|
plugins[plugin] = exports.normalize(
|
||||||
options[plugin],
|
options[plugin],
|
||||||
plugin === 'verifyConditions' ?
|
plugin === 'verifyConditions'
|
||||||
'@semantic-release/condition-travis' :
|
? '@semantic-release/condition-travis'
|
||||||
'./plugin-noop'
|
: './plugin-noop'
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -28,9 +28,9 @@ module.exports = function (config, cb) {
|
|||||||
|
|
||||||
const nextRelease = {
|
const nextRelease = {
|
||||||
type: results.type,
|
type: results.type,
|
||||||
version: results.type === 'initial' ?
|
version: results.type === 'initial'
|
||||||
'1.0.0' :
|
? '1.0.0'
|
||||||
semver.inc(results.lastRelease.version, results.type)
|
: semver.inc(results.lastRelease.version, results.type)
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.verifyRelease(_.assign({
|
plugins.verifyRelease(_.assign({
|
||||||
|
@ -12,9 +12,9 @@ module.exports = {
|
|||||||
|
|
||||||
cb(
|
cb(
|
||||||
null,
|
null,
|
||||||
/\.\.HEAD/.test(command) ?
|
/\.\.HEAD/.test(command)
|
||||||
rawCommits[0] :
|
? rawCommits[0]
|
||||||
rawCommits.join()
|
: rawCommits.join()
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
'@noCallThru': true
|
'@noCallThru': true
|
||||||
|
@ -67,7 +67,6 @@ test('plugin pipelines', (t) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test('normalize and load plugin', (t) => {
|
test('normalize and load plugin', (t) => {
|
||||||
|
|
||||||
t.test('load from string', (tt) => {
|
t.test('load from string', (tt) => {
|
||||||
const plugin = plugins.normalize('./dist/lib/plugin-noop')
|
const plugin = plugins.normalize('./dist/lib/plugin-noop')
|
||||||
|
|
||||||
@ -93,4 +92,6 @@ test('normalize and load plugin', (t) => {
|
|||||||
|
|
||||||
tt.end()
|
tt.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
t.end()
|
||||||
})
|
})
|
||||||
|
@ -65,4 +65,6 @@ test('full post run', (t) => {
|
|||||||
tt.end()
|
tt.end()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
t.end()
|
||||||
})
|
})
|
||||||
|
@ -65,4 +65,6 @@ test('verify pkg, options and env', (t) => {
|
|||||||
|
|
||||||
tt.end()
|
tt.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
t.end()
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user