manage-version
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -1,2 +0,2 @@ | ||
const { compose, find, filter, forEach, pluck, contains, when, isNil, toLower, not, prop, nth } = require('ramda'); | ||
const { compose, find, filter, map, pluck, contains, when, isNil, toLower, not, prop, nth } = require('ramda'); | ||
const fs = require('fs'); | ||
@@ -16,3 +16,3 @@ const Promise = require('bluebird'); | ||
find(name => contains(name, ['major', 'minor', 'patch'])), | ||
forEach(toLower), | ||
map(toLower), | ||
pluck('name') | ||
@@ -19,0 +19,0 @@ ); |
{ | ||
"name": "manage-version", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Node command line tool for updating package.json version", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/procore/manage-version.git" | ||
"url": "git+https://github.com/procore/package-version.git" | ||
}, | ||
@@ -19,5 +19,5 @@ "author": "Procore Tech <insights@procore.com> (http://procore.com)", | ||
"bugs": { | ||
"url": "https://github.com/procore/manage-version/issues" | ||
"url": "https://github.com/procore/package-version/issues" | ||
}, | ||
"homepage": "https://github.com/procore/manage-version#readme", | ||
"homepage": "https://github.com/procore/package-version#readme", | ||
"dependencies": { | ||
@@ -24,0 +24,0 @@ "bluebird": "^3.4.7", |
@@ -8,18 +8,8 @@ # Manage Version | ||
## Installation | ||
``` | ||
npm install -g manage-version | ||
``` | ||
## Command | ||
### Help | ||
#### Help | ||
```bash | ||
manage-version --help | ||
``` | ||
### Update | ||
```bash | ||
@@ -39,43 +29,7 @@ update [options] <to> | ||
#### Examples | ||
- Perform a minor version update to the project's package.json e.g 2.1.3 -> 2.2.0 | ||
```bash | ||
manage-version update minor | ||
``` | ||
- Perform a major, minor, or patch update to the version dependent on the last branch merged into the specified repo | ||
```bash | ||
manage-version update github -o procore -r manage-version -t $GITHUB_TOKEN | ||
``` | ||
## Tests | ||
``` | ||
npm run test | ||
``` | ||
## Contributing | ||
Bug reports and pull requests are welcome on GitHub at https://github.com/procore/manage-version. This project is | ||
intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the | ||
[Contributor Covenant](http://contributor-covenant.org) code of conduct. | ||
## License | ||
The package is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). | ||
## About Procore | ||
<img | ||
src="https://www.procore.com/images/procore_logo.png" | ||
alt="Procore Logo" | ||
width="250px" | ||
/> | ||
Manage Version is maintained by Procore Technologies. | ||
Procore - building the software that builds the world. | ||
Learn more about the #1 most widely used construction management software at [procore.com](https://www.procore.com/) | ||
@@ -36,5 +36,6 @@ import { describe, it, before, after } from 'mocha'; | ||
github: GitHubApi(), | ||
token: 'faker_token', | ||
token: process.env.GITHUB_TOKEN, | ||
owner: 'ksespinola', | ||
repo: 'package-version-test' | ||
repo: 'package-version-test', | ||
number: 3 | ||
}; | ||
@@ -55,3 +56,3 @@ | ||
null, | ||
[{ name: 'major' }, { name: 'foo' }] | ||
[{ name: 'Major' }, { name: 'foo' }] | ||
); | ||
@@ -58,0 +59,0 @@ }); |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
188
8303
9
34
3