create-lacspace-app 1.12.0 → 1.12.2

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 +17 -15
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -35,22 +35,23 @@ var pkgJson = (ctx) => JSON.stringify({
35
35
  next: "^15.1.0",
36
36
  react: "^19.0.0",
37
37
  "react-dom": "^19.0.0",
38
- "@lacspace/seo": "^1.6.0",
39
- "@lacspace/headers": "^1.1.1",
40
- "@lacspace/robots": "^1.2.0",
41
- "@lacspace/sitemap": "^1.1.0",
42
- "@lacspace/og": "^1.0.0",
43
- "@lacspace/ui": "^1.0.0",
44
- "@lacspace/form": "^1.0.0",
45
- "@lacspace/validate": "^1.0.0",
38
+ "@lacspace/seo": "^1.6.2",
39
+ "@lacspace/headers": "^1.1.2",
40
+ "@lacspace/robots": "^1.2.1",
41
+ "@lacspace/sitemap": "^1.1.1",
42
+ "@lacspace/og": "^1.0.1",
43
+ "@lacspace/ui": "^1.0.1",
44
+ "@lacspace/form": "^1.0.1",
45
+ "@lacspace/validate": "^1.0.1",
46
46
  // React Kit: dark/light theming (no-flash) + essential hooks + global
47
47
  // state (announcement bar, mobile nav) + data fetching (live stats).
48
- "@lacspace/theme": "^1.0.1",
49
- "@lacspace/hooks": "^1.0.0",
50
- "@lacspace/store": "^1.0.0",
51
- "@lacspace/query": "^1.0.0",
52
- // The blog & docs templates render Markdown with @lacspace/markdown.
53
- ...ctx.template.key === "blog" || ctx.template.key === "docs" ? { "@lacspace/markdown": "^1.0.0" } : {}
48
+ "@lacspace/theme": "^1.0.2",
49
+ "@lacspace/hooks": "^1.0.1",
50
+ "@lacspace/store": "^1.1.0",
51
+ "@lacspace/query": "^1.0.1",
52
+ // The blog & docs templates render Markdown with @lacspace/markdown
53
+ // (>=1.0.1 includes the URL-scheme XSS hardening keep the floor there).
54
+ ...ctx.template.key === "blog" || ctx.template.key === "docs" ? { "@lacspace/markdown": "^1.0.1" } : {}
54
55
  },
55
56
  devDependencies: {
56
57
  typescript: "^5.7.0",
@@ -78,6 +79,7 @@ var tsconfig = () => JSON.stringify({
78
79
  jsx: "preserve",
79
80
  incremental: true,
80
81
  plugins: [{ name: "next" }],
82
+ baseUrl: ".",
81
83
  paths: { "@/*": ["./*"] }
82
84
  },
83
85
  include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
@@ -515,7 +517,7 @@ export default function Home() {
515
517
  <h3 className="font-semibold">{prod.n}</h3>
516
518
  <span className="text-muted">{prod.p}</span>
517
519
  </div>
518
- <button className="mt-3 w-full rounded-lg border border-hairline py-2 text-sm font-medium hover:bg-surface">Add to cart</button>
520
+ <a href="/shop" className="mt-3 block w-full rounded-lg border border-hairline py-2 text-center text-sm font-medium hover:bg-surface">Add to cart</a>
519
521
  </div>
520
522
  ))}
521
523
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-lacspace-app",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
4
4
  "description": "Scaffold a beautiful, production-ready Next.js app from a Lacspace template — portfolio, business, e-commerce, SaaS, blog, docs, dashboard or restaurant — pre-wired with SEO, security headers, sitemap and robots. Like create-next-app, but you start gorgeous.",
5
5
  "type": "module",
6
6
  "bin": {