fix: prepack
Fixes
MODIFY
package.json
package.json
"yosay": "^2.0.2"
},
"devDependencies": {
- "@oclif/dev-cli": "^1.19.0",
+ "@oclif/dev-cli": "^1.19.1",
"@oclif/tslint": "^3.1.0",
"@types/lodash": "^4.14.117",
"@types/read-pkg": "^3.0.0",

MODIFY
src/generators/app.ts
src/generators/app.ts
@@ -307,7 +307,7 @@ class App extends Generator {
this.pjson.scripts.prepack = nps.series(`${rmrf} lib`, 'tsc -b')
}
if (['plugin', 'multi'].includes(this.type)) {
- this.pjson.scripts.prepack = nps.series('oclif-dev manifest', 'oclif-dev readme')
+ this.pjson.scripts.prepack = nps.series(this.pjson.scripts.prepack, 'oclif-dev manifest', 'oclif-dev readme')
this.pjson.scripts.postpack = `${rmf} oclif.manifest.json`
this.pjson.scripts.version = nps.series('oclif-dev readme', 'git add README.md')
this.pjson.files.push('/oclif.manifest.json')

MODIFY
yarn.lock
yarn.lock
debug "^4.0.1"
tslib "^1.9.3"
-"@oclif/dev-cli@^1.19.0":
- version "1.19.0"
- resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.19.0.tgz#1df38b24ca1d26bce1178d75f2d50b302e353e74"
- integrity sha512-cGfVuLinmnOYwGYMmi0PXLOJ0ck3KZWlm9+1RMTsFgA2devb5xosh4q+m31ywEVEVyOBZ/5h8OtQNf10zl4Oww==
+"@oclif/dev-cli@^1.19.1":
+ version "1.19.1"
+ resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.19.1.tgz#085dd28971d07b66623490f4b026c01c3d902079"
+ integrity sha512-KmAYCPEUjBnIv+oDCrCYsJQnBZOTxQ7eFDeLWdT6MarrNzDHgUGK8SojSTKO3CjFOT05Sq+ShqdH4NW4ovu+oQ==
dependencies:
- "@oclif/command" "^1.5.1"
- "@oclif/config" "^1.7.6"
+ "@oclif/command" "^1.5.2"
+ "@oclif/config" "^1.8.6"
"@oclif/errors" "^1.2.1"
"@oclif/plugin-help" "^2.1.2"
- cli-ux "^4.8.2"
- debug "^4.0.1"
+ cli-ux "^4.9.0"
+ debug "^4.1.0"
fs-extra "^7.0.0"
lodash "^4.17.11"
normalize-package-data "^2.4.0"
@@ -819,6 +819,32 @@ cli-ux@^4.8.2:
supports-color "^5.5.0"
supports-hyperlinks "^1.0.1"
+cli-ux@^4.9.0:
+ version "4.9.0"
+ resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-4.9.0.tgz#03e235c63c81614811f2400bb46ba140575b27c2"
+ integrity sha512-ab0RqYAX4mj3y2byircP+t8SsUdmwAa2lH4N6mN/UbjEBj/7A4cp/G3GKy3qU8q1HIndhf3OdgqaoWGozf13hA==
+ dependencies:
+ "@oclif/errors" "^1.2.0"
+ "@oclif/linewrap" "^1.0.0"
+ "@oclif/screen" "^1.0.2"
+ ansi-escapes "^3.1.0"
+ ansi-styles "^3.2.1"
+ cardinal "^2.1.1"
+ chalk "^2.4.1"
+ clean-stack "^1.3.0"
+ extract-stack "^1.0.0"
+ fs-extra "^7.0.0"
+ hyperlinker "^1.0.0"
+ indent-string "^3.2.0"
+ is-wsl "^1.1.0"
+ lodash "^4.17.11"
+ password-prompt "^1.0.7"
+ semver "^5.5.1"
+ strip-ansi "^4.0.0"
+ supports-color "^5.5.0"
+ supports-hyperlinks "^1.0.1"
+ treeify "^1.1.0"
+
cli-width@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
@@ -3935,6 +3961,11 @@ tree-kill@^1.1.0:
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.0.tgz#5846786237b4239014f05db156b643212d4c6f36"
integrity sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==
+treeify@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8"
+ integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==
+
trim-newlines@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"

fix: prepack

Fixes https://github.com/oclif/oclif/issues/170