From 899ad4790445d2c20f16e148c42b26f3f02d18d3 Mon Sep 17 00:00:00 2001 From: kreuzerk Date: Tue, 6 Sep 2022 21:13:42 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20(release)=20add=20bump?= =?UTF-8?q?=20version=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 207 ++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 + 2 files changed, 209 insertions(+) diff --git a/package-lock.json b/package-lock.json index e82002f..cef0d90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,6 +53,7 @@ "ng-packagr": "14.2", "prettier": "^2.1.1", "protractor": "~7.0.0", + "replace-json-property": "^1.8.0", "ts-jest": "^28.0.8", "ts-node": "~8.3.0", "tslint": "~6.1.0", @@ -22111,6 +22112,128 @@ "jsesc": "bin/jsesc" } }, + "node_modules/replace-json-property": { + "version": "1.8.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/replace-json-property/-/replace-json-property-1.8.0.tgz", + "integrity": "sha1-XgyVev92bs5nxQeDsv3hgJjPo3E=", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "commander": "^2.19.0", + "jsonfile": "^5.0.0" + }, + "bin": { + "replace-json-property": "bin/replace-json-property.bin.js", + "rjp": "bin/replace-json-property.bin.js" + } + }, + "node_modules/replace-json-property/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/replace-json-property/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/replace-json-property/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/replace-json-property/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", + "dev": true, + "license": "MIT" + }, + "node_modules/replace-json-property/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/commander/-/commander-2.20.3.tgz", + "integrity": "sha1-/UhehMA+tIgcIHIrpIA16FMa6zM=", + "dev": true, + "license": "MIT" + }, + "node_modules/replace-json-property/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/replace-json-property/node_modules/jsonfile": { + "version": "5.0.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/jsonfile/-/jsonfile-5.0.0.tgz", + "integrity": "sha1-5rcY9z2kINYSgjmW/fFKA/b/aSI=", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^0.1.2" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/replace-json-property/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/replace-json-property/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY=", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", @@ -42407,6 +42530,90 @@ } } }, + "replace-json-property": { + "version": "1.8.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/replace-json-property/-/replace-json-property-1.8.0.tgz", + "integrity": "sha1-XgyVev92bs5nxQeDsv3hgJjPo3E=", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "commander": "^2.19.0", + "jsonfile": "^5.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", + "dev": true + }, + "commander": { + "version": "2.20.3", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/commander/-/commander-2.20.3.tgz", + "integrity": "sha1-/UhehMA+tIgcIHIrpIA16FMa6zM=", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", + "dev": true + }, + "jsonfile": { + "version": "5.0.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/jsonfile/-/jsonfile-5.0.0.tgz", + "integrity": "sha1-5rcY9z2kINYSgjmW/fFKA/b/aSI=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^0.1.2" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://pkgs.dev.azure.com/diemobiliar/RWC/_packaging/npm-main/npm/registry/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY=", + "dev": true + } + } + }, "request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", diff --git a/package.json b/package.json index 6e2d33c..bd6c9f1 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "scripts": { "ng": "ng", "start": "ng serve", + "bump-version": "rjp package.json version $VERSION", "copy:readme": "copyfiles ./README.md ./projects/ng-sortgrid", "copy:styles": "copyfiles -f ./projects/ng-sortgrid/src/lib/ngsg.css ./dist/ng-sortgrid/styles", "format:check": "prettier --list-different 'projects/**/*.ts'", @@ -67,6 +68,7 @@ "ng-packagr": "14.2", "prettier": "^2.1.1", "protractor": "~7.0.0", + "replace-json-property": "^1.8.0", "ts-jest": "^28.0.8", "ts-node": "~8.3.0", "tslint": "~6.1.0",