Skip to content

Commit

Permalink
fix: set spaces in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 31, 2018
1 parent 8613415 commit 68671d0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"bugs": "https://github.com/jdxcode/plugins/issues",
"dependencies": {
"@anycli/command": "^0.2.6",
"@anycli/config": "^0.1.39",
"@anycli/manifest-file": "^0.1.0",
"@anycli/config": "^0.2.0",
"@anycli/manifest-file": "^0.2.0",
"@heroku-cli/color": "^1.1.1",
"cli-ux": "^3.3.8",
"debug": "^3.1.0",
Expand All @@ -34,7 +34,7 @@
"@types/supports-color": "^3.1.0",
"chai": "^4.1.2",
"eslint": "^4.16.0",
"eslint-config-anycli": "^1.2.1",
"eslint-config-anycli": "^1.3.0",
"husky": "^0.14.3",
"mocha": "^5.0.0",
"mocha-junit-reporter": "^1.17.0",
Expand Down
2 changes: 2 additions & 0 deletions src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export interface File {
}

export default class Manifest extends ManifestFile {
writeOptions = {spaces: 2}

constructor(file: string) {
super(['@anycli/plugins', file].join(':'), file)
}
Expand Down
33 changes: 27 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
lodash "^4.17.4"
tslib "^1.9.0"

"@anycli/config@^0.1.39":
version "0.1.41"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.1.41.tgz#b18b9a6da0202254a5e52991206419188aa75766"
"@anycli/config@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.2.0.tgz#103a1d28bd76f6bd15ddad1cd9091fdb33ec958b"
dependencies:
cli-ux "^3.3.8"
debug "^3.1.0"
Expand Down Expand Up @@ -43,6 +43,16 @@
lodash "^4.17.4"
rwlockfile "^2.0.21"

"@anycli/manifest-file@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@anycli/manifest-file/-/manifest-file-0.2.0.tgz#f9f70fd2afb44178fe907f2a35ad8746eeb1ee97"
dependencies:
debug "^3.1.0"
fs-extra "^5.0.0"
load-json-file "^4.0.0"
lodash "^4.17.4"
rwlockfile "^2.0.21"

"@anycli/parser@^0.1.1":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-0.1.3.tgz#6ad888815f65afcf66b6f462efc13a56743dd9d1"
Expand Down Expand Up @@ -793,11 +803,12 @@ eslint-ast-utils@^1.0.0:
lodash.get "^4.4.2"
lodash.zip "^4.2.0"

eslint-config-anycli@^1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/eslint-config-anycli/-/eslint-config-anycli-1.2.2.tgz#8d52cf3594056944918806b6e3003ba3228a800b"
eslint-config-anycli@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/eslint-config-anycli/-/eslint-config-anycli-1.3.0.tgz#35f970a1b382aa5ebe1353b96a6855461b4a1de0"
dependencies:
eslint-config-xo-space "^0.17.0"
eslint-plugin-mocha "^4.11.0"
eslint-plugin-node "^5.2.1"
eslint-plugin-unicorn "^3.0.1"

Expand All @@ -811,6 +822,12 @@ eslint-config-xo@^0.18.0:
version "0.18.2"
resolved "https://registry.yarnpkg.com/eslint-config-xo/-/eslint-config-xo-0.18.2.tgz#0a157120875619929e735ffd6b185c41e8a187af"

eslint-plugin-mocha@^4.11.0:
version "4.11.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-4.11.0.tgz#91193a2f55e20a5e35974054a0089d30198ee578"
dependencies:
ramda "^0.24.1"

eslint-plugin-node@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz#80df3253c4d7901045ec87fa660a284e32bdca29"
Expand Down Expand Up @@ -1920,6 +1937,10 @@ q@^1.4.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"

ramda@^0.24.1:
version "0.24.1"
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857"

read-pkg-up@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
Expand Down

0 comments on commit 68671d0

Please sign in to comment.