diff --git a/.prettierrc.js b/.prettierrc.js index 0b0725ac0..b55c3845a 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -23,5 +23,5 @@ module.exports = { importOrderParserPlugins: ['importAssertions', 'typescript', 'jsx'], pluginSearchDirs: false, plugins: ['@trivago/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss'], - tailwindConfig: 'packages/ui/tailwind.config.js' + tailwindConfig: './packages/ui/tailwind.config.js' }; diff --git a/.vscode/launch.json b/.vscode/launch.json index 3900ea085..8c91f9cc7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,80 +1,62 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "lldb", - "request": "launch", - "name": "Tauri Development Debug", - "cargo": { - "args": [ - "build", - "--manifest-path=./apps/desktop/src-tauri/Cargo.toml", - "--no-default-features" - ], - "problemMatcher": "$rustc", - }, - "sourceLanguages": [ - "rust" - ], - "preLaunchTask": "ui:dev" - }, - { - "type": "lldb", - "request": "launch", - "name": "Tauri Production Debug", - "cargo": { - "args": [ - "build", - "--release", - "--manifest-path=./apps/desktop/src-tauri/Cargo.toml" - ], - "problemMatcher": "$rustc", - }, - "sourceLanguages": [ - "rust" - ], - "preLaunchTask": "ui:build" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'sd-core'", - "cargo": { - "args": [ - "test", - "--no-run", - "--lib", - "--package=sd-core" - ], - "filter": { - "name": "sd-core", - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - { - "type": "lldb", - "request": "launch", - "name": "Debug unit tests in library 'sd-crypto'", - "cargo": { - "args": [ - "test", - "--no-run", - "--lib", - "--package=sd-crypto" - ], - "filter": { - "name": "sd-crypto", - "kind": "lib" - } - }, - "args": [], - "cwd": "${workspaceFolder}" - }, - ] -} \ No newline at end of file + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "request": "launch", + "name": "Tauri Development Debug", + "cargo": { + "args": [ + "build", + "--manifest-path=./apps/desktop/src-tauri/Cargo.toml", + "--no-default-features" + ], + "problemMatcher": "$rustc" + }, + "sourceLanguages": ["rust"], + "preLaunchTask": "ui:dev" + }, + { + "type": "lldb", + "request": "launch", + "name": "Tauri Production Debug", + "cargo": { + "args": ["build", "--release", "--manifest-path=./apps/desktop/src-tauri/Cargo.toml"], + "problemMatcher": "$rustc" + }, + "sourceLanguages": ["rust"], + "preLaunchTask": "ui:build" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'sd-core'", + "cargo": { + "args": ["test", "--no-run", "--lib", "--package=sd-core"], + "filter": { + "name": "sd-core", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'sd-crypto'", + "cargo": { + "args": ["test", "--no-run", "--lib", "--package=sd-crypto"], + "filter": { + "name": "sd-crypto", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a573f2387..86d4e9920 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,28 +4,20 @@ { "type": "cargo", "command": "clippy", - "problemMatcher": [ - "$rustc" - ], + "problemMatcher": ["$rustc"], "group": { "kind": "build", "isDefault": true }, "label": "rust: cargo clippy", - "args": [ - "--all-targets", - "--all-features", - "--all" - ] + "args": ["--all-targets", "--all-features", "--all"] }, { "type": "npm", "script": "prep", "label": "pnpm: prep", "group": "none", - "problemMatcher": [ - "$rustc" - ] + "problemMatcher": ["$rustc"] }, { "type": "shell", @@ -40,12 +32,7 @@ }, "isBackground": true, "command": "pnpm", - "args": [ - "desktop", - "vite", - "--clearScreen=false", - "--mode=development" - ], + "args": ["desktop", "vite", "--clearScreen=false", "--mode=development"], "runOptions": { "instanceLimit": 1 } @@ -55,49 +42,31 @@ "label": "ui:build", "problemMatcher": "$tsc", "command": "pnpm", - "args": [ - "desktop", - "vite", - "build" - ] + "args": ["desktop", "vite", "build"] }, { "type": "cargo", "command": "run", - "args": [ - "--manifest-path=./apps/desktop/src-tauri/Cargo.toml", - "--no-default-features" - ], + "args": ["--manifest-path=./apps/desktop/src-tauri/Cargo.toml", "--no-default-features"], "env": { "RUST_BACKTRACE": "short" }, - "problemMatcher": [ - "$rustc" - ], + "problemMatcher": ["$rustc"], "group": "build", "label": "rust: run spacedrive", - "dependsOn": [ - "ui:dev" - ] + "dependsOn": ["ui:dev"] }, { "type": "cargo", "command": "run", - "args": [ - "--manifest-path=./apps/desktop/src-tauri/Cargo.toml", - "--release" - ], + "args": ["--manifest-path=./apps/desktop/src-tauri/Cargo.toml", "--release"], "env": { "RUST_BACKTRACE": "short" }, - "problemMatcher": [ - "$rustc" - ], + "problemMatcher": ["$rustc"], "group": "build", "label": "rust: run spacedrive release", - "dependsOn": [ - "ui:build" - ] + "dependsOn": ["ui:build"] } ] -} \ No newline at end of file +} diff --git a/apps/landing/src/components/AppEmbed.tsx b/apps/landing/src/components/AppEmbed.tsx index fd2bb0fac..991c3a103 100644 --- a/apps/landing/src/components/AppEmbed.tsx +++ b/apps/landing/src/components/AppEmbed.tsx @@ -68,7 +68,7 @@ const AppEmbed = () => {