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

View file

@ -38,5 +38,8 @@
"eslintConfig": { "eslintConfig": {
"extends": "@logto" "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: specifiers:
'@logto/eslint-config': ^0.1.0-rc.14 '@logto/eslint-config': ^0.1.0-rc.14
'@logto/essentials': ^1.1.0-rc.2 '@logto/essentials': ^1.1.0-rc.2
'@logto/phrases': ^0.1.0
'@logto/ts-config': ^0.1.0-rc.14 '@logto/ts-config': ^0.1.0-rc.14
'@types/lodash.uniq': ^4.5.6 '@types/lodash.uniq': ^4.5.6
'@types/node': '14' '@types/node': '14'
@ -135,6 +136,8 @@ importers:
prettier: ^2.3.2 prettier: ^2.3.2
ts-node: ^10.0.0 ts-node: ^10.0.0
typescript: ^4.3.5 typescript: ^4.3.5
dependencies:
'@logto/phrases': link:../phrases
devDependencies: devDependencies:
'@logto/eslint-config': 0.1.0-rc.14_aa6010e91de57dec3f7388187c7addf8 '@logto/eslint-config': 0.1.0-rc.14_aa6010e91de57dec3f7388187c7addf8
'@logto/essentials': 1.1.0-rc.2 '@logto/essentials': 1.1.0-rc.2