clean-release
Advanced tools
Comparing version 2.17.0 to 2.17.1
@@ -10,7 +10,7 @@ /// <reference types="node" /> | ||
} | ||
declare type Script = string | ((context: Context) => cleanScripts.Script) | ((context: Context) => Promise<cleanScripts.Script>) | undefined; | ||
type Script = string | ((context: Context) => cleanScripts.Script) | ((context: Context) => Promise<cleanScripts.Script>) | undefined; | ||
/** | ||
* @public | ||
*/ | ||
export declare type ConfigData = Configuration; | ||
export type ConfigData = Configuration; | ||
export interface Configuration { | ||
@@ -17,0 +17,0 @@ include: string[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const tmp = (0, tslib_1.__importStar)(require("tmp")); | ||
const minimist_1 = (0, tslib_1.__importDefault)(require("minimist")); | ||
const path = (0, tslib_1.__importStar)(require("path")); | ||
const glob_1 = (0, tslib_1.__importDefault)(require("glob")); | ||
const fs = (0, tslib_1.__importStar)(require("fs")); | ||
const cp_file_1 = (0, tslib_1.__importDefault)(require("cp-file")); | ||
const mkdirp_1 = (0, tslib_1.__importDefault)(require("mkdirp")); | ||
const childProcess = (0, tslib_1.__importStar)(require("child_process")); | ||
const rimraf = (0, tslib_1.__importStar)(require("rimraf")); | ||
const tmp = tslib_1.__importStar(require("tmp")); | ||
const minimist_1 = tslib_1.__importDefault(require("minimist")); | ||
const path = tslib_1.__importStar(require("path")); | ||
const glob_1 = tslib_1.__importDefault(require("glob")); | ||
const fs = tslib_1.__importStar(require("fs")); | ||
const cp_file_1 = tslib_1.__importDefault(require("cp-file")); | ||
const childProcess = tslib_1.__importStar(require("child_process")); | ||
const rimraf = tslib_1.__importStar(require("rimraf")); | ||
const npm_version_cli_1 = require("npm-version-cli"); | ||
const semver = (0, tslib_1.__importStar)(require("semver")); | ||
const semver = tslib_1.__importStar(require("semver")); | ||
const clean_scripts_1 = require("clean-scripts"); | ||
const packageJson = (0, tslib_1.__importStar)(require("../package.json")); | ||
const packageJson = tslib_1.__importStar(require("../package.json")); | ||
function showToolVersion() { | ||
@@ -185,3 +184,3 @@ console.log(`Version: ${packageJson.version}`); | ||
const directoryPath = path.resolve(result.name, relativePath); | ||
await (0, mkdirp_1.default)(directoryPath); | ||
fs.mkdirSync(directoryPath, { recursive: true }); | ||
await (0, cp_file_1.default)(file, path.resolve(directoryPath, path.basename(file))); | ||
@@ -188,0 +187,0 @@ console.log(`Copied: ${file} To: ${relativePath}`); |
{ | ||
"name": "clean-release", | ||
"version": "2.17.0", | ||
"version": "2.17.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", | ||
@@ -28,20 +28,20 @@ "main": "dist/core.js", | ||
"devDependencies": { | ||
"@types/glob": "7.2.0", | ||
"@types/glob": "8.0.0", | ||
"@types/minimist": "1.2.2", | ||
"@types/mkdirp": "1.0.2", | ||
"@types/node": "17.0.13", | ||
"@types/node": "18.11.9", | ||
"@types/rimraf": "3.0.2", | ||
"@types/semver": "7.3.9", | ||
"@types/semver": "7.3.13", | ||
"@types/tmp": "0.2.3", | ||
"@typescript-eslint/eslint-plugin": "5.10.1", | ||
"@typescript-eslint/parser": "5.10.1", | ||
"eslint": "8.8.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"@typescript-eslint/eslint-plugin": "5.43.0", | ||
"@typescript-eslint/parser": "5.43.0", | ||
"eslint": "8.28.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-plantain": "2.0.0", | ||
"markdownlint-cli": "0.30.0", | ||
"no-unused-export": "1.14.2", | ||
"ts-node": "10.4.0", | ||
"markdownlint-cli": "0.32.2", | ||
"no-unused-export": "1.15.0", | ||
"ts-node": "10.9.1", | ||
"tsconfig-plantain": "0.0.2", | ||
"type-coverage": "2.20.0", | ||
"typescript": "4.5.5" | ||
"type-coverage": "2.23.0", | ||
"typescript": "4.9.3" | ||
}, | ||
@@ -54,5 +54,4 @@ "bin": { | ||
"cp-file": "9", | ||
"glob": "7", | ||
"glob": "7 || 8", | ||
"minimist": "1", | ||
"mkdirp": "1", | ||
"npm-version-cli": "2", | ||
@@ -59,0 +58,0 @@ "rimraf": "3", |
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
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
7
21519
326
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedglob@8.1.0(transitive)
+ Addedminimatch@5.1.6(transitive)
- Removedmkdirp@1
- Removedmkdirp@1.0.4(transitive)
Updatedglob@7 || 8