mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix: use lerna exec
and FORCE_COLOR=1
for colorful outputs (#93)
This commit is contained in:
parent
ee1133cf49
commit
154ddfac2b
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
pnpm -- lerna run --concurrency 1 --stream precommit --since HEAD --exclude-dependents
|
FORCE_COLOR=1 pnpm -- lerna run --concurrency 1 --stream precommit --since HEAD --exclude-dependents
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"lerna": "lerna",
|
"lerna": "lerna",
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"prepare": "if test \"$NODE_ENV\" != \"production\" ; then husky install && lerna run --stream prepack ; fi",
|
"prepare": "if test \"$NODE_ENV\" != \"production\" ; then husky install && lerna run --stream prepack ; fi",
|
||||||
"dev": "lerna run --parallel dev"
|
"dev": "lerna --scope=@logto/{core,ui} exec -- pnpm dev"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^13.1.0",
|
"@commitlint/cli": "^13.1.0",
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"dev:tsc": "tsc -b -w --preserveWatchOutput",
|
"dev:tsc": "tsc -b -w --preserveWatchOutput",
|
||||||
"dev:razzle": "razzle start",
|
"dev:razzle": "razzle start",
|
||||||
"dev": "PORT=5000 concurrently -c \"blue,cyan\" \"pnpm:dev:tsc\" -k \"pnpm:dev:razzle\"",
|
"dev": "PORT=5000 concurrently -c \"blue,cyan\" -k -n \"ui:tsc,ui:razzle\" \"pnpm:dev:tsc\" \"pnpm:dev:razzle\"",
|
||||||
"start": "NODE_ENV=production node build/server.js",
|
"start": "NODE_ENV=production node build/server.js",
|
||||||
"build": "tsc -b && razzle build --noninteractive",
|
"build": "tsc -b && razzle build --noninteractive",
|
||||||
"lint": "eslint --ext .ts --ext .tsx src",
|
"lint": "eslint --ext .ts --ext .tsx src",
|
||||||
|
|
|
@ -5427,7 +5427,7 @@ packages:
|
||||||
engines: {node: '>=10.0.0'}
|
engines: {node: '>=10.0.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.1
|
chalk: 4.1.2
|
||||||
date-fns: 2.23.0
|
date-fns: 2.23.0
|
||||||
lodash: 4.17.21
|
lodash: 4.17.21
|
||||||
read-pkg: 5.2.0
|
read-pkg: 5.2.0
|
||||||
|
|
Loading…
Reference in a new issue