create-stackkit-app 0.1.2 → 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.
- package/README.md +92 -0
- package/package.json +4 -3
package/README.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# create-stackkit-app
|
|
2
|
+
|
|
3
|
+
Quick project scaffolder for StackKit - create production-ready Next.js projects instantly.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/create-stackkit-app)
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# npm
|
|
11
|
+
npx create-stackkit-app@latest my-app
|
|
12
|
+
|
|
13
|
+
# pnpm
|
|
14
|
+
pnpm dlx create-stackkit-app@latest my-app
|
|
15
|
+
|
|
16
|
+
# yarn
|
|
17
|
+
yarn dlx create-stackkit-app@latest my-app
|
|
18
|
+
|
|
19
|
+
# bun
|
|
20
|
+
bunx create-stackkit-app@latest my-app
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## What It Does
|
|
24
|
+
|
|
25
|
+
`create-stackkit-app` is a thin wrapper around `stackkit-cli` that provides quick project initialization without global installation.
|
|
26
|
+
|
|
27
|
+
It automatically:
|
|
28
|
+
1. Installs `stackkit-cli` temporarily
|
|
29
|
+
2. Runs `stackkit init` with your options
|
|
30
|
+
3. Creates a production-ready Next.js project
|
|
31
|
+
|
|
32
|
+
## Options
|
|
33
|
+
|
|
34
|
+
All `stackkit-cli init` options are supported:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx create-stackkit-app my-app --template next-prisma-postgres-shadcn --pm pnpm
|
|
38
|
+
|
|
39
|
+
npx create-stackkit-app my-app --no-install --no-git --yes
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Available options:**
|
|
43
|
+
- `--template <name>` - Template to use
|
|
44
|
+
- `--pm <npm|yarn|pnpm>` - Package manager
|
|
45
|
+
- `--no-install` - Skip dependency installation
|
|
46
|
+
- `--no-git` - Skip git initialization
|
|
47
|
+
- `--yes` - Skip all prompts
|
|
48
|
+
|
|
49
|
+
## What's Included
|
|
50
|
+
|
|
51
|
+
The default template includes:
|
|
52
|
+
- ✅ Next.js 15 with App Router
|
|
53
|
+
- ✅ TypeScript
|
|
54
|
+
- ✅ Prisma ORM + PostgreSQL
|
|
55
|
+
- ✅ shadcn/ui components
|
|
56
|
+
- ✅ Tailwind CSS
|
|
57
|
+
- ✅ Zod validation
|
|
58
|
+
- ✅ ESLint + Prettier
|
|
59
|
+
|
|
60
|
+
## Next Steps
|
|
61
|
+
|
|
62
|
+
After creating your project:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
cd my-app
|
|
66
|
+
pnpm install
|
|
67
|
+
pnpm dev
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Add features with modules:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx stackkit-cli add auth
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Full CLI
|
|
77
|
+
|
|
78
|
+
For more features, use the full CLI:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
npm install -g stackkit-cli
|
|
82
|
+
|
|
83
|
+
stackkit init my-app
|
|
84
|
+
stackkit list
|
|
85
|
+
stackkit add auth
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
See [stackkit-cli](https://www.npmjs.com/package/stackkit-cli) for details.
|
|
89
|
+
|
|
90
|
+
## License
|
|
91
|
+
|
|
92
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-stackkit-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Create a new StackKit project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
"author": "Your Name",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"execa": "^5.1.1"
|
|
35
|
+
"execa": "^5.1.1",
|
|
36
|
+
"stackkit-cli": "^0.1.4"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@types/node": "^20.11.0",
|
|
39
40
|
"typescript": "^5.3.3"
|
|
40
41
|
}
|
|
41
|
-
}
|
|
42
|
+
}
|