Skip to content

Commit b75f335

Browse files
committed
move web to use tw v4
1 parent c169b7f commit b75f335

23 files changed

+1074
-1075
lines changed

.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 31 deletions
This file was deleted.

apps/web/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# SvelteKit Embed 🌱
22

3-
[docs](../../README.md)
3+
[docs](../../README.md)

apps/web/mdsvex.config.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

apps/web/package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,37 @@
1616
"build:packages": "pnpm -r --filter=\"../../packages/*\" run build"
1717
},
1818
"devDependencies": {
19+
"@eslint/compat": "^1.2.9",
20+
"@eslint/js": "^9.27.0",
1921
"@playwright/test": "^1.52.0",
20-
"@sveltejs/adapter-auto": "^4.0.0",
21-
"@sveltejs/kit": "^2.20.7",
22+
"@sveltejs/adapter-auto": "^6.0.1",
23+
"@sveltejs/kit": "^2.21.1",
2224
"@sveltejs/vite-plugin-svelte": "^5.0.3",
2325
"@tailwindcss/typography": "^0.5.16",
24-
"@types/eslint": "^9.6.1",
25-
"@typescript-eslint/eslint-plugin": "^8.31.0",
26-
"@typescript-eslint/parser": "^8.31.0",
27-
"autoprefixer": "^10.4.21",
28-
"daisyui": "^4.12.23",
29-
"eslint": "^9.25.1",
30-
"eslint-config-prettier": "^10.1.2",
31-
"eslint-plugin-svelte": "^2.46.1",
26+
"@tailwindcss/vite": "^4.1.7",
27+
"@testing-library/jest-dom": "^6.6.3",
28+
"@testing-library/svelte": "^5.2.8",
29+
"daisyui": "^5.0.38",
30+
"eslint": "^9.27.0",
31+
"eslint-config-prettier": "^10.1.5",
32+
"eslint-plugin-svelte": "^3.9.0",
3233
"fathom-client": "^3.7.2",
33-
"mdsvex": "^0.12.3",
34-
"postcss": "^8.5.3",
35-
"postcss-load-config": "^6.0.1",
34+
"mdsvex": "^0.12.6",
3635
"prettier": "^3.5.3",
37-
"prettier-plugin-svelte": "^3.3.3",
36+
"prettier-plugin-svelte": "^3.4.0",
3837
"prettier-plugin-tailwindcss": "^0.6.11",
3938
"rehype-autolink-headings": "^7.1.0",
39+
"rehype-external-links": "^3.0.0",
4040
"rehype-slug": "^6.0.0",
4141
"svead": "^0.0.4",
42-
"svelte": "5.33.1",
43-
"svelte-check": "^4.1.6",
42+
"svelte": "5.33.4",
43+
"svelte-check": "^4.2.1",
4444
"sveltekit-embed": "workspace:*",
45-
"tailwindcss": "^3.4.17",
46-
"tslib": "^2.8.1",
45+
"tailwindcss": "^4.1.7",
4746
"typescript": "^5.8.3",
48-
"vite": "^6.3.3",
49-
"vitest": "^3.1.2"
47+
"typescript-eslint": "^8.33.0",
48+
"vite": "^6.3.5",
49+
"vitest": "^3.1.4"
5050
},
5151
"type": "module"
52-
}
52+
}

apps/web/postcss.config.cjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/web/src/app.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@import 'tailwindcss';
2+
3+
/* Plugin configurations */
4+
@plugin "@tailwindcss/typography";
5+
@plugin "daisyui" {
6+
themes:
7+
light --default,
8+
dark --prefersdark;
9+
}

apps/web/src/app.pcss

Lines changed: 0 additions & 38 deletions
This file was deleted.

apps/web/src/lib/icons/git-hub.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script lang="ts">
2-
export let width: string = '25'
3-
export let height: string = '25'
4-
export let fill: string = 'fill-current'
2+
export let width: string = '25';
3+
export let height: string = '25';
4+
export let fill: string = 'fill-current';
55
6-
let svgClass: string = `${fill} text-primary-content transition hover:text-secondary-focus`
6+
let svgClass: string = `${fill} text-primary-content transition hover:text-secondary-focus`;
77
</script>
88

99
<svg

apps/web/src/lib/icons/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export { default as GitHub } from './git-hub.svelte'
2-
export { default as Twitter } from './twitter.svelte'
3-
export { default as YouTube } from './you-tube.svelte'
1+
export { default as GitHub } from './git-hub.svelte';
2+
export { default as Twitter } from './twitter.svelte';
3+
export { default as YouTube } from './you-tube.svelte';

0 commit comments

Comments
 (0)