@ludoloops/svelteforge 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -277,6 +277,12 @@ function applyLandingMode(sv, landingFiles, fullstackFiles, projectName) {
277
277
  sv.file("src/lib/components/layout/index.ts", () => {
278
278
  return generateBarrel(layoutFiles, "/lib/components/layout/");
279
279
  });
280
+ sv.file("src/lib/components/index.ts", () => {
281
+ return `// Layout components\nexport * from './layout';\n\n// UI components\nexport * from './ui';\n`;
282
+ });
283
+ if (uiRichTextFiles.size > 0) sv.file("src/lib/components/ui/rich-text/index.ts", () => {
284
+ return generateBarrel(uiRichTextFiles, "/lib/components/ui/rich-text/");
285
+ });
280
286
  for (const [path, content] of Object.entries(landingFiles)) {
281
287
  const finalContent = content.replace(/__PROJECT_NAME__/g, projectName);
282
288
  sv.file(`src${path}`, () => finalContent);
@@ -334,10 +340,12 @@ var src_default = defineAddon({
334
340
  sv.dependency("zod", "latest");
335
341
  sv.devDependency("@skeletonlabs/skeleton", "latest");
336
342
  sv.devDependency("@skeletonlabs/skeleton-svelte", "latest");
343
+ sv.devDependency("@tailwindcss/vite", "^4.0.0");
344
+ sv.devDependency("tailwindcss", "^4.0.0");
337
345
  if (template === "landing") applyLandingMode(sv, landingFiles, fullstackFiles, directory.src.split("/").slice(-2, -1)[0] || "My App");
338
346
  else applyFullstackMode(sv, fullstackFiles);
339
347
  },
340
- nextSteps: ({ options }) => [`SvelteForge ${options.template} template applied!`, "Run `bun dev` to start developing."]
348
+ nextSteps: ({ options }) => [`SvelteForge ${options.template} template applied!`, "Run `npm run dev` (or `bun dev`) to start developing."]
341
349
  });
342
350
  //#endregion
343
351
  export { src_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludoloops/svelteforge",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
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)",