create-lacspace-app 2.4.0 → 2.6.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/README.md +12 -0
- package/dist/index.js +825 -49
- package/dist/lib.cjs +825 -49
- package/dist/lib.d.cts +34 -1
- package/dist/lib.d.ts +34 -1
- package/dist/lib.js +825 -49
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,18 @@ npx create-lacspace-app my-app --template saas --fullstack
|
|
|
20
20
|
|
|
21
21
|
You choose the *kind* of site you're building. It writes a **real Next.js 15 + React 19 + Tailwind v4 app** — not a hello-world, but a genuinely **polished, modern site**: a fluid `clamp()` type scale, tight display headings, a refined light **and** dark palette, glass chrome, soft layered shadows, a smooth logo marquee, animated counters, scroll reveals and a shimmering primary CTA — every page filled in, an SEO stack wired end-to-end, and a **26-component UI kit** you can drop in anywhere.
|
|
22
22
|
|
|
23
|
+
> **New in v2.6 — full-stack add-ons.** Add-ons can now wire the **backend** too. Requesting one automatically upgrades your project to full-stack (`--fullstack`):
|
|
24
|
+
> - **`auth-pages`** — account management on top of the built-in login/register: edit profile, change password, and **TOTP two-factor auth (2FA)** with backup codes (`@lacspace/otp`), plus a settings page.
|
|
25
|
+
> - **`analytics`** — **privacy-first, cookieless** web analytics (`@lacspace/analytics-lite`): a tracker, a MongoDB collector, and a dashboard. No cookies, no personal data.
|
|
26
|
+
>
|
|
27
|
+
> Under the hood the backend gained a **route manifest** (`routes/index.ts`) that add-ons register into — so every add-on's API routes, models, deps and env compose cleanly. `payments` and `email` are next.
|
|
28
|
+
|
|
29
|
+
> **New in v2.5 — more prebuilt add-ons.** The `--with` catalog grows beyond AI:
|
|
30
|
+
> - **`content`** — a Markdown content section (`/updates`) for *any* template, with an auto-generated **RSS feed** and **`llms.txt`**. Drop `.md` files in, get pages.
|
|
31
|
+
> - **`search`** — **instant, keyless full-text search** (BM25) over your Markdown — a search box, a `/search` page and an API route. No API key, no service, no Ollama required.
|
|
32
|
+
>
|
|
33
|
+
> More add-ons (auth, payments, email, analytics…) are on the way — same rules: additive, keyless, free-first.
|
|
34
|
+
|
|
23
35
|
> **New in v2.4 — static *or* full-stack.** Now the interactive prompt (after you pick a template) asks what *kind* of app you want:
|
|
24
36
|
> - **Static / frontend only** *(default)* — today's single Next.js app, unchanged.
|
|
25
37
|
> - **Dynamic / full-stack** (`--fullstack`) — an npm-workspaces **monorepo**: a `frontend/` Next.js app **+** a `backend/` **Node · Express · MongoDB · Redis · TypeScript** API **+** a shared `types/` package the two both import (so the API contract can't drift), plus a root `docker-compose.yml` (Mongo + Redis) and **one** `npm install` / `npm run dev` for the whole thing.
|