@ludoloops/svelteforge 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -205,9 +205,11 @@ function applyLandingMode(sv, landingFiles, fullstackFiles, projectName) {
|
|
|
205
205
|
if (path.startsWith("/lib/components/ui/")) {
|
|
206
206
|
if (shouldSkipUi(path.split("/").pop() || "")) continue;
|
|
207
207
|
includedFiles.set(path, content);
|
|
208
|
-
if (path.startsWith("/lib/components/ui/form/")
|
|
209
|
-
|
|
210
|
-
else if (
|
|
208
|
+
if (path.startsWith("/lib/components/ui/form/")) {
|
|
209
|
+
if (!path.endsWith("index.ts")) uiFormFiles.set(path, content);
|
|
210
|
+
} else if (path.startsWith("/lib/components/ui/rich-text/")) {
|
|
211
|
+
if (!path.endsWith("index.ts")) uiRichTextFiles.set(path, content);
|
|
212
|
+
} else if (path.startsWith("/lib/components/ui/utils/")) {} else if (!path.endsWith("index.ts") && !path.endsWith(".test.ts")) uiFiles.set(path, content);
|
|
211
213
|
continue;
|
|
212
214
|
}
|
|
213
215
|
if (path.startsWith("/lib/components/layout/")) {
|
|
@@ -347,6 +349,8 @@ var src_default = defineAddon({
|
|
|
347
349
|
sv.dependency("zod", "latest");
|
|
348
350
|
sv.devDependency("@skeletonlabs/skeleton", "latest");
|
|
349
351
|
sv.devDependency("@skeletonlabs/skeleton-svelte", "latest");
|
|
352
|
+
sv.devDependency("@tailwindcss/forms", "^0.5.0");
|
|
353
|
+
sv.devDependency("@tailwindcss/typography", "^0.5.0");
|
|
350
354
|
sv.devDependency("@tailwindcss/vite", "^4.0.0");
|
|
351
355
|
sv.devDependency("tailwindcss", "^4.0.0");
|
|
352
356
|
if (template === "landing") applyLandingMode(sv, landingFiles, fullstackFiles, directory.src.split("/").slice(-2, -1)[0] || "My App");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ludoloops/svelteforge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "sv community addon — 34 theme-aware UI components, admin dashboard, and 3-layer theme system for SvelteKit",
|
|
6
6
|
"author": "Ludo (https://lelab.dev)",
|