0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor: add phrases dependency to schema

This commit is contained in:
Simeng Li 2021-08-11 23:07:39 +08:00
parent 754b9ea872
commit f6229641aa
3 changed files with 15 additions and 5 deletions

View file

@ -5,7 +5,7 @@
"preinstall": "npx only-allow pnpm",
"lerna": "lerna",
"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 --concurrency 1 --stream prepack ; fi",
"dev": "lerna run --parallel dev"
},
"devDependencies": {
@ -16,11 +16,15 @@
"typescript": "^4.3.5"
},
"workspaces": {
"packages": ["packages/*"],
"nohoist": ["**/module-alias"]
"packages": [
"packages/*"
],
"nohoist": [
"**/module-alias"
]
},
"engines": {
"node": ">=14.15.0",
"pnpm": ">=6"
}
}
}

View file

@ -38,5 +38,8 @@
"eslintConfig": {
"extends": "@logto"
},
"prettier": "@logto/eslint-config/.prettierrc"
"prettier": "@logto/eslint-config/.prettierrc",
"dependencies": {
"@logto/phrases": "^0.1.0"
}
}

View file

@ -123,6 +123,7 @@ importers:
specifiers:
'@logto/eslint-config': ^0.1.0-rc.14
'@logto/essentials': ^1.1.0-rc.2
'@logto/phrases': ^0.1.0
'@logto/ts-config': ^0.1.0-rc.14
'@types/lodash.uniq': ^4.5.6
'@types/node': '14'
@ -135,6 +136,8 @@ importers:
prettier: ^2.3.2
ts-node: ^10.0.0
typescript: ^4.3.5
dependencies:
'@logto/phrases': link:../phrases
devDependencies:
'@logto/eslint-config': 0.1.0-rc.14_aa6010e91de57dec3f7388187c7addf8
'@logto/essentials': 1.1.0-rc.2