clean-release
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -15,6 +15,2 @@ "use strict"; | ||
const rimraf = require("rimraf"); | ||
const packageJson = require("../package.json"); | ||
function showToolVersion() { | ||
printInConsole(`Version: ${packageJson.version}`); | ||
} | ||
function printInConsole(message) { | ||
@@ -63,7 +59,2 @@ // tslint:disable-next-line:no-console | ||
const argv = minimist(process.argv.slice(2), { "--": true }); | ||
const showVersion = argv.v || argv.version; | ||
if (showVersion) { | ||
showToolVersion(); | ||
return; | ||
} | ||
let config = argv.config; | ||
@@ -70,0 +61,0 @@ if (!config) { |
{ | ||
"name": "clean-release", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "A CLI tool to copy files to be released into a tmp clean directory for npm publishing, electronjs packaging, docker image creation, or deployment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1
9400
128