Skip to content

Commit

Permalink
refactor: rename modules name for convention
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cloud committed Oct 26, 2016
1 parent e3a1892 commit a111a4b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/standard-version.js → bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
var standardVersion = require('../index')
var cmdParser = require('../cli')
var cmdParser = require('../command')

standardVersion(cmdParser.argv, function (err) {
if (err) {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "standard-version",
"version": "3.0.0",
"description": "replacement for `npm version` with automatic CHANGELOG generation",
"bin": "bin/standard-version.js",
"bin": "bin/cli.js",
"scripts": {
"pretest": "standard",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc mocha --timeout=20000 test.js",
"release": "bin/standard-version.js"
"release": "bin/cli.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ var mockGit = require('mock-git')
var mockery = require('mockery')
var semver = require('semver')
var Promise = require('bluebird')
var cli = require('./cli')
var cli = require('./command')
var standardVersion = require('./index')

var should = require('chai').should()

var cliPath = path.resolve(__dirname, './bin/standard-version.js')
var cliPath = path.resolve(__dirname, './bin/cli.js')

function commit (msg) {
shell.exec('git commit --allow-empty -m"' + msg + '"')
Expand Down

0 comments on commit a111a4b

Please sign in to comment.