diff --git a/.travis.yml b/.travis.yml index a59a543d..57acfa4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ env: global: - - CC_TEST_REPORTER_ID=647b2686eea1455308f41e70e10aa991c0f8e4c39ee20495d0247e6bbc738aa5 + - CC_TEST_REPORTER_ID=0f88c4c7f8deeb56cc6bfc87c3d11d28f45e5a07dee8fb29a97cd66af1c89bf4 language: node_js node_js: - "8" diff --git a/CHANGELOG.md b/CHANGELOG.md index 752b28aa..230959fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,12 @@ # v0.5.0 (2018-12-11) -- Beautified results can now update file contents directly [#55](https://github.com/Unibeautify/unibeautify-cli/pull/55) -- Color text will only be output if stdout is a terminal [#97](https://github.com/Unibeautify/unibeautify-cli/pull/97) -- A language will be suggested if the specified one via `-l` isn't found [#116](https://github.com/Unibeautify/unibeautify-cli/pull/116) +- Beautified results can now update file contents directly [#55](https://github.com/Unibeautify/cli/pull/55) +- Color text will only be output if stdout is a terminal [#97](https://github.com/Unibeautify/cli/pull/97) +- A language will be suggested if the specified one via `-l` isn't found [#116](https://github.com/Unibeautify/cli/pull/116) # v0.4.0 (2018-07-25) - Pass a Unibeautify configuration file into CLI options - Beautify text directly from files and output to stdout -- Major refactoring [#49](https://github.com/Unibeautify/unibeautify-cli/issues/49) +- Major refactoring [#49](https://github.com/Unibeautify/cli/issues/49) - More unit test coverage # v0.3.0 (2018-07-18) diff --git a/README.md b/README.md index 5296b1ec..b2e00ab3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Unibeautify-CLI -[![Build Status](https://travis-ci.com/Unibeautify/cli.svg?branch=master)](https://travis-ci.com/Unibeautify/cli) [![Maintainability](https://api.codeclimate.com/v1/badges/8547ff73a2419bbabf92/maintainability)](https://codeclimate.com/github/Unibeautify/unibeautify-cli/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/8547ff73a2419bbabf92/test_coverage)](https://codeclimate.com/github/Unibeautify/unibeautify-cli/test_coverage) +[![Build Status](https://travis-ci.com/Unibeautify/cli.svg?branch=master)](https://travis-ci.com/Unibeautify/cli) [![![Maintainability](https://api.codeclimate.com/v1/badges/722b515b28d1bb71b6c7/maintainability)](https://codeclimate.com/github/Unibeautify/cli/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/722b515b28d1bb71b6c7/test_coverage)](https://codeclimate.com/github/Unibeautify/cli/test_coverage) > CLI for [Unibeautify](https://github.com/Unibeautify/unibeautify) diff --git a/package.json b/package.json index 841716b7..b1176f7a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Unibeautify/unibeautify-cli.git" + "url": "git+https://github.com/Unibeautify/cli.git" }, "keywords": [ "cli-app", @@ -38,9 +38,9 @@ }, "license": "MIT", "bugs": { - "url": "https://github.com/Unibeautify/unibeautify-cli/issues" + "url": "https://github.com/Unibeautify/cli/issues" }, - "homepage": "https://github.com/Unibeautify/unibeautify-cli#readme", + "homepage": "https://github.com/Unibeautify/cli#readme", "engines": { "node": ">=6.0.0" }, diff --git a/src/commands/BeautifyCommand.ts b/src/commands/BeautifyCommand.ts index aaa524db..ca1552dc 100644 --- a/src/commands/BeautifyCommand.ts +++ b/src/commands/BeautifyCommand.ts @@ -1,5 +1,5 @@ import { BeautifyData, Unibeautify } from "unibeautify"; -import cosmiconfig from "cosmiconfig"; +import * as cosmiconfig from "cosmiconfig"; import * as fs from "fs"; import * as levenshtein from "fast-levenshtein"; diff --git a/tsconfig.json b/tsconfig.json index 59a0116d..7f49852d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "module": "commonjs", - "esModuleInterop": true, "noImplicitAny": true, "removeComments": false, "noUnusedLocals": true,