stackpatch 1.2.5 → 1.2.6

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.
@@ -1,32 +1,5 @@
1
- export default function Home() {
2
- return (
3
- <div className="min-h-screen p-8">
4
- <div className="max-w-4xl mx-auto space-y-8">
5
- <div>
6
- <h1 className="text-4xl font-bold mb-4">Welcome to Your StackPatch Project</h1>
7
- <p className="text-lg text-gray-600 dark:text-gray-400 mb-8">
8
- Your project has been set up with StackPatch. Get started by adding features to your app.
9
- </p>
10
- </div>
11
-
12
- <div className="border rounded-lg p-6">
13
- <h2 className="text-2xl font-semibold mb-4">Get Started</h2>
14
- <p className="text-gray-600 dark:text-gray-400 mb-4">
15
- Add production-ready features to your app using the StackPatch CLI.
16
- </p>
17
- <div className="bg-gray-100 dark:bg-gray-800 p-4 rounded-lg font-mono text-sm">
18
- <code>npx stackpatch add auth-ui</code>
19
- </div>
20
- </div>
1
+ import { redirect } from "next/navigation";
21
2
 
22
- <div className="border rounded-lg p-6">
23
- <h2 className="text-2xl font-semibold mb-4">Available Features</h2>
24
- <ul className="list-disc list-inside space-y-2 text-gray-600 dark:text-gray-400">
25
- <li>Authentication (auth-ui) - Login, signup, and protected routes</li>
26
- <li>More features coming soon...</li>
27
- </ul>
28
- </div>
29
- </div>
30
- </div>
31
- );
3
+ export default function Home() {
4
+ redirect("/stackpatch");
32
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stackpatch",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Composable frontend features for modern React & Next.js apps - Add authentication, UI components, and more with zero configuration",
5
5
  "main": "dist/stackpatch.js",
6
6
  "bin": {