create-esa-stack 0.1.10 โ 0.1.12
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/CHANGELOG.md +12 -0
- package/README.md +32 -0
- package/dist/cli.js +2214 -84
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.12] - 2026-01-28
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **RxDB**: Added optional integration for RxDB (Local-first, NoSQL database). Installs `rxdb` and `rxjs`.
|
|
12
|
+
|
|
13
|
+
## [0.1.11] - 2026-01-24
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **CLI Flags**: Added support for CLI arguments and flags (e.g., `create-esa-stack my-app --supabase --no-testing`).
|
|
17
|
+
- **Non-Interactive Mode**: Added `--default` / `-y` flag to skip all prompts and use default values.
|
|
18
|
+
- **Help Command**: Added `--help` to list all available options.
|
|
19
|
+
|
|
8
20
|
## [0.1.10] - 2026-01-24
|
|
9
21
|
|
|
10
22
|
### Docs
|
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ During setup, you can interactively choose to add:
|
|
|
26
26
|
- ๐ง **Resend** - The best API for sending emails.
|
|
27
27
|
- โ๏ธ **React Email** - Build emails using React components.
|
|
28
28
|
- โก **Supabase** - Open Source Firebase alternative (Auth, DB, Realtime).
|
|
29
|
+
- ๐ **RxDB** - Local-first, NoSQL database for JavaScript.
|
|
29
30
|
- ๐งช **Testing Tools** - Vitest & React Testing Library (Unit/Integration testing).
|
|
30
31
|
- ๐ **Storybook** - Frontend workshop for UI development (Includes testing setup).
|
|
31
32
|
|
|
@@ -70,10 +71,41 @@ The CLI will guide you through the setup:
|
|
|
70
71
|
- *Install Resend?* (Default: No)
|
|
71
72
|
- *Install React Email?* (Default: No)
|
|
72
73
|
- *Install Supabase?* (Default: Yes)
|
|
74
|
+
- *Install RxDB?* (Default: No)
|
|
73
75
|
- *Install Storybook?* (Default: No)
|
|
74
76
|
- *If Yes*: Sets up Storybook environment.
|
|
75
77
|
- *If No*: Asks to install *Testing Tools (Vitest)* separately.
|
|
76
78
|
|
|
79
|
+
### CLI Options
|
|
80
|
+
|
|
81
|
+
You can pass the project name and options directly via CLI to skip prompts:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
pnpm create esa-stack <project-name> [options]
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Available Flags:**
|
|
88
|
+
|
|
89
|
+
| Flag | Description | Default |
|
|
90
|
+
| :--- | :--- | :--- |
|
|
91
|
+
| `--shadcn` / `--no-shadcn` | Install shadcn/ui | Yes |
|
|
92
|
+
| `--tanstack-query` / `--no-tanstack-query` | Install TanStack Query | Yes |
|
|
93
|
+
| `--next-third-parties` / `--no-next-third-parties` | Install @next/third-parties | Yes |
|
|
94
|
+
| `--resend` / `--no-resend` | Install Resend | No |
|
|
95
|
+
| `--react-email` / `--no-react-email` | Install React Email | No |
|
|
96
|
+
| `--supabase` / `--no-supabase` | Install Supabase | Yes |
|
|
97
|
+
| `--rxdb` / `--no-rxdb` | Install RxDB | No |
|
|
98
|
+
| `--storybook` / `--no-storybook` | Install Storybook | No |
|
|
99
|
+
| `--testing` / `--no-testing` | Install Vitest + RTL | Yes |
|
|
100
|
+
| `--default`, `-y` | Skip prompts and use defaults | - |
|
|
101
|
+
| `--help` | Show help message | - |
|
|
102
|
+
|
|
103
|
+
**Example:**
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
pnpm create esa-stack my-app --supabase --no-testing -y
|
|
107
|
+
```
|
|
108
|
+
|
|
77
109
|
## How It Works
|
|
78
110
|
|
|
79
111
|
The CLI wraps `create-next-app` with a specific set of high-performance flags:
|