fixed svelte-check, updated dependencies, temporarily fixed a11y warnings

This commit is contained in:
peterkogo
2024-03-14 15:37:57 +01:00
parent 09118c1c8e
commit 4ee2b5f15d
5 changed files with 959 additions and 481 deletions

View File

@@ -43,33 +43,34 @@
"dependencies": {
"@svelte-put/shortcut": "^3.1.0",
"@xyflow/system": "workspace:*",
"classcat": "^5.0.4"
"classcat": "^5.0.4",
"svelte-preprocess": "^5.1.3"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.2",
"@sveltejs/package": "^2.2.7",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"autoprefixer": "^10.4.15",
"cssnano": "^6.0.1",
"dotenv": "^16.3.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-svelte": "^2.31.1",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"@sveltejs/kit": "^2.5.4",
"@sveltejs/package": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"autoprefixer": "^10.4.18",
"cssnano": "^6.1.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^15.1.0",
"postcss-nested": "^6.0.0",
"postcss-import": "^16.0.1",
"postcss-nested": "^6.0.1",
"postcss-rename": "^0.6.1",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"svelte": "^4.2.12",
"svelte-check": "^3.6.6",
"svelte-eslint-parser": "^0.32.2",
"tslib": "^2.5.3",
"typescript": "5.1.3"
"svelte-check": "^3.6.7",
"svelte-eslint-parser": "^0.33.1",
"tslib": "^2.6.2",
"typescript": "5.4.2"
},
"peerDependencies": {
"svelte": "^3.0.0 || ^4.0.0"

View File

@@ -20,6 +20,8 @@
style:transform="translate(-50%, -50%) translate({x}px,{y}px)"
style={'pointer-events: all;' + style}
role="button"
tabindex="-1"
on:keyup={() => {}}
on:click={() => {
if (id) handleEdgeSelect(id);
}}

View File

@@ -34,6 +34,9 @@
use:drag={{ disabled: false, store }}
on:contextmenu={onContextMenu}
on:click={onClick}
role="button"
tabindex="-1"
on:keyup={() => {}}
>
<Selection width="100%" height="100%" x={0} y={0} />
</div>

View File

@@ -1,7 +1,9 @@
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: preprocess(),
kit: {
adapter: adapter()
}

1390
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff