Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
refactor: update dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Versions of node less than 6 are no longer supported.
  • Loading branch information
jlegrone committed Jun 30, 2018
1 parent 7472e97 commit 9a6cde4
Show file tree
Hide file tree
Showing 8 changed files with 2,461 additions and 1,211 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "2.1.1",
"lerna": "2.11.0",
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.2.0"
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"packages/*"
],
"devDependencies": {
"@commitlint/cli": "^5.1.1",
"@commitlint/config-conventional": "^5.1.3",
"commitizen": "^2.9.6",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"commitizen": "^2.10.1",
"cz-customizable": "^5.2.0",
"eslint": "^4.5.0",
"eslint-config-xo-space": "^0.17.0",
"eslint": "^5.0.1",
"eslint-config-xo-space": "^0.19.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"jest": "^23.2.0",
"lerna": "^2.1.1"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-semantic-module/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["env", {
"targets": {
"node": "4.5.0"
"node": "6"
}
}]
],
Expand Down
2 changes: 1 addition & 1 deletion packages/create-semantic-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"jest": "^21.2.1",
"jest": "^23.2.0",
"rimraf": "^2.6.2"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-semantic-module/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["env", {
"targets": {
"node": "4.5.0"
"node": "6"
}
}]
],
Expand Down
6 changes: 3 additions & 3 deletions packages/generator-semantic-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"jest": "^23.2.0",
"jest-cli": "^23.2.0",
"ncp": "^2.0.0",
"nsp": "^3.1.0",
"rimraf": "^2.6.2",
Expand All @@ -32,7 +32,7 @@
"dependencies": {
"babel-polyfill": "^6.26.0",
"chalk": "^2.1.0",
"yeoman-generator": "^1.0.0",
"yeoman-generator": "^2.0.5",
"yosay": "^2.0.0"
},
"jest": {
Expand Down
10 changes: 6 additions & 4 deletions packages/generator-semantic-module/src/generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function getCLIOptions(optionsObj) {
}, {});
}

module.exports = class extends Generator {
class SemanticModuleGenerator extends Generator {
constructor([moduleNameArg]) {
super(...arguments);

Expand Down Expand Up @@ -147,7 +147,7 @@ You can always run create-semantic-module again and select a different option.`)
this.fs.extendJSON(this.destinationPath('package.json'), packageJSON);
}

install() {
async install() {
const packages = [
'commitizen',
'@commitlint/cli',
Expand All @@ -167,6 +167,8 @@ You can always run create-semantic-module again and select a different option.`)
} : {
'save-dev': true
};
this.runInstall(packager, packages, installFlags);
await this.runInstall(packager, packages, installFlags);
}
};
}

module.exports = SemanticModuleGenerator;
Loading

0 comments on commit 9a6cde4

Please sign in to comment.