mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-27 04:16:25 -08:00
chore: consume @sableclient/matrixrtc and tauri-plugin-livekit-mobile from npm (#1848)
… <!-- Please read https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before submitting your pull request --> ### Description <!-- Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Fixes # #### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ### Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings ### AI disclosure: - [ ] Partially AI assisted (clarify which code was AI assisted and briefly explain what it does). - [ ] Fully AI generated (explain what all the generated code does in moderate detail). <!-- Write any explanation required here, but do not generate the explanation using AI!! You must prove you understand what the code in this PR does. -->
This commit is contained in:
10 files changed
+36
-46
No files matched your search
@@ -1,12 +1,7 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/knip@6/schema.json",
|
||||
"entry": [
|
||||
"src/sw.ts",
|
||||
"scripts/**/*.js",
|
||||
"tests/e2e/global.setup.ts",
|
||||
"tests/e2e/global.teardown.ts"
|
||||
],
|
||||
"ignore": ["src/test/choochmeque-notifications-stub.ts"],
|
||||
"entry": ["scripts/**/*.js", "tests/e2e/global.setup.ts", "tests/e2e/global.teardown.ts"],
|
||||
"ignore": ["src/test/notifications-api-stub.ts"],
|
||||
"ignoreExportsUsedInFile": {
|
||||
"interface": true,
|
||||
"type": true
|
||||
|
||||
+4
-10
@@ -45,7 +45,6 @@
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^2.0.2",
|
||||
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.0.0",
|
||||
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.0",
|
||||
"@choochmeque/tauri-plugin-notifications-api": "0.5.0-rc.11",
|
||||
"@choochmeque/tauri-plugin-sharekit-api": "0.4.0-rc.5",
|
||||
"@fontsource-variable/nunito": "5.3.0",
|
||||
"@fontsource/space-mono": "5.3.0",
|
||||
@@ -54,8 +53,9 @@
|
||||
"@lottiefiles/dotlottie-web": "0.79.1",
|
||||
"@noble/hashes": "^2.3.0",
|
||||
"@phosphor-icons/react": "^2.1.10",
|
||||
"@sableclient/matrixrtc": "github:SableClient/matrix-rtc#519fe6b863cfac78700f4e2b1748649103bb8a8d",
|
||||
"@sableclient/tauri-plugin-livekit-mobile": "github:SableClient/tauri-plugin-livekit-mobile#c6f0d02ab3da1174535bc1dc8e598a2e6873f977",
|
||||
"@sableclient/matrixrtc": "^0.1.0",
|
||||
"@sableclient/tauri-plugin-livekit-mobile": "^0.2.0",
|
||||
"@sableclient/tauri-plugin-notifications-api": "^0.5.0",
|
||||
"@sableclient/twemoji-font": "^1.0.4",
|
||||
"@sentry/react": "^10.70.0",
|
||||
"@tanstack/react-query": "^5.101.4",
|
||||
@@ -180,11 +180,5 @@
|
||||
"version": "24.x"
|
||||
}
|
||||
},
|
||||
"packageManager": "[email protected]+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"@sableclient/matrixrtc",
|
||||
"@sableclient/tauri-plugin-livekit-mobile"
|
||||
]
|
||||
}
|
||||
"packageManager": "[email protected]+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
|
||||
}
|
||||
Generated
+20
-22
@@ -34,9 +34,6 @@ importers:
|
||||
'@atlaskit/pragmatic-drag-and-drop-hitbox':
|
||||
specifier: ^2.0.0
|
||||
version: 2.0.0
|
||||
'@choochmeque/tauri-plugin-notifications-api':
|
||||
specifier: 0.5.0-rc.11
|
||||
version: 0.5.0-rc.11
|
||||
'@choochmeque/tauri-plugin-sharekit-api':
|
||||
specifier: 0.4.0-rc.5
|
||||
version: 0.4.0-rc.5
|
||||
@@ -62,11 +59,14 @@ importers:
|
||||
specifier: ^2.1.10
|
||||
version: 2.1.10([email protected]([email protected]))([email protected])
|
||||
'@sableclient/matrixrtc':
|
||||
specifier: github:SableClient/matrix-rtc#519fe6b863cfac78700f4e2b1748649103bb8a8d
|
||||
version: https://codeload.github.com/SableClient/matrix-rtc/tar.gz/519fe6b863cfac78700f4e2b1748649103bb8a8d([email protected](@types/[email protected]))([email protected])
|
||||
specifier: ^0.1.0
|
||||
version: 0.1.0([email protected](@types/[email protected]))([email protected])
|
||||
'@sableclient/tauri-plugin-livekit-mobile':
|
||||
specifier: github:SableClient/tauri-plugin-livekit-mobile#c6f0d02ab3da1174535bc1dc8e598a2e6873f977
|
||||
version: https://codeload.github.com/SableClient/tauri-plugin-livekit-mobile/tar.gz/c6f0d02ab3da1174535bc1dc8e598a2e6873f977
|
||||
specifier: ^0.2.0
|
||||
version: 0.2.0
|
||||
'@sableclient/tauri-plugin-notifications-api':
|
||||
specifier: ^0.5.0
|
||||
version: 0.5.0
|
||||
'@sableclient/twemoji-font':
|
||||
specifier: ^1.0.4
|
||||
version: 1.0.4
|
||||
@@ -1005,9 +1005,6 @@ packages:
|
||||
'@bufbuild/[email protected]':
|
||||
resolution: {integrity: sha512-wJ8ReQbHxsAfXhrf9ixl0aYbZorRuOWpBNzm8pL8ftmSxQx/wnJD5Eg861NwJU/czy2VXFIebCeZnZrI9rktIQ==}
|
||||
|
||||
'@choochmeque/[email protected]':
|
||||
resolution: {integrity: sha512-TSuf8HQ4Ayp9IKKB5v2yTdgKMa/I0bqbcACj0IZ46CSpzn/HKner/BKG7rM8tGOarEcyBd/VXnDhK5cJA/YMtw==}
|
||||
|
||||
'@choochmeque/[email protected]':
|
||||
resolution: {integrity: sha512-VpO3Uw5ZmPa0M0ta/oS5WyiW/jdNAPFh1zXbHA5dJtLMeA4RJqqj4vAlVMYoYRqtrE/1Op/GQ3jXvxgU4WgSVA==}
|
||||
|
||||
@@ -2684,9 +2681,8 @@ packages:
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@sableclient/matrixrtc@https://codeload.github.com/SableClient/matrix-rtc/tar.gz/519fe6b863cfac78700f4e2b1748649103bb8a8d':
|
||||
resolution: {tarball: https://codeload.github.com/SableClient/matrix-rtc/tar.gz/519fe6b863cfac78700f4e2b1748649103bb8a8d}
|
||||
version: 0.1.0
|
||||
'@sableclient/matrixrtc@0.1.0':
|
||||
resolution: {integrity: sha512-2odY8NRY2QYFGdqnuPg3ix4f2crSqY45zH+h4RrLxPCRmUxWERkZY419b3NOeLfC6QN9dYzX8LFUW24+CgIwJQ==}
|
||||
engines: {node: '>=20'}
|
||||
peerDependencies:
|
||||
livekit-client: ^2.21.0
|
||||
@@ -2695,9 +2691,11 @@ packages:
|
||||
'@sableclient/[email protected]':
|
||||
resolution: {integrity: sha512-+95vxaqTxh5gIrIwMX+FWH4n+K82rv/hlVIO/KIhIl2udJ2+r/GESiAElnTXa1bom1+FWrdekNvkCEEuh7m2Jw==}
|
||||
|
||||
'@sableclient/tauri-plugin-livekit-mobile@https://codeload.github.com/SableClient/tauri-plugin-livekit-mobile/tar.gz/c6f0d02ab3da1174535bc1dc8e598a2e6873f977':
|
||||
resolution: {tarball: https://codeload.github.com/SableClient/tauri-plugin-livekit-mobile/tar.gz/c6f0d02ab3da1174535bc1dc8e598a2e6873f977}
|
||||
version: 0.2.0
|
||||
'@sableclient/tauri-plugin-livekit-mobile@0.2.0':
|
||||
resolution: {integrity: sha512-xpv+9qDEIYM1lmbdLpLgD8fwctyT7QNq8R7uwhm7T1Wt95MF7TqgtGUo8kHAUZq4v4ung0jxacbvkp9POMVutw==}
|
||||
|
||||
'@sableclient/[email protected]':
|
||||
resolution: {integrity: sha512-Rr8knIgjx2onjAdTS+K17Ex4aDk/Wpj7lqJEHnayimtU8Rt6L1ScvpTMLbJkjheDuLQ0pLAsoV5I7v3SekRJLA==}
|
||||
|
||||
'@sableclient/[email protected]':
|
||||
resolution: {integrity: sha512-LzvQB/VZtv5KEq1VYq2azr7v7cYT8oklOVRGkAN2RNwa3sF0XcnqM3lBHSYRFXQleGLSUgs3gA0slbwkD2+sJw==}
|
||||
@@ -6826,10 +6824,6 @@ snapshots:
|
||||
|
||||
'@bufbuild/[email protected]': {}
|
||||
|
||||
'@choochmeque/[email protected]':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.11.1
|
||||
|
||||
'@choochmeque/[email protected]':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.11.1
|
||||
@@ -7885,14 +7879,18 @@ snapshots:
|
||||
'@rollup/[email protected]':
|
||||
optional: true
|
||||
|
||||
'@sableclient/matrixrtc@https://codeload.github.com/SableClient/matrix-rtc/tar.gz/519fe6b863cfac78700f4e2b1748649103bb8a8d([email protected](@types/[email protected]))([email protected])':
|
||||
'@sableclient/matrixrtc@0.1.0([email protected](@types/[email protected]))([email protected])':
|
||||
dependencies:
|
||||
livekit-client: 2.21.0(@types/[email protected])
|
||||
matrix-js-sdk: 42.0.0
|
||||
|
||||
'@sableclient/[email protected]': {}
|
||||
|
||||
'@sableclient/tauri-plugin-livekit-mobile@https://codeload.github.com/SableClient/tauri-plugin-livekit-mobile/tar.gz/c6f0d02ab3da1174535bc1dc8e598a2e6873f977':
|
||||
'@sableclient/tauri-plugin-livekit-mobile@0.2.0':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.11.1
|
||||
|
||||
'@sableclient/[email protected]':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.11.1
|
||||
|
||||
|
||||
@@ -14,7 +14,10 @@ engineStrict: true
|
||||
minimumReleaseAge: 1440
|
||||
minimumReleaseAgeExclude:
|
||||
- 'matrix-js-sdk'
|
||||
- '@sableclient/matrixrtc'
|
||||
- '@sableclient/sable-call-embedded'
|
||||
- '@sableclient/tauri-plugin-livekit-mobile'
|
||||
- '@sableclient/tauri-plugin-notifications-api'
|
||||
- '@sableclient/twemoji-font'
|
||||
|
||||
overrides:
|
||||
|
||||
@@ -18,7 +18,7 @@ let nativePushNotificationsApiPromise: Promise<NativePushNotificationsApi> | nul
|
||||
|
||||
export async function getNativePushNotificationsApi(): Promise<NativePushNotificationsApi> {
|
||||
if (!nativePushNotificationsApiPromise) {
|
||||
nativePushNotificationsApiPromise = import('@choochmeque/tauri-plugin-notifications-api').then(
|
||||
nativePushNotificationsApiPromise = import('@sableclient/tauri-plugin-notifications-api').then(
|
||||
(notificationsApi) => ({
|
||||
isPermissionGranted: notificationsApi.isPermissionGranted,
|
||||
requestPermission: notificationsApi.requestPermission,
|
||||
|
||||
@@ -99,7 +99,7 @@ let notificationsApiPromise: Promise<TauriNotificationsApi> | null = null;
|
||||
|
||||
export async function getTauriNotificationsApi(): Promise<TauriNotificationsApi> {
|
||||
if (!notificationsApiPromise) {
|
||||
notificationsApiPromise = import('@choochmeque/tauri-plugin-notifications-api').then(
|
||||
notificationsApiPromise = import('@sableclient/tauri-plugin-notifications-api').then(
|
||||
(api) =>
|
||||
({
|
||||
...api,
|
||||
|
||||
@@ -17,7 +17,7 @@ export type UnifiedPushTransportApi = {
|
||||
};
|
||||
|
||||
export async function getUnifiedPushTransportApi(): Promise<UnifiedPushTransportApi> {
|
||||
const notificationsApi = await import('@choochmeque/tauri-plugin-notifications-api');
|
||||
const notificationsApi = await import('@sableclient/tauri-plugin-notifications-api');
|
||||
return {
|
||||
isPermissionGranted: notificationsApi.isPermissionGranted,
|
||||
requestPermission: notificationsApi.requestPermission,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Test stub — the git dep has no built dist-js/ so tests resolve here.
|
||||
// Test stub — vitest resolves the Tauri notifications plugin here instead of node_modules.
|
||||
|
||||
export const Importance = { None: 0, Min: 1, Low: 2, Default: 3, High: 4 } as const;
|
||||
export const Visibility = { Secret: -1, Private: 0, Public: 1 } as const;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
declare module '@choochmeque/tauri-plugin-notifications-api' {
|
||||
declare module '@sableclient/tauri-plugin-notifications-api' {
|
||||
export type { PermissionState } from '@tauri-apps/api/core';
|
||||
|
||||
export const Importance: {
|
||||
|
||||
+2
-2
@@ -25,9 +25,9 @@ export default defineConfig({
|
||||
$client: path.resolve(__dirname, 'src/client'),
|
||||
$unstable: path.resolve(__dirname, 'src/unstable'),
|
||||
$app: path.resolve(__dirname, 'src/app'),
|
||||
'@choochmeque/tauri-plugin-notifications-api': path.resolve(
|
||||
'@sableclient/tauri-plugin-notifications-api': path.resolve(
|
||||
__dirname,
|
||||
'src/test/choochmeque-notifications-stub.ts'
|
||||
'src/test/notifications-api-stub.ts'
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user