Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@theo.gravity/version-bump

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theo.gravity/version-bump - npm Package Compare versions

Comparing version 1.2.6 to 2.0.1

build/__mocks__/logger.d.ts

7

CHANGELOG.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc