From 5681f7011365944c623750f7bfad8b1913067edd Mon Sep 17 00:00:00 2001 From: cha0s Date: Fri, 22 Jan 2021 22:56:09 -0600 Subject: [PATCH] chore: clean --- config/package/package.json | 2 +- packages/core/package.json | 2 +- packages/json/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/package/package.json b/config/package/package.json index 959cb02..86ff0c5 100644 --- a/config/package/package.json +++ b/config/package/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -rf yarn.lock node_modules && yarn", + "clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.join(' '));\") && yarn", "dev": "NODE_PATH=./node_modules webpack --mode development", "forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", diff --git a/packages/core/package.json b/packages/core/package.json index aa9fa00..f9e0270 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -rf yarn.lock node_modules && yarn", + "clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.join(' '));\") && yarn", "dev": "NODE_PATH=./node_modules webpack --mode development", "forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .", diff --git a/packages/json/package.json b/packages/json/package.json index affae33..3b61313 100644 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -rf yarn.lock node_modules && yarn", + "clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.join(' '));\") && yarn", "dev": "NODE_PATH=./node_modules webpack --mode development", "forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish", "lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",