fix: use caret versions
MODIFY
package.json
package.json
"bin": "./bin/run",
"bugs": "https://github.com/oclif/oclif/issues",
"dependencies": {
- "@oclif/command": "^1.4.20",
+ "@oclif/command": "^1.4.21",
"@oclif/config": "^1.6.17",
- "@oclif/errors": "^1.0.8",
+ "@oclif/errors": "^1.0.9",
"@oclif/plugin-help": "^1.2.10",
"@oclif/plugin-not-found": "^1.0.9",
"@oclif/plugin-warn-if-update-available": "^1.3.8",
"yosay": "^2.0.2"
},
"devDependencies": {
- "@oclif/dev-cli": "^1.13.15",
- "@oclif/tslint": "^1.1.0",
+ "@oclif/dev-cli": "^1.13.18",
+ "@oclif/tslint": "^1.1.1",
"@types/lodash": "^4.14.108",
"@types/read-pkg": "^3.0.0",
"@types/shelljs": "^0.7.9",
"nps": "^5.9.0",
"shelljs": "^0.8.1",
"tmp": "^0.0.33",
- "ts-node": "^6.0.2",
+ "ts-node": "^6.0.3",
"tslint": "^5.10.0",
"typescript": "^2.8.3"
},

MODIFY
src/generators/app.ts
src/generators/app.ts
@@ -384,62 +384,62 @@ class App extends Generator {
case 'base': break
case 'single':
dependencies.push(
- '@oclif/config@1',
- '@oclif/command@1',
- '@oclif/plugin-help@1',
+ '@oclif/config@^1',
+ '@oclif/command@^1',
+ '@oclif/plugin-help@^1',
)
break
case 'plugin':
dependencies.push(
- '@oclif/command@1',
- '@oclif/config@1',
+ '@oclif/command@^1',
+ '@oclif/config@^1',
)
devDependencies.push(
- '@oclif/dev-cli@1',
- '@oclif/plugin-help@1',
- 'globby@8',
+ '@oclif/dev-cli@^1',
+ '@oclif/plugin-help@^1',
+ 'globby@^8',
)
break
case 'multi':
dependencies.push(
- '@oclif/config@1',
- '@oclif/command@1',
- '@oclif/plugin-help@1',
+ '@oclif/config@^1',
+ '@oclif/command@^1',
+ '@oclif/plugin-help@^1',
)
devDependencies.push(
- '@oclif/dev-cli@1',
- 'globby@8',
+ '@oclif/dev-cli@^1',
+ 'globby@^8',
)
}
if (this.mocha) {
devDependencies.push(
- 'mocha@5',
- 'nyc@11',
- 'chai@4',
+ 'mocha@^5',
+ 'nyc@^11',
+ 'chai@^4',
)
if (this.type !== 'base') devDependencies.push(
- '@oclif/test@1',
+ '@oclif/test@^1',
)
}
if (this.ts) {
devDependencies.push(
- '@types/chai@4',
- '@types/mocha@5',
- '@types/node@9',
- 'typescript@2.8',
- 'ts-node@5',
- 'tslib@1',
+ '@types/chai@^4',
+ '@types/mocha@^5',
+ '@types/node@^9',
+ 'typescript@^2.8',
+ 'ts-node@^5',
+ 'tslib@^1',
)
if (this.tslint) {
devDependencies.push(
- '@oclif/tslint@1',
- 'tslint@5',
+ '@oclif/tslint@^1',
+ 'tslint@^5',
)
}
} else {
devDependencies.push(
- 'eslint@4',
- 'eslint-config-oclif@1',
+ 'eslint@^4',
+ 'eslint-config-oclif@^1',
)
}
let yarnOpts = {} as any

MODIFY
yarn.lock
yarn.lock
debug "^3.1.0"
semver "^5.5.0"
+"@oclif/command@^1.4.21":
+ version "1.4.21"
+ resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.21.tgz#e45f252f8c375ad6e24a0a5f908e6aa692c5c56a"
+ dependencies:
+ "@oclif/errors" "^1.0.9"
+ "@oclif/parser" "^3.3.3"
+ debug "^3.1.0"
+ semver "^5.5.0"
+
"@oclif/config@^1.6.17":
version "1.6.17"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.6.17.tgz#e9608f56e5acd49fcaf3bbfcc3e8818d81b1ba12"
dependencies:
debug "^3.1.0"
-"@oclif/dev-cli@^1.13.15":
- version "1.13.15"
- resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.13.15.tgz#cc02e5b8c1fdb9b04973926e5b9f034c3f7ed64c"
+"@oclif/dev-cli@^1.13.18":
+ version "1.13.18"
+ resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.13.18.tgz#d39c69245c6df1debe3a37c34fa715a5cfc6a48c"
dependencies:
"@oclif/command" "^1.4.20"
"@oclif/config" "^1.6.17"
strip-ansi "^4.0.0"
wrap-ansi "^3.0.1"
+"@oclif/errors@^1.0.9":
+ version "1.0.9"
+ resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.9.tgz#6fe3afd8e7683c436df63674550899adec10c81c"
+ dependencies:
+ clean-stack "^1.3.0"
+ fs-extra "^6.0.0"
+ indent-string "^3.2.0"
+ strip-ansi "^4.0.0"
+ wrap-ansi "^3.0.1"
+
"@oclif/linewrap@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
version "1.0.2"
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.2.tgz#c9d7c84b0ea60ecec8dd7a9b22c012ba9967aed8"
-"@oclif/tslint@^1.1.0":
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/@oclif/tslint/-/tslint-1.1.0.tgz#a2d494a61afa882a685fe5f4d866dafd18990728"
+"@oclif/tslint@^1.1.1":
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/@oclif/tslint/-/tslint-1.1.1.tgz#4d89d0fadbd233b8cd797d43557b5e987b0880a1"
dependencies:
- tslint-xo "^0.7.0"
+ tslint-xo "^0.7.2"
"@types/events@*":
version "1.2.0"
@@ -3326,9 +3345,9 @@ trim-newlines@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
-ts-node@^6.0.2:
- version "6.0.2"
- resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.0.2.tgz#e132d530e53173bc6a8c21ea65f64d8b47bc573e"
+ts-node@^6.0.3:
+ version "6.0.3"
+ resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.0.3.tgz#28bf74bcad134fad17f7469dad04638ece03f0f4"
dependencies:
arrify "^1.0.0"
chalk "^2.3.0"
@@ -3365,9 +3384,9 @@ tslint-microsoft-contrib@^5.0.2:
dependencies:
tsutils "^2.12.1"
-tslint-xo@^0.7.0:
- version "0.7.0"
- resolved "https://registry.yarnpkg.com/tslint-xo/-/tslint-xo-0.7.0.tgz#be5a1d67f8ade5d92aa8c0a21d9cfdcbaf06f3e0"
+tslint-xo@^0.7.2:
+ version "0.7.2"
+ resolved "https://registry.yarnpkg.com/tslint-xo/-/tslint-xo-0.7.2.tgz#7523e9f2819e23c5ce66b501e4b76067c1e6f637"
dependencies:
tslint-consistent-codestyle "^1.11.0"
tslint-eslint-rules "^5.1.0"

fix: use caret versions