Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

(Fixed) Improved preparation script + CI

Ilya8b04fd14534a
diff --git a/.github/prebuild.js b/.github/prebuild.js
index 5d400d0a5..55ec9a298 100644
--- a/.github/prebuild.js
+++ b/.github/prebuild.js
@@ -4,6 +4,7 @@ import { fileURLToPath } from "node:url";
import { exec as execCb } from "node:child_process";
import { env } from "node:process";
import { promisify } from "node:util";
+import { createTauriPlatformConfigs } from "../apps/desktop/scripts/prepare";
const exec = promisify(execCb);
const signId = env.APPLE_SIGNING_IDENTITY || "-";
@@ -63,41 +64,31 @@ rustflags = [
throw e;
});
- await fs.writeFile(
- `${srcTauri}/tauri.macos.conf.json`,
- JSON.stringify(
- {
- bundle: {
- macOS: {
- frameworks: [path.join(nativeDeps, "Spacedrive.framework")],
- },
- icon: ["icons/macos/icon.icns"],
- },
+ createTauriPlatformConfigs("darwin", {
+ bundle: {
+ macOS: {
+ frameworks: [path.join(nativeDeps, "Spacedrive.framework")],
},
- null,
- 4
- )
- );
+ },
+ });
} else if (os === "windows") {
- const binFiles = await fs.readdir(path.join(nativeDeps, "bin"));
-
- await fs.writeFile(
- `${srcTauri}/tauri.windows.conf.json`,
- JSON.stringify(
- {
- bundle: {
- resources: binFiles.filter(
- (f) =>
- f.endsWith(".dll") && (f.startsWith("av") || f.startsWith("sw"))
- ),
- },
- },
- null,
- 4
- )
- );
-
- console.log();
+ // const binFiles = await fs.readdir(path.join(nativeDeps, "bin"));
+
+ // await fs.writeFile(
+ // `${srcTauri}/tauri.windows.conf.json`,
+ // JSON.stringify(
+ // {
+ // bundle: {
+ // resources: binFiles.filter(
+ // (f) =>
+ // f.endsWith(".dll") && (f.startsWith("av") || f.startsWith("sw"))
+ // ),
+ // },
+ // },
+ // null,
+ // 4
+ // )
+ // );
}
}
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 507d88cfc..3ed08e851 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -2,7 +2,9 @@
"name": "@cap/desktop",
"type": "module",
"scripts": {
- "dev": "dotenv -e ../../.env -- tauri dev",
+ "dev": "dotenv -e ../../.env -- pnpm run prepare && tauri dev",
+ "build:tauri": "dotenv -e ../../.env -- pnpm run prepare && tauri build",
+ "prepare": "node scripts/prepare.js",
"localdev": "dotenv -e ../../.env -- vinxi dev --port 3001",
"build": "vinxi build",
"tauri": "tauri"
@@ -59,7 +61,7 @@
"devDependencies": {
"@fontsource/geist-sans": "^5.0.3",
"@iconify/json": "^2.2.239",
- "@tauri-apps/cli": ">=2.0.0-rc.0",
+ "@tauri-apps/cli": ">=2.1.0",
"@total-typescript/ts-reset": "^0.6.1",
"@types/dom-webcodecs": "^0.1.11",
"typescript": "^5.7.2",
diff --git a/apps/desktop/scripts/prepare.js b/apps/desktop/scripts/prepare.js
new file mode 100644
index 000000000..3995e3638
--- /dev/null
+++ b/apps/desktop/scripts/prepare.js
@@ -0,0 +1,247 @@
+// @ts-check
+
+import * as fs from "node:fs/promises";
+import * as path from "node:path";
+import { fileURLToPath } from "node:url";
+import { exec as execCb, execSync } from "node:child_process";
+import { promisify } from "node:util";
+import { platform } from "node:os";
+
+const exec = promisify(execCb);
+
+const __filename = fileURLToPath(import.meta.url);
+const __dirname = path.dirname(__filename);
+
+const binariesDir = path.join(__dirname, "../../../target/binaries");
+const ffmpegUnzippedPath = path.join(binariesDir, "ffmpeg-unzipped");
+
+const isWindows = process.platform === "win32";
+const fileExtension = isWindows ? ".exe" : "";
+const rustInfo = execSync("rustc -vV");
+const rsTargetTriple = /host: (\S+)/.exec(rustInfo.toString())?.[1];
+
+const FFMPEG_BINARIES = {
+ "aarch64-apple-darwin": {
+ url: "https://cap-ffmpeg.s3.amazonaws.com/ffmpegarm.zip",
+ path: "./ffmpeg",
+ },
+ "x86_64-apple-darwin": {
+ url: "https://cap-ffmpeg.s3.amazonaws.com/ffmpeg-7.0.1.zip",
+ path: "./ffmpeg",
+ },
+ "x86_64-pc-windows-msvc": {
+ // TODO: Select a stable version, use Cap's own ffmpeg build to also support aarch64.
+ url: "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl-shared.zip",
+ path: "bin/ffmpeg.exe",
+ },
+};
+
+/**
+ * @param {string} filePath
+ * @returns {Promise<boolean>}
+ */
+async function exists(filePath) {
+ return fs
+ .access(filePath)
+ .then(() => true)
+ .catch(() => false);
+}
+
+/**
+ * @param {string} targetPath
+ * @param {string} outputPath
+ */
+async function unzip(targetPath, outputPath) {
+ console.log(`unzipping \"${targetPath}\" --> \"${outputPath}\"`);
+ if (isWindows) {
+ await exec(`tar -xf ${targetPath} -C ${outputPath}`);
+ } else {
+ await exec(`unzip -o ${targetPath} -d ${outputPath}`);
+ }
+}
+
+async function prepareFfmpegSidecar() {
+ const binaries = FFMPEG_BINARIES[rsTargetTriple];
+ const ffmpegDownloadPath = path.join(binariesDir, "ffmpeg-download.zip");
+
+ // Skip downloading if the archive already exists
+ if (!(await exists(ffmpegDownloadPath))) {
+ if (await exists(ffmpegUnzippedPath)) return;
+ console.log("Downloading ffmpeg archive...");
+ console.log(`ffmpeg from: ${binaries.url}`);
+ await fs.mkdir(binariesDir, { recursive: true });
+
+ const response = await fetch(binaries.url);
+ if (!response.ok || !response.body) throw new Error(`Failed to download: ${response.statusText}`);
+
+ const contentLength = response.headers.get("content-length");
+ if (!contentLength) throw new Error("Unable to determine file size for progress reporting.");
+
+ const totalBytes = parseInt(contentLength, 10);
+ let downloadedBytes = 0;
+
+ const archiveBuffer = [];
+ const reader = response.body.getReader();
+
+ while (true) {
+ const { done, value } = await reader.read();
+ if (done) break;
+ downloadedBytes += value.length;
+ archiveBuffer.push(value);
+
+ const progress = ((downloadedBytes / totalBytes) * 100).toFixed(2);
+ process.stdout.write(`\rDownloading: ${progress}%`);
+ }
+
+ console.log("\nDownload complete.");
+ const archive = Buffer.concat(archiveBuffer);
+ await fs.writeFile(ffmpegDownloadPath, archive);
+ }
+
+ // Skip unzipping if the directory already exists
+ if (!(await exists(ffmpegUnzippedPath))) {
+ console.log("Extracting ffmpeg archive...");
+ await fs.mkdir(ffmpegUnzippedPath, { recursive: true });
+ await unzip(ffmpegDownloadPath, ffmpegUnzippedPath);
+ }
+
+ // Check if there's a single nested folder and move its contents to the root
+ const unzippedContents = await fs.readdir(ffmpegUnzippedPath);
+ if (unzippedContents.length === 1) {
+ const nestedPath = path.join(ffmpegUnzippedPath, unzippedContents[0]);
+ const stat = await fs.stat(nestedPath);
+
+ if (stat.isDirectory()) {
+ console.log(`Detected nested folder '${unzippedContents[0]}'. Moving contents to root.`);
+ const nestedContents = await fs.readdir(nestedPath);
+
+ for (const entry of nestedContents) {
+ const srcPath = path.join(nestedPath, entry);
+ const destPath = path.join(ffmpegUnzippedPath, entry);
+ await fs.rename(srcPath, destPath);
+ }
+
+ // Remove the now-empty nested folder
+ await fs.rmdir(nestedPath);
+ }
+ }
+
+ const ffmpegBinaryPath = path.join(ffmpegUnzippedPath, binaries.path);
+ const ffmpegSidecarName = `ffmpeg-${rsTargetTriple}${fileExtension}`;
+ const finalDestinationPath = path.join(binariesDir, ffmpegSidecarName);
+ if (await exists(finalDestinationPath)) {
+ console.log(`Using ffmpeg sidecar: ${ffmpegSidecarName}`);
+ return;
+ };
+
+ console.log(`Copying ffmpeg binary to '${ffmpegSidecarName}'...`);
+
+ await fs.copyFile(
+ ffmpegBinaryPath,
+ path.join(binariesDir, ffmpegSidecarName)
+ );
+}
+
+/**
+ * Creates a Microsoft Windows Installer (TM) compatible version from the provided crate's semver version.
+ * `major.minor.patch.build`
+ *
+ * @see {@link https://tauri.app/reference/config/#version-1}
+ * @param {string} cargoFilePath
+ * @returns {Promise<string>}
+ */
+export async function getWIXCompatibleAppVersion(cargoFilePath) {
+ const config = await fs.readFile(cargoFilePath, "utf-8");
+ const match = /version\s*=\s*"([\w.-]+)"/.exec(config);
+ if (!match) throw new Error(
+ "Failed to extract version from \"Cargo.toml\". Have you removed the main crate version by accident?"
+ );
+
+ const ver = match[1];
+ const [core, buildOrPrerelease] = ver.includes('+') ? ver.split('+') : ver.split('-');
+ const [major, minor, patch] = core.split(".");
+ let build = 0;
+ if (buildOrPrerelease) {
+ const numMatch = buildOrPrerelease.match(/\d+$/);
+ build = numMatch ? parseInt(numMatch[0]) : 0;
+ }
+ const wixVersion = `${major}.${minor}.${patch}${build === 0 ? "" : `.${build}`}`;
+ if (wixVersion !== ver) console.log(`Using wix-compatible version ${ver} --> ${wixVersion}`);
+ return wixVersion;
+}
+/**
+ * Deeply merges two objects
+ *
+ * @param {Object} target
+ * @param {Object} source
+ * @returns {Object}
+ */
+function deepMerge(target, source) {
+ for (const key of Object.keys(source)) {
+ if (source[key] instanceof Object && key in target && target[key] instanceof Object) {
+ Object.assign(source[key], deepMerge(target[key], source[key]));
+ }
+ }
+ return { ...target, ...source };
+}
+
+/**
+ * Writes platform-specific tauri configs
+ *
+ * @param {NodeJS.Platform} platform
+ * @param {{} | undefined} configOptions
+ */
+export async function createTauriPlatformConfigs(platform, configOptions = undefined) {
+ const srcTauri = path.join(__dirname, "../src-tauri/");
+ let baseConfig = {};
+ let configFileName = "";
+
+ console.log(`Updating Platform (${platform}) Tauri config...`);
+ if (platform === "win32") {
+ configFileName = "tauri.windows.conf.json";
+ baseConfig = {
+ ...baseConfig,
+ bundle: {
+ resources: {
+ "../../../target/binaries/ffmpeg-unzipped/bin/*.dll": ""
+ },
+ windows: {
+ wix: {
+ version: await getWIXCompatibleAppVersion(path.join(srcTauri, "Cargo.toml"))
+ }
+ },
+ },
+ };
+ } else if (platform === "darwin") {
+ configFileName = "tauri.macos.conf.json";
+ baseConfig = {
+ ...baseConfig,
+ bundle: {
+ icon: ["icons/macos/icon.icns"],
+ },
+ };
+ } else {
+ throw new Error("Unsupported platform!");
+ }
+ const mergedConfig = configOptions ? deepMerge(baseConfig, configOptions) : baseConfig;
+ await fs.writeFile(`${srcTauri}/${configFileName}`, JSON.stringify(mergedConfig, null, 2));
+}
+
+async function main() {
+ console.log("Preparing sidecars and configs...");
+ const targetTripleEnv = process.env.TARGET_TRIPLE || rsTargetTriple;
+ const binaries = FFMPEG_BINARIES[targetTripleEnv];
+ if (!binaries) {
+ console.error(`Unsupported target: ${targetTripleEnv}`);
+ return;
+ }
+ console.log(`Target is ${targetTripleEnv}`);
+
+ await prepareFfmpegSidecar();
+ await createTauriPlatformConfigs(process.platform);
+}
+
+main().catch((err) => {
+ console.error("Error during sidecar preparation:", err);
+ process.exit(1);
+});
\ No newline at end of file
diff --git a/apps/desktop/scripts/prepareSidecars.js b/apps/desktop/scripts/prepareSidecars.js
deleted file mode 100644
index b2245ffdd..000000000
--- a/apps/desktop/scripts/prepareSidecars.js
+++ /dev/null
@@ -1,72 +0,0 @@
-import * as fs from "node:fs/promises";
-import * as path from "node:path";
-import { fileURLToPath } from "node:url";
-import { exec as execCb } from "node:child_process";
-import { promisify } from "node:util";
-
-const exec = promisify(execCb);
-
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = path.dirname(__filename);
-
-const binariesDir = path.join(__dirname, "../../../target/binaries");
-
-const FFMPEG_BINARIES = {
- "aarch64-apple-darwin": {
- url: "https://cap-ffmpeg.s3.amazonaws.com/ffmpegarm.zip",
- path: "./ffmpeg",
- },
- "x86_64-apple-darwin": {
- url: "https://cap-ffmpeg.s3.amazonaws.com/ffmpeg-7.0.1.zip",
- path: "./ffmpeg",
- },
-};
-
-async function getRustupTarget() {
- const { stdout } = await exec("rustup show");
- const line = stdout
- .split("\n")
- .find((line) => line.includes("Default host:"));
-
- return line.split(":")[1].trim();
-}
-
-async function exists(path) {
- return await fs
- .access(path)
- .then(() => true)
- .catch(() => false);
-}
-
-async function main() {
- const targetTriple = process.env.TARGET_TRIPLE ?? (await getRustupTarget());
- const binaries = FFMPEG_BINARIES[targetTriple];
- if (!binaries) return;
-
- const ffmpegDownloadPath = path.join(binariesDir, "ffmpeg-download");
- if (!(await exists(ffmpegDownloadPath))) {
- await fs.mkdir(binariesDir, { recursive: true });
- console.log("downloading ffmpeg archive");
- const archive = await fetch(binaries.url)
- .then((r) => r.blob())
- .then((b) => b.arrayBuffer())
- .then((a) => Buffer.from(a));
-
- await fs.writeFile(ffmpegDownloadPath, archive);
- }
-
- const ffmpegUnzippedPath = path.join(binariesDir, "ffmpeg-unzipped");
- if (!(await exists(ffmpegUnzippedPath))) {
- console.log("extracting ffmpeg archive");
- await exec(`unzip ${ffmpegDownloadPath} -d ${ffmpegUnzippedPath}`);
- }
-
- const ffmpegSidecarName = `ffmpeg-${targetTriple}`;
- console.log(`copying ffmpeg binary '${ffmpegSidecarName}`);
- await fs.copyFile(
- path.join(ffmpegUnzippedPath, binaries.path),
- path.join(binariesDir, ffmpegSidecarName)
- );
-}
-
-main();
diff --git a/apps/desktop/scripts/stripDebugSymbols.js b/apps/desktop/scripts/stripDebugSymbols.js
index 0eab21b84..a00782427 100644
--- a/apps/desktop/scripts/stripDebugSymbols.js
+++ b/apps/desktop/scripts/stripDebugSymbols.js
@@ -34,10 +34,16 @@ async function main() {
const binaryPath = path.join(releaseDir, releaseFile);
- await exec(
- `dsymutil "${binaryPath}" -o "${path.join(targetDir, releaseFile)}.dSYM"`
- );
- await exec(`strip "${binaryPath}"`);
+ if (process.platform === "darwin") {
+ await exec(
+ `dsymutil "${binaryPath}" -o "${path.join(targetDir, releaseFile)}.dSYM"`
+ );
+ await exec(`strip "${binaryPath}"`);
+ } else if (process.platform === "win32") {
+ // TODO
+ } else {
+ throw new Error("Unsupported platform!");
+ }
}
main();
diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json
index 6aeeea1f7..a84b0bb7a 100644
--- a/apps/desktop/src-tauri/tauri.conf.json
+++ b/apps/desktop/src-tauri/tauri.conf.json
@@ -1,12 +1,12 @@
{
- "$schema": "../node_modules/@tauri-apps/cli/schema.json",
+ "$schema": "https://schema.tauri.app/config/2",
"productName": "Cap - Development",
"identifier": "so.cap.desktop.dev",
"mainBinaryName": "Cap - Development",
"build": {
- "beforeDevCommand": "node scripts/prepareSidecars.js && pnpm localdev",
+ "beforeDevCommand": "pnpm localdev",
"devUrl": "http://localhost:3001",
- "beforeBuildCommand": "node scripts/prepareSidecars.js && pnpm turbo build --filter @cap/desktop",
+ "beforeBuildCommand": "pnpm turbo build --filter @cap/desktop",
"beforeBundleCommand": "node scripts/stripDebugSymbols.js",
"frontendDist": "../.output/public"
},
@@ -62,6 +62,7 @@
"installerIcon": "icons/icon.ico"
},
"wix": {
+ "upgradeCode": "so.cap.desktop.dev",
"bannerPath": "assets/wix-banner.bmp"
}
}
diff --git a/apps/desktop/src-tauri/tauri.conf.prod.json b/apps/desktop/src-tauri/tauri.conf.prod.json
index 1af7ed9c5..e14ffac82 100644
--- a/apps/desktop/src-tauri/tauri.conf.prod.json
+++ b/apps/desktop/src-tauri/tauri.conf.prod.json
@@ -1,5 +1,5 @@
{
- "$schema": "../node_modules/@tauri-apps/cli/schema.json",
+ "$schema": "https://schema.tauri.app/config/2",
"productName": "Cap",
"mainBinaryName": "Cap",
"identifier": "so.cap.desktop",
@@ -14,6 +14,11 @@
"bundle": {
"macOS": {
"entitlements": "Entitlements.plist"
+ },
+ "windows": {
+ "wix": {
+ "upgradeCode": "so.cap.desktop"
+ }
}
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7e10b8db7..13308734f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -183,8 +183,8 @@ importers:
specifier: ^2.2.239
version: 2.2.253
'@tauri-apps/cli':
- specifier: '>=2.0.0-rc.0'
- version: 2.0.0-rc.16
+ specifier: '>=2.1.0'
+ version: 2.1.0
'@total-typescript/ts-reset':
specifier: ^0.6.1
version: 0.6.1
@@ -415,7 +415,7 @@ importers:
version: 8.57.1
eslint-config-airbnb-typescript:
specifier: ^18.0.0
eslint-import-resolver-typescript:
specifier: ^3.6.1
@@ -4414,8 +4414,8 @@ packages:
cpu: [arm64]
os: [darwin]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-lISZU4gG0c9PbY7h/j/gW7nJLxZEygNBrYEET6zN8R99Znf5rSO+CfjenaMcJUUj6yTAd8gzdakRpLqNSAWegA==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-ESc6J6CE8hl1yKH2vJ+ALF+thq4Be+DM1mvmTyUCQObvezNCNhzfS6abIUd3ou4x5RGH51ouiANeT3wekU6dCw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -4426,8 +4426,8 @@ packages:
cpu: [x64]
os: [darwin]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-D9uxPCxpyYcTSQulJGFX3POAKPOJd8WcWHFH8x6YVM1cIx6EWRXIE1sZnPUOjFr7qCg+bSdYdr8/BFHcZGcApQ==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-TasHS442DFs8cSH2eUQzuDBXUST4ECjCd0yyP+zZzvAruiB0Bg+c8A+I/EnqCvBQ2G2yvWLYG8q/LI7c87A5UA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -4438,8 +4438,8 @@ packages:
cpu: [arm]
os: [linux]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-WsVdKm4D1I1XV8I9yRnmOINZRwwWfh6xcLV3m19+B9g6TohK8RkRxWfxvs3TLQlWOLQ6lo8BzS9rzXB+KtjDpg==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-aP7ZBGNL4ny07Cbb6kKpUOSrmhcIK2KhjviTzYlh+pPhAptxnC78xQGD3zKQkTi2WliJLPmBYbOHWWQa57lQ9w==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
@@ -4450,8 +4450,8 @@ packages:
cpu: [arm64]
os: [linux]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-2jpZDagNs6rrqposHJihHBayttgOl5aB2+bYiVEC6ye+haiFtmYmpdaPOaVIw+YVQs6lepf5PVrisCoU9DmYsg==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-ZTdgD5gLeMCzndMT2f358EkoYkZ5T+Qy6zPzU+l5vv5M7dHVN9ZmblNAYYXmoOuw7y+BY4X/rZvHV9pcGrcanQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -4462,8 +4462,8 @@ packages:
cpu: [arm64]
os: [linux]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-SNEDcB+sWOls/B0a+UpUHVa/oegvlXXKYWsTxuXtgWIr5VbWG7rXLZ3fZpLLP3SpRVGTGTnABcyqshFbWSqqKQ==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-NzwqjUCilhnhJzusz3d/0i0F1GFrwCQbkwR6yAHUxItESbsGYkZRJk0yMEWkg3PzFnyK4cWTlQJMEU52TjhEzA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -4474,8 +4474,8 @@ packages:
cpu: [x64]
os: [linux]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-Zsq29MM1ooeH1+chQBa7ffDFnzAZebBBFdsvs4e05tS1H8gn4oKE+PSMn9p/okzVXykEk9ri2/n7BG1XFeifMA==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-TyiIpMEtZxNOQmuFyfJwaaYbg3movSthpBJLIdPlKxSAB2BW0VWLY3/ZfIxm/G2YGHyREkjJvimzYE0i37PnMA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -4486,8 +4486,8 @@ packages:
cpu: [x64]
os: [linux]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-g+pwSuis2YMxhJJ/pJYwp/Nps5CWvlv/5MV5UfDvClkCkeAyzIqVX+HbBLPcs5S0CePUQNeP0j4d4jBWUqZZQg==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-/dQd0TlaxBdJACrR72DhynWftzHDaX32eBtS5WBrNJ+nnNb+znM3gON6nJ9tSE9jgDa6n1v2BkI/oIDtypfUXw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -4498,8 +4498,8 @@ packages:
cpu: [arm64]
os: [win32]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-PpPqdMTwJSDAK4KnNjvh77ShSkY+7pih1f6e50EtXar8bjC17e3XcEqFhDNne5mxEVTLYhibs6p1JLPad0ZjRA==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-NdQJO7SmdYqOcE+JPU7bwg7+odfZMWO6g8xF9SXYCMdUzvM2Gv/AQfikNXz5yS7ralRhNFuW32i5dcHlxh4pDg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -4510,8 +4510,8 @@ packages:
cpu: [ia32]
os: [win32]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-io2yIcEcG7YLP+9n13NbilB93SjcB7jIl8GbURC4XZT4/4t9D1PWHpJr5hySVsGRLCz5e8NzwC5RlnenNzmpPQ==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-f5h8gKT/cB8s1ticFRUpNmHqkmaLutT62oFDB7N//2YTXnxst7EpMIn1w+QimxTvTk2gcx6EcW6bEk/y2hZGzg==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -4522,8 +4522,8 @@ packages:
cpu: [x64]
os: [win32]
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-Rfkmxe3k+cBVA/kVYt8O25QrQqWKJlH9AiH7Q3C6xBzzG9PCSRMBszCp+JhBF8jhVlwNmOBv6UG+lm85kspwGg==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-P/+LrdSSb5Xbho1LRP4haBjFHdyPdjWvGgeopL96OVtrFpYnfC+RctB45z2V2XxqFk3HweDDxk266btjttfjGw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -4533,8 +4533,8 @@ packages:
engines: {node: '>= 10'}
hasBin: true
- '@tauri-apps/[email protected]':
- resolution: {integrity: sha512-wdjZg/M3dcxiqgWG6VRnABpX0dYxRww93t0d1MYoZxFDrnyoUz5kYwFQ0v4J9u0qenEgskjoypvon7V/Nj9qrg==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-K2VhcKqBhAeS5pNOVdnR/xQRU6jwpgmkSL2ejHXcl0m+kaTggT0WRDQnFtPq6NljA7aE03cvwsbCAoFG7vtkJw==}
engines: {node: '>= 10'}
hasBin: true
@@ -15178,61 +15178,61 @@ snapshots:
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
optional: true
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optional: true
'@tauri-apps/[email protected]':
@@ -15248,18 +15248,18 @@ snapshots:
'@tauri-apps/cli-win32-ia32-msvc': 1.6.2
'@tauri-apps/cli-win32-x64-msvc': 1.6.2
- '@tauri-apps/[email protected]':
+ '@tauri-apps/[email protected]':
optionalDependencies:
- '@tauri-apps/cli-darwin-arm64': 2.0.0-rc.16
- '@tauri-apps/cli-darwin-x64': 2.0.0-rc.16
- '@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-rc.16
- '@tauri-apps/cli-linux-arm64-gnu': 2.0.0-rc.16
- '@tauri-apps/cli-linux-arm64-musl': 2.0.0-rc.16
- '@tauri-apps/cli-linux-x64-gnu': 2.0.0-rc.16
- '@tauri-apps/cli-linux-x64-musl': 2.0.0-rc.16
- '@tauri-apps/cli-win32-arm64-msvc': 2.0.0-rc.16
- '@tauri-apps/cli-win32-ia32-msvc': 2.0.0-rc.16
- '@tauri-apps/cli-win32-x64-msvc': 2.0.0-rc.16
+ '@tauri-apps/cli-darwin-arm64': 2.1.0
+ '@tauri-apps/cli-darwin-x64': 2.1.0
+ '@tauri-apps/cli-linux-arm-gnueabihf': 2.1.0
+ '@tauri-apps/cli-linux-arm64-gnu': 2.1.0
+ '@tauri-apps/cli-linux-arm64-musl': 2.1.0
+ '@tauri-apps/cli-linux-x64-gnu': 2.1.0
+ '@tauri-apps/cli-linux-x64-musl': 2.1.0
+ '@tauri-apps/cli-win32-arm64-msvc': 2.1.0
+ '@tauri-apps/cli-win32-ia32-msvc': 2.1.0
+ '@tauri-apps/cli-win32-x64-msvc': 2.1.0
'@tauri-apps/[email protected]':
dependencies:
@@ -16045,7 +16045,7 @@ snapshots:
dependencies:
- acorn: 8.12.1
+ acorn: 8.14.0
@@ -17622,7 +17622,7 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
confusing-browser-globals: 1.0.11
eslint: 8.57.1
@@ -17631,12 +17631,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 +17666,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,32 +17695,13 @@ 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
@@ -17739,7 +17720,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
@@ -17752,18 +17733,7 @@ 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:
@@ -17774,7 +17744,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -17796,7 +17766,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
@@ -17824,7 +17794,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