Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 7d77732

Browse files
committed
Shorten project name to version-checker
1 parent a68849f commit 7d77732

36 files changed

+522
-485
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
[![Codacy grade](https://img.shields.io/codacy/grade/f82826738d2b43b1b8ba40dd780d1784?logo=codacy)](https://www.codacy.com/gh/axelrindle/github-version-checker/dashboard?utm_source=github.com&utm_medium=referral&utm_content=axelrindle/github-version-checker&utm_campaign=Badge_Grade)
55
[![Codacy coverage](https://img.shields.io/codacy/coverage/f82826738d2b43b1b8ba40dd780d1784?logo=codacy)](https://www.codacy.com/gh/axelrindle/github-version-checker/dashboard?utm_source=github.com&utm_medium=referral&utm_content=axelrindle/github-version-checker&utm_campaign=Badge_Coverage)
66

7+
---
8+
9+
🚧 **Notice** 🚧
10+
11+
*This project is being renamed to just **version-checker** as I plan to support other platforms than Github in the future.*
12+
13+
---
14+
715
# github-version-checker
816

917
> Simple **version checker** working with **GitHub releases** and the **GitHub API**.
@@ -25,12 +33,12 @@ I do not plan on making this an ESM only module in the near future.
2533
## Install
2634

2735
```bash
28-
$ npm install github-version-checker
36+
$ npm install @version-checker/core
2937
```
3038

3139
## Documentation
3240

33-
[github-version-checker (axelrindle.github.io)](https://axelrindle.github.io/github-version-checker/)
41+
[version-checker (axelrindle.github.io)](https://axelrindle.github.io/github-version-checker/)
3442

3543
## License
3644

docs/changelog/2/2.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
## Changed
1010

11-
- The `options` object changed and requires using a [personal access token](https://blog.github.com/2013-05-16-personal-api-tokens/). See [here](https://github.com/axelrindle/github-version-checker#the-options-object).
12-
- The `callback` structure changed. I decided to apply a node convention called **Error-First** in which a callback function's first parameter is the `error`. See [here](https://github.com/axelrindle/github-version-checker#the-callback-function-optional).
11+
- The `options` object changed and requires using a [personal access token](https://blog.github.com/2013-05-16-personal-api-tokens/). See [here](https://github.com/axelrindle/version-checker#the-options-object).
12+
- The `callback` structure changed. I decided to apply a node convention called **Error-First** in which a callback function's first parameter is the `error`. See [here](https://github.com/axelrindle/version-checker#the-callback-function-optional).

docs/changelog/unreleased.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ sidebar_position: 1
2626

2727
## Other
2828

29-
- Documentation an other stuff is now hosted at https://axelrindle.github.io/github-version-checker/
29+
- Documentation an other stuff is now hosted at https://axelrindle.github.io/version-checker/
3030
- Moved to TypeScript.
3131
- Using [Lerna](https://lerna.js.org/) for monorepo management.

docs/docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ sidebar_label: 🧩 API
77

88
```js
99
// Require the module
10-
const versionCheck = require('@github-version-checker/core');
10+
const versionCheck = require('@version-checker/core');
1111

1212
// Or import
13-
import versionCheck from '@github-version-checker/core'
13+
import versionCheck from '@version-checker/core'
1414
```
1515

1616
## `function versionCheck(options, [callback])`

docs/docs/cli/01-installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## npm
44

55
```shell
6-
npm install -g @github-version-checker/cli
6+
npm install -g @version-checker/cli
77
```
88

99
## Binary
1010

11-
Download a binary version from the [releases page](https://github.com/axelrindle/github-version-checker/releases).
11+
Download a binary version from the [releases page](https://github.com/axelrindle/version-checker/releases).

docs/docs/cli/02-examples.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Basic
44

55
```shell
6-
$ github-version-checker \
6+
$ version-checker \
77
--owner axelrindle \
8-
--repository github-version-checker \
8+
--repository version-checker \
99
--current-version 2.2.0
1010
```
1111

@@ -17,9 +17,9 @@ You are on version 2.3.0!
1717
## With json output
1818

1919
```shell
20-
$ github-version-checker --json \
20+
$ version-checker --json \
2121
--owner axelrindle \
22-
--repository github-version-checker \
22+
--repository version-checker \
2323
--current-version 2.2.0
2424
```
2525

@@ -34,7 +34,7 @@ $ github-version-checker --json \
3434
"isPrerelease": false,
3535
"isDraft": false,
3636
"publishedAt": "2022-03-18T15:22:03Z",
37-
"url": "https://github.com/axelrindle/github-version-checker/releases/tag/2.3.0"
37+
"url": "https://github.com/axelrindle/version-checker/releases/tag/2.3.0"
3838
}
3939
}
4040
```

docs/docs/cli/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plain-text and JSON-formatted output.
77

88
```
99
10-
$ github-version-checker [options]
10+
$ version-checker [options]
1111
1212
Options
1313
-o, --owner The repository owner. May be a username or organization name.

docs/docs/development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ sidebar_label: 👨‍💻 Development & Contributing
55

66
# Development & Contributing
77

8-
Be sure to read the [Code of Conduct](https://github.com/axelrindle/github-version-checker/blob/main/CODE_OF_CONDUCT.md)
8+
Be sure to read the [Code of Conduct](https://github.com/axelrindle/version-checker/blob/main/CODE_OF_CONDUCT.md)
99

1010
## Setup
1111

1212
First of all clone the git repository :)
1313

1414
```shell
15-
$ git clone https://github.com/axelrindle/github-version-checker.git
15+
$ git clone https://github.com/axelrindle/version-checker.git
1616
```
1717

1818
and then install the dependencies

docs/docs/examples/01-basic/async.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
The future is now! Futuristic approach leveraging top-level await.
44

55
```js showLineNumbers title="src/util/version-check.js"
6-
const versionCheck = require('@github-version-checker/core')
6+
const versionCheck = require('@version-checker/core')
77
const options = {
88
// token: '...',
9-
repo: 'github-version-checker',
9+
repo: 'version-checker',
1010
owner: 'axelrindle',
1111
currentVersion: require('../package.json').version
1212
}

docs/docs/examples/01-basic/callback.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Using a plain old callback.
44

55
````js showLineNumbers title="src/util/version-check.js"
6-
const versionCheck = require('@github-version-checker/core')
6+
const versionCheck = require('@version-checker/core')
77
const options = {
88
// token: '...',
9-
repo: 'github-version-checker',
9+
repo: 'version-checker',
1010
owner: 'axelrindle',
1111
currentVersion: require('../package.json').version
1212
}

0 commit comments

Comments
 (0)