Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Additions for windows local dev

Richie McIlroyb64762f51078
diff --git a/Cargo.lock b/Cargo.lock
index e7ab4c2ab..ea66481aa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -960,11 +960,15 @@ dependencies = [
name = "cap-utils"
version = "0.1.0"
dependencies = [
+ "flume 0.11.0",
"futures",
"nix 0.29.0",
+ "serde",
+ "serde_json",
"tokio",
"uuid",
"windows 0.58.0",
+ "windows-sys 0.52.0",
]
[[package]]
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index e6a708a1f..677ba076f 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -2,7 +2,7 @@
"name": "@cap/desktop",
"type": "module",
"scripts": {
- "dev": "RUST_BACKTRACE=1 dotenv -e ../../.env -- pnpm run preparescript && tauri dev",
+ "dev": "cross-env RUST_BACKTRACE=1 dotenv -e ../../.env -- pnpm run preparescript && tauri dev",
"build:tauri": "dotenv -e ../../.env -- pnpm run preparescript && tauri build",
"preparescript": "node scripts/prepare.js",
"localdev": "dotenv -e ../../.env -- vinxi dev --port 3001",
@@ -64,6 +64,7 @@
"@tauri-apps/cli": ">=2.1.0",
"@total-typescript/ts-reset": "^0.6.1",
"@types/dom-webcodecs": "^0.1.11",
+ "cross-env": "^7.0.3",
"typescript": "^5.7.2",
"vite": "^5.4.3",
"vite-tsconfig-paths": "^5.0.1"
diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml
index 668d79716..520963df6 100644
--- a/crates/utils/Cargo.toml
+++ b/crates/utils/Cargo.toml
@@ -17,8 +17,12 @@ windows = { version = "0.58.0", features = [
"Win32_System_Pipes",
"Win32_System_Diagnostics_Debug",
] }
+windows-sys = "0.52.0"
[dependencies]
futures = "0.3.31"
-tokio = { workspace = true, features = ["net"] }
+tokio = { workspace = true, features = ["net", "io-util"] }
uuid = "1.11.0"
+serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0"
+flume = "0.11.0"
diff --git a/crates/utils/src/lib.rs b/crates/utils/src/lib.rs
index 533ed800c..79658364a 100644
--- a/crates/utils/src/lib.rs
+++ b/crates/utils/src/lib.rs
@@ -1,6 +1,6 @@
-use futures::FutureExt;
-use std::{ffi::OsString, fs::OpenOptions, io::Write, path::PathBuf};
-// use tokio::{fs::OpenOptions, io::AsyncWriteExt};
+use std::{ffi::OsString, path::PathBuf};
+use tokio::io::AsyncWriteExt;
+use tokio::sync::mpsc::Receiver;
#[cfg(windows)]
pub fn get_last_win32_error_formatted() -> String {
@@ -42,75 +42,78 @@ fn create_named_pipe(path: &std::path::Path) -> Result<(), Box<dyn std::error::E
Ok(())
}
-pub fn create_channel_named_pipe<T: Send + 'static>(
- mut rx: tokio::sync::mpsc::Receiver<T>,
- unix_path: PathBuf,
- get_bytes: impl FnMut(&T) -> Option<&[u8]> + Clone + Send + 'static,
-) -> OsString {
- #[cfg(unix)]
+pub fn create_channel_named_pipe<T, F>(
+ mut rx: Receiver<T>,
+ pipe_path: PathBuf,
+ mut chunk_fn: F,
+) -> OsString
+where
+ T: Send + 'static,
+ F: FnMut(&T) -> Option<&[u8]> + Send + 'static,
+{
+ #[cfg(windows)]
{
- create_named_pipe(&unix_path).unwrap();
-
- let path = unix_path.clone();
- tokio::spawn(
- async move {
- let mut file = OpenOptions::new()
- .write(true)
- .create(false)
- .truncate(true)
- .open(&path)
- // .await
- .unwrap();
- println!("video pipe opened");
-
- while let Some(bytes) = rx.recv().await {
- let mut get_bytes = get_bytes.clone();
-
- while let Some(bytes) = get_bytes(&bytes) {
- file.write_all(&bytes).unwrap();
+ // Build proper Windows named pipe path, e.g. \\.\pipe\my_pipe_name
+ // Use the final filename from `pipe_path` to avoid conflicts
+ let filename = pipe_path
+ .file_name()
+ .unwrap_or_else(|| std::ffi::OsStr::new("cap-default-pipe"));
+ let pipe_name = format!(r"\\.\pipe\{}", filename.to_string_lossy());
+ let os_pipe_name = OsString::from(&pipe_name);
+
+ tokio::spawn(async move {
+ let mut server = tokio::net::windows::named_pipe::ServerOptions::new()
+ .first_pipe_instance(true)
+ .create(&pipe_name)
+ .expect("Failed to create named pipe");
+
+ // For each message from rx, repeatedly call chunk_fn until None is returned
+ while let Some(msg) = rx.recv().await {
+ loop {
+ if let Some(bytes) = chunk_fn(&msg) {
+ if let Err(e) = server.write_all(bytes).await {
+ eprintln!("Error writing to named pipe: {e}");
+ break;
+ }
+ } else {
+ break;
}
}
-
- println!("done writing to video pipe");
- Ok::<(), std::io::Error>(())
}
- .then(|result| async {
- if let Err(e) = result {
- eprintln!("error writing to video pipe: {}", e);
- }
- }),
- );
+ });
- unix_path.into_os_string()
+ return os_pipe_name;
}
- #[cfg(windows)]
+ #[cfg(unix)]
{
- use tokio::io::AsyncWriteExt;
- use tokio::net::windows::named_pipe::ServerOptions;
-
- let uuid = uuid::Uuid::new_v4();
- let pipe_name = format!(r#"\\.\pipe\{uuid}"#);
-
- let mut server = ServerOptions::new()
- .first_pipe_instance(true)
- .create(&pipe_name)
- .unwrap();
-
- tokio::spawn({
- async move {
- println!("video pipe opened");
-
- server.connect().await.unwrap();
-
- while let Some(bytes) = rx.recv().await {
- server.write_all(&bytes).await.unwrap();
+ use nix::sys::stat;
+ let os_pipe_name = pipe_path.clone().into_os_string();
+
+ let _ = std::fs::remove_file(&pipe_path);
+ // Make FIFO if not existing
+ stat::mkfifo(&pipe_path, stat::Mode::S_IRWXU)
+ .expect("Failed to create a Unix FIFO with mkfifo()");
+
+ tokio::spawn(async move {
+ let mut file = tokio::fs::File::create(&pipe_path)
+ .await
+ .expect("Failed to open FIFO for writing");
+
+ while let Some(msg) = rx.recv().await {
+ loop {
+ if let Some(bytes) = chunk_fn(&msg) {
+ if let Err(e) = file.write_all(bytes).await {
+ eprintln!("Error writing to FIFO: {e}");
+ break;
+ }
+ } else {
+ break;
+ }
}
-
- println!("done writing to video pipe");
}
});
- pipe_name.into()
+ return os_pipe_name;
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1cd8935c4..393d98cc6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -18,7 +18,7 @@ importers:
version: 1.13.4(@types/[email protected])([email protected])
dotenv-cli:
specifier: latest
- version: 7.4.4
+ version: 8.0.0
eslint:
specifier: ^7.32.0
version: 7.32.0
@@ -191,6 +191,9 @@ importers:
'@types/dom-webcodecs':
specifier: ^0.1.11
version: 0.1.11
+ cross-env:
+ specifier: ^7.0.3
+ version: 7.0.3
typescript:
specifier: ^5.7.2
version: 5.7.2
@@ -415,7 +418,7 @@ importers:
version: 8.57.1
eslint-config-airbnb-typescript:
specifier: ^18.0.0
eslint-import-resolver-typescript:
specifier: ^3.6.1
@@ -754,10 +757,10 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.0.0
+ version: 19.0.2(@types/[email protected])
dotenv-cli:
specifier: latest
- version: 7.4.4
+ version: 8.0.0
drizzle-kit:
specifier: ^0.20.12
version: 0.20.18
@@ -792,25 +795,25 @@ importers:
'@radix-ui/react-dialog':
specifier: ^1.0.5
'@radix-ui/react-dropdown-menu':
specifier: ^2.0.6
'@radix-ui/react-label':
specifier: ^2.0.2
'@radix-ui/react-navigation-menu':
specifier: ^1.1.4
'@radix-ui/react-popover':
specifier: ^1.0.7
'@radix-ui/react-slot':
specifier: ^1.0.2
version: 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-switch':
specifier: ^1.1.0
'@tailwindcss/typography':
specifier: ^0.5.9
@@ -841,7 +844,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.0.0
+ version: 19.0.2(@types/[email protected])
'@vitejs/plugin-react':
specifier: ^4.0.3
@@ -4294,10 +4297,10 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-jAfMwEt/mm469T3Vsx8E0xwCen8M+dd5zb87WUqgGbKZfle8xycZLNu2CvY6wlpIfxrLb+hHNRtFN/9W1i4Exg==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-a4NFy6y2pfBMQWe4ZPCMh5/Fr3YMDeWWsPoc6KGXc5IbV0YMF8bPlQt3hLKRBGWQOR7C/VuuKnD4FE5CSHIbCA==}
peerDependencies:
- storybook: ^8.5.0-alpha.18
+ storybook: ^8.5.0-beta.4
vite: ^4.0.0 || ^5.0.0 || ^6.0.0
'@storybook/[email protected]':
@@ -4308,10 +4311,10 @@ packages:
peerDependencies:
storybook: ^8.3.3
- '@storybook/[email protected]':
- resolution: {integrity: sha512-RYwwErCZBUEjpryOHjFR8ZlQNxlo5LRRMiOroNFnyiG2Mpc76ztJ3v8i+frhTgEMKofWcrhnc+rFjmTHh46pTQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-b+V6hWSjo1g1jj+CQBm0br0/XAZ92NTEL7yiu3UuZsPZr27bNFysDEEpfxWjnlJP28z9R7VaHvMnEsQ5hRjdOA==}
peerDependencies:
- storybook: ^8.5.0-alpha.18
+ storybook: ^8.5.0-beta.4
'@storybook/[email protected]':
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
@@ -4806,8 +4809,10 @@ packages:
resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-1KfiQKsH1o00p9m5ag12axHQSb3FOU9H20UTrujVSkNhuCrRHiQWFqgEnTNK5ZNfnzZv8UWrnXVqCmCF9fgY3w==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==}
+ peerDependencies:
+ '@types/react': ^19.0.0
resolution: {integrity: sha512-UzjzmgY/VH3Str6DcAGTLMA1mVVhGOyARNTANExrirtp+JgxhaIOVDxq4TIRmpSi4voLv+w4HA9CC5GvhhCA0A==}
@@ -5861,6 +5866,11 @@ packages:
resolution: {integrity: sha512-1VdUuRnQP4drdFkS8NKvDR1NBgevm8TOuflcaZEKsxw42CxonjW/2vkj1AKlinJb4ZLwBcuWF9GiPr7FQc6AQA==}
engines: {node: '>=18.0'}
+ resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==}
+ engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'}
+ hasBin: true
+
resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==}
@@ -6154,8 +6164,8 @@ packages:
resolution: {integrity: sha512-xaBe6ZT4DHPkg0k4Ytbvn5xoxgpG0jOS1dYxSOwAHPuNLjP3/OzN0gH55SrLqpx8cBfSaVt91lXYkApjb+nYdQ==}
engines: {node: '>=16'}
- resolution: {integrity: sha512-XkBYCG0tPIes+YZr4SpfFv76SQrV/LeCE8CI7JSEMi3VR9MvTihCGTOtbIexD6i2mXF+6px7trb1imVCXSNMDw==}
+ resolution: {integrity: sha512-aLqYbK7xKOiTMIRf1lDPbI+Y+Ip/wo5k3eyp6ePysVaSqbyxjyK3dK35BTxG+rmd7djf5q2UPs4noPNH+cj0Qw==}
hasBin: true
@@ -13728,26 +13738,26 @@ snapshots:
'@radix-ui/[email protected]': {}
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -13800,18 +13810,18 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -13820,7 +13830,7 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -13839,33 +13849,33 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -13887,16 +13897,16 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -13911,31 +13921,31 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
- '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-roving-focus': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -13944,43 +13954,43 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
- '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -13989,15 +13999,15 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])
@@ -14007,7 +14017,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -14016,15 +14026,15 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -14034,7 +14044,7 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
@@ -14042,7 +14052,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -14051,31 +14061,31 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
- '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -14098,12 +14108,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
@@ -14111,7 +14121,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
dependencies:
@@ -14181,14 +14191,14 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.0
+ '@types/react-dom': 19.0.2(@types/[email protected])
'@radix-ui/[email protected]': {}
@@ -15036,9 +15046,9 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@storybook/csf-plugin': 8.5.0-alpha.18([email protected])
+ '@storybook/csf-plugin': 8.5.0-beta.4([email protected])
browser-assert: 1.2.1
storybook: 8.3.3
ts-dedent: 2.2.0
@@ -15069,7 +15079,7 @@ snapshots:
storybook: 8.3.3
unplugin: 1.16.0
dependencies:
storybook: 8.3.3
unplugin: 1.16.0
@@ -15607,7 +15617,7 @@ snapshots:
dependencies:
'@types/react': 18.3.9
- '@types/[email protected]':
dependencies:
'@types/react': 18.3.9
@@ -16917,6 +16927,10 @@ snapshots:
+ dependencies:
+ cross-spawn: 7.0.6
+
dependencies:
node-fetch: 2.7.0
@@ -17180,7 +17194,7 @@ snapshots:
dependencies:
type-fest: 3.13.1
dependencies:
cross-spawn: 7.0.6
dotenv: 16.4.5
@@ -17622,7 +17636,7 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
confusing-browser-globals: 1.0.11
eslint: 8.57.1
@@ -17631,12 +17645,12 @@ snapshots:
object.entries: 1.1.8
semver: 6.3.1
dependencies:
'@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.18.0([email protected])([email protected])
eslint: 8.57.1
- eslint-config-airbnb-base: 15.0.0([email protected])([email protected])
transitivePeerDependencies:
- eslint-plugin-import
@@ -17666,7 +17680,7 @@ snapshots:
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
eslint-plugin-jsx-a11y: 6.10.0([email protected])
eslint-plugin-react: 7.37.0([email protected])
@@ -17695,13 +17709,32 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@nolyfill/is-core-module': 1.0.39
+ debug: 4.3.7([email protected])
+ enhanced-resolve: 5.17.1
+ eslint: 8.57.1
+ fast-glob: 3.3.2
+ get-tsconfig: 4.8.1
+ is-bun-module: 1.2.1
+ is-glob: 4.0.3
+ optionalDependencies:
+ transitivePeerDependencies:
+ - '@typescript-eslint/parser'
+ - eslint-import-resolver-node
+ - eslint-import-resolver-webpack
+ - supports-color
+
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.3.7([email protected])
enhanced-resolve: 5.17.1
eslint: 8.57.1
fast-glob: 3.3.2
get-tsconfig: 4.8.1
is-bun-module: 1.2.1
@@ -17720,7 +17753,7 @@ snapshots:
debug: 4.3.7([email protected])
enhanced-resolve: 5.17.1
eslint: 8.57.1
fast-glob: 3.3.2
get-tsconfig: 4.8.1
is-bun-module: 1.2.1
@@ -17733,7 +17766,18 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
+ dependencies:
+ debug: 3.2.7
+ optionalDependencies:
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ eslint: 8.57.1
+ eslint-import-resolver-node: 0.3.9
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -17744,7 +17788,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -17766,7 +17810,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -17794,7 +17838,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -18103,7 +18147,7 @@ snapshots:
dependencies:
- cross-spawn: 7.0.3
+ cross-spawn: 7.0.6
get-stream: 6.0.1
human-signals: 2.1.0
is-stream: 2.0.1
@@ -18115,7 +18159,7 @@ snapshots:
dependencies:
- cross-spawn: 7.0.3
+ cross-spawn: 7.0.6
get-stream: 8.0.1
human-signals: 5.0.0
is-stream: 3.0.0
@@ -18306,7 +18350,7 @@ snapshots:
dependencies:
- cross-spawn: 7.0.3
+ cross-spawn: 7.0.6
signal-exit: 4.1.0
@@ -22573,7 +22617,7 @@ snapshots:
dependencies:
- '@storybook/builder-vite': 8.5.0-alpha.18([email protected])([email protected](@types/[email protected])([email protected]))
+ '@storybook/builder-vite': 8.5.0-beta.4([email protected])([email protected](@types/[email protected])([email protected]))
transitivePeerDependencies:
- storybook
- vite