mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -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
|
||||
. "$(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",
|
||||
"bootstrap": "lerna bootstrap",
|
||||
"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": {
|
||||
"@commitlint/cli": "^13.1.0",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"precommit": "lint-staged",
|
||||
"dev:tsc": "tsc -b -w --preserveWatchOutput",
|
||||
"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",
|
||||
"build": "tsc -b && razzle build --noninteractive",
|
||||
"lint": "eslint --ext .ts --ext .tsx src",
|
||||
|
|
|
@ -5427,7 +5427,7 @@ packages:
|
|||
engines: {node: '>=10.0.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
chalk: 4.1.1
|
||||
chalk: 4.1.2
|
||||
date-fns: 2.23.0
|
||||
lodash: 4.17.21
|
||||
read-pkg: 5.2.0
|
||||
|
|
Loading…
Reference in a new issue