Migrate to svelte 4 + sveltestrap
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
nemunaire 2024-01-05 10:34:53 +01:00
parent 790b4d4b7d
commit 888780482a
7 changed files with 768 additions and 222 deletions

971
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,15 +9,16 @@
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ." "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-static": "^2.0.0", "@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^1.0.0", "@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"bootstrap-icons": "^1.8.1", "bootstrap-icons": "^1.8.1",
"eslint": "^8.0.0", "eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte3": "^4.0.0", "eslint-plugin-svelte": "^2.35.0",
"prettier": "^3.0.0", "prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0", "prettier-plugin-svelte": "^3.0.0",
"svelte": "^3.54.0", "svelte": "^4.0.0",
"vite": "^5.0.0" "vite": "^5.0.0"
}, },
"type": "module", "type": "module",

View File

@ -6,7 +6,7 @@
NavbarBrand, NavbarBrand,
NavItem, NavItem,
NavLink, NavLink,
} from 'sveltestrap'; } from '@sveltestrap/sveltestrap';
export { className as class }; export { className as class };
let className = ''; let className = '';

View File

@ -5,7 +5,7 @@
Card, Card,
CardHeader, CardHeader,
CardTitle, CardTitle,
} from 'sveltestrap'; } from '@sveltestrap/sveltestrap';
export let video = {}; export let video = {};
</script> </script>

View File

@ -6,7 +6,7 @@
import { import {
Container, Container,
Styles, Styles,
} from 'sveltestrap'; } from '@sveltestrap/sveltestrap';
import Header from '$lib/components/Header.svelte'; import Header from '$lib/components/Header.svelte';

View File

@ -3,7 +3,7 @@
Col, Col,
Container, Container,
Row, Row,
} from 'sveltestrap'; } from '@sveltestrap/sveltestrap';
import { videos } from '$lib/stores/videos.js'; import { videos } from '$lib/stores/videos.js';
import VideoThumb from '$lib/components/VideoThumb.svelte'; import VideoThumb from '$lib/components/VideoThumb.svelte';

View File

@ -3,7 +3,7 @@
Container, Container,
Col, Col,
Row, Row,
} from 'sveltestrap'; } from '@sveltestrap/sveltestrap';
import { videos, idx_videos } from '$lib/stores/videos.js'; import { videos, idx_videos } from '$lib/stores/videos.js';
import Commento from '$lib/components/Commento.svelte'; import Commento from '$lib/components/Commento.svelte';