@theo.gravity/version-bump
Advanced tools
Comparing version 1.2.6 to 2.0.1
@@ -0,1 +1,7 @@ | ||
# 2.0.1 - Mon Mar 30 2020 07:26:56 | ||
Updated ci, converted to Typescript. | ||
Removed support for node versions < 10. | ||
# 1.2.6 - Thu Aug 29 2019 20:12:52 | ||
@@ -34,1 +40,2 @@ | ||
First version! | ||
140
package.json
{ | ||
"name": "@theo.gravity/version-bump", | ||
"version": "1.2.6", | ||
"version": "2.0.1", | ||
"description": "Version bump package.json (or a version file) via various plugins (eg cli, git, etc).", | ||
"main": "lib/index.js", | ||
"main": "build/index.js", | ||
"types": "build/index.d.ts", | ||
"bin": { | ||
"version-bump": "lib/bin/version-bump.js" | ||
"version-bump": "build/bin/version-bump.js" | ||
}, | ||
"scripts": { | ||
"version-bump": "node --require @babel/register ./src/bin/version-bump.js", | ||
"build": "npm run build:clean && npm run compile", | ||
"build:docs": "typedoc --options typedoc.js --plugin typedoc-plugin-markdown src/ --out docs", | ||
"build:clean": "rm -rf build/*", | ||
"compile": "tsc", | ||
"debug": "ts-node-dev --inspect -- src/index.ts", | ||
"debug:break": "ts-node-dev --inspect-brk -- src/index.ts", | ||
"test": "jest", | ||
"test:ci": "jest --ci --coverage", | ||
"test:debug": "node --inspect-brk node_modules/.bin/jest", | ||
"test:watch": "jest --watch", | ||
"test:coverage:watch": "jest --coverage --watch", | ||
"toc": "toc-md README.md README.md", | ||
"add-readme": "git add README.md", | ||
"lint-staged": "lint-staged", | ||
"prepare-publish": "npm run changelog:verify && version-bump && npm run changelog:release", | ||
"version-bump": "version-bump", | ||
"changelog:help": "changelog-version", | ||
@@ -15,40 +31,5 @@ "changelog:verify": "changelog-version verify", | ||
"changelog:release": "changelog-version release", | ||
"toc": "toc-md README.md README.md", | ||
"test": "jest", | ||
"build": "babel src -d lib", | ||
"add-readme": "git add README.md", | ||
"version-bump:debug": "node --inspect-brk --require @babel/register ./src/bin/version-bump.js", | ||
"prepublishOnly": "jest && babel src -d lib", | ||
"prepare-publish": "npm run changelog:verify && version-bump && npm run changelog:release", | ||
"lint-staged": "lint-staged" | ||
"lint": "prettier-standard src/**/*.ts && standardx src/**/*.ts", | ||
"ts-node-dev": "ts-node-dev" | ||
}, | ||
"dependencies": { | ||
"debug": "^4.1.1", | ||
"find-plugins": "^1.1.7", | ||
"semver-parser": "^2.0.1", | ||
"yargs": "^13.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/register": "^7.5.5", | ||
"@theo.gravity/changelog-version": "^2.1.10", | ||
"@theo.gravity/version-bump": "^1.1.1", | ||
"babel-jest": "^24.8.0", | ||
"execa": "^1.0.0", | ||
"jest": "^24.8.0", | ||
"jest-cli": "^24.8.0", | ||
"jest-junit-reporter": "^1.1.0", | ||
"lint-staged": "^9.2.1", | ||
"mock-fs": "^4.10.1", | ||
"pre-commit": "^1.2.2", | ||
"prettier-standard": "^9.1.1", | ||
"standard": "^13.1.0", | ||
"toc-md-alt": "^0.3.1", | ||
"version-bump-plugin-dummy": "^1.0.1" | ||
}, | ||
"repository": { | ||
@@ -80,8 +61,2 @@ "type": "git", | ||
], | ||
"lint-staged": { | ||
"src/**/*.js": [ | ||
"prettier-standard", | ||
"git add" | ||
] | ||
}, | ||
"author": "Theo Gravity <theo@suteki.nu>", | ||
@@ -93,20 +68,67 @@ "license": "MIT", | ||
"homepage": "https://github.com/theogravity/version-bump#readme", | ||
"jest": { | ||
"collectCoverageFrom": [ | ||
"src/**/*.js" | ||
"dependencies": { | ||
"debug": "^4.1.1", | ||
"find-plugins": "^1.1.7", | ||
"semver-parser": "^3.0.4", | ||
"yargs": "^15.3.1" | ||
}, | ||
"devDependencies": { | ||
"@theo.gravity/changelog-version": "2.1.10", | ||
"@theo.gravity/version-bump": "1.2.6", | ||
"@types/jest": "25.1.4", | ||
"@types/node": "^13.9.5", | ||
"@typescript-eslint/eslint-plugin": "^2.25.0", | ||
"@typescript-eslint/parser": "^2.25.0", | ||
"eslint": "6.8.0", | ||
"execa": "^4.0.0", | ||
"file-mock": "^1.0.0", | ||
"jest": "25.2.4", | ||
"jest-cli": "25.2.4", | ||
"jest-junit-reporter": "1.1.0", | ||
"lint-staged": "10.0.10", | ||
"pre-commit": "1.2.2", | ||
"prettier-standard": "16.2.1", | ||
"standardx": "^5.0.0", | ||
"toc-md-alt": "^0.3.2", | ||
"ts-jest": "^25.3.0", | ||
"ts-node": "^8.8.1", | ||
"ts-node-dev": "1.0.0-pre.44", | ||
"typedoc": "^0.17.3", | ||
"typedoc-plugin-markdown": "^2.2.17", | ||
"typescript": "3.8.3", | ||
"version-bump-plugin-dummy": "^1.0.1" | ||
}, | ||
"eslintConfig": { | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"modules": true | ||
} | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint/eslint-plugin" | ||
], | ||
"testResultsProcessor": "./node_modules/jest-junit-reporter", | ||
"testEnvironment": "node", | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/lib/" | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": [ | ||
2, | ||
{ | ||
"args": "none" | ||
} | ||
] | ||
} | ||
}, | ||
"lint-staged": { | ||
"src/**/*.ts": [ | ||
"prettier-standard", | ||
"git add" | ||
] | ||
}, | ||
"pre-commit": [ | ||
"toc", | ||
"lint-staged", | ||
"test", | ||
"build", | ||
"toc", | ||
"add-readme" | ||
"test:ci", | ||
"build" | ||
] | ||
} |
@@ -56,2 +56,5 @@ # version-bump | ||
- `node.js` 10 and greater is supported | ||
- For older versions of node, use the 1.x versions. | ||
`npm install -g @theo.gravity/version-bump` | ||
@@ -100,3 +103,3 @@ | ||
[default: "/Users/t.gravity/sixfive-cs/version-bump"] | ||
--configFile Name of the optional config file, relative to projectRoot. [default: ".version-bump.js"] | ||
--configFile Name of the optional config file, relative to projectRoot. [default: ".version-bump.ts"] | ||
--versionFile The relative path to the JSON version file from projectRoot that contains the "version" property. | ||
@@ -135,3 +138,3 @@ [default: "package.json"] | ||
[default: "/Users/t.gravity/sixfive-cs/version-bump"] | ||
--configFile Name of the optional config file, relative to projectRoot. [default: ".version-bump.js"] | ||
--configFile Name of the optional config file, relative to projectRoot. [default: ".version-bump.ts"] | ||
--versionFile The relative path to the JSON version file from projectRoot that contains the "version" property. | ||
@@ -146,3 +149,3 @@ [default: "package.json"] | ||
Place `.version-bump.js` in the root of your project. | ||
Place `.version-bump.ts` in the root of your project. | ||
@@ -149,0 +152,0 @@ (The file name can be configured with the `--configFile` option, which is relative to `--projectRoot`.) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
43
261
4
77109
24
1154
1
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedcliui@6.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedsemver-parser@3.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@6.2.0(transitive)
+ Addedyargs@15.4.1(transitive)
+ Addedyargs-parser@18.1.3(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedcliui@5.0.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedsemver-parser@2.0.7(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedwrap-ansi@5.1.0(transitive)
- Removedyargs@13.3.2(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedsemver-parser@^3.0.4
Updatedyargs@^15.3.1