add the @bsky.app/sdk preview package

aliased npm install of bsky-sdk-preview - it is where RichText and the
moderation helpers now live. its lex-* deps resolve to the copies the app
already uses, so there is a single @atproto/lex in the tree.
This commit is contained in:
Samuel Newman
2026-08-03 22:11:08 +03:00
parent fbc7c94b59
commit dbffcce821
3 changed files with 40 additions and 1 deletions
+2 -1
View File
@@ -115,6 +115,7 @@
"@bsky.app/expo-translate-text": "^0.2.9",
"@bsky.app/peek-menu": "^0.3.2",
"@bsky.app/react-native-uitextview": "^2.7.0",
"@bsky.app/sdk": "npm:bsky-sdk-preview@0.0.1-preview.2",
"@bsky.app/sift": "^0.3.9",
"@bsky.app/tapper": "^0.6.1",
"@bsky.app/video": "0.3.6",
@@ -339,7 +340,7 @@
"^await-lock$": "<rootDir>/node_modules/await-lock/build/AwaitLock.js"
},
"transformIgnorePatterns": [
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|nanoid|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|normalize-url|react-native-svg|@sentry/.*|sentry-expo|bcp-47-match|@atproto/.*|multiformats|uint8arrays|@ipld/.*|cborg|await-lock)"
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|nanoid|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|normalize-url|react-native-svg|@sentry/.*|sentry-expo|bcp-47-match|@atproto/.*|@bsky.app/sdk|tlds|multiformats|uint8arrays|@ipld/.*|cborg|await-lock)"
],
"modulePathIgnorePatterns": [
"__tests__/.*/__mocks__",
+36
View File
@@ -287,6 +287,9 @@ importers:
'@bsky.app/react-native-uitextview':
specifier: ^2.7.0
version: 2.7.0(react-native@0.81.5(patch_hash=91fd85363059530dea649a5ca6012b933f79c8491737fbfdc685abc727e48403)(@babel/core@7.29.0(supports-color@8.1.1))(@react-native/metro-config@0.86.0(@babel/core@7.29.0(supports-color@8.1.1))(supports-color@8.1.1))(@types/react@19.1.17)(react@19.1.0)(supports-color@8.1.1))(react@19.1.0)
'@bsky.app/sdk':
specifier: npm:bsky-sdk-preview@0.0.1-preview.2
version: bsky-sdk-preview@0.0.1-preview.2(@atproto/lex@0.3.5)
'@bsky.app/sift':
specifier: ^0.3.9
version: 0.3.9(2d5c14016450c7e55c8cd0dffcca6f69)
@@ -889,6 +892,10 @@ packages:
resolution: {integrity: sha512-iDFZEoNqfL17EVKE+uNzdUD7YF8LWhEhxeBtP6x+PNuAxoXv3ip9vLmB8nNzNxFwVn++FipfDtSiPqmziv1bdA==}
engines: {node: '>=22'}
'@atproto-labs/handle-resolver@0.4.8':
resolution: {integrity: sha512-38I+j8Efs+cCgW/NX9RFKKu7qv/AF+FqxlKS8sWjXlNZSHQZqPj5cnKVQhSsJCs4ypPB84iKch8w4/STd33bLg==}
engines: {node: '>=22'}
'@atproto-labs/pipe@0.2.4':
resolution: {integrity: sha512-n67jCcrC+ouAeO10cWkpPzzLMlDi/lDCU30Us+LGqhOPhT6c4t5ASdBLQi9W3jUQtRzQBt3G9zipF+xKWNvVbw==}
engines: {node: '>=22'}
@@ -974,6 +981,10 @@ packages:
resolution: {integrity: sha512-QqDzEv8d6NUuqZ0xvWG+n8DfWd4Vuka04nyuD9oglKsj5avB1zbEsWx3Oit1oYtZFUf9JSVWMDqMXhu3UbB+lA==}
engines: {node: '>=22'}
'@atproto/syntax@0.7.3':
resolution: {integrity: sha512-7LU8Ra79L5wCqVAZZst2352VMMwkU4KNagVMm6pnURrY/uS7+HrJl3XCuA4V2Gy2dEpkt1r6DBxlsP43/VjDBw==}
engines: {node: '>=22'}
'@atproto/syntax@0.7.4':
resolution: {integrity: sha512-EHsEHtasH/DGPljBYecVDjweGMQ5eTu6Ns0GZ5z0qdqpOI8ipBvldWnMIxWkA+5HfZ9Dsu4V1MX0WP7wgL8cuA==}
engines: {node: '>=22'}
@@ -4505,6 +4516,12 @@ packages:
bser@2.1.1:
resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==}
bsky-sdk-preview@0.0.1-preview.2:
resolution: {integrity: sha512-LOcuvzc6UASiI5os1BUIo9dxAeVPIFiplcVSYbaDCgpH+tkpv2mqSqqsCRTP0g2CaVCwozqaTVy+jnsTO6/9BQ==}
engines: {node: '>=22.12.0'}
peerDependencies:
'@atproto/lex': ^0.3.0
buffer-crc32@0.2.13:
resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==}
@@ -9725,6 +9742,13 @@ snapshots:
dependencies:
'@atproto-labs/pipe': 0.2.4
'@atproto-labs/handle-resolver@0.4.8':
dependencies:
'@atproto-labs/simple-store': 0.5.1
'@atproto-labs/simple-store-memory': 0.2.6
'@atproto/did': 0.5.4
zod: 3.25.76
'@atproto-labs/pipe@0.2.4': {}
'@atproto-labs/simple-store-memory@0.2.6':
@@ -9873,6 +9897,11 @@ snapshots:
varint: 6.0.0
zod: 3.25.76
'@atproto/syntax@0.7.3':
dependencies:
iso-datestring-validator: 2.2.2
tslib: 2.8.1
'@atproto/syntax@0.7.4':
dependencies:
iso-datestring-validator: 2.2.2
@@ -14063,6 +14092,13 @@ snapshots:
dependencies:
node-int64: 0.4.0
bsky-sdk-preview@0.0.1-preview.2(@atproto/lex@0.3.5):
dependencies:
'@atproto-labs/handle-resolver': 0.4.8
'@atproto/lex': 0.3.5
'@atproto/syntax': 0.7.3
tlds: 1.261.0
buffer-crc32@0.2.13: {}
buffer-from@1.1.2: {}
+2
View File
@@ -44,6 +44,7 @@ patchedDependencies:
'react-native@0.81.5': patches/react-native@0.81.5.patch
minimumReleaseAgeExclude:
- '@atproto/*'
- '@atproto-labs/*'
- '@bsky.app/*'
# todo: remove when old enough
- '@oxlint-tsgolint/darwin-arm64@7.0.2001'
@@ -53,3 +54,4 @@ minimumReleaseAgeExclude:
- '@oxlint-tsgolint/win32-arm64@7.0.2001'
- '@oxlint-tsgolint/win32-x64@7.0.2001'
- oxlint-tsgolint@7.0.2001
- bsky-sdk-preview@0.0.1-preview.2