chore: change mono package scripts.

This commit is contained in:
a.bouhuolia
2023-02-03 15:14:30 +02:00
parent 32543b8762
commit 995abbcc29
7 changed files with 792 additions and 30418 deletions

13021
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,10 +2,13 @@
"name": "bigcapital-monorepo", "name": "bigcapital-monorepo",
"private": true, "private": true,
"scripts": { "scripts": {
"bootstrap": "lerna exec npm install",
"dev": "lerna run dev", "dev": "lerna run dev",
"build": "lerna run build", "build": "lerna run build",
"dev:webapp": "lerna run dev --scope \"@bigcapital/webapp\"", "dev:webapp": "lerna run dev --scope \"@bigcapital/webapp\"",
"build:webapp": "lerna run dev --scope \"@bigcapital/webapp\"" "build:webapp": "lerna run dev --scope \"@bigcapital/webapp\"",
"dev:server": "lerna run dev --scope \"@bigcapital/server\"",
"build:server": "lerna run dev --scope \"@bigcapital/server\""
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"

View File

@@ -6,7 +6,7 @@
"scripts": { "scripts": {
"inspect": "cross-env NODE_PATH=./src nodemon src/server.ts", "inspect": "cross-env NODE_PATH=./src nodemon src/server.ts",
"clear": "rimraf build", "clear": "rimraf build",
"watch": "cross-env NODE_ENV=development webpack --config scripts/webpack.config.js", "dev": "cross-env NODE_ENV=development webpack --config scripts/webpack.config.js",
"build:resources": "gulp --gulpfile=scripts/gulpfile.js styles styles-rtl", "build:resources": "gulp --gulpfile=scripts/gulpfile.js styles styles-rtl",
"build": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.js", "build": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.js",
"lint:fix": "eslint --fix ./**/*.ts" "lint:fix": "eslint --fix ./**/*.ts"

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
{ {
"name": "@bigcapital/webpack", "name": "@bigcapital/webapp",
"version": "1.7.1", "version": "1.7.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
@@ -102,8 +102,7 @@
"dev": "craco start", "dev": "craco start",
"build": "craco build", "build": "craco build",
"test": "node scripts/test.js", "test": "node scripts/test.js",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006"
"preinstall": "npx npm-force-resolutions"
}, },
"proxy": "http://localhost:3000/", "proxy": "http://localhost:3000/",
"devDependencies": { "devDependencies": {

View File

@@ -1,39 +0,0 @@
Arguments:
/Users/ahmed/.nvm/versions/node/v16.14.2/bin/node /Users/ahmed/.nvm/versions/node/v16.14.2/bin/yarn install
PATH:
/Users/ahmed/.rvm/gems/ruby-3.0.0/bin:/Users/ahmed/.rvm/gems/ruby-3.0.0@global/bin:/Users/ahmed/.rvm/rubies/ruby-3.0.0/bin:/usr/local/opt/libpq/bin:/usr/local/opt/libpq/bin:/Users/ahmed/.nvm/versions/node/v16.14.2/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/mysql/bin:/Users/ahmed/Downloads/monero-x86_64-apple-darwin11-v0.17.3.2/:/Users/ahmed/.rvm/bin
Yarn version:
1.22.18
Node version:
16.14.2
Platform:
darwin x64
Trace:
Error: EACCES: permission denied, unlink '/Users/ahmed/temp/client/webapp/node_modules/.bin/autoprefixer'
npm manifest:
{
"name": "root",
"private": true,
"scripts": {
"dev": "lerna run dev"
},
"workspaces": [
"packages/*",
"webapp"
],
"devDependencies": {
"lerna": "^6.4.1"
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile

16651
yarn.lock

File diff suppressed because it is too large Load Diff