Compare commits
7 Commits
archive/f0
...
bcb83ca6a7
| Author | SHA1 | Date | |
|---|---|---|---|
| bcb83ca6a7 | |||
| 89ca2bfd7c | |||
| fb72296e57 | |||
| 9524441fc1 | |||
| 97dc5aa6c4 | |||
| 8ef0845909 | |||
| acef68dc26 |
@@ -1,6 +0,0 @@
|
|||||||
import { expect, test } from '@playwright/test';
|
|
||||||
|
|
||||||
test('home page has expected h1', async ({ page }) => {
|
|
||||||
await page.goto('/');
|
|
||||||
await expect(page.locator('h1')).toBeVisible();
|
|
||||||
});
|
|
||||||
767
package-lock.json
generated
767
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
42
package.json
42
package.json
@@ -13,31 +13,30 @@
|
|||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"lint": "prettier --check . && eslint .",
|
"lint": "prettier --check . && eslint .",
|
||||||
"test:unit": "vitest",
|
"test:unit": "vitest",
|
||||||
"test": "npm run test:unit -- --run && npm run test:e2e",
|
"test": "npm run test:unit -- --run && npm run test:e2e"
|
||||||
"test:e2e": "playwright test"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^1.2.5",
|
"@eslint/compat": "^1.2.9",
|
||||||
"@eslint/js": "^9.18.0",
|
"@eslint/js": "^9.18.0",
|
||||||
"@playwright/test": "^1.49.1",
|
|
||||||
"@sveltejs/adapter-auto": "^4.0.0",
|
"@sveltejs/adapter-auto": "^4.0.0",
|
||||||
"@sveltejs/kit": "^2.16.0",
|
"@sveltejs/kit": "^2.21.3",
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
"@sveltejs/vite-plugin-svelte": "^5.1.0",
|
||||||
"@testing-library/jest-dom": "^6.6.3",
|
"@testing-library/jest-dom": "^6.6.3",
|
||||||
"@testing-library/svelte": "^5.2.4",
|
"@testing-library/svelte": "^5.2.8",
|
||||||
"eslint": "^9.18.0",
|
"@tsconfig/svelte": "^5.0.4",
|
||||||
"eslint-config-prettier": "^10.0.1",
|
"eslint": "^9.28.0",
|
||||||
"eslint-plugin-svelte": "^3.0.0",
|
"eslint-config-prettier": "^10.1.5",
|
||||||
"globals": "^16.0.0",
|
"eslint-plugin-svelte": "^3.9.2",
|
||||||
"jsdom": "^26.0.0",
|
"globals": "^16.2.0",
|
||||||
"prettier": "^3.4.2",
|
"jsdom": "^26.1.0",
|
||||||
"prettier-plugin-svelte": "^3.3.3",
|
"prettier": "^3.5.3",
|
||||||
"svelte": "^5.0.0",
|
"prettier-plugin-svelte": "^3.4.0",
|
||||||
"svelte-check": "^4.0.0",
|
"svelte": "^5.33.18",
|
||||||
"typescript": "^5.0.0",
|
"svelte-check": "^4.2.1",
|
||||||
"typescript-eslint": "^8.20.0",
|
"typescript": "^5.8.3",
|
||||||
"vite": "^6.2.5",
|
"typescript-eslint": "^8.34.0",
|
||||||
"vitest": "^3.0.0"
|
"vite": "^6.3.5",
|
||||||
|
"vitest": "^3.2.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@google/model-viewer": "^4.1.0",
|
"@google/model-viewer": "^4.1.0",
|
||||||
@@ -46,8 +45,7 @@
|
|||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
"minio": "^8.0.5",
|
"minio": "^8.0.5",
|
||||||
"postcss": "^8.5.3",
|
"postcss": "^8.5.4",
|
||||||
"svelte-cubed": "^0.2.1",
|
|
||||||
"tailwindcss": "^3.4.17"
|
"tailwindcss": "^3.4.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
|
||||||
const config = {
|
|
||||||
webServer: {
|
|
||||||
command: 'npm run build && npm run preview',
|
|
||||||
port: 4173
|
|
||||||
},
|
|
||||||
testDir: 'tests',
|
|
||||||
testMatch: /(.+\.)?(test|spec)\.[jt]s/
|
|
||||||
};
|
|
||||||
|
|
||||||
export default config;
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
import { defineConfig } from '@playwright/test';
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
webServer: {
|
|
||||||
command: 'npm run build && npm run preview',
|
|
||||||
port: 4173
|
|
||||||
},
|
|
||||||
testDir: 'e2e'
|
|
||||||
});
|
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
export let type = 'info';
|
export let type = 'info';
|
||||||
let classNames = '';
|
let classNames = '';
|
||||||
export { classNames as class };
|
export { classNames as class };
|
||||||
|
|||||||
@@ -173,7 +173,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
export let href = null;
|
export let href = null;
|
||||||
export let type = 'button';
|
export let type = 'button';
|
||||||
export let size = 'md';
|
export let size = 'md';
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
import { page } from '$app/stores';
|
import { page } from '$app/stores';
|
||||||
import Trash from '$lib/icons/Trash.svelte';
|
import Trash from '$lib/icons/Trash.svelte';
|
||||||
import Panel from '$lib/components/ui/Panel.svelte';
|
import Panel from '$lib/components/ui/Panel.svelte';
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
export let size = 'xl'; // https://tailwindcss.com/docs/max-width#class-reference
|
export let size = 'xl'; // https://tailwindcss.com/docs/max-width#class-reference
|
||||||
export let open = false;
|
export let open = false;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
export let scroll = true;
|
export let scroll = true;
|
||||||
export let padding = true;
|
export let padding = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
export let title = 'Erfolgreich';
|
export let title = 'Erfolgreich';
|
||||||
export let show = false;
|
export let show = false;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
export let padding = 'p-6';
|
export let padding = 'p-6';
|
||||||
export let shadow = true;
|
export let shadow = true;
|
||||||
let classNames = '';
|
let classNames = '';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
import { clickOutside } from '$lib/helpers/clickOutside.js';
|
import { clickOutside } from '$lib/helpers/clickOutside.js';
|
||||||
import Check from '$lib/icons/Check.svelte';
|
import Check from '$lib/icons/Check.svelte';
|
||||||
import Selector from '$lib/icons/Selector.svelte';
|
import Selector from '$lib/icons/Selector.svelte';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import Chevron from '$lib/icons/Chevron-right.svelte';
|
import Chevron from '$lib/icons/Chevron-right.svelte';
|
||||||
import Login from '$lib/icons/Login.svelte';
|
import Login from '$lib/icons/Login.svelte';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<style>
|
<style>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script lang="ts">
|
||||||
import Panel from '$lib/components/ui/Panel.svelte';
|
import Panel from '$lib/components/ui/Panel.svelte';
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import Alert from '$lib/components/ui/Alert.svelte';
|
import Alert from '$lib/components/ui/Alert.svelte';
|
||||||
import Button from '$lib/components/ui/Button.svelte';
|
import Button from '$lib/components/ui/Button.svelte';
|
||||||
import Modal from '$lib/components/ui/Modal/Modal.svelte';
|
import Modal from '$lib/components/ui/Modal/Modal.svelte';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import { deserialize, enhance } from '$app/forms';
|
import { deserialize, enhance } from '$app/forms';
|
||||||
import Alert from '$lib/components/ui/Alert.svelte';
|
import Alert from '$lib/components/ui/Alert.svelte';
|
||||||
import Button from '$lib/components/ui/Button.svelte';
|
import Button from '$lib/components/ui/Button.svelte';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import Alert from '$lib/components/ui/Alert.svelte';
|
import Alert from '$lib/components/ui/Alert.svelte';
|
||||||
import Button from '$lib/components/ui/Button.svelte';
|
import Button from '$lib/components/ui/Button.svelte';
|
||||||
import Modal from '$lib/components/ui/Modal/Modal.svelte';
|
import Modal from '$lib/components/ui/Modal/Modal.svelte';
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
|
import { preloadCode } from '$app/navigation';
|
||||||
import Panel from '$lib/components/ui/Panel.svelte';
|
import Panel from '$lib/components/ui/Panel.svelte';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import Button from '$lib/components/ui/Button.svelte';
|
import Button from '$lib/components/ui/Button.svelte';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import '../app.css';
|
import '../app.css';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import Panel from '$lib/components/ui/Panel.svelte';
|
import Panel from '$lib/components/ui/Panel.svelte';
|
||||||
import Button from '$lib/components/ui/Button.svelte';
|
import Button from '$lib/components/ui/Button.svelte';
|
||||||
import Alert from '$lib/components/ui/Alert.svelte';
|
import Alert from '$lib/components/ui/Alert.svelte';
|
||||||
|
|||||||
@@ -10,7 +10,9 @@
|
|||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "bundler"
|
"moduleResolution": "bundler"
|
||||||
}
|
},
|
||||||
|
"include": ["src/**/*", "src/node_modules"],
|
||||||
|
"exclude": ["node_modules/*", "__sapper__/*", "public/*"]
|
||||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user