create-lacspace-app 1.12.0 → 1.12.1

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -78,6 +78,7 @@ var tsconfig = () => JSON.stringify({
78
78
  jsx: "preserve",
79
79
  incremental: true,
80
80
  plugins: [{ name: "next" }],
81
+ baseUrl: ".",
81
82
  paths: { "@/*": ["./*"] }
82
83
  },
83
84
  include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
@@ -515,7 +516,7 @@ export default function Home() {
515
516
  <h3 className="font-semibold">{prod.n}</h3>
516
517
  <span className="text-muted">{prod.p}</span>
517
518
  </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>
519
+ <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
520
  </div>
520
521
  ))}
521
522
  </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.1",
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": {