From 5a574867785c803ee6992a5f57c199237422dcc6 Mon Sep 17 00:00:00 2001 From: cha0s Date: Wed, 23 Dec 2020 16:23:25 -0600 Subject: [PATCH] refactor: clean node_modules --- config/package/package.json | 2 +- packages/core/package.json | 2 +- packages/db/package.json | 2 +- packages/governor/package.json | 2 +- packages/http/package.json | 2 +- packages/react/package.json | 2 +- packages/redis/package.json | 2 +- packages/redux/package.json | 2 +- packages/repl/package.json | 2 +- packages/socket/package.json | 2 +- packages/user/package.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/config/package/package.json b/config/package/package.json index ab62162..343f6ed 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 -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/core/package.json b/packages/core/package.json index 8881369..d243766 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 -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/db/package.json b/packages/db/package.json index f44a488..b9915c9 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/governor/package.json b/packages/governor/package.json index 1e7752c..f6823c0 100644 --- a/packages/governor/package.json +++ b/packages/governor/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/http/package.json b/packages/http/package.json index 0423227..055cf73 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/react/package.json b/packages/react/package.json index c304496..1d94e7a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/redis/package.json b/packages/redis/package.json index 3fe9cc2..c3cc489 100644 --- a/packages/redis/package.json +++ b/packages/redis/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/redux/package.json b/packages/redux/package.json index 3b44720..72a9f32 100644 --- a/packages/redux/package.json +++ b/packages/redux/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/repl/package.json b/packages/repl/package.json index b4b1b4a..29cb59a 100644 --- a/packages/repl/package.json +++ b/packages/repl/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/socket/package.json b/packages/socket/package.json index 24abb99..01b11f7 100644 --- a/packages/socket/package.json +++ b/packages/socket/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"", diff --git a/packages/user/package.json b/packages/user/package.json index f39a8bf..917d408 100644 --- a/packages/user/package.json +++ b/packages/user/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "build": "NODE_PATH=./node_modules webpack --mode production", - "clean": "rm -f yarn.lock && yarn", + "clean": "rm -rf yarn.lock node_modules && 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", "link": "node -e \"Object.keys(require('./package.json').dependencies).filter((m) => 0 === m.indexOf('@latus/')).forEach((m) => require('child_process').spawn('yarn', ['link', m]));\"",