Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
fix: rename oclif manifest to not be a dotfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 3, 2018
1 parent 759f32f commit 84d16a2
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 27 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"bin": "./bin/run",
"bugs": "https://github.com/oclif/oclif/issues",
"dependencies": {
"@oclif/command": "^1.4.18",
"@oclif/config": "^1.6.16",
"@oclif/errors": "^1.0.7",
"@oclif/plugin-help": "^1.2.7",
"@oclif/command": "^1.4.19",
"@oclif/config": "^1.6.17",
"@oclif/errors": "^1.0.8",
"@oclif/plugin-help": "^1.2.8",
"@oclif/plugin-not-found": "^1.0.8",
"@oclif/plugin-warn-if-update-available": "^1.3.7",
"@oclif/plugin-warn-if-update-available": "^1.3.8",
"debug": "^3.1.0",
"fixpack": "^2.3.1",
"lodash": "^4.17.10",
Expand All @@ -22,7 +22,7 @@
"yosay": "^2.0.2"
},
"devDependencies": {
"@oclif/dev-cli": "^1.13.13",
"@oclif/dev-cli": "^1.13.14",
"@oclif/tslint": "^1.1.0",
"@types/lodash": "^4.14.108",
"@types/read-pkg": "^3.0.0",
Expand Down
5 changes: 2 additions & 3 deletions src/generators/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ class App extends Generator {
}
if (['plugin', 'multi'].includes(this.type)) {
this.pjson.scripts.prepack = nps.series(this.pjson.scripts.prepack, 'oclif-dev manifest', 'oclif-dev readme')
this.pjson.scripts.postpack = nps.series(this.pjson.scripts.postpack, 'rm -f .oclif.manifest.json')
this.pjson.scripts.postpack = nps.series(this.pjson.scripts.postpack, 'rm -f oclif.manifest.json')
this.pjson.scripts.version = nps.series('oclif-dev readme', 'git add README.md')
this.pjson.files.push('/.oclif.manifest.json')
this.pjson.files.push('/oclif.manifest.json')
}
this.pjson.keywords = defaults.keywords || [this.type === 'plugin' ? 'oclif-plugin' : 'oclif']
this.pjson.homepage = defaults.homepage || `https://github.com/${this.pjson.repository}`
Expand Down Expand Up @@ -460,7 +460,6 @@ class App extends Generator {
private _gitignore(): string {
const existing = this.fs.exists(this.destinationPath('.gitignore')) ? this.fs.read(this.destinationPath('.gitignore')).split('\n') : []
return _([
'.oclif.manifest.json',
'*-debug.log',
'*-error.log',
'node_modules',
Expand Down
57 changes: 39 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,28 @@
debug "^3.1.0"
semver "^5.5.0"

"@oclif/config@^1.6.16":
version "1.6.16"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.6.16.tgz#6bcb03bf30ee54eeafa788777d965bf47bb5047d"
"@oclif/command@^1.4.19":
version "1.4.19"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.19.tgz#7158eec97d9b4c4a109181e6a71bd83d34757254"
dependencies:
"@oclif/errors" "^1.0.6"
"@oclif/parser" "^3.3.3"
debug "^3.1.0"
semver "^5.5.0"

"@oclif/dev-cli@^1.13.13":
version "1.13.13"
resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.13.13.tgz#40f60c002f2f915c11d9f7a09d2f46967ecc072a"
"@oclif/config@^1.6.17":
version "1.6.17"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.6.17.tgz#e9608f56e5acd49fcaf3bbfcc3e8818d81b1ba12"
dependencies:
"@oclif/command" "^1.4.18"
"@oclif/config" "^1.6.16"
"@oclif/errors" "^1.0.7"
debug "^3.1.0"

"@oclif/dev-cli@^1.13.14":
version "1.13.14"
resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.13.14.tgz#fcfb899f6da512c6cdaf21e01667ec58217c677a"
dependencies:
"@oclif/command" "^1.4.19"
"@oclif/config" "^1.6.17"
"@oclif/errors" "^1.0.8"
"@oclif/plugin-help" "^1.2.7"
cli-ux "^3.4.1"
debug "^3.1.0"
Expand All @@ -76,9 +85,9 @@
strip-ansi "^4.0.0"
wrap-ansi "^3.0.1"

"@oclif/errors@^1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.7.tgz#13d7205801944c341534370e65140d21ab929e24"
"@oclif/errors@^1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.8.tgz#2f8239267506bb7c3f5fd776144c2686e5b7fff7"
dependencies:
clean-stack "^1.3.0"
fs-extra "^6.0.0"
Expand Down Expand Up @@ -109,6 +118,18 @@
widest-line "^2.0.0"
wrap-ansi "^3.0.1"

"@oclif/plugin-help@^1.2.8":
version "1.2.8"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-1.2.8.tgz#35c3edd97d192d5bd741f95cc9e3642dfa6d9902"
dependencies:
"@oclif/command" "^1.4.19"
chalk "^2.4.1"
indent-string "^3.2.0"
lodash.template "^4.4.0"
string-width "^2.1.1"
widest-line "^2.0.0"
wrap-ansi "^3.0.1"

"@oclif/plugin-not-found@^1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-1.0.8.tgz#5d71f8b9acfc5b45563196eebd3214313a06a14b"
Expand All @@ -117,13 +138,13 @@
"@oclif/command" "^1.4.18"
string-similarity "^1.2.0"

"@oclif/plugin-warn-if-update-available@^1.3.7":
version "1.3.7"
resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-1.3.7.tgz#175aef19d0aa2caf8d75e3d3e97124664d5670a4"
"@oclif/plugin-warn-if-update-available@^1.3.8":
version "1.3.8"
resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-1.3.8.tgz#bc42e86b83a29a138c8b7ee4e8c38ac066f9adf3"
dependencies:
"@oclif/command" "^1.4.18"
"@oclif/config" "^1.6.16"
"@oclif/errors" "^1.0.7"
"@oclif/command" "^1.4.19"
"@oclif/config" "^1.6.17"
"@oclif/errors" "^1.0.8"
chalk "^2.4.1"
debug "^3.1.0"
fs-extra "^6.0.0"
Expand Down

0 comments on commit 84d16a2

Please sign in to comment.