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

chore: using pnpm workspace

This commit is contained in:
Gao Sun 2022-10-13 11:15:10 +08:00
parent 3383167681
commit c16970f450
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
11 changed files with 40 additions and 41 deletions

View file

@ -4,7 +4,6 @@
"license": "MPL-2.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"version": "pnpm i --frozen-lockfile=false && git add pnpm-lock.yaml",
"lerna": "lerna",
"bootstrap": "lerna bootstrap",
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",

View file

@ -35,8 +35,8 @@
"url": "https://github.com/logto-io/logto/issues"
},
"dependencies": {
"@logto/schemas": "^1.0.0-beta.10",
"@logto/shared": "^1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@logto/shared": "workspace:1.0.0-beta.10",
"@silverhand/essentials": "^1.3.0",
"chalk": "^4.1.2",
"decamelize": "^5.0.0",

View file

@ -20,10 +20,10 @@
"@fontsource/roboto-mono": "^4.5.7",
"@logto/core-kit": "1.0.0-beta.16",
"@logto/language-kit": "1.0.0-beta.16",
"@logto/phrases": "^1.0.0-beta.10",
"@logto/phrases-ui": "^1.0.0-beta.10",
"@logto/phrases": "workspace:1.0.0-beta.10",
"@logto/phrases-ui": "workspace:1.0.0-beta.10",
"@logto/react": "1.0.0-beta.8",
"@logto/schemas": "^1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@mdx-js/react": "^1.6.22",
"@parcel/core": "2.7.0",
"@parcel/transformer-mdx": "2.7.0",

View file

@ -23,14 +23,14 @@
"test:report": "codecov -F core"
},
"dependencies": {
"@logto/cli": "^1.0.0-beta.10",
"@logto/cli": "workspace:1.0.0-beta.10",
"@logto/connector-kit": "^1.0.0-beta.13",
"@logto/core-kit": "^1.0.0-beta.16",
"@logto/language-kit": "^1.0.0-beta.16",
"@logto/phrases": "^1.0.0-beta.10",
"@logto/phrases-ui": "^1.0.0-beta.10",
"@logto/schemas": "^1.0.0-beta.10",
"@logto/shared": "^1.0.0-beta.10",
"@logto/phrases": "workspace:1.0.0-beta.10",
"@logto/phrases-ui": "workspace:1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@logto/shared": "workspace:1.0.0-beta.10",
"@silverhand/essentials": "^1.3.0",
"chalk": "^4",
"clean-deep": "^3.4.0",

View file

@ -11,6 +11,6 @@
"node": "^16.0.0"
},
"dependencies": {
"@logto/cli": "^1.0.0-beta.10"
"@logto/cli": "workspace:1.0.0-beta.10"
}
}

View file

@ -19,9 +19,9 @@
"devDependencies": {
"@logto/core-kit": "^1.0.0-beta.13",
"@logto/language-kit": "1.0.0-beta.16",
"@logto/phrases": "^1.0.0-beta.10",
"@logto/phrases": "workspace:1.0.0-beta.10",
"@logto/react": "1.0.0-beta.8",
"@logto/schemas": "^1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@parcel/core": "2.7.0",
"@parcel/transformer-sass": "2.7.0",
"@silverhand/eslint-config": "1.0.0",

View file

@ -16,7 +16,7 @@
"devDependencies": {
"@jest/types": "^28.1.3",
"@logto/node": "1.0.0-beta.8",
"@logto/schemas": "^1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@peculiar/webcrypto": "^1.3.3",
"@silverhand/eslint-config": "1.0.0",
"@silverhand/essentials": "^1.3.0",

View file

@ -66,8 +66,8 @@
"@logto/connector-kit": "^1.0.0-beta.13",
"@logto/core-kit": "^1.0.0-beta.13",
"@logto/language-kit": "^1.0.0-beta.16",
"@logto/phrases": "^1.0.0-beta.10",
"@logto/phrases-ui": "^1.0.0-beta.10",
"@logto/phrases": "workspace:1.0.0-beta.10",
"@logto/phrases-ui": "workspace:1.0.0-beta.10",
"zod": "^3.18.0"
}
}

View file

@ -40,7 +40,7 @@
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@logto/schemas": "^1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@silverhand/essentials": "^1.3.0",
"dayjs": "^1.10.5",
"find-up": "^5.0.0",

View file

