diff --git a/.prettierrc b/.prettierrc index 5f4511a..a77fdde 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,6 +1,9 @@ { - "useTabs": false, - "singleQuote": true, - "trailingComma": "none", - "printWidth": 100 + "useTabs": true, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 100, + "plugins": ["prettier-plugin-svelte"], + "pluginSearchDirs": ["."], + "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] } diff --git a/package.json b/package.json index fd3cf59..21dc6d3 100644 --- a/package.json +++ b/package.json @@ -13,30 +13,30 @@ "format": "prettier --write --plugin-search-dir=. ." }, "devDependencies": { - "@playwright/test": "^1.25.2", + "@playwright/test": "^1.26.1", "@rgossiaux/svelte-headlessui": "1.0.2", "@rgossiaux/svelte-heroicons": "^0.1.2", "@sveltejs/adapter-auto": "1.0.0-next.72", "@sveltejs/kit": "1.0.0-next.480", "@types/cookie": "^0.5.1", - "@types/node": "^18.7.16", - "@typescript-eslint/eslint-plugin": "^5.36.2", - "@typescript-eslint/parser": "^5.36.2", - "carbon-components-svelte": "^0.70.6", - "carbon-icons-svelte": "^11.2.0", - "eslint": "^8.23.0", + "@types/node": "^18.7.23", + "@typescript-eslint/eslint-plugin": "^5.38.1", + "@typescript-eslint/parser": "^5.38.1", + "carbon-components-svelte": "^0.70.9", + "carbon-icons-svelte": "^11.3.0", + "eslint": "^8.24.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-svelte3": "^4.0.0", "just-debounce-it": "^3.1.1", "prettier": "^2.7.1", - "prettier-plugin-svelte": "^2.7.0", - "sass": "^1.54.9", + "prettier-plugin-svelte": "^2.7.1", + "sass": "^1.55.0", "svelte": "^3.50.1", - "svelte-check": "^2.9.0", + "svelte-check": "^2.9.1", "svelte-preprocess": "^4.10.7", "tslib": "^2.0.0", - "typescript": "^4.8.3", - "vite": "^3.1.0" + "typescript": "^4.8.4", + "vite": "^3.1.4" }, "type": "module", "dependencies": { @@ -47,6 +47,6 @@ "@types/feather-icons": "^4.7.0", "cookie": "^0.5.0", "feather-icons": "^4.29.0", - "zod": "^3.19.0" + "zod": "^3.19.1" } } \ No newline at end of file diff --git a/playwright.config.ts b/playwright.config.ts index 393283e..6ad3a7f 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,10 +1,10 @@ import type { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { - webServer: { - command: 'npm run build && npm run preview', - port: 3000 - } + webServer: { + command: 'npm run build && npm run preview', + port: 4173 + } }; export default config; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 85d6797..a1009ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,34 +5,34 @@ specifiers: '@leveluptuts/svelte-side-menu': ^1.0.5 '@leveluptuts/svelte-toy': ^2.0.3 '@lukeed/uuid': ^2.0.0 - '@playwright/test': ^1.25.2 + '@playwright/test': ^1.26.1 '@rgossiaux/svelte-headlessui': 1.0.2 '@rgossiaux/svelte-heroicons': ^0.1.2 '@sveltejs/adapter-auto': 1.0.0-next.72 '@sveltejs/kit': 1.0.0-next.480 '@types/cookie': ^0.5.1 '@types/feather-icons': ^4.7.0 - '@types/node': ^18.7.16 - '@typescript-eslint/eslint-plugin': ^5.36.2 - '@typescript-eslint/parser': ^5.36.2 - carbon-components-svelte: ^0.70.6 - carbon-icons-svelte: ^11.2.0 + '@types/node': ^18.7.23 + '@typescript-eslint/eslint-plugin': ^5.38.1 + '@typescript-eslint/parser': ^5.38.1 + carbon-components-svelte: ^0.70.9 + carbon-icons-svelte: ^11.3.0 cookie: ^0.5.0 - eslint: ^8.23.0 + eslint: ^8.24.0 eslint-config-prettier: ^8.1.0 eslint-plugin-svelte3: ^4.0.0 feather-icons: ^4.29.0 just-debounce-it: ^3.1.1 prettier: ^2.7.1 - prettier-plugin-svelte: ^2.7.0 - sass: ^1.54.9 + prettier-plugin-svelte: ^2.7.1 + sass: ^1.55.0 svelte: ^3.50.1 - svelte-check: ^2.9.0 + svelte-check: ^2.9.1 svelte-preprocess: ^4.10.7 tslib: ^2.0.0 - typescript: ^4.8.3 - vite: ^3.1.0 - zod: ^3.19.0 + typescript: ^4.8.4 + vite: ^3.1.4 + zod: ^3.19.1 dependencies: '@fontsource/fira-mono': 4.5.9 @@ -42,33 +42,33 @@ dependencies: '@types/feather-icons': 4.7.0 cookie: 0.5.0 feather-icons: 4.29.0 - zod: 3.19.0 + zod: 3.19.1 devDependencies: - '@playwright/test': 1.25.2 + '@playwright/test': 1.26.1 '@rgossiaux/svelte-headlessui': 1.0.2_svelte@3.50.1 '@rgossiaux/svelte-heroicons': 0.1.2_svelte@3.50.1 '@sveltejs/adapter-auto': 1.0.0-next.72 - '@sveltejs/kit': 1.0.0-next.480_svelte@3.50.1+vite@3.1.0 + '@sveltejs/kit': 1.0.0-next.480_svelte@3.50.1+vite@3.1.4 '@types/cookie': 0.5.1 - '@types/node': 18.7.16 - '@typescript-eslint/eslint-plugin': 5.36.2_2l2r3i3lm6jysqd4ac3ql4n2mm - '@typescript-eslint/parser': 5.36.2_itqs5654cmlnjraw6gjzqacppi - carbon-components-svelte: 0.70.6 - carbon-icons-svelte: 11.2.0 - eslint: 8.23.0 - eslint-config-prettier: 8.5.0_eslint@8.23.0 - eslint-plugin-svelte3: 4.0.0_jtvgu4usxe4xoavzb5jpyaoyje + '@types/node': 18.7.23 + '@typescript-eslint/eslint-plugin': 5.38.1_c7qepppml3d4ahu5cnfwqe6ltq + '@typescript-eslint/parser': 5.38.1_ypn2ylkkyfa5i233caldtndbqa + carbon-components-svelte: 0.70.9 + carbon-icons-svelte: 11.3.0 + eslint: 8.24.0 + eslint-config-prettier: 8.5.0_eslint@8.24.0 + eslint-plugin-svelte3: 4.0.0_snydkosur25h6rjxszquwacaua just-debounce-it: 3.1.1 prettier: 2.7.1 - prettier-plugin-svelte: 2.7.0_nk6d2fkgcllkkdynqbuearcure - sass: 1.54.9 + prettier-plugin-svelte: 2.7.1_nk6d2fkgcllkkdynqbuearcure + sass: 1.55.0 svelte: 3.50.1 - svelte-check: 2.9.0_sass@1.54.9+svelte@3.50.1 - svelte-preprocess: 4.10.7_dmgt4vqjdljwxc7vlji2ruxhdy + svelte-check: 2.9.1_sass@1.55.0+svelte@3.50.1 + svelte-preprocess: 4.10.7_hfbjjxm4ggy2hdppiwxlv6aafa tslib: 2.4.0 - typescript: 4.8.3 - vite: 3.1.0_sass@1.54.9 + typescript: 4.8.4 + vite: 3.1.4_sass@1.55.0 packages: @@ -94,8 +94,8 @@ packages: dev: true optional: true - /@eslint/eslintrc/1.3.1: - resolution: {integrity: sha512-OhSY22oQQdw3zgPOOwdoj01l/Dzl1Z+xyUP33tkSN+aqyEhymJCcPHyXt+ylW8FSe0TfRC2VG+ROQOapD0aZSQ==} + /@eslint/eslintrc/1.3.2: + resolution: {integrity: sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 @@ -115,8 +115,8 @@ packages: resolution: {integrity: sha512-DDhkRUjPHwPK/wB7GM/7LzGkcEC5JyTZM93YnFoP2Qfjffq3qX1asnXNqfglgZxXHXVmu3RI8OjRf87I97XCfA==} dev: false - /@humanwhocodes/config-array/0.10.4: - resolution: {integrity: sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==} + /@humanwhocodes/config-array/0.10.5: + resolution: {integrity: sha512-XVVDtp+dVvRxMoxSiSfasYaG02VEe1qH5cKgMQJWhol6HwzbcqoCMJi8dAGoYAO57jhUyhI6cWuRiTcRaDaYug==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -220,13 +220,13 @@ packages: fastq: 1.13.0 dev: true - /@playwright/test/1.25.2: - resolution: {integrity: sha512-6qPznIR4Fw02OMbqXUPMG6bFFg1hDVNEdihKy0t9K0dmRbus1DyP5Q5XFQhGwEHQkLG5hrSfBuu9CW/foqhQHQ==} + /@playwright/test/1.26.1: + resolution: {integrity: sha512-bNxyZASVt2adSZ9gbD7NCydzcb5JaI0OR9hc7s+nmPeH604gwp0zp17NNpwXY4c8nvuBGQQ9oGDx72LE+cUWvw==} engines: {node: '>=14'} hasBin: true dependencies: - '@types/node': 18.7.16 - playwright-core: 1.25.2 + '@types/node': 18.7.23 + playwright-core: 1.26.1 dev: true /@polka/url/1.0.0-next.21: @@ -295,7 +295,7 @@ packages: - supports-color dev: true - /@sveltejs/kit/1.0.0-next.480_svelte@3.50.1+vite@3.1.0: + /@sveltejs/kit/1.0.0-next.480_svelte@3.50.1+vite@3.1.4: resolution: {integrity: sha512-RnltVDZFksAkeIZ0wgMQDr4POz3WZxSDy6D/ycIjrz3VXMDYWxKRqmTEI7Yl7TxPgUabeYHGRm/qI+nSXOb/Yw==} engines: {node: '>=16.14'} hasBin: true @@ -304,7 +304,7 @@ packages: svelte: ^3.44.0 vite: ^3.1.0 dependencies: - '@sveltejs/vite-plugin-svelte': 1.0.5_svelte@3.50.1+vite@3.1.0 + '@sveltejs/vite-plugin-svelte': 1.0.5_svelte@3.50.1+vite@3.1.4 cookie: 0.5.0 devalue: 3.1.3 kleur: 4.1.5 @@ -317,13 +317,13 @@ packages: svelte: 3.50.1 tiny-glob: 0.2.9 undici: 5.10.0 - vite: 3.1.0_sass@1.54.9 + vite: 3.1.4_sass@1.55.0 transitivePeerDependencies: - diff-match-patch - supports-color dev: true - /@sveltejs/vite-plugin-svelte/1.0.5_svelte@3.50.1+vite@3.1.0: + /@sveltejs/vite-plugin-svelte/1.0.5_svelte@3.50.1+vite@3.1.4: resolution: {integrity: sha512-CmSdSow0Dr5ua1A11BQMtreWnE0JZmkVIcRU/yG3PKbycKUpXjNdgYTWFSbStLB0vdlGnBbm2+Y4sBVj+C+TIw==} engines: {node: ^14.18.0 || >= 16} peerDependencies: @@ -341,7 +341,7 @@ packages: magic-string: 0.26.3 svelte: 3.50.1 svelte-hmr: 0.14.12_svelte@3.50.1 - vite: 3.1.0_sass@1.54.9 + vite: 3.1.4_sass@1.55.0 transitivePeerDependencies: - supports-color dev: true @@ -358,8 +358,8 @@ packages: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true - /@types/node/18.7.16: - resolution: {integrity: sha512-EQHhixfu+mkqHMZl1R2Ovuvn47PUw18azMJOTwSZr9/fhzHNGXAJ0ma0dayRVchprpCj0Kc1K1xKoWaATWF1qg==} + /@types/node/18.7.23: + resolution: {integrity: sha512-DWNcCHolDq0ZKGizjx2DZjR/PqsYwAcYUJmfMWqtVU2MBMG5Mo+xFZrhGId5r/O5HOuMPyQEcM6KUBp5lBZZBg==} dev: true /@types/pug/2.0.6: @@ -369,11 +369,11 @@ packages: /@types/sass/1.43.1: resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==} dependencies: - '@types/node': 18.7.16 + '@types/node': 18.7.23 dev: true - /@typescript-eslint/eslint-plugin/5.36.2_2l2r3i3lm6jysqd4ac3ql4n2mm: - resolution: {integrity: sha512-OwwR8LRwSnI98tdc2z7mJYgY60gf7I9ZfGjN5EjCwwns9bdTuQfAXcsjSB2wSQ/TVNYSGKf4kzVXbNGaZvwiXw==} + /@typescript-eslint/eslint-plugin/5.38.1_c7qepppml3d4ahu5cnfwqe6ltq: + resolution: {integrity: sha512-ky7EFzPhqz3XlhS7vPOoMDaQnQMn+9o5ICR9CPr/6bw8HrFkzhMSxuA3gRfiJVvs7geYrSeawGJjZoZQKCOglQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -383,24 +383,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.36.2_itqs5654cmlnjraw6gjzqacppi - '@typescript-eslint/scope-manager': 5.36.2 - '@typescript-eslint/type-utils': 5.36.2_itqs5654cmlnjraw6gjzqacppi - '@typescript-eslint/utils': 5.36.2_itqs5654cmlnjraw6gjzqacppi + '@typescript-eslint/parser': 5.38.1_ypn2ylkkyfa5i233caldtndbqa + '@typescript-eslint/scope-manager': 5.38.1 + '@typescript-eslint/type-utils': 5.38.1_ypn2ylkkyfa5i233caldtndbqa + '@typescript-eslint/utils': 5.38.1_ypn2ylkkyfa5i233caldtndbqa debug: 4.3.4 - eslint: 8.23.0 - functional-red-black-tree: 1.0.1 + eslint: 8.24.0 ignore: 5.2.0 regexpp: 3.2.0 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.8.3 - typescript: 4.8.3 + tsutils: 3.21.0_typescript@4.8.4 + typescript: 4.8.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.36.2_itqs5654cmlnjraw6gjzqacppi: - resolution: {integrity: sha512-qS/Kb0yzy8sR0idFspI9Z6+t7mqk/oRjnAYfewG+VN73opAUvmYL3oPIMmgOX6CnQS6gmVIXGshlb5RY/R22pA==} + /@typescript-eslint/parser/5.38.1_ypn2ylkkyfa5i233caldtndbqa: + resolution: {integrity: sha512-LDqxZBVFFQnQRz9rUZJhLmox+Ep5kdUmLatLQnCRR6523YV+XhRjfYzStQ4MheFA8kMAfUlclHSbu+RKdRwQKw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -409,26 +408,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.36.2 - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/typescript-estree': 5.36.2_typescript@4.8.3 + '@typescript-eslint/scope-manager': 5.38.1 + '@typescript-eslint/types': 5.38.1 + '@typescript-eslint/typescript-estree': 5.38.1_typescript@4.8.4 debug: 4.3.4 - eslint: 8.23.0 - typescript: 4.8.3 + eslint: 8.24.0 + typescript: 4.8.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.36.2: - resolution: {integrity: sha512-cNNP51L8SkIFSfce8B1NSUBTJTu2Ts4nWeWbFrdaqjmn9yKrAaJUBHkyTZc0cL06OFHpb+JZq5AUHROS398Orw==} + /@typescript-eslint/scope-manager/5.38.1: + resolution: {integrity: sha512-BfRDq5RidVU3RbqApKmS7RFMtkyWMM50qWnDAkKgQiezRtLKsoyRKIvz1Ok5ilRWeD9IuHvaidaLxvGx/2eqTQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/visitor-keys': 5.36.2 + '@typescript-eslint/types': 5.38.1 + '@typescript-eslint/visitor-keys': 5.38.1 dev: true - /@typescript-eslint/type-utils/5.36.2_itqs5654cmlnjraw6gjzqacppi: - resolution: {integrity: sha512-rPQtS5rfijUWLouhy6UmyNquKDPhQjKsaKH0WnY6hl/07lasj8gPaH2UD8xWkePn6SC+jW2i9c2DZVDnL+Dokw==} + /@typescript-eslint/type-utils/5.38.1_ypn2ylkkyfa5i233caldtndbqa: + resolution: {integrity: sha512-UU3j43TM66gYtzo15ivK2ZFoDFKKP0k03MItzLdq0zV92CeGCXRfXlfQX5ILdd4/DSpHkSjIgLLLh1NtkOJOAw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -437,23 +436,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.36.2_typescript@4.8.3 - '@typescript-eslint/utils': 5.36.2_itqs5654cmlnjraw6gjzqacppi + '@typescript-eslint/typescript-estree': 5.38.1_typescript@4.8.4 + '@typescript-eslint/utils': 5.38.1_ypn2ylkkyfa5i233caldtndbqa debug: 4.3.4 - eslint: 8.23.0 - tsutils: 3.21.0_typescript@4.8.3 - typescript: 4.8.3 + eslint: 8.24.0 + tsutils: 3.21.0_typescript@4.8.4 + typescript: 4.8.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.36.2: - resolution: {integrity: sha512-9OJSvvwuF1L5eS2EQgFUbECb99F0mwq501w0H0EkYULkhFa19Qq7WFbycdw1PexAc929asupbZcgjVIe6OK/XQ==} + /@typescript-eslint/types/5.38.1: + resolution: {integrity: sha512-QTW1iHq1Tffp9lNfbfPm4WJabbvpyaehQ0SrvVK2yfV79SytD9XDVxqiPvdrv2LK7DGSFo91TB2FgWanbJAZXg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.36.2_typescript@4.8.3: - resolution: {integrity: sha512-8fyH+RfbKc0mTspfuEjlfqA4YywcwQK2Amcf6TDOwaRLg7Vwdu4bZzyvBZp4bjt1RRjQ5MDnOZahxMrt2l5v9w==} + /@typescript-eslint/typescript-estree/5.38.1_typescript@4.8.4: + resolution: {integrity: sha512-99b5e/Enoe8fKMLdSuwrfH/C0EIbpUWmeEKHmQlGZb8msY33qn1KlkFww0z26o5Omx7EVjzVDCWEfrfCDHfE7g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -461,41 +460,41 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/visitor-keys': 5.36.2 + '@typescript-eslint/types': 5.38.1 + '@typescript-eslint/visitor-keys': 5.38.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.8.3 - typescript: 4.8.3 + tsutils: 3.21.0_typescript@4.8.4 + typescript: 4.8.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.36.2_itqs5654cmlnjraw6gjzqacppi: - resolution: {integrity: sha512-uNcopWonEITX96v9pefk9DC1bWMdkweeSsewJ6GeC7L6j2t0SJywisgkr9wUTtXk90fi2Eljj90HSHm3OGdGRg==} + /@typescript-eslint/utils/5.38.1_ypn2ylkkyfa5i233caldtndbqa: + resolution: {integrity: sha512-oIuUiVxPBsndrN81oP8tXnFa/+EcZ03qLqPDfSZ5xIJVm7A9V0rlkQwwBOAGtrdN70ZKDlKv+l1BeT4eSFxwXA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 - '@typescript-eslint/scope-manager': 5.36.2 - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/typescript-estree': 5.36.2_typescript@4.8.3 - eslint: 8.23.0 + '@typescript-eslint/scope-manager': 5.38.1 + '@typescript-eslint/types': 5.38.1 + '@typescript-eslint/typescript-estree': 5.38.1_typescript@4.8.4 + eslint: 8.24.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.23.0 + eslint-utils: 3.0.0_eslint@8.24.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys/5.36.2: - resolution: {integrity: sha512-BtRvSR6dEdrNt7Net2/XDjbYKU5Ml6GqJgVfXT0CxTCJlnIqK7rAGreuWKMT2t8cFUT2Msv5oxw0GMRD7T5J7A==} + /@typescript-eslint/visitor-keys/5.38.1: + resolution: {integrity: sha512-bSHr1rRxXt54+j2n4k54p4fj8AHJ49VDWtjpImOpzQj4qjAiOpPni+V1Tyajh19Api1i844F757cur8wH3YvOA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.36.2 + '@typescript-eslint/types': 5.38.1 eslint-visitor-keys: 3.3.0 dev: true @@ -638,14 +637,14 @@ packages: engines: {node: '>=6'} dev: true - /carbon-components-svelte/0.70.6: - resolution: {integrity: sha512-Nnm7+hELWLP7NnyaN3J4aioxcKlibsYwUeC5+UBWYAV2MtCv4+BwqwGVS6Yrx85NRid+jd83DCm9PSfimoj40Q==} + /carbon-components-svelte/0.70.9: + resolution: {integrity: sha512-eygo57EHPAxyPXNRdXGHMZx5e+qwEc1ltGCi2nVF1093U+9uNjYpnPojxr/l5kKMfZBdxNYJHIg7+Mgy5U/kgw==} dependencies: flatpickr: 4.6.9 dev: true - /carbon-icons-svelte/11.2.0: - resolution: {integrity: sha512-nbqCEKoZA5EzT2Lr8vNYnfWcDl5GnFFLnbD861U32g9cNe7D7nmQKx4T+goFp5AoY60OyAgKUNJov8LwNEkhbg==} + /carbon-icons-svelte/11.3.0: + resolution: {integrity: sha512-45SHyp8RRwP5ZgV1YOvFIKPpdJDIrVzPL3f+YFK5V81eXr0MDH41vebKlRDAVMqAAetci8n8nRNGJ6JbBX2soQ==} dev: true /chalk/4.1.2: @@ -1211,22 +1210,22 @@ packages: engines: {node: '>=10'} dev: true - /eslint-config-prettier/8.5.0_eslint@8.23.0: + /eslint-config-prettier/8.5.0_eslint@8.24.0: resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.23.0 + eslint: 8.24.0 dev: true - /eslint-plugin-svelte3/4.0.0_jtvgu4usxe4xoavzb5jpyaoyje: + /eslint-plugin-svelte3/4.0.0_snydkosur25h6rjxszquwacaua: resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==} peerDependencies: eslint: '>=8.0.0' svelte: ^3.2.0 dependencies: - eslint: 8.23.0 + eslint: 8.24.0 svelte: 3.50.1 dev: true @@ -1246,13 +1245,13 @@ packages: estraverse: 5.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.23.0: + /eslint-utils/3.0.0_eslint@8.24.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.23.0 + eslint: 8.24.0 eslint-visitor-keys: 2.1.0 dev: true @@ -1266,13 +1265,13 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.23.0: - resolution: {integrity: sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==} + /eslint/8.24.0: + resolution: {integrity: sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.3.1 - '@humanwhocodes/config-array': 0.10.4 + '@eslint/eslintrc': 1.3.2 + '@humanwhocodes/config-array': 0.10.5 '@humanwhocodes/gitignore-to-minimatch': 1.0.2 '@humanwhocodes/module-importer': 1.0.1 ajv: 6.12.6 @@ -1282,7 +1281,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.23.0 + eslint-utils: 3.0.0_eslint@8.24.0 eslint-visitor-keys: 3.3.0 espree: 9.4.0 esquery: 1.4.0 @@ -1290,7 +1289,6 @@ packages: fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 find-up: 5.0.0 - functional-red-black-tree: 1.0.1 glob-parent: 6.0.2 globals: 13.17.0 globby: 11.1.0 @@ -1299,6 +1297,7 @@ packages: import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 + js-sdsl: 4.1.4 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -1476,10 +1475,6 @@ packages: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} dev: true - /functional-red-black-tree/1.0.1: - resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} - dev: true - /gauge/3.0.2: resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} engines: {node: '>=10'} @@ -1653,6 +1648,10 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true + /js-sdsl/4.1.4: + resolution: {integrity: sha512-Y2/yD55y5jteOAmY50JbUZYwk3CP3wnLPEZnlR1w9oKhITrBEtAxwuWKebFf8hMrPMgbYwFoWK/lH2sBkErELw==} + dev: true + /js-yaml/4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -1943,8 +1942,8 @@ packages: engines: {node: '>=8.6'} dev: true - /playwright-core/1.25.2: - resolution: {integrity: sha512-0yTbUE9lIddkEpLHL3u8PoCL+pWiZtj5A/j3U7YoNjcmKKDGBnCrgHJMzwd2J5vy6l28q4ki3JIuz7McLHhl1A==} + /playwright-core/1.26.1: + resolution: {integrity: sha512-hzFchhhxnEiPc4qVPs9q2ZR+5eKNifY2hQDHtg1HnTTUuphYCBP8ZRb2si+B1TR7BHirgXaPi48LIye5SgrLAA==} engines: {node: '>=14'} hasBin: true dev: true @@ -1963,8 +1962,8 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-svelte/2.7.0_nk6d2fkgcllkkdynqbuearcure: - resolution: {integrity: sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==} + /prettier-plugin-svelte/2.7.1_nk6d2fkgcllkkdynqbuearcure: + resolution: {integrity: sha512-H33qjhCBZyd9Zr1A5hUAYDh7j0Mf97uvy7XcA7CP4nNSYrNcPvBUf7wI8K9NptWTIs0S41QtgTWmJIUiGlEBtw==} peerDependencies: prettier: ^1.16.4 || ^2.0.0 svelte: ^3.2.0 @@ -2092,8 +2091,8 @@ packages: rimraf: 2.7.1 dev: true - /sass/1.54.9: - resolution: {integrity: sha512-xb1hjASzEH+0L0WI9oFjqhRi51t/gagWnxLiwUNMltA0Ab6jIDkAacgKiGYKM9Jhy109osM7woEEai6SXeJo5Q==} + /sass/1.55.0: + resolution: {integrity: sha512-Pk+PMy7OGLs9WaxZGJMn7S96dvlyVBwwtToX895WmCpAOr5YiJYEUJfiJidMuKb613z2xNWcXCHEuOvjZbqC6A==} engines: {node: '>=12.0.0'} hasBin: true dependencies: @@ -2218,8 +2217,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /svelte-check/2.9.0_sass@1.54.9+svelte@3.50.1: - resolution: {integrity: sha512-9AVrtP7WbfDgCdqTZNPdj5CCCy1OrYMxFVWAWzNw7fl93c9klFJFtqzVXa6fovfQ050CcpUyJE2dPFL9TFAREw==} + /svelte-check/2.9.1_sass@1.55.0+svelte@3.50.1: + resolution: {integrity: sha512-+BFPsj6irZ+t2pVSVo//2Ic1mI3A52xCwbkSTVhTqYZqgawcyZd9pYZoEac3fIWbEeTyCb5X82ORKI/gjn+P7A==} hasBin: true peerDependencies: svelte: ^3.24.0 @@ -2231,8 +2230,8 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 3.50.1 - svelte-preprocess: 4.10.7_dmgt4vqjdljwxc7vlji2ruxhdy - typescript: 4.8.3 + svelte-preprocess: 4.10.7_hfbjjxm4ggy2hdppiwxlv6aafa + typescript: 4.8.4 transitivePeerDependencies: - '@babel/core' - coffeescript @@ -2255,7 +2254,7 @@ packages: svelte: 3.50.1 dev: true - /svelte-preprocess/4.10.7_dmgt4vqjdljwxc7vlji2ruxhdy: + /svelte-preprocess/4.10.7_hfbjjxm4ggy2hdppiwxlv6aafa: resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} engines: {node: '>= 9.11.2'} requiresBuild: true @@ -2300,11 +2299,11 @@ packages: '@types/sass': 1.43.1 detect-indent: 6.1.0 magic-string: 0.25.9 - sass: 1.54.9 + sass: 1.55.0 sorcery: 0.10.0 strip-indent: 3.0.0 svelte: 3.50.1 - typescript: 4.8.3 + typescript: 4.8.4 dev: true /svelte/3.50.1: @@ -2359,14 +2358,14 @@ packages: resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} dev: true - /tsutils/3.21.0_typescript@4.8.3: + /tsutils/3.21.0_typescript@4.8.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.8.3 + typescript: 4.8.4 dev: true /type-check/0.4.0: @@ -2381,8 +2380,8 @@ packages: engines: {node: '>=10'} dev: true - /typescript/4.8.3: - resolution: {integrity: sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==} + /typescript/4.8.4: + resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} engines: {node: '>=4.2.0'} hasBin: true dev: true @@ -2402,8 +2401,8 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true - /vite/3.1.0_sass@1.54.9: - resolution: {integrity: sha512-YBg3dUicDpDWFCGttmvMbVyS9ydjntwEjwXRj2KBFwSB8SxmGcudo1yb8FW5+M/G86aS8x828ujnzUVdsLjs9g==} + /vite/3.1.4_sass@1.55.0: + resolution: {integrity: sha512-JoQI08aBjY9lycL7jcEq4p9o1xUjq5aRvdH4KWaXtkSx7e7RpAh9D3IjzDWRD4Fg44LS3oDAIOG/Kq1L+82psA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -2425,7 +2424,7 @@ packages: postcss: 8.4.16 resolve: 1.22.1 rollup: 2.78.1 - sass: 1.54.9 + sass: 1.55.0 optionalDependencies: fsevents: 2.3.2 dev: true @@ -2486,6 +2485,6 @@ packages: engines: {node: '>=10'} dev: true - /zod/3.19.0: - resolution: {integrity: sha512-Yw0qvUsCNGBe5YacikdMt5gVYeUuaEFVDIHKMfElrGSaBhwR3CQK6vOzgfAJOjTdGIhEeoaj8GtT+NDZrepZbw==} + /zod/3.19.1: + resolution: {integrity: sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==} dev: false diff --git a/svelte.config.js b/svelte.config.js index d3b4cd7..63bee1a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -9,7 +9,6 @@ const config = { kit: { adapter: adapter(), alias: { - $components: 'src/components', $root: './src' }, }, diff --git a/tsconfig.json b/tsconfig.json index 5c56cee..6ae0c8c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,17 @@ { - "extends": "./.svelte-kit/tsconfig.json", - "compilerOptions": { - "allowJs": true, - "checkJs": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "sourceMap": true, - "strict": true - } + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true + } + // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias + // + // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes + // from the referenced tsconfig.json - TypeScript does not merge them in } diff --git a/vite.config.js b/vite.config.js deleted file mode 100644 index 096c206..0000000 --- a/vite.config.js +++ /dev/null @@ -1,8 +0,0 @@ -import { sveltekit } from '@sveltejs/kit/vite'; - -/** @type {import('vite').UserConfig} */ -const config = { - plugins: [sveltekit()] -}; - -export default config; diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..1695034 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,8 @@ +import { sveltekit } from '@sveltejs/kit/vite'; +import type { UserConfig } from 'vite'; + +const config: UserConfig = { + plugins: [sveltekit()] +}; + +export default config;