@abdulghani/release-tag
Advanced tools
+16
| ## relase-tag | ||
| npm package to manage release tag for a repository in a cli | ||
| ### installation | ||
| ``` | ||
| npm install -D @abdulghani/release-tag | ||
| ``` | ||
| ### usage | ||
| ``` | ||
| release-tag | ||
| --type=[major|minor|patch] | ||
| --stage=[stage|rc|release] | ||
| ``` |
@@ -7,4 +7,4 @@ "use strict"; | ||
| ReleaseType["minor"] = "minor"; | ||
| ReleaseType["bugfix"] = "bugfix"; | ||
| ReleaseType["patch"] = "patch"; | ||
| })(ReleaseType || (ReleaseType = {})); | ||
| exports.default = ReleaseType; |
@@ -130,3 +130,3 @@ "use strict"; | ||
| const v = (0, get_version_detail_1.default)(pureTags[0]); | ||
| if (this.type === release_type_1.default.bugfix) { | ||
| if (this.type === release_type_1.default.patch) { | ||
| v.patch += 1; | ||
@@ -133,0 +133,0 @@ } |
+5
-3
| { | ||
| "name": "@abdulghani/release-tag", | ||
| "version": "0.0.5", | ||
| "description": "", | ||
| "version": "0.0.6", | ||
| "description": "package to manage release tag for a repository in a cli", | ||
| "bin": { | ||
@@ -11,3 +11,4 @@ "release-tag": "./build/cli.js" | ||
| "test": "jest --config ./jest.config.ts --verbose --runInBand --coverage", | ||
| "test:file": "npm run test -- --watch" | ||
| "test:file": "npm run test -- --watch", | ||
| "release": "ts-node -r tsconfig-paths/register ./src/cli.ts" | ||
| }, | ||
@@ -30,2 +31,3 @@ "keywords": [], | ||
| "ts-node": "^10.4.0", | ||
| "tsconfig-paths": "^3.12.0", | ||
| "ttypescript": "^1.5.13", | ||
@@ -32,0 +34,0 @@ "typescript": "^4.5.2", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
12241
3.26%9
12.5%1
-50%16
Infinity%12
9.09%