@jsdevtools/version-bump-prompt
Advanced tools
Comparing version 5.0.7 to 6.0.0
@@ -15,2 +15,6 @@ Change Log | ||
### Other Changes | ||
- The "version-bump-prompt" package is now just a wrapper around the scoped "@jsdevtools/version-bump-prompt" package | ||
[Full Changelog](https://github.com/JS-DevTools/version-bump-prompt/compare/v5.0.7...v6.0.0) | ||
@@ -17,0 +21,0 @@ |
/** | ||
* Text explaining how to use the CLI | ||
*/ | ||
export declare const usageText: string; | ||
export declare const usageText = "\nUsage: bump [release] [options] [files...]\n\nrelease:\n The release version or type. Can be one of the following:\n - A semver version number (ex: 1.23.456)\n - prompt: Prompt for the version number (this is the default)\n - major: Increase major version\n - minor: Increase minor version\n - patch: Increase patch version\n - premajor: Increase major version, pre-release\n - preminor: Increase preminor version, pre-release\n - prepatch: Increase prepatch version, pre-release\n - prerelease: Increase prerelease version\n\noptions:\n --preid <name> The identifier for prerelease versions.\n Defaults to \"beta\".\n\n -c, --commit [message] Commit changed files to Git.\n Defaults to \"release vX.X.X\".\n\n -t, --tag [tag] Tag the commit in Git.\n The Default tag is \"vX.X.X\"\n\n -p, --push Push the Git commit.\n\n -a, --all Commit/tag/push ALL pending files,\n not just the ones that were bumped.\n (same as \"git commit -a\")\n\n --no-verify Bypass Git commit hooks\n (same as \"git commit --no-verify\")\n\n -v, --version Show the version number\n\n -q, --quiet Suppress unnecessary output\n\n -h, --help Show usage information\n\nfiles...\n One or more files and/or globs to bump (ex: README.md *.txt docs/**/*).\n Defaults to package.json and package-lock.json.\n\nExamples:\n\n bump patch\n\n Bumps the patch version number in package.json and package-lock.json.\n Nothing is committed to git.\n\n bump major --commit\n\n Bumps the major version number in package.json and package-lock.json.\n Commits package.json and package-lock.json to git, but does not tag the commit.\n\n bump -tpa README.md\n\n Prompts for the new version number and updates package.json, package-lock.json, and README.md.\n Commits ALL modified files to git, tags the commit, and pushes the commit.\n\n bump 4.27.9934 --tag \"Version \" bower.json docs/**/*.md\n\n Sets the version number to 4.27.9934 in package.json, package-lock.json, bower.json,\n and all markdown files in the \"docs\" directory. Commits the updated files to git,\n and tags the commit as \"Version 4.27.9934\".\n"; | ||
/** | ||
@@ -6,0 +6,0 @@ * Text describing the program and how to use it |
@@ -8,3 +8,3 @@ "use strict"; | ||
exports.usageText = ` | ||
Usage: ${manifest_1.manifest.name} [release] [options] [files...] | ||
Usage: bump [release] [options] [files...] | ||
@@ -11,0 +11,0 @@ release: |
@@ -1,3 +0,3 @@ | ||
declare const alteredManifest: Manifest; | ||
export { alteredManifest as manifest }; | ||
declare const manifest: Manifest; | ||
export { manifest }; | ||
/** | ||
@@ -7,5 +7,5 @@ * The npm package manifest (package.json) | ||
export interface Manifest { | ||
name?: string; | ||
version?: string; | ||
description?: string; | ||
name: string; | ||
version: string; | ||
description: string; | ||
[key: string]: unknown; | ||
@@ -12,0 +12,0 @@ } |
@@ -6,7 +6,3 @@ "use strict"; | ||
const manifest = require("../package.json"); | ||
// Don't use the npm package name ("version-bump-prompt"). | ||
// Use the name of the binary ("bump") instead. | ||
let name = Object.keys(manifest.bin)[0]; | ||
const alteredManifest = { ...manifest, name }; | ||
exports.manifest = alteredManifest; | ||
exports.manifest = manifest; | ||
// tslint:disable: no-any no-unsafe-any | ||
@@ -13,0 +9,0 @@ /** |
{ | ||
"name": "@jsdevtools/version-bump-prompt", | ||
"version": "5.0.7", | ||
"version": "6.0.0", | ||
"description": "Automatically (or with prompts) bump your version number, commit changes, tag, and push to Git", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
"@types/node": "^13.1.1", | ||
"@types/semver": "^6.2.0", | ||
"@types/semver": "^7.1.0", | ||
"chai": "^4.2.0", | ||
@@ -68,3 +68,3 @@ "chai-exec": "^1.1.2", | ||
"strip-ansi": "^6.0.0", | ||
"tslint": "^5.20.1", | ||
"tslint": "^6.0.0", | ||
"tslint-modular": "^1.6.0", | ||
@@ -79,3 +79,3 @@ "typescript": "^3.7.4", | ||
"ez-spawn": "^2.1.6", | ||
"globby": "^10.0.1", | ||
"globby": "^11.0.0", | ||
"inquirer": "^7.0.1", | ||
@@ -87,3 +87,4 @@ "log-symbols": "^3.0.0", | ||
"node": ">=10" | ||
} | ||
}, | ||
"engineStrict": true | ||
} |
@@ -9,4 +9,4 @@ # Version-Bump-Prompt | ||
[![npm](https://img.shields.io/npm/v/version-bump-prompt.svg)](https://www.npmjs.com/package/version-bump-prompt) | ||
[![License](https://img.shields.io/npm/l/version-bump-prompt.svg)](LICENSE) | ||
[![npm](https://img.shields.io/npm/v/@jsdevtools/version-bump-prompt.svg)](https://www.npmjs.com/package/@jsdevtools/version-bump-prompt) | ||
[![License](https://img.shields.io/npm/l/@jsdevtools/version-bump-prompt.svg)](LICENSE) | ||
@@ -42,3 +42,3 @@ ![Screenshot](https://jstools.dev/version-bump-prompt/img/screenshot.gif) | ||
```bash | ||
npm install -g version-bump-prompt | ||
npm install -g @jsdevtools/version-bump-prompt | ||
``` | ||
@@ -45,0 +45,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93735
1405
+ Addedglobby@11.1.0(transitive)
- Removed@types/glob@7.2.0(transitive)
- Removed@types/minimatch@5.1.2(transitive)
- Removed@types/node@22.10.2(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedglobby@10.0.2(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedundici-types@6.20.0(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedglobby@^11.0.0