@ -16,9 +16,9 @@
"test": "jest"
},
"devDependencies": {
"@logto/phrases": "^1.0.0-beta.10",
"@logto/phrases-ui": "^1.0.0-beta.10",
"@logto/schemas": "^1.0.0-beta.10",
"@logto/phrases": "workspace:1.0.0-beta.10",
"@logto/phrases-ui": "workspace:1.0.0-beta.10",
"@logto/schemas": "workspace:1.0.0-beta.10",
"@parcel/core": "2.7.0",
"@parcel/transformer-sass": "2.7.0",
"@parcel/transformer-svg-react": "2.7.0",

View file

@ -20,8 +20,8 @@ importers:
packages/cli:
specifiers:
'@logto/schemas': ^1.0.0-beta.10
'@logto/shared': ^1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@logto/shared': workspace:1.0.0-beta.10
'@silverhand/eslint-config': 1.0.0
'@silverhand/essentials': ^1.3.0
'@silverhand/jest-config': 1.0.0
@ -104,10 +104,10 @@ importers:
'@fontsource/roboto-mono': ^4.5.7
'@logto/core-kit': 1.0.0-beta.16
'@logto/language-kit': 1.0.0-beta.16
'@logto/phrases': ^1.0.0-beta.10
'@logto/phrases-ui': ^1.0.0-beta.10
'@logto/phrases': workspace:1.0.0-beta.10
'@logto/phrases-ui': workspace:1.0.0-beta.10
'@logto/react': 1.0.0-beta.8
'@logto/schemas': ^1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@mdx-js/react': ^1.6.22
'@parcel/core': 2.7.0
'@parcel/transformer-mdx': 2.7.0
@ -237,14 +237,14 @@ importers:
packages/core:
specifiers:
'@logto/cli': ^1.0.0-beta.10
'@logto/cli': workspace:1.0.0-beta.10
'@logto/connector-kit': ^1.0.0-beta.13
'@logto/core-kit': ^1.0.0-beta.16
'@logto/language-kit': ^1.0.0-beta.16
'@logto/phrases': ^1.0.0-beta.10
'@logto/phrases-ui': ^1.0.0-beta.10
'@logto/schemas': ^1.0.0-beta.10
'@logto/shared': ^1.0.0-beta.10
'@logto/phrases': workspace:1.0.0-beta.10
'@logto/phrases-ui': workspace:1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@logto/shared': workspace:1.0.0-beta.10
'@shopify/jest-koa-mocks': ^5.0.0
'@silverhand/eslint-config': 1.0.0
'@silverhand/essentials': ^1.3.0
@ -396,7 +396,7 @@ importers:
packages/create:
specifiers:
'@logto/cli': ^1.0.0-beta.10
'@logto/cli': workspace:1.0.0-beta.10
dependencies:
'@logto/cli': link:../cli
@ -404,9 +404,9 @@ importers:
specifiers:
'@logto/core-kit': ^1.0.0-beta.13
'@logto/language-kit': 1.0.0-beta.16
'@logto/phrases': ^1.0.0-beta.10
'@logto/phrases': workspace:1.0.0-beta.10
'@logto/react': 1.0.0-beta.8
'@logto/schemas': ^1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@parcel/core': 2.7.0
'@parcel/transformer-sass': 2.7.0
'@silverhand/eslint-config': 1.0.0
@ -460,7 +460,7 @@ importers:
specifiers:
'@jest/types': ^28.1.3
'@logto/node': 1.0.0-beta.8
'@logto/schemas': ^1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@peculiar/webcrypto': ^1.3.3
'@silverhand/eslint-config': 1.0.0
'@silverhand/essentials': ^1.3.0
@ -563,8 +563,8 @@ importers:
'@logto/connector-kit': ^1.0.0-beta.13
'@logto/core-kit': ^1.0.0-beta.13
'@logto/language-kit': ^1.0.0-beta.16
'@logto/phrases': ^1.0.0-beta.10
'@logto/phrases-ui': ^1.0.0-beta.10
'@logto/phrases': workspace:1.0.0-beta.10
'@logto/phrases-ui': workspace:1.0.0-beta.10
'@silverhand/eslint-config': 1.0.0
'@silverhand/essentials': ^1.3.0
'@silverhand/jest-config': 1.0.0
@ -613,7 +613,7 @@ importers:
packages/shared:
specifiers:
'@logto/schemas': ^1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@silverhand/eslint-config': 1.0.0
'@silverhand/essentials': ^1.3.0
'@silverhand/jest-config': 1.0.0
@ -649,9 +649,9 @@ importers:
packages/ui:
specifiers:
'@logto/core-kit': ^1.0.0-beta.13
'@logto/phrases': ^1.0.0-beta.10
'@logto/phrases-ui': ^1.0.0-beta.10
'@logto/schemas': ^1.0.0-beta.10
'@logto/phrases': workspace:1.0.0-beta.10
'@logto/phrases-ui': workspace:1.0.0-beta.10
'@logto/schemas': workspace:1.0.0-beta.10
'@parcel/core': 2.7.0
'@parcel/transformer-sass': 2.7.0
'@parcel/transformer-svg-react': 2.7.0