diff --git a/config/package/package.json b/config/package/package.json index 42858c1..45f0bb2 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 a172369..a9e2a96 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/db/package.json b/packages/db/package.json index 1c93168..0cf445f 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 -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/governor/package.json b/packages/governor/package.json index a908364..81ba69c 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 -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/http/package.json b/packages/http/package.json index eec93da..67be153 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 -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/react/package.json b/packages/react/package.json index 191388b..4015e70 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 -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/redis/package.json b/packages/redis/package.json index 286903e..496b7fe 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 -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/redux/package.json b/packages/redux/package.json index 6225a9f..ef2b39c 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 -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/repl/package.json b/packages/repl/package.json index 446f63a..c8c2a5c 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 -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/socket/package.json b/packages/socket/package.json index 3eb91d0..0e1ccc1 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 -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/user/package.json b/packages/user/package.json index ee41244..af111f3 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 -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 .",