create-lacis 0.2.6 → 0.2.8
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 +41 -0
- package/package.json +1 -1
- package/templates/_common/_gitignore +1 -0
- package/templates/base/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# create-lacis
|
|
2
|
+
|
|
3
|
+
Scaffold a new [lacis](https://github.com/getlacis/lacis) project.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm create lacis@latest
|
|
9
|
+
# or
|
|
10
|
+
npx create-lacis
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The CLI will ask three questions:
|
|
14
|
+
|
|
15
|
+
- **Project name** — directory to create
|
|
16
|
+
- **Platform** — Node, Bun, Vercel, or Netlify
|
|
17
|
+
- **Validation library** — Zod, Valibot, ArkType, or none
|
|
18
|
+
|
|
19
|
+
It then scaffolds the project and installs dependencies automatically (auto-detects npm / pnpm / yarn / bun).
|
|
20
|
+
|
|
21
|
+
## Generated structure
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
my-app/
|
|
25
|
+
routes/
|
|
26
|
+
index.ts # GET / — ready to run
|
|
27
|
+
server.ts
|
|
28
|
+
package.json
|
|
29
|
+
tsconfig.json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Next steps
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
cd my-app
|
|
36
|
+
lacis dev
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
MIT
|
package/package.json
CHANGED