Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Fixed app version output.
Browse files Browse the repository at this point in the history
  • Loading branch information
valera-rozuvan committed Jan 25, 2019
1 parent 26f5fe8 commit 0b4a6e6
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 8 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# mdlinkc-cli

mdlinkc-cli - Markdown Link Collection CLI

## Install

```
npm install -g mdlinkc-cli@latest
```

## Run

```
mdlinkc
```

## License

Licensed under the MIT license. See [LICENSE](LICENSE) file for more details.
3 changes: 2 additions & 1 deletion bin/app_version/index.js → bin/app-version/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/app-version/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion bin/app_version/index.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion bin/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdlinkc-cli",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",
"author": "Valera Rozuvan",
"homepage": "https://github.com/valera-rozuvan/mdlinkc-cli",
Expand Down
5 changes: 5 additions & 0 deletions src/app-version/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const pjson = require('../../package.json');

export const AppVersion = {
version: pjson.version
};
3 changes: 0 additions & 3 deletions src/app_version/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppVersion } from './app_version';
import { AppVersion } from './app-version';
import { Mdlinkc } from 'mdlinkc';

function greeter(msg: string) {
Expand Down

0 comments on commit 0b4a6e6

Please sign in to comment.