drop direct lex-client dep, import from @atproto/lex
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "is-ci || husky",
|
||||
"postinstall": "lex install --ci && pnpm lexicons:generate && pnpm intl:compile-if-needed",
|
||||
"postinstall": "pnpm lexicons:generate && pnpm intl:compile-if-needed",
|
||||
"prebuild": "EXPO_NO_GIT_STATUS=1 expo prebuild --clean",
|
||||
"android": "expo run:android --variant debugOptimized",
|
||||
"android:prod": "expo run:android --variant release",
|
||||
@@ -64,6 +64,7 @@
|
||||
"lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules",
|
||||
"lexicons:generate": "lex build --clear --index-file --import-ext ''",
|
||||
"lexicons:update": "lex install --update",
|
||||
"lexicons:verify": "lex install --ci",
|
||||
"typecheck": "pnpm run typecheck:ios && pnpm run typecheck:android && pnpm run typecheck:web",
|
||||
"typecheck:ios": "tsc --project ./tsconfig.check.ios.json",
|
||||
"typecheck:android": "tsc --project ./tsconfig.check.android.json",
|
||||
@@ -101,7 +102,6 @@
|
||||
"@atproto/api": "0.20.39",
|
||||
"@atproto/common-web": "0.5.7",
|
||||
"@atproto/lex": "0.3.2",
|
||||
"@atproto/lex-client": "0.3.1",
|
||||
"@atproto/lex-password-session": "0.1.9",
|
||||
"@atproto/syntax": "0.7.2",
|
||||
"@bitdrift/react-native": "^0.6.8",
|
||||
|
||||
Generated
-3
@@ -251,9 +251,6 @@ importers:
|
||||
'@atproto/lex':
|
||||
specifier: 0.3.2
|
||||
version: 0.3.2
|
||||
'@atproto/lex-client':
|
||||
specifier: 0.3.1
|
||||
version: 0.3.1
|
||||
'@atproto/lex-password-session':
|
||||
specifier: 0.1.9
|
||||
version: 0.1.9
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {XRPCError} from '@atproto/api'
|
||||
import {LexError, XrpcResponseError} from '@atproto/lex-client'
|
||||
import {LexError, XrpcResponseError} from '@atproto/lex'
|
||||
import {beforeAll, describe, expect, it} from '@jest/globals'
|
||||
import {i18n} from '@lingui/core'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {XRPCError} from '@atproto/api'
|
||||
import {LexError} from '@atproto/lex-client'
|
||||
import {LexError} from '@atproto/lex'
|
||||
import {t} from '@lingui/core/macro'
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {createContext, useCallback, useContext} from 'react'
|
||||
import {LayoutAnimation} from 'react-native'
|
||||
import {type ComAtprotoServerDescribeServer} from '@atproto/api'
|
||||
import {XrpcResponseError} from '@atproto/lex-client'
|
||||
import {XrpcResponseError} from '@atproto/lex'
|
||||
import {useLingui} from '@lingui/react/macro'
|
||||
import * as EmailValidator from 'email-validator'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user