the migration is complete
This commit is contained in:
commit
966e8ae14c
8 changed files with 295 additions and 401 deletions
593
package-lock.json
generated
593
package-lock.json
generated
File diff suppressed because it is too large
Load diff
39
package.json
39
package.json
|
@ -7,6 +7,7 @@
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"download-yt-dlp": "wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -O yt-dlp",
|
"download-yt-dlp": "wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -O yt-dlp",
|
||||||
|
"preview": "vite preview",
|
||||||
"prepare": "svelte-kit sync || echo ''",
|
"prepare": "svelte-kit sync || echo ''",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||||
|
@ -14,33 +15,31 @@
|
||||||
"lint": "prettier --check . && eslint ."
|
"lint": "prettier --check . && eslint ."
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^1.2.7",
|
"@eslint/compat": "^1.2.5",
|
||||||
"@eslint/js": "^9.21.0",
|
"@eslint/js": "^9.18.0",
|
||||||
"@sveltejs/adapter-auto": "^4.0.0",
|
"@sveltejs/adapter-node": "^5.2.11",
|
||||||
"@sveltejs/adapter-node": "^5.2.12",
|
"@sveltejs/kit": "^2.16.0",
|
||||||
"@sveltejs/kit": "^2.17.2",
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
"@tailwindcss/vite": "^4.0.0",
|
||||||
"@tailwindcss/forms": "^0.5.10",
|
"eslint": "^9.18.0",
|
||||||
"@tailwindcss/typography": "^0.5.16",
|
|
||||||
"@types/node": "^22.13.5",
|
|
||||||
"autoprefixer": "^10.4.20",
|
|
||||||
"eslint": "^9.21.0",
|
|
||||||
"eslint-config-prettier": "^10.0.1",
|
"eslint-config-prettier": "^10.0.1",
|
||||||
"eslint-plugin-svelte": "^2.46.1",
|
"eslint-plugin-svelte": "^2.46.1",
|
||||||
"globals": "^16.0.0",
|
"globals": "^15.14.0",
|
||||||
"prettier": "^3.5.2",
|
"mdsvex": "^0.12.3",
|
||||||
|
"prettier": "^3.4.2",
|
||||||
"prettier-plugin-svelte": "^3.3.3",
|
"prettier-plugin-svelte": "^3.3.3",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||||
"svelte": "^5.20.2",
|
"svelte": "^5.0.0",
|
||||||
"svelte-check": "^4.1.4",
|
"svelte-check": "^4.0.0",
|
||||||
"tailwindcss": "^4.0.8",
|
"tailwindcss": "^4.0.0",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^5.0.0",
|
||||||
"typescript-eslint": "^8.24.1",
|
"typescript-eslint": "^8.20.0",
|
||||||
"vite": "^6.1.1"
|
"vite": "^6.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@tailwindcss/forms": "^0.5.10",
|
||||||
"@tailwindcss/postcss": "^4.0.8",
|
"@tailwindcss/postcss": "^4.0.8",
|
||||||
"@tailwindcss/vite": "^4.0.0",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
"youtube-dl-exec": "^3.0.15"
|
"youtube-dl-exec": "^3.0.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
export default {
|
export default {
|
||||||
plugins: {
|
plugins: {
|
||||||
'@tailwindcss/postcss': {},
|
'@tailwindcss/postcss': {}
|
||||||
autoprefixer: {}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
23
src/app.css
23
src/app.css
|
@ -1,3 +1,22 @@
|
||||||
@import 'tailwindcss';
|
@import 'tailwindcss';
|
||||||
@import 'tailwindcss/components';
|
|
||||||
@import 'tailwindcss/utilities';
|
@plugin '@tailwindcss/typography';
|
||||||
|
@plugin '@tailwindcss/forms';
|
||||||
|
|
||||||
|
/*
|
||||||
|
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
||||||
|
so we've added these compatibility styles to make sure everything still
|
||||||
|
looks the same as it did with Tailwind CSS v3.
|
||||||
|
|
||||||
|
If we ever want to remove these styles, we need to add an explicit border
|
||||||
|
color utility to any element that depends on these defaults.
|
||||||
|
*/
|
||||||
|
@layer base {
|
||||||
|
*,
|
||||||
|
::after,
|
||||||
|
::before,
|
||||||
|
::backdrop,
|
||||||
|
::file-selector-button {
|
||||||
|
border-color: var(--color-gray-200, currentColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
14
src/app.html
14
src/app.html
|
@ -11,23 +11,9 @@
|
||||||
font-family: 'Press Start 2P';
|
font-family: 'Press Start 2P';
|
||||||
src: url('/fonts/PressStart2P-Regular.ttf');
|
src: url('/fonts/PressStart2P-Regular.ttf');
|
||||||
}
|
}
|
||||||
* {
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: black; /* Fallback */
|
background: black; /* Fallback */
|
||||||
/* background-image:
|
|
||||||
radial-gradient(circle, #37ff1456 8%, transparent 8%),
|
|
||||||
radial-gradient(circle, #37ff1456 8%, transparent 8%); */
|
|
||||||
background-size:
|
|
||||||
60px 60px,
|
|
||||||
30px 30px; /* Larger grid sizes for more spacing */
|
|
||||||
background-position:
|
|
||||||
0 0,
|
|
||||||
15px 15px; /* Offset the smaller pattern slightly */
|
|
||||||
font-family: 'Press Start 2P', sans-serif;
|
font-family: 'Press Start 2P', sans-serif;
|
||||||
color: #37ff1456; /* Retro green text */
|
color: #37ff1456; /* Retro green text */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { mdsvex } from 'mdsvex';
|
||||||
import adapter from '@sveltejs/adapter-node';
|
import adapter from '@sveltejs/adapter-node';
|
||||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||||
|
|
||||||
|
@ -5,14 +6,13 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||||
const config = {
|
const config = {
|
||||||
// Consult https://svelte.dev/docs/kit/integrations
|
// Consult https://svelte.dev/docs/kit/integrations
|
||||||
// for more information about preprocessors
|
// for more information about preprocessors
|
||||||
preprocess: vitePreprocess(),
|
preprocess: [vitePreprocess(), mdsvex()],
|
||||||
|
|
||||||
kit: {
|
kit: {
|
||||||
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
|
||||||
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
|
||||||
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
|
||||||
adapter: adapter()
|
adapter: adapter()
|
||||||
}
|
},
|
||||||
|
|
||||||
|
extensions: ['.svelte', '.svx']
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
import forms from '@tailwindcss/forms';
|
|
||||||
import typography from '@tailwindcss/typography';
|
|
||||||
import type { Config } from 'tailwindcss';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
|
||||||
|
|
||||||
theme: {
|
|
||||||
extend: {}
|
|
||||||
},
|
|
||||||
|
|
||||||
plugins: [typography, forms]
|
|
||||||
} satisfies Config;
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import tailwindcss from '@tailwindcss/vite';
|
||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
import tailwindcss from '@tailwindcss/vite';
|
import tailwindcss from '@tailwindcss/vite';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
|
|
Loading…
Add table
Reference in a new issue