From 2eea1fb9d155e5f867d9afaa28b0cfc0e78c5c31 Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Sun, 15 Oct 2023 15:07:43 -0500 Subject: [PATCH] Skeleton version migration --- package.json | 38 +- src/app.postcss | 10 +- src/routes/+layout.svelte | 4 +- tailwind.config.cjs | 16 - tailwind.config.ts | 24 ++ yarn.lock | 872 ++++++++++++++++++++------------------ 6 files changed, 502 insertions(+), 462 deletions(-) delete mode 100644 tailwind.config.cjs create mode 100644 tailwind.config.ts diff --git a/package.json b/package.json index 4958f14..f16ccad 100644 --- a/package.json +++ b/package.json @@ -12,28 +12,30 @@ "format": "prettier --plugin-search-dir . --write ." }, "devDependencies": { - "@skeletonlabs/skeleton": "^1.10.0", + "@skeletonlabs/skeleton": "^2.3.0", + "@skeletonlabs/tw-plugin": "^0.2.2", "@sveltejs/adapter-auto": "^2.1.0", - "@sveltejs/kit": "^1.22.3", - "@tailwindcss/forms": "^0.5.4", - "@tailwindcss/typography": "^0.5.9", - "@typescript-eslint/eslint-plugin": "^6.1.0", - "@typescript-eslint/parser": "^6.1.0", - "autoprefixer": "^10.4.14", - "eslint": "^8.45.0", - "eslint-config-prettier": "^8.5.0", + "@sveltejs/kit": "^1.25.2", + "@tailwindcss/forms": "^0.5.6", + "@tailwindcss/typography": "^0.5.10", + "@types/node": "^20.8.6", + "@typescript-eslint/eslint-plugin": "^6.7.5", + "@typescript-eslint/parser": "^6.7.5", + "autoprefixer": "^10.4.16", + "eslint": "^8.51.0", + "eslint-config-prettier": "^9.0.0", "eslint-plugin-svelte3": "^4.0.0", "json-to-pretty-yaml": "^1.2.2", - "postcss": "^8.4.26", - "prettier": "^3.0.0", - "prettier-plugin-svelte": "^3.0.0", - "svelte": "^4.1.0", - "svelte-check": "^3.4.6", + "postcss": "^8.4.31", + "prettier": "^3.0.3", + "prettier-plugin-svelte": "^3.0.3", + "svelte": "^4.2.1", + "svelte-check": "^3.5.2", "tailwindcss": "^3.3.3", - "tslib": "^2.6.0", - "typescript": "^5.1.6", - "vite": "^4.4.4", - "yaml": "^2.3.1" + "tslib": "^2.6.2", + "typescript": "^5.2.2", + "vite": "^4.4.11", + "yaml": "^2.3.3" }, "type": "module" } diff --git a/src/app.postcss b/src/app.postcss index 95b488c..7000124 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -1,2 +1,10 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; +@tailwind variants; + /*place global styles here */ -html, body { @apply h-full overflow-hidden; } \ No newline at end of file +html, +body { + @apply h-full overflow-hidden; +} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 890511b..b434dc0 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,8 +1,6 @@