chore: remove @react-native-clipboard/clipboard dep

This commit is contained in:
amsyarasyiq 2024-07-20 19:40:55 +08:00
parent 560dde45d9
commit ff72221810
3 changed files with 1 additions and 17 deletions

View file

@ -13,7 +13,6 @@
},
"license": "BSD-3-Clause",
"devDependencies": {
"@react-native-clipboard/clipboard": "1.10.0",
"@shopify/react-native-skia": "^1.3.8",
"@swc/core": "^1.7.0",
"@swc/helpers": "^0.5.12",

15
pnpm-lock.yaml generated
View file

@ -16,9 +16,6 @@ dependencies:
version: 1.4.4
devDependencies:
'@react-native-clipboard/clipboard':
specifier: 1.10.0
version: 1.10.0
'@shopify/react-native-skia':
specifier: ^1.3.8
version: 1.3.8
@ -418,18 +415,6 @@ packages:
fastq: 1.17.1
dev: true
/@react-native-clipboard/clipboard@1.10.0:
resolution: {integrity: sha512-1L+I0vmeUJgMi8MnNsqI00391/RFLkmmxj9qAuOS2madpvce/oNqJb8Pwk2Fc/uxIJSxOckTpq+dQwyPU6s+7w==}
peerDependencies:
react: '>=16.0'
react-native: '>=0.57.0'
peerDependenciesMeta:
react:
optional: true
react-native:
optional: true
dev: true
/@react-native/virtualized-lists@0.72.8:
resolution: {integrity: sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw==}
peerDependencies:

View file

@ -8,7 +8,7 @@ export const constants = findByPropsLazy("Fonts", "Permissions");
export const channels = findByPropsLazy("getVoiceChannelId");
export const i18n = findByPropsLazy("Messages");
export const url = findByPropsLazy("openURL", "openDeeplink");
export const clipboard = findByPropsLazy("setString", "getString", "hasString") as typeof import("@react-native-clipboard/clipboard").default;
export const clipboard = findByPropsLazy("setString", "getString", "hasString");
export const assets = findByPropsLazy("registerAsset");
export const invites = findByPropsLazy("acceptInviteAndTransitionToInviteChannel");
export const commands = findByPropsLazy("getBuiltInCommands");