diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 50b97a5..55ecf16 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -5,11 +5,11 @@ module.exports = { parserOptions: { sourceType: 'module', ecmaVersion: 2020, - extraFileExtensions: ['.svelte'] + extraFileExtensions: ['.svelte'], }, env: { browser: true, es2017: true, - node: true - } + node: true, + }, }; diff --git a/.flox/env.json b/.flox/env.json index 691244c..5b1886f 100644 --- a/.flox/env.json +++ b/.flox/env.json @@ -1,4 +1,4 @@ { - "name": "pyros.sh", - "version": 1 -} \ No newline at end of file + "name": "pyros.sh", + "version": 1 +} diff --git a/.prettierrc b/.prettierrc index 9573023..106dacf 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,8 +1,17 @@ { - "useTabs": true, - "singleQuote": true, - "trailingComma": "none", - "printWidth": 100, - "plugins": ["prettier-plugin-svelte"], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] -} + "useTabs": true, + "singleQuote": true, + "trailingComma": "all", + "printWidth": 100, + "plugins": [ + "prettier-plugin-svelte" + ], + "overrides": [ + { + "files": "*.svelte", + "options": { + "parser": "svelte" + } + } + ] +} \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 05d1caa..91778ad 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,6 +1,3 @@ { - "recommendations": [ - "svelte.svelte-vscode", - "antfu.unocss" - ] + "recommendations": ["svelte.svelte-vscode", "antfu.unocss"] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 3e6d379..293bdfc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "[html]": { - "editor.defaultFormatter": "vscode.html-language-features" - }, -} \ No newline at end of file + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" + } +} diff --git a/package.json b/package.json index 116965a..e6d2014 100644 --- a/package.json +++ b/package.json @@ -1,45 +1,45 @@ { - "name": "website", - "version": "0.0.1", - "private": true, - "type": "module", - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", - "test": "npm run test:integration && npm run test:unit", - "lint": "prettier --check . && eslint .", - "format": "prettier --write .", - "test:integration": "playwright test", - "test:unit": "vitest" - }, - "devDependencies": { - "@iconify/svelte": "^4.0.2", - "@playwright/test": "^1.28.1", - "@poppanator/sveltekit-svg": "^4.2.1", - "@sveltejs/adapter-static": "^3.0.1", - "@sveltejs/enhanced-img": "^0.2.0", - "@sveltejs/kit": "2.5.1", - "@tailwindcss/typography": "^0.5.13", - "@types/eslint": "8.56.0", - "autoprefixer": "^10.4.19", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.36.0-next.4", - "mdsvex": "^0.11.0", - "postcss": "^8.4.38", - "prettier": "^3.1.1", - "prettier-plugin-svelte": "^3.1.2", - "remark-github": "^12.0.0", - "shiki": "^1.1.7", - "super-sitemap": "^0.14.14", - "svelte": "4.2.11", - "svelte-check": "^3.6.0", - "tailwindcss": "^3.4.3", - "typescript": "^5.0.0", - "vite": "^5.0.3", - "vitest": "^1.2.0" - } + "name": "website", + "version": "0.0.1", + "private": true, + "type": "module", + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", + "test": "npm run test:integration && npm run test:unit", + "lint": "prettier --check . && eslint .", + "format": "prettier --write .", + "test:integration": "playwright test", + "test:unit": "vitest" + }, + "devDependencies": { + "@iconify/svelte": "^4.0.2", + "@playwright/test": "^1.28.1", + "@poppanator/sveltekit-svg": "^4.2.1", + "@sveltejs/adapter-static": "^3.0.1", + "@sveltejs/enhanced-img": "^0.2.0", + "@sveltejs/kit": "2.5.1", + "@tailwindcss/typography": "^0.5.13", + "@types/eslint": "8.56.0", + "autoprefixer": "^10.4.19", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-svelte": "^2.36.0-next.4", + "mdsvex": "^0.11.0", + "postcss": "^8.4.38", + "prettier": "^3.1.1", + "prettier-plugin-svelte": "^3.1.2", + "remark-github": "^12.0.0", + "shiki": "^1.1.7", + "super-sitemap": "^0.14.14", + "svelte": "4.2.11", + "svelte-check": "^3.6.0", + "tailwindcss": "^3.4.3", + "typescript": "^5.0.0", + "vite": "^5.0.3", + "vitest": "^1.2.0" + } } diff --git a/playwright.config.js b/playwright.config.js index a43c8c0..4e1cfe9 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -2,10 +2,10 @@ const config = { webServer: { command: 'npm run build && npm run preview', - port: 4173 + port: 4173, }, testDir: 'tests', - testMatch: /(.+\.)?(test|spec)\.[jt]s/ + testMatch: /(.+\.)?(test|spec)\.[jt]s/, }; export default config; diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..7b75c83 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,6 @@ export default { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -} + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/src/app.css b/src/app.css index bd6213e..b5c61c9 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,3 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; diff --git a/src/app.d.ts b/src/app.d.ts index 40b6c6b..d5560c0 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -3,13 +3,13 @@ import '@poppanator/sveltekit-svg/dist/svg'; declare global { - namespace App { - // interface Error {} - // interface Locals {} - // interface PageData {} - // interface PageState {} - // interface Platform {} - } + namespace App { + // interface Error {} + // interface Locals {} + // interface PageData {} + // interface PageState {} + // interface Platform {} + } } -export { }; +export {}; diff --git a/src/app.html b/src/app.html index ddb8970..f2770ac 100644 --- a/src/app.html +++ b/src/app.html @@ -1,23 +1,23 @@ +
+ + - + + + + %sveltekit.head% + - gtag('config', 'G-L1TPX7RGP2'); - - - - - %sveltekit.head% - - - -