0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(schemas): move zod into dependencies (#108)

This commit is contained in:
Gao Sun 2021-09-03 16:54:10 +08:00 committed by GitHub
parent ed204f91c5
commit 54105fc614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View file

@ -12,7 +12,7 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"precommit": "lint-staged",
"generate": "ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix",
"generate": "rm -rf src/db-entries && ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix",
"build": "pnpm generate && rm -rf lib/ && tsc --p tsconfig.build.json",
"lint": "eslint --ext .ts src",
"prepack": "pnpm build"
@ -34,17 +34,14 @@
"pluralize": "^8.0.0",
"prettier": "^2.3.2",
"ts-node": "^10.0.0",
"typescript": "^4.3.5",
"zod": "^3.8.1"
"typescript": "^4.3.5"
},
"eslintConfig": {
"extends": "@logto"
},
"prettier": "@logto/eslint-config/.prettierrc",
"dependencies": {
"@logto/phrases": "^0.1.0"
},
"peerDependencies": {
"@logto/phrases": "^0.1.0",
"zod": "^3.8.1"
}
}

View file

@ -147,6 +147,7 @@ importers:
zod: ^3.8.1
dependencies:
'@logto/phrases': link:../phrases
zod: 3.8.1
devDependencies:
'@logto/eslint-config': 0.1.3_aff669e8eb0d21fc4e2068e6112ef4d0
'@logto/essentials': 1.1.0-rc.2
@ -162,7 +163,6 @@ importers:
prettier: 2.3.2
ts-node: 10.1.0_13403c2f2d9ddab699dd2f492f123cbf
typescript: 4.3.5
zod: 3.8.1
packages/ui:
specifiers:
@ -16741,6 +16741,7 @@ packages:
/zod/3.8.1:
resolution: {integrity: sha512-u4Uodl7dLh8nXZwqXL1SM5FAl5b4lXYHOxMUVb9lqhlEAZhA2znX+0oW480m0emGFMxpoRHzUncAqRkc4h8ZJA==}
dev: false
/zwitch/1.0.5:
resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==}