clean-release
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -85,4 +85,5 @@ "use strict"; | ||
for (const fileOrDirectory of fileOrDirectories) { | ||
if (!fs.statSync(fileOrDirectory).isDirectory() || fileOrDirectory !== ".git") { | ||
rimraf.sync(path.resolve(result.name, fileOrDirectory)); | ||
const fullpath = path.resolve(result.name, fileOrDirectory); | ||
if (!fs.statSync(fullpath).isDirectory() || fileOrDirectory !== ".git") { | ||
rimraf.sync(fullpath); | ||
} | ||
@@ -89,0 +90,0 @@ } |
{ | ||
"name": "clean-release", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"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", | ||
"main": "index.js", | ||
"scripts": { | ||
"clean": "rimraf dist/", | ||
"tsc": "tsc -p src/", | ||
"tslint": "tslint \"src/**/*.ts\"", | ||
"test": "tsc -p spec && jasmine", | ||
"release": "./bin/clean-release", | ||
"build": "npm run clean && npm run tsc", | ||
"lint": "npm run tslint && npm run standard", | ||
"standard": "standard \"**/*.config.js\"", | ||
"fix": "standard --fix \"**/*.config.js\"" | ||
"build": "clean-scripts build", | ||
"lint": "clean-scripts lint", | ||
"test": "clean-scripts test", | ||
"fix": "clean-scripts fix", | ||
"release": "./bin/clean-release" | ||
}, | ||
@@ -33,10 +29,11 @@ "repository": { | ||
"@types/minimist": "1.2.0", | ||
"@types/mkdirp": "0.3.29", | ||
"@types/node": "8.0.11", | ||
"@types/mkdirp": "0.5.0", | ||
"@types/node": "8.0.17", | ||
"@types/rimraf": "0.0.28", | ||
"@types/tmp": "0.0.33", | ||
"jasmine": "2.6.0", | ||
"clean-scripts": "1.0.1", | ||
"jasmine": "2.7.0", | ||
"standard": "10.0.2", | ||
"tslint": "5.5.0", | ||
"typescript": "2.4.0" | ||
"typescript": "2.4.2" | ||
}, | ||
@@ -47,3 +44,3 @@ "bin": { | ||
"dependencies": { | ||
"cpy": "5.0.0", | ||
"cpy": "5.1.0", | ||
"glob": "7.1.2", | ||
@@ -50,0 +47,0 @@ "lodash.flatten": "4.4.0", |
[![Dependency Status](https://david-dm.org/plantain-00/clean-release.svg)](https://david-dm.org/plantain-00/clean-release) | ||
[![devDependency Status](https://david-dm.org/plantain-00/clean-release/dev-status.svg)](https://david-dm.org/plantain-00/clean-release#info=devDependencies) | ||
[![Build Status](https://travis-ci.org/plantain-00/clean-release.svg?branch=master)](https://travis-ci.org/plantain-00/clean-release) | ||
[![Build Status: Linux](https://travis-ci.org/plantain-00/clean-release.svg?branch=master)](https://travis-ci.org/plantain-00/clean-release) | ||
[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/github/plantain-00/clean-release?branch=master&svg=true)](https://ci.appveyor.com/project/plantain-00/clean-release/branch/master) | ||
[![npm version](https://badge.fury.io/js/clean-release.svg)](https://badge.fury.io/js/clean-release) | ||
@@ -5,0 +6,0 @@ [![Downloads](https://img.shields.io/npm/dm/clean-release.svg)](https://www.npmjs.com/package/clean-release) |
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
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
9746
138
55
1
14