chore: update dependencies and suppress build warnings
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 58s
CI / Lint & Test (pull_request) Successful in 18m13s
CI / Build Linux (pull_request) Successful in 22m37s
CI / Build Windows (cross-compile) (pull_request) Successful in 35m57s

This commit is contained in:
2026-02-25 21:56:29 -08:00
committed by Naomi Carrigan
parent 85520bdea6
commit 11c0b0f2df
5 changed files with 1268 additions and 1043 deletions
+62 -62
View File
@@ -27,69 +27,69 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@codemirror/commands": "6.8.1", "@codemirror/commands": "6.10.2",
"@codemirror/lang-angular": "^0.1.4", "@codemirror/lang-angular": "0.1.4",
"@codemirror/lang-cpp": "^6.0.3", "@codemirror/lang-cpp": "6.0.3",
"@codemirror/lang-css": "^6.3.1", "@codemirror/lang-css": "6.3.1",
"@codemirror/lang-go": "^6.0.1", "@codemirror/lang-go": "6.0.1",
"@codemirror/lang-html": "^6.4.11", "@codemirror/lang-html": "6.4.11",
"@codemirror/lang-java": "^6.0.2", "@codemirror/lang-java": "6.0.2",
"@codemirror/lang-javascript": "^6.2.4", "@codemirror/lang-javascript": "6.2.4",
"@codemirror/lang-json": "^6.0.2", "@codemirror/lang-json": "6.0.2",
"@codemirror/lang-less": "^6.0.2", "@codemirror/lang-less": "6.0.2",
"@codemirror/lang-markdown": "^6.5.0", "@codemirror/lang-markdown": "6.5.0",
"@codemirror/lang-php": "^6.0.2", "@codemirror/lang-php": "6.0.2",
"@codemirror/lang-python": "^6.2.1", "@codemirror/lang-python": "6.2.1",
"@codemirror/lang-rust": "^6.0.2", "@codemirror/lang-rust": "6.0.2",
"@codemirror/lang-sass": "^6.0.2", "@codemirror/lang-sass": "6.0.2",
"@codemirror/lang-sql": "^6.10.0", "@codemirror/lang-sql": "6.10.0",
"@codemirror/lang-vue": "^0.1.3", "@codemirror/lang-vue": "0.1.3",
"@codemirror/lang-wast": "^6.0.2", "@codemirror/lang-wast": "6.0.2",
"@codemirror/lang-xml": "^6.1.0", "@codemirror/lang-xml": "6.1.0",
"@codemirror/lang-yaml": "^6.1.2", "@codemirror/lang-yaml": "6.1.2",
"@codemirror/language": "^6.12.1", "@codemirror/language": "6.12.2",
"@codemirror/legacy-modes": "^6.5.2", "@codemirror/legacy-modes": "6.5.2",
"@codemirror/state": "^6.5.4", "@codemirror/state": "6.5.4",
"@codemirror/theme-one-dark": "^6.1.3", "@codemirror/theme-one-dark": "6.1.3",
"@codemirror/view": "^6.39.11", "@codemirror/view": "6.39.15",
"@lezer/highlight": "^1.2.3", "@lezer/highlight": "1.2.3",
"@tauri-apps/api": "^2", "@tauri-apps/api": "2.10.1",
"@tauri-apps/plugin-clipboard-manager": "^2.3.2", "@tauri-apps/plugin-clipboard-manager": "2.3.2",
"@tauri-apps/plugin-dialog": "^2", "@tauri-apps/plugin-dialog": "2.6.0",
"@tauri-apps/plugin-fs": "^2.4.5", "@tauri-apps/plugin-fs": "2.4.5",
"@tauri-apps/plugin-notification": "^2", "@tauri-apps/plugin-notification": "2.3.3",
"@tauri-apps/plugin-opener": "^2", "@tauri-apps/plugin-opener": "2.5.3",
"@tauri-apps/plugin-os": "^2", "@tauri-apps/plugin-os": "2.3.2",
"@tauri-apps/plugin-shell": "^2.3.4", "@tauri-apps/plugin-shell": "2.3.5",
"@tauri-apps/plugin-store": "^2", "@tauri-apps/plugin-store": "2.4.2",
"codemirror": "^6.0.2", "codemirror": "6.0.2",
"highlight.js": "^11.11.1", "highlight.js": "11.11.1",
"lucide-svelte": "^0.563.0", "lucide-svelte": "0.575.0",
"marked": "^17.0.1" "marked": "17.0.3"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.39.2", "@eslint/js": "9.39.3",
"@sveltejs/adapter-static": "^3.0.6", "@sveltejs/adapter-static": "3.0.10",
"@sveltejs/kit": "^2.9.0", "@sveltejs/kit": "2.53.2",
"@sveltejs/vite-plugin-svelte": "^5.0.0", "@sveltejs/vite-plugin-svelte": "5.1.1",
"@tailwindcss/vite": "^4.1.18", "@tailwindcss/vite": "4.2.1",
"@tauri-apps/cli": "^2", "@tauri-apps/cli": "2.10.0",
"@testing-library/jest-dom": "^6.9.1", "@testing-library/jest-dom": "6.9.1",
"@testing-library/svelte": "^5.3.1", "@testing-library/svelte": "5.3.1",
"@vitest/coverage-v8": "^4.0.18", "@vitest/coverage-v8": "4.0.18",
"eslint": "^9.39.2", "eslint": "9.39.3",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "10.1.8",
"eslint-plugin-svelte": "^3.14.0", "eslint-plugin-svelte": "3.15.0",
"globals": "^17.0.0", "globals": "17.3.0",
"jsdom": "^27.4.0", "jsdom": "28.1.0",
"prettier": "^3.8.0", "prettier": "3.8.1",
"prettier-plugin-svelte": "^3.4.1", "prettier-plugin-svelte": "3.5.0",
"svelte": "^5.0.0", "svelte": "5.53.5",
"svelte-check": "^4.0.0", "svelte-check": "4.4.3",
"tailwindcss": "^4.1.18", "tailwindcss": "4.2.1",
"typescript": "~5.6.2", "typescript": "5.9.3",
"typescript-eslint": "^8.53.0", "typescript-eslint": "8.56.1",
"vite": "^6.0.3", "vite": "6.4.1",
"vitest": "^4.0.17" "vitest": "4.0.18"
} }
} }
+695 -682
View File
File diff suppressed because it is too large Load Diff
+492 -297
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -14,7 +14,10 @@ const config = {
onwarn: (warning, handler) => { onwarn: (warning, handler) => {
if ( if (
warning.code === "a11y_click_events_have_key_events" || warning.code === "a11y_click_events_have_key_events" ||
warning.code === "state_referenced_locally" warning.code === "state_referenced_locally" ||
// SvelteSet is already reactive; $state wrapping is unnecessary per ESLint,
// but vite-plugin-svelte incorrectly fires non_reactive_update on SvelteSet mutations
warning.code === "non_reactive_update"
) )
return; return;
handler(warning); handler(warning);
+15 -1
View File
@@ -1,13 +1,27 @@
import { defineConfig } from "vite"; import { defineConfig, createLogger } from "vite";
import { sveltekit } from "@sveltejs/kit/vite"; import { sveltekit } from "@sveltejs/kit/vite";
import tailwindcss from "@tailwindcss/vite"; import tailwindcss from "@tailwindcss/vite";
// @ts-expect-error process is a nodejs global // @ts-expect-error process is a nodejs global
const host = process.env.TAURI_DEV_HOST; const host = process.env.TAURI_DEV_HOST;
// SvelteKit passes codeSplitting to Rollup 4 which no longer recognises it — harmless
const logger = createLogger();
const baseWarn = logger.warn.bind(logger);
logger.warn = (/** @type {string} */ msg, /** @type {any} */ options) => {
// SvelteKit passes codeSplitting to Rollup 4 which no longer recognises it
if (msg.includes("codeSplitting")) return;
// Large chunks are fine for a desktop app — no network penalty
if (msg.includes("chunks are larger than")) return;
// Dynamic/static import mix in CodeMirror — harmless, module stays in main chunk
if (msg.includes("dynamically imported by") && msg.includes("codemirror")) return;
baseWarn(msg, options);
};
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig(async () => ({ export default defineConfig(async () => ({
plugins: [tailwindcss(), sveltekit()], plugins: [tailwindcss(), sveltekit()],
customLogger: logger,
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
// //