Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: switch to svelte-fast-check
Kyle Mendell4660801ad165
diff --git a/.github/workflows/svelte-check.yml b/.github/workflows/svelte-check.ymlindex 501651956..3bff8bd7d 100644--- a/.github/workflows/svelte-check.yml+++ b/.github/workflows/svelte-check.yml@@ -55,4 +55,4 @@ jobs:run: pnpm --filter arcane-frontend build- name: Run svelte-check- run: pnpm --filter arcane-frontend check+ run: pnpm --filter arcane-frontend check:cidiff --git a/.gitignore b/.gitignoreindex cd1d539a3..4dad7e81c 100644--- a/.gitignore+++ b/.gitignore@@ -41,3 +41,4 @@ tests/package-lock.json.pnpm-store.claude/settings.local.json.claude/**+.fast-check\ No newline at end of filediff --git a/frontend/package.json b/frontend/package.jsonindex 24e0b01ca..a0e1593a0 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,76 +1,77 @@{- "name": "arcane-frontend",- "private": true,- "version": "1.11.3",- "type": "module",- "packageManager": "[email protected]+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a",- "engines": {- "node": ">=25"- },- "scripts": {- "dev": "vite dev --port 3000 --host",- "build": "vite build",- "preview": "vite preview --port 3000",- "prepare": "svelte-kit sync || echo ''",- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",- "format": "prettier --write ./src",- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",- "knip": "knip",- "i18n:unused": "i18n-unused display-unused",- "i18n:remove": "i18n-unused remove-unused",- "i18n:mark": "i18n-unused mark-unused"- },- "dependencies": {- "@sveltejs/adapter-static": "^3.0.10",- "@tanstack/table-core": "^8.21.3",- "@xterm/addon-fit": "^0.11.0",- "@xterm/xterm": "^6.0.0",- "@shikijs/monaco": "^3.20.0",- "shiki": "^3.21.0",- "ansi-to-html": "^0.7.2",- "axios": "^1.13.1",- "date-fns": "^4.1.0",- "js-yaml": "^4.1.1",- "monaco-editor": "^0.55.1",- "prettier": "^3.7.4",- "prettier-plugin-svelte": "^3.4.1",- "prettier-plugin-tailwindcss": "^0.7.2",- "svelte": "^5.46.1",- "@sveltejs/kit": "^2.49.3"- },- "devDependencies": {- "@iconify/json": "^2.2.424",- "@inlang/paraglide-js": "2.7.1",- "@internationalized/date": "^3.10.1",- "@sveltejs/vite-plugin-svelte": "^6.2.3",- "@tailwindcss/vite": "^4.1.18",- "@types/bytes": "^3.1.5",- "@types/js-yaml": "^4.0.9",- "@types/node": "^25.0.3",- "bits-ui": "^2.14.4",- "bytes": "^3.1.2",- "clsx": "^2.1.1",- "formsnap": "^2.0.1",- "i18n-unused": "^0.19.0",- "isomorphic-dompurify": "^2.35.0",- "knip": "^5.80.0",- "mode-watcher": "^1.1.0",- "paneforge": "^1.0.2",- "runed": "^0.37.0",- "svelte-check": "^4.3.5",- "svelte-sonner": "^1.0.7",- "svelte-toolbelt": "^0.10.6",- "sveltekit-superforms": "^2.29.1",- "tailwind-merge": "^3.4.0",- "tailwind-variants": "^3.2.2",- "tailwindcss": "^4.1.18",- "tsx": "^4.21.0",- "tw-animate-css": "^1.4.0",- "typescript": "^5.9.3",- "unplugin-icons": "^22.5.0",- "vaul-svelte": "1.0.0-next.7",- "vite": "^7.3.1",- "vite-plugin-devtools-json": "^1.0.0",- "zod": "^4.3.4"- }+ "name": "arcane-frontend",+ "private": true,+ "version": "1.11.3",+ "type": "module",+ "packageManager": "[email protected]+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a",+ "engines": {+ "node": ">=25"+ },+ "scripts": {+ "dev": "vite dev --port 3000 --host",+ "build": "vite build",+ "preview": "vite preview --port 3000",+ "prepare": "svelte-kit sync || echo ''",+ "check": "svelte-fast-check --incremental --config ./svelte-fast-check.config.ts",+ "check:ci": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",+ "format": "prettier --write ./src",+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",+ "knip": "knip",+ "i18n:unused": "i18n-unused display-unused",+ "i18n:remove": "i18n-unused remove-unused",+ "i18n:mark": "i18n-unused mark-unused"+ },+ "dependencies": {+ "@shikijs/monaco": "^3.20.0",+ "@sveltejs/adapter-static": "^3.0.10",+ "@sveltejs/kit": "^2.49.3",+ "@tanstack/table-core": "^8.21.3",+ "@xterm/addon-fit": "^0.11.0",+ "@xterm/xterm": "^6.0.0",+ "ansi-to-html": "^0.7.2",+ "axios": "^1.13.1",+ "date-fns": "^4.1.0",+ "js-yaml": "^4.1.1",+ "monaco-editor": "^0.55.1",+ "prettier": "^3.7.4",+ "prettier-plugin-svelte": "^3.4.1",+ "prettier-plugin-tailwindcss": "^0.7.2",+ "shiki": "^3.21.0",+ "svelte": "^5.46.1"+ },+ "devDependencies": {+ "@iconify/json": "^2.2.424",+ "@inlang/paraglide-js": "2.7.1",+ "@internationalized/date": "^3.10.1",+ "@sveltejs/vite-plugin-svelte": "^6.2.3",+ "@tailwindcss/vite": "^4.1.18",+ "@types/bytes": "^3.1.5",+ "@types/js-yaml": "^4.0.9",+ "@types/node": "^25.0.3",+ "bits-ui": "^2.14.4",+ "bytes": "^3.1.2",+ "clsx": "^2.1.1",+ "formsnap": "^2.0.1",+ "i18n-unused": "^0.19.0",+ "isomorphic-dompurify": "^2.35.0",+ "knip": "^5.80.0",+ "mode-watcher": "^1.1.0",+ "paneforge": "^1.0.2",+ "runed": "^0.37.0",+ "svelte-fast-check": "^0.3.1",+ "svelte-sonner": "^1.0.7",+ "svelte-toolbelt": "^0.10.6",+ "sveltekit-superforms": "^2.29.1",+ "tailwind-merge": "^3.4.0",+ "tailwind-variants": "^3.2.2",+ "tailwindcss": "^4.1.18",+ "tsx": "^4.21.0",+ "tw-animate-css": "^1.4.0",+ "typescript": "^5.9.3",+ "unplugin-icons": "^22.5.0",+ "vaul-svelte": "1.0.0-next.7",+ "vite": "^7.3.1",+ "vite-plugin-devtools-json": "^1.0.0",+ "zod": "^4.3.4"+ }}diff --git a/frontend/svelte-fast-check.config.ts b/frontend/svelte-fast-check.config.tsnew file mode 100644index 000000000..b54ed0930--- /dev/null+++ b/frontend/svelte-fast-check.config.ts@@ -0,0 +1,7 @@+import type { FastCheckConfig } from 'svelte-fast-check';++export default {+ rootDir: './',+ srcDir: './src',+ exclude: ['./src/lib/paraglide/**/*']+} satisfies FastCheckConfig;diff --git a/frontend/tsconfig.json b/frontend/tsconfig.jsonindex b94b62efe..3b24961d0 100644--- a/frontend/tsconfig.json+++ b/frontend/tsconfig.json@@ -4,7 +4,7 @@"target": "ES2022","verbatimModuleSyntax": true,"allowJs": true,- "checkJs": true,+ "checkJs": false,"esModuleInterop": true,"forceConsistentCasingInFileNames": true,"resolveJsonModule": true,@@ -13,5 +13,6 @@"strict": true,"moduleResolution": "bundler","types": ["unplugin-icons/types/svelte"]- }+ },+ "exclude": ["src/lib/paraglide/**/*"]}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex af279c316..6049ec4aa 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -158,9 +158,9 @@ importers:runed:specifier: ^0.37.0version: 0.37.0(@sveltejs/[email protected](@sveltejs/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected])([email protected])- svelte-check:- specifier: ^4.3.5+ svelte-fast-check:+ specifier: ^0.3.1+ version: 0.3.1([email protected])([email protected])svelte-sonner:specifier: ^1.0.7version: 1.0.7([email protected])@@ -1743,6 +1743,45 @@ packages:'@types/json-schema':optional: true+ '@typescript/[email protected]':+ resolution: {integrity: sha512-IlmAcBuRJ16iP458tHhnsuE5ANzZkkO0m9y5WSgxrSj2Y5pVHa8mE5mC9SMFDLeUiLUAJ0kyXU0/LeDUOYtxXQ==}+ cpu: [arm64]+ os: [darwin]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-33mTAoeFzwrfikWpo+nfWDgasAAuoLLtRoAZAVYQmCTVZed0yqrNED2tI8bsHYAsqlau/T66qb7cWXQjJ6aT5g==}+ cpu: [x64]+ os: [darwin]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-3euY/vSJQ0L8WfMYDQ/2DtImNtnBevIN+g3qU18LiKv1Be/MNld/Wk7zmvAdvbQ1lXCAFeGG8dGa5NHpVIQE2A==}+ cpu: [arm64]+ os: [linux]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-zYrp5E/Mda2nKTR+ahT2+hPOXJE7MoJdhyxw8Uzdoy/buETnS+UBCEdahb9Wx2cxFyXpZpiHuNOOGujfJgIv+Q==}+ cpu: [arm]+ os: [linux]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-5lD2j5RyG6ShedMghgMZ+yK4sFf0KnqQhRBndgC9PY6W+QaqvyVrCUURN28TAj4C6oea/Xs8DYMCafEGrv7pPA==}+ cpu: [x64]+ os: [linux]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-eGPP25i28mhjtAsaQLG85HMWYagaz4c6KE5HmSn0z1Tr3CZFet2wnmoBe71mcFQJbLfXJ37PCJg6GB6oNuJh5Q==}+ cpu: [arm64]+ os: [win32]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-t7UCZLnQqE93RGSP1YAqu1eegVJX5KhgwSuaTO62cf+UeptEz7cuIP0vPVNxyzial5bKvOoXekkWXQ4u5G1wlQ==}+ cpu: [x64]+ os: [win32]++ '@typescript/[email protected]':+ resolution: {integrity: sha512-GkMZ4alU9Pr/5pUjZRzA9NMQ2wadrCPN+YHhjOlr8VM2gCFoSg5+ewLVMu4ZcdjdJDs8DUcCyuHQiW6Zr5iBvQ==}+ hasBin: true+'@ungap/[email protected]':resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}@@ -1902,6 +1941,9 @@ packages:resolution: {integrity: sha512-rXXekcjofVN1LTOSw+u4u9WXVEUvNBVjORW154q/IdmYWy1nMbOU9aNtZB0t8m+FJQ9q91jlr2f9CwwUFdFMRA==}+ resolution: {integrity: sha512-eZzJGlG3N6+IsKV+297HIRS2fyRsLMOrx62hGUmmcyOtP/I+L7JVeSKZH49WZUdVB8NoaZOUvq01363I/PHJiA==}+resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}engines: {node: '>=18'}@@ -2024,6 +2066,9 @@ packages:resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}+ resolution: {integrity: sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ==}+resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==}peerDependencies:@@ -2991,6 +3036,9 @@ packages:resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}+ resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==}+resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}@@ -3126,12 +3174,12 @@ packages:resolution: {integrity: sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==}engines: {node: '>=14.0.0'}- resolution: {integrity: sha512-e4VWZETyXaKGhpkxOXP+B/d0Fp/zKViZoJmneZWe/05Y2aqSKj3YN2nLfYPJBQ87WEiY4BQCQ9hWGu9mPT1a1Q==}- engines: {node: '>= 18.0.0'}+ resolution: {integrity: sha512-CzSxebCYSD1l+b9MEJXquxBuhbbDKfx/djtZdgSIVVB9vmQJnDCVYd8UtSBFUbcEI/rK2BiUyFAOqqnIdvBUww==}+ engines: {node: '>=22'}hasBin: truepeerDependencies:- svelte: ^4.0.0 || ^5.0.0-next.0+ svelte: '>=5.0.0'typescript: '>=5.0.0'@@ -3168,6 +3216,12 @@ packages:peerDependencies:svelte: ^5.30.2+ resolution: {integrity: sha512-S++Vw3w47a8rBuhbz4JK0fcGea8tOoX1boT53Aib8+oUO2EKeOG+geXprJVTDfBlvR+IJdf3jIpR2RGwT6paQA==}+ peerDependencies:+ svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0+ typescript: ^4.9.4 || ^5.0.0+resolution: {integrity: sha512-ynjfCHD3nP2el70kN5Pmg37sSi0EjOm9FgHYQdC4giWG/hzO3AatzXXJJgP305uIhGQxSufJLuYWtkY8uK/8RA==}engines: {node: '>=18'}@@ -3208,6 +3262,9 @@ packages:resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==}engines: {node: '>=6'}+ resolution: {integrity: sha512-6IByuUjyNZJXUtwDNm+OIe62zgwwaRbH+WMNTcx05O2G5V9WhvluAAHJY8OvUdwmzMPpqAD/7EUpGdI6ae1aiQ==}+resolution: {integrity: sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==}engines: {node: '>=10'}@@ -3290,6 +3347,9 @@ packages:resolution: {integrity: sha512-VCn+LMHbd4t6sF3wfU/+HKT63C9OoyrSIf4b+vtWHpt2U7/4InZG467YDNMFMR70DdHjAdpPWmw2lzRdg0Xqqg==}engines: {node: '>=20'}+ resolution: {integrity: sha512-YA09cL07U7hSV+/doSfKl+RkIZ2olCnevZsVgAuyBUG3h2ROf9Oh2vmbq5Rf26aA9/qu9RtStuc7ap5PC6k/vw==}+resolution: {integrity: sha512-U6quDhQMzQRzBX8jvlE5mZlUnlMRTaZrG/QMAhOYVJ0D0rhq1iOXBQVSzBX0JgAh55jXQ7fWIv24i+lVimXcDw==}@@ -4702,6 +4762,37 @@ snapshots:'@types/json-schema': 7.0.15optional: true+ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optional: true++ '@typescript/[email protected]':+ optionalDependencies:+ '@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260107.1+ '@typescript/native-preview-darwin-x64': 7.0.0-dev.20260107.1+ '@typescript/native-preview-linux-arm': 7.0.0-dev.20260107.1+ '@typescript/native-preview-linux-arm64': 7.0.0-dev.20260107.1+ '@typescript/native-preview-linux-x64': 7.0.0-dev.20260107.1+ '@typescript/native-preview-win32-arm64': 7.0.0-dev.20260107.1+ '@typescript/native-preview-win32-x64': 7.0.0-dev.20260107.1+'@ungap/[email protected]': {}@@ -4860,6 +4951,11 @@ snapshots:validator: 13.15.23optional: true+ dependencies:+ terminal-columns: 2.0.0+ type-flag: 4.0.3+dependencies:restore-cursor: 5.1.0@@ -4968,6 +5064,8 @@ snapshots:+ [email protected]: {}+@@ -6011,6 +6109,8 @@ snapshots:+ [email protected]: {}+dependencies:parseley: 0.12.1@@ -6188,17 +6288,14 @@ snapshots:optional: truedependencies:'@jridgewell/trace-mapping': 0.3.31- chokidar: 4.0.3- fdir: 6.5.0([email protected])- picocolors: 1.1.1- sade: 1.8.1+ '@typescript/native-preview': 7.0.0-dev.20260107.1+ cleye: 2.2.1svelte: 5.46.1+ svelte2tsx: 0.7.46([email protected])([email protected])typescript: 5.9.3- transitivePeerDependencies:- - picomatchdependencies:@@ -6243,6 +6340,13 @@ snapshots:style-to-object: 1.0.11svelte: 5.46.1+ dependencies:+ dedent-js: 1.0.1+ scule: 1.3.0+ svelte: 5.46.1+ typescript: 5.9.3+dependencies:'@jridgewell/remapping': 2.3.5@@ -6306,6 +6410,8 @@ snapshots:+ [email protected]: {}+dependencies:'@jridgewell/source-map': 0.3.11@@ -6384,6 +6490,8 @@ snapshots:dependencies:tagged-tag: 1.0.0+ [email protected]: {}+optional: true