mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
refactor: remove lodash (#2715)
This commit is contained in:
parent
28a1b37859
commit
c52a66a32d
27 changed files with 66 additions and 113 deletions
|
@ -46,7 +46,7 @@
|
|||
"@logto/core-kit": "workspace:*",
|
||||
"@logto/schemas": "workspace:*",
|
||||
"@logto/shared": "workspace:*",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"chalk": "^5.0.0",
|
||||
"decamelize": "^6.0.0",
|
||||
"dotenv": "^16.0.0",
|
||||
|
|
|
@ -32,13 +32,11 @@
|
|||
"@parcel/transformer-svg-react": "2.8.2",
|
||||
"@silverhand/eslint-config": "1.3.0",
|
||||
"@silverhand/eslint-config-react": "1.3.0",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"@silverhand/ts-config": "1.2.1",
|
||||
"@silverhand/ts-config-react": "1.2.1",
|
||||
"@tsconfig/docusaurus": "^1.0.5",
|
||||
"@types/color": "^3.0.3",
|
||||
"@types/lodash.get": "^4.4.7",
|
||||
"@types/lodash.kebabcase": "^4.1.6",
|
||||
"@types/mdx": "^2.0.1",
|
||||
"@types/mdx-js__react": "^1.5.5",
|
||||
"@types/react": "^18.0.0",
|
||||
|
@ -58,10 +56,9 @@
|
|||
"history": "^5.3.0",
|
||||
"i18next": "^21.8.16",
|
||||
"i18next-browser-languagedetector": "^6.1.4",
|
||||
"just-kebab-case": "^4.2.0",
|
||||
"ky": "^0.33.0",
|
||||
"lint-staged": "^13.0.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"lodash.kebabcase": "^4.1.1",
|
||||
"nanoid": "^4.0.0",
|
||||
"parcel": "2.8.2",
|
||||
"postcss": "^8.4.6",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import kebabCase from 'lodash.kebabcase';
|
||||
import kebabCase from 'just-kebab-case';
|
||||
|
||||
export const getPath = (title: string): string => `/${kebabCase(title)}`;
|
||||
|
|
|
@ -53,7 +53,7 @@ const Button = ({
|
|||
// Delay showing the spinner after 'loadingDelay' milliseconds
|
||||
if (isLoading) {
|
||||
// eslint-disable-next-line @silverhand/fp/no-mutation
|
||||
timerRef.current = setTimeout(() => {
|
||||
timerRef.current = window.setTimeout(() => {
|
||||
setShowSpinner(true);
|
||||
}, loadingDelay);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import type { SignInIdentifier } from '@logto/schemas';
|
||||
import { get } from '@silverhand/essentials';
|
||||
import { detailedDiff } from 'deep-object-diff';
|
||||
import get from 'lodash.get';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import type { SignInMethod, SignInMethodsObject } from '@/pages/SignInExperience/types';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import type { SignUp } from '@logto/schemas';
|
||||
import { get } from '@silverhand/essentials';
|
||||
import { diff } from 'deep-object-diff';
|
||||
import get from 'lodash.get';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { snakeCase } from 'snake-case';
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"@logto/phrases-ui": "workspace:*",
|
||||
"@logto/schemas": "workspace:*",
|
||||
"@logto/shared": "workspace:*",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"@withtyped/postgres": "^0.3.1",
|
||||
"@withtyped/server": "^0.3.1",
|
||||
"chalk": "^5.0.0",
|
||||
|
@ -57,7 +57,6 @@
|
|||
"koa-proxies": "^0.12.1",
|
||||
"koa-router": "^12.0.0",
|
||||
"koa-send": "^5.0.1",
|
||||
"lodash.pick": "^4.4.0",
|
||||
"nanoid": "^4.0.0",
|
||||
"oidc-provider": "^7.13.0",
|
||||
"p-retry": "^5.1.2",
|
||||
|
@ -83,7 +82,6 @@
|
|||
"@types/koa-logger": "^3.1.1",
|
||||
"@types/koa-mount": "^4.0.0",
|
||||
"@types/koa-send": "^4.1.3",
|
||||
"@types/lodash.pick": "^4.4.6",
|
||||
"@types/node": "^16.0.0",
|
||||
"@types/oidc-provider": "^7.12.0",
|
||||
"@types/sinon": "^10.0.13",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import type { User } from '@logto/schemas';
|
||||
import { userInfoSelectFields, UsersPasswordEncryptionMethod } from '@logto/schemas';
|
||||
import pick from 'lodash.pick';
|
||||
import { pick } from '@silverhand/essentials';
|
||||
|
||||
export const mockUser: User = {
|
||||
id: 'foo',
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import type { LogtoErrorCode, LogtoErrorI18nKey } from '@logto/phrases';
|
||||
import type { RequestErrorBody, RequestErrorMetadata } from '@logto/schemas';
|
||||
import type { Optional } from '@silverhand/essentials';
|
||||
import { conditional } from '@silverhand/essentials';
|
||||
import { conditional, pick } from '@silverhand/essentials';
|
||||
import i18next from 'i18next';
|
||||
import pick from 'lodash.pick';
|
||||
import { ZodError } from 'zod';
|
||||
|
||||
const formatZodError = ({ issues }: ZodError): string[] =>
|
||||
|
|
|
@ -5,10 +5,10 @@ import type {
|
|||
LogPayloads,
|
||||
LogType,
|
||||
} from '@logto/schemas/lib/types/log-legacy.js';
|
||||
import { pick } from '@silverhand/essentials';
|
||||
import deepmerge from 'deepmerge';
|
||||
import type { MiddlewareType } from 'koa';
|
||||
import type { IRouterParamContext } from 'koa-router';
|
||||
import pick from 'lodash.pick';
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
import RequestError from '#src/errors/RequestError/index.js';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import type { LogContextPayload, LogKey } from '@logto/schemas';
|
||||
import { LogResult } from '@logto/schemas';
|
||||
import { pick } from '@silverhand/essentials';
|
||||
import type { MiddlewareType } from 'koa';
|
||||
import type { IRouterParamContext } from 'koa-router';
|
||||
import pick from 'lodash.pick';
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
import RequestError from '#src/errors/RequestError/index.js';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import type { CreateUser, Role, User } from '@logto/schemas';
|
||||
import { userInfoSelectFields } from '@logto/schemas';
|
||||
import { mockEsm, mockEsmWithActual, pickDefault } from '@logto/shared/esm';
|
||||
import pick from 'lodash.pick';
|
||||
import { pick } from '@silverhand/essentials';
|
||||
|
||||
import {
|
||||
mockUser,
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { emailRegEx, passwordRegEx, phoneRegEx, usernameRegEx } from '@logto/core-kit';
|
||||
import { arbitraryObjectGuard, userInfoSelectFields, UserRole } from '@logto/schemas';
|
||||
import { tryThat } from '@logto/shared';
|
||||
import { conditional, has } from '@silverhand/essentials';
|
||||
import pick from 'lodash.pick';
|
||||
import { conditional, has, pick } from '@silverhand/essentials';
|
||||
import { boolean, literal, object, string } from 'zod';
|
||||
|
||||
import { isTrue } from '#src/env-set/parameters.js';
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { emailRegEx, passwordRegEx, phoneRegEx, usernameRegEx } from '@logto/core-kit';
|
||||
import { arbitraryObjectGuard, userInfoSelectFields } from '@logto/schemas';
|
||||
import { has } from '@silverhand/essentials';
|
||||
import { has, pick } from '@silverhand/essentials';
|
||||
import { argon2Verify } from 'hash-wasm';
|
||||
import pick from 'lodash.pick';
|
||||
import type { Provider } from 'oidc-provider';
|
||||
import { object, string, unknown } from 'zod';
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import type { ConnectorSession } from '@logto/connector-kit';
|
||||
import { validateRedirectUrl } from '@logto/core-kit';
|
||||
import { ConnectorType, userInfoSelectFields } from '@logto/schemas';
|
||||
import { conditional } from '@silverhand/essentials';
|
||||
import pick from 'lodash.pick';
|
||||
import { conditional, pick } from '@silverhand/essentials';
|
||||
import type { Provider } from 'oidc-provider';
|
||||
import { object, string, unknown } from 'zod';
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"@logto/schemas": "workspace:*",
|
||||
"@peculiar/webcrypto": "^1.3.3",
|
||||
"@silverhand/eslint-config": "1.3.0",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"@silverhand/ts-config": "1.2.1",
|
||||
"@types/jest": "^29.1.2",
|
||||
"@types/jest-environment-puppeteer": "^5.0.2",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import type { LogtoConfig } from '@logto/node';
|
||||
import LogtoClient from '@logto/node';
|
||||
import { demoAppApplicationId } from '@logto/schemas';
|
||||
import type { Optional } from '@silverhand/essentials';
|
||||
import type { Nullable, Optional } from '@silverhand/essentials';
|
||||
import { assert } from '@silverhand/essentials';
|
||||
import { got } from 'got';
|
||||
|
||||
|
@ -110,7 +110,7 @@ export default class MockClient {
|
|||
return this.logto.getAccessToken(resource);
|
||||
}
|
||||
|
||||
public async getRefreshToken() {
|
||||
public async getRefreshToken(): Promise<Nullable<string>> {
|
||||
return this.logto.getRefreshToken();
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"dependencies": {
|
||||
"@logto/core-kit": "workspace:*",
|
||||
"@logto/language-kit": "workspace:*",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"zod": "^3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"dependencies": {
|
||||
"@logto/core-kit": "workspace:*",
|
||||
"@logto/language-kit": "workspace:*",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"zod": "^3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -40,17 +40,15 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@silverhand/eslint-config": "1.3.0",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"@silverhand/ts-config": "1.2.1",
|
||||
"@types/jest": "^29.1.2",
|
||||
"@types/lodash.uniq": "^4.5.6",
|
||||
"@types/node": "^16.0.0",
|
||||
"@types/pluralize": "^0.0.29",
|
||||
"camelcase": "^7.0.0",
|
||||
"eslint": "^8.21.0",
|
||||
"jest": "^29.1.2",
|
||||
"lint-staged": "^13.0.0",
|
||||
"lodash.uniq": "^4.5.0",
|
||||
"pluralize": "^8.0.0",
|
||||
"prettier": "^2.8.1",
|
||||
"slonik": "^30.0.0",
|
||||
|
|
|
@ -5,9 +5,8 @@ import assert from 'assert';
|
|||
import fs from 'fs/promises';
|
||||
import path from 'path';
|
||||
|
||||
import { conditionalString } from '@silverhand/essentials';
|
||||
import { conditionalString, deduplicate } from '@silverhand/essentials';
|
||||
import camelcase from 'camelcase';
|
||||
import uniq from 'lodash.uniq';
|
||||
import pluralize from 'pluralize';
|
||||
|
||||
import { generateSchema } from './schema.js';
|
||||
|
@ -164,7 +163,7 @@ const generate = async () => {
|
|||
tsTypes.length > 0 &&
|
||||
[
|
||||
'import {',
|
||||
uniq(tsTypes)
|
||||
deduplicate(tsTypes)
|
||||
.map((value) => ` ${value}`)
|
||||
.join(',\n'),
|
||||
`} from'./${tsTypesFilename}.js';`,
|
||||
|
@ -175,7 +174,7 @@ const generate = async () => {
|
|||
customTypes.length > 0 &&
|
||||
[
|
||||
'import {',
|
||||
uniq(customTypes)
|
||||
deduplicate(customTypes)
|
||||
.map((value) => ` ${value}`)
|
||||
.join(',\n'),
|
||||
`} from'./${generatedTypesFilename}.js';`,
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"prettier": "@silverhand/eslint-config/.prettierrc",
|
||||
"dependencies": {
|
||||
"@logto/schemas": "workspace:*",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"find-up": "^6.3.0",
|
||||
"nanoid": "^4.0.0",
|
||||
"slonik": "^30.0.0"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
"dependencies": {
|
||||
"@logto/core-kit": "workspace:*",
|
||||
"@logto/language-kit": "workspace:*",
|
||||
"@silverhand/essentials": "^1.2.1"
|
||||
"@silverhand/essentials": "2.0.0-rc.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"zod": "^3.20.2"
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"@rollup/plugin-typescript": "^10.0.1",
|
||||
"@silverhand/eslint-config": "1.3.0",
|
||||
"@silverhand/eslint-config-react": "1.3.0",
|
||||
"@silverhand/essentials": "^1.2.1",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"@silverhand/ts-config": "1.2.1",
|
||||
"@types/color": "^3.0.3",
|
||||
"@types/jest": "^29.0.3",
|
||||
|
|
|
@ -10,7 +10,7 @@ const config: Config.InitialOptions = {
|
|||
},
|
||||
}),
|
||||
// Will update common config soon
|
||||
transformIgnorePatterns: ['node_modules/(?!(.*(nanoid|jose|ky|@logto))/)'],
|
||||
transformIgnorePatterns: ['node_modules/(?!(.*(nanoid|jose|ky|@logto|@silverhand))/)'],
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"@peculiar/webcrypto": "^1.3.3",
|
||||
"@silverhand/eslint-config": "1.3.0",
|
||||
"@silverhand/eslint-config-react": "1.3.0",
|
||||
"@silverhand/essentials": "^1.3.0",
|
||||
"@silverhand/essentials": "2.0.0-rc.2",
|
||||
"@silverhand/jest-config": "1.2.2",
|
||||
"@silverhand/ts-config": "1.2.1",
|
||||
"@silverhand/ts-config-react": "1.2.1",
|
||||
|
|
107
pnpm-lock.yaml
generated
107
pnpm-lock.yaml
generated
|
@ -27,7 +27,7 @@ importers:
|
|||
'@logto/schemas': workspace:*
|
||||
'@logto/shared': workspace:*
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/fs-extra': ^9.0.13
|
||||
'@types/inquirer': ^8.2.1
|
||||
|
@ -65,7 +65,7 @@ importers:
|
|||
'@logto/core-kit': link:../toolkit/core-kit
|
||||
'@logto/schemas': link:../schemas
|
||||
'@logto/shared': link:../shared
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
chalk: 5.1.2
|
||||
decamelize: 6.0.0
|
||||
dotenv: 16.0.0
|
||||
|
@ -118,13 +118,11 @@ importers:
|
|||
'@parcel/transformer-svg-react': 2.8.2
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/eslint-config-react': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@silverhand/ts-config-react': 1.2.1
|
||||
'@tsconfig/docusaurus': ^1.0.5
|
||||
'@types/color': ^3.0.3
|
||||
'@types/lodash.get': ^4.4.7
|
||||
'@types/lodash.kebabcase': ^4.1.6
|
||||
'@types/mdx': ^2.0.1
|
||||
'@types/mdx-js__react': ^1.5.5
|
||||
'@types/react': ^18.0.0
|
||||
|
@ -144,10 +142,9 @@ importers:
|
|||
history: ^5.3.0
|
||||
i18next: ^21.8.16
|
||||
i18next-browser-languagedetector: ^6.1.4
|
||||
just-kebab-case: ^4.2.0
|
||||
ky: ^0.33.0
|
||||
lint-staged: ^13.0.0
|
||||
lodash.get: ^4.4.2
|
||||
lodash.kebabcase: ^4.1.1
|
||||
nanoid: ^4.0.0
|
||||
parcel: 2.8.2
|
||||
postcss: ^8.4.6
|
||||
|
@ -190,13 +187,11 @@ importers:
|
|||
'@parcel/transformer-svg-react': 2.8.2_@parcel+core@2.8.2
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
'@silverhand/eslint-config-react': 1.3.0_kvwdjz5hpaxioiksuaratzdsqy
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1_typescript@4.9.4
|
||||
'@silverhand/ts-config-react': 1.2.1_typescript@4.9.4
|
||||
'@tsconfig/docusaurus': 1.0.5
|
||||
'@types/color': 3.0.3
|
||||
'@types/lodash.get': 4.4.7
|
||||
'@types/lodash.kebabcase': 4.1.6
|
||||
'@types/mdx': 2.0.1
|
||||
'@types/mdx-js__react': 1.5.5
|
||||
'@types/react': 18.0.15
|
||||
|
@ -216,10 +211,9 @@ importers:
|
|||
history: 5.3.0
|
||||
i18next: 21.8.16
|
||||
i18next-browser-languagedetector: 6.1.4
|
||||
just-kebab-case: 4.2.0
|
||||
ky: 0.33.0
|
||||
lint-staged: 13.0.0
|
||||
lodash.get: 4.4.2
|
||||
lodash.kebabcase: 4.1.1
|
||||
nanoid: 4.0.0
|
||||
parcel: 2.8.2_postcss@8.4.6
|
||||
postcss: 8.4.6
|
||||
|
@ -259,7 +253,7 @@ importers:
|
|||
'@logto/schemas': workspace:*
|
||||
'@logto/shared': workspace:*
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/debug': ^4.1.7
|
||||
'@types/etag': ^1.8.1
|
||||
|
@ -272,7 +266,6 @@ importers:
|
|||
'@types/koa-logger': ^3.1.1
|
||||
'@types/koa-mount': ^4.0.0
|
||||
'@types/koa-send': ^4.1.3
|
||||
'@types/lodash.pick': ^4.4.6
|
||||
'@types/node': ^16.0.0
|
||||
'@types/oidc-provider': ^7.12.0
|
||||
'@types/sinon': ^10.0.13
|
||||
|
@ -306,7 +299,6 @@ importers:
|
|||
koa-router: ^12.0.0
|
||||
koa-send: ^5.0.1
|
||||
lint-staged: ^13.0.0
|
||||
lodash.pick: ^4.4.0
|
||||
nanoid: ^4.0.0
|
||||
node-mocks-http: ^1.12.1
|
||||
nodemon: ^2.0.19
|
||||
|
@ -333,7 +325,7 @@ importers:
|
|||
'@logto/phrases-ui': link:../phrases-ui
|
||||
'@logto/schemas': link:../schemas
|
||||
'@logto/shared': link:../shared
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@withtyped/postgres': 0.3.1_@withtyped+server@0.3.1
|
||||
'@withtyped/server': 0.3.1
|
||||
chalk: 5.1.2
|
||||
|
@ -357,7 +349,6 @@ importers:
|
|||
koa-proxies: 0.12.1_koa@2.13.4
|
||||
koa-router: 12.0.0
|
||||
koa-send: 5.0.1
|
||||
lodash.pick: 4.4.0
|
||||
nanoid: 4.0.0
|
||||
oidc-provider: 7.13.0
|
||||
p-retry: 5.1.2
|
||||
|
@ -382,7 +373,6 @@ importers:
|
|||
'@types/koa-logger': 3.1.2
|
||||
'@types/koa-mount': 4.0.1
|
||||
'@types/koa-send': 4.1.3
|
||||
'@types/lodash.pick': 4.4.6
|
||||
'@types/node': 16.11.12
|
||||
'@types/oidc-provider': 7.12.0
|
||||
'@types/sinon': 10.0.13
|
||||
|
@ -473,7 +463,7 @@ importers:
|
|||
'@logto/schemas': workspace:*
|
||||
'@peculiar/webcrypto': ^1.3.3
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/jest': ^29.1.2
|
||||
'@types/jest-environment-puppeteer': ^5.0.2
|
||||
|
@ -500,7 +490,7 @@ importers:
|
|||
'@logto/schemas': link:../schemas
|
||||
'@peculiar/webcrypto': 1.3.3
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1_typescript@4.9.4
|
||||
'@types/jest': 29.1.2
|
||||
'@types/jest-environment-puppeteer': 5.0.2
|
||||
|
@ -523,7 +513,7 @@ importers:
|
|||
'@logto/core-kit': workspace:*
|
||||
'@logto/language-kit': workspace:*
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
eslint: ^8.21.0
|
||||
lint-staged: ^13.0.0
|
||||
|
@ -533,7 +523,7 @@ importers:
|
|||
dependencies:
|
||||
'@logto/core-kit': link:../toolkit/core-kit
|
||||
'@logto/language-kit': link:../toolkit/language-kit
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
zod: 3.20.2
|
||||
devDependencies:
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
|
@ -548,7 +538,7 @@ importers:
|
|||
'@logto/core-kit': workspace:*
|
||||
'@logto/language-kit': workspace:*
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
eslint: ^8.21.0
|
||||
lint-staged: ^13.0.0
|
||||
|
@ -558,7 +548,7 @@ importers:
|
|||
dependencies:
|
||||
'@logto/core-kit': link:../toolkit/core-kit
|
||||
'@logto/language-kit': link:../toolkit/language-kit
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
zod: 3.20.2
|
||||
devDependencies:
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
|
@ -576,10 +566,9 @@ importers:
|
|||
'@logto/phrases': workspace:*
|
||||
'@logto/phrases-ui': workspace:*
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/jest': ^29.1.2
|
||||
'@types/lodash.uniq': ^4.5.6
|
||||
'@types/node': ^16.0.0
|
||||
'@types/pluralize': ^0.0.29
|
||||
'@withtyped/server': ^0.3.1
|
||||
|
@ -587,7 +576,6 @@ importers:
|
|||
eslint: ^8.21.0
|
||||
jest: ^29.1.2
|
||||
lint-staged: ^13.0.0
|
||||
lodash.uniq: ^4.5.0
|
||||
pluralize: ^8.0.0
|
||||
prettier: ^2.8.1
|
||||
slonik: ^30.0.0
|
||||
|
@ -603,17 +591,15 @@ importers:
|
|||
zod: 3.20.2
|
||||
devDependencies:
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1_typescript@4.9.4
|
||||
'@types/jest': 29.1.2
|
||||
'@types/lodash.uniq': 4.5.6
|
||||
'@types/node': 16.11.12
|
||||
'@types/pluralize': 0.0.29
|
||||
camelcase: 7.0.0
|
||||
eslint: 8.21.0
|
||||
jest: 29.1.2_@types+node@16.11.12
|
||||
lint-staged: 13.0.0
|
||||
lodash.uniq: 4.5.0
|
||||
pluralize: 8.0.0
|
||||
prettier: 2.8.1
|
||||
slonik: 30.1.2
|
||||
|
@ -623,7 +609,7 @@ importers:
|
|||
specifiers:
|
||||
'@logto/schemas': workspace:*
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/jest': ^29.1.2
|
||||
'@types/node': ^16.0.0
|
||||
|
@ -637,7 +623,7 @@ importers:
|
|||
typescript: ^4.9.4
|
||||
dependencies:
|
||||
'@logto/schemas': link:../schemas
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
find-up: 6.3.0
|
||||
nanoid: 4.0.0
|
||||
slonik: 30.1.2
|
||||
|
@ -658,7 +644,7 @@ importers:
|
|||
'@logto/language-kit': workspace:*
|
||||
'@rollup/plugin-typescript': ^10.0.1
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/essentials': ^1.2.1
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/node': ^16.3.1
|
||||
eslint: ^8.21.0
|
||||
|
@ -671,7 +657,7 @@ importers:
|
|||
dependencies:
|
||||
'@logto/core-kit': link:../core-kit
|
||||
'@logto/language-kit': link:../language-kit
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
optionalDependencies:
|
||||
zod: 3.20.2
|
||||
devDependencies:
|
||||
|
@ -693,7 +679,7 @@ importers:
|
|||
'@rollup/plugin-typescript': ^10.0.1
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/eslint-config-react': 1.3.0
|
||||
'@silverhand/essentials': ^1.2.1
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@types/color': ^3.0.3
|
||||
'@types/jest': ^29.0.3
|
||||
|
@ -723,7 +709,7 @@ importers:
|
|||
'@rollup/plugin-typescript': 10.0.1_ksuudmkloucy44p3irodiuckje
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
'@silverhand/eslint-config-react': 1.3.0_5rwnaekeqjwkki32tn67stomfe
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/ts-config': 1.2.1_typescript@4.9.4
|
||||
'@types/color': 3.0.3
|
||||
'@types/jest': 29.1.2
|
||||
|
@ -786,7 +772,7 @@ importers:
|
|||
'@peculiar/webcrypto': ^1.3.3
|
||||
'@silverhand/eslint-config': 1.3.0
|
||||
'@silverhand/eslint-config-react': 1.3.0
|
||||
'@silverhand/essentials': ^1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/jest-config': 1.2.2
|
||||
'@silverhand/ts-config': 1.2.1
|
||||
'@silverhand/ts-config-react': 1.2.1
|
||||
|
@ -840,7 +826,7 @@ importers:
|
|||
'@peculiar/webcrypto': 1.3.3
|
||||
'@silverhand/eslint-config': 1.3.0_k3lfx77tsvurbevhk73p7ygch4
|
||||
'@silverhand/eslint-config-react': 1.3.0_kvwdjz5hpaxioiksuaratzdsqy
|
||||
'@silverhand/essentials': 1.3.0
|
||||
'@silverhand/essentials': 2.0.0-rc.2
|
||||
'@silverhand/jest-config': 1.2.2_ky6c64xxalg2hsll4xx3evq2dy
|
||||
'@silverhand/ts-config': 1.2.1_typescript@4.9.4
|
||||
'@silverhand/ts-config-react': 1.2.1_typescript@4.9.4
|
||||
|
@ -3511,6 +3497,11 @@ packages:
|
|||
dependencies:
|
||||
lodash.orderby: 4.6.0
|
||||
lodash.pick: 4.4.0
|
||||
dev: true
|
||||
|
||||
/@silverhand/essentials/2.0.0-rc.2:
|
||||
resolution: {integrity: sha512-Yfq3oNk8dwZkfF0E5EzDfEyWL7e4alQfNXHV/BfDpBlcCLyJIk47RdkLO1TstuzNxlgp+95iscdO1+88nczNFw==}
|
||||
engines: {node: ^16.13.0 || ^18.12.0 || ^19.2.0, pnpm: ^7}
|
||||
|
||||
/@silverhand/jest-config/1.2.2_ky6c64xxalg2hsll4xx3evq2dy:
|
||||
resolution: {integrity: sha512-sCOIHN3kIG9nyySkDao8nz6HK8VhGoUV4WG1CCriDDeGTqbHs4IprzTp1p+ChFdC8JGBCElQC0cIFrWYTFnTAQ==}
|
||||
|
@ -4105,34 +4096,6 @@ packages:
|
|||
'@types/node': 17.0.23
|
||||
dev: true
|
||||
|
||||
/@types/lodash.get/4.4.7:
|
||||
resolution: {integrity: sha512-af34Mj+KdDeuzsJBxc/XeTtOx0SZHZNLd+hdrn+PcKGQs0EG2TJTzQAOTCZTgDJCArahlCzLWSy8c2w59JRz7Q==}
|
||||
dependencies:
|
||||
'@types/lodash': 4.14.178
|
||||
dev: true
|
||||
|
||||
/@types/lodash.kebabcase/4.1.6:
|
||||
resolution: {integrity: sha512-+RAD9pCAa8kuVyCYTeDNiwBXwD/0u0p+hos3NSqD+tXTjJextbfF3farfYB+ssAKgEssoewXEtBsfwBpsI7gsA==}
|
||||
dependencies:
|
||||
'@types/lodash': 4.14.178
|
||||
dev: true
|
||||
|
||||
/@types/lodash.pick/4.4.6:
|
||||
resolution: {integrity: sha512-u8bzA16qQ+8dY280z3aK7PoWb3fzX5ATJ0rJB6F+uqchOX2VYF02Aqa+8aYiHiHgPzQiITqCgeimlyKFy4OA6g==}
|
||||
dependencies:
|
||||
'@types/lodash': 4.14.178
|
||||
dev: true
|
||||
|
||||
/@types/lodash.uniq/4.5.6:
|
||||
resolution: {integrity: sha512-XHNMXBtiwsWZstZMyxOYjr0e8YYWv0RgPlzIHblTuwBBiWo2MzWVaTBihtBpslb5BglgAWIeBv69qt1+RTRW1A==}
|
||||
dependencies:
|
||||
'@types/lodash': 4.14.178
|
||||
dev: true
|
||||
|
||||
/@types/lodash/4.14.178:
|
||||
resolution: {integrity: sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==}
|
||||
dev: true
|
||||
|
||||
/@types/mdast/3.0.10:
|
||||
resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==}
|
||||
dependencies:
|
||||
|
@ -9863,7 +9826,7 @@ packages:
|
|||
dependencies:
|
||||
universalify: 2.0.0
|
||||
optionalDependencies:
|
||||
graceful-fs: 4.2.9
|
||||
graceful-fs: 4.2.10
|
||||
dev: true
|
||||
|
||||
/jsonparse/1.3.1:
|
||||
|
@ -9883,6 +9846,10 @@ packages:
|
|||
resolution: {integrity: sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==}
|
||||
dev: true
|
||||
|
||||
/just-kebab-case/4.2.0:
|
||||
resolution: {integrity: sha512-p2BdO7o4BI+pMun3J+dhaOfYan5JsZrw9wjshRjkWY9+p+u+kKSMhNWYnot2yHDR9CSahZ9iT3dcqJ+V72qHMw==}
|
||||
dev: true
|
||||
|
||||
/keygrip/1.1.0:
|
||||
resolution: {integrity: sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==}
|
||||
engines: {node: '>= 0.6'}
|
||||
|
@ -10294,10 +10261,6 @@ packages:
|
|||
/lodash.isplainobject/4.0.6:
|
||||
resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}
|
||||
|
||||
/lodash.kebabcase/4.1.1:
|
||||
resolution: {integrity: sha1-hImxyw0p/4gZXM7KRI/21swpXDY=}
|
||||
dev: true
|
||||
|
||||
/lodash.memoize/4.1.2:
|
||||
resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}
|
||||
dev: true
|
||||
|
@ -10312,9 +10275,11 @@ packages:
|
|||
|
||||
/lodash.orderby/4.6.0:
|
||||
resolution: {integrity: sha512-T0rZxKmghOOf5YPnn8EY5iLYeWCpZq8G41FfqoVHH5QDTAFaghJRmAdLiadEDq+ztgM2q5PjA+Z1fOwGrLgmtg==}
|
||||
dev: true
|
||||
|
||||
/lodash.pick/4.4.0:
|
||||
resolution: {integrity: sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==}
|
||||
dev: true
|
||||
|
||||
/lodash.sortby/4.7.0:
|
||||
resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==}
|
||||
|
|
Loading…
Add table
Reference in a new issue