create-esa-stack 0.1.9 → 0.1.10

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 (3) hide show
  1. package/CHANGELOG.md +45 -9
  2. package/README.md +56 -25
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,15 +5,51 @@ 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
- ## [Unreleased]
9
-
10
- ### Planned for 0.2.0
11
- - Template registry system
12
- - Project structure schema
13
- - Commander.js CLI framework
14
- - AST-based code transformations
15
- - Test infrastructure
16
- - Critical bug fixes
8
+ ## [0.1.10] - 2026-01-24
9
+
10
+ ### Docs
11
+ - Comprehensive documentation update in README and CHANGELOG.
12
+
13
+ ## [0.1.9] - 2026-01-24
14
+
15
+ ### Added
16
+ - **Storybook**: Added support for Storybook component development environment.
17
+ - **Smart Testing Configuration**: Automatically skips separate testing tools setup if Storybook is used (since it includes testing infrastructure).
18
+
19
+ ## [0.1.8] - 2026-01-24
20
+
21
+ ### Added
22
+ - **Testing Tools**: Added optional installation for Vitest and React Testing Library.
23
+
24
+ ## [0.1.7] - 2026-01-24
25
+
26
+ ### Added
27
+ - **Supabase**: Added optional integration for Supabase (Auth, Database, Realtime). Installs `@supabase/supabase-js`, `@supabase/ssr` and CLI.
28
+
29
+ ## [0.1.6] - 2026-01-24
30
+
31
+ ### Added
32
+ - **React Email**: Added optional integration for React Email, including preview server and components.
33
+
34
+ ## [0.1.5] - 2026-01-24
35
+
36
+ ### Added
37
+ - **Resend**: Added optional integration for Resend transactional emails.
38
+
39
+ ## [0.1.4] - 2026-01-24
40
+
41
+ ### Added
42
+ - **@next/third-parties**: Added optional support for optimized third-party scripts (Google Analytics, GTM, etc).
43
+
44
+ ## [0.1.3] - 2026-01-24
45
+
46
+ ### Added
47
+ - **TanStack Query**: Added optional integration for server-state management.
48
+
49
+ ## [0.1.2] - 2026-01-24
50
+
51
+ ### Added
52
+ - **shadcn/ui**: Added optional integration for shadcn/ui component library.
17
53
 
18
54
  ## [0.1.0] - 2026-01-22
19
55
 
package/README.md CHANGED
@@ -1,49 +1,82 @@
1
1
  # create-esa-stack
2
2
 
3
- A CLI tool to quickly scaffold Next.js projects with ESA's preferred tech stack.
3
+ A CLI tool to quickly scaffold Next.js projects with ESA's preferred tech stack.
4
+
5
+ > **Opinionated but flexible.** Starts with a robust modern foundation, then lets you pick exactly the extras you need.
4
6
 
5
7
  ## Features
6
8
 
7
- Creates a Next.js project with the following tech stack:
9
+ Every project is created with a solid baseline:
8
10
 
9
11
  - ✅ **Next.js** - React framework with App Router
10
12
  - ✅ **TypeScript** - Type-safe JavaScript
11
- - ✅ **Tailwind CSS** - Utility-first CSS framework
12
- - ✅ **Biome.js** - Fast linter and formatter
13
+ - ✅ **Tailwind CSS** - Utility-first CSS framework (v4)
14
+ - ✅ **Biome.js** - Ultra-fast linter and formatter
13
15
  - ✅ **React Compiler** - Optimized React performance
14
16
  - ✅ **Turbopack** - Fast bundler for development
15
17
  - ✅ **pnpm** - Efficient package manager
16
18
 
19
+ ### Optional Integrations
20
+
21
+ During setup, you can interactively choose to add:
22
+
23
+ - 🎨 **shadcn/ui** - Beautiful, accessible, copy-paste components.
24
+ - 📡 **TanStack Query** - Powerful asynchronous state management.
25
+ - 🚦 **@next/third-parties** - Optimized loading for third-party scripts.
26
+ - 📧 **Resend** - The best API for sending emails.
27
+ - ✉️ **React Email** - Build emails using React components.
28
+ - ⚡ **Supabase** - Open Source Firebase alternative (Auth, DB, Realtime).
29
+ - 🧪 **Testing Tools** - Vitest & React Testing Library (Unit/Integration testing).
30
+ - 📚 **Storybook** - Frontend workshop for UI development (Includes testing setup).
31
+
17
32
  ## Usage
18
33
 
19
- ### Using npx (Recommended)
34
+ ### Recommended (pnpm)
20
35
 
21
36
  ```bash
22
- npx create-esa-stack
37
+ pnpm create esa-stack@latest
23
38
  ```
24
39
 
25
- ### Using Bun
40
+ ### Other Package Managers
41
+
42
+ **npm**
26
43
 
27
44
  ```bash
28
- bun create esa-stack
45
+ npx create-esa-stack@latest
29
46
  ```
30
47
 
31
- ### Local Development
48
+ **yarn**
32
49
 
33
50
  ```bash
34
- # Install dependencies
35
- bun install
51
+ yarn create esa-stack
52
+ ```
36
53
 
37
- # Run the CLI locally
38
- bun run dev
54
+ **bun**
39
55
 
40
- # Build the CLI
41
- bun run build
56
+ ```bash
57
+ bun create esa-stack
42
58
  ```
43
59
 
60
+ ### Interactive Flow
61
+
62
+ The CLI will guide you through the setup:
63
+
64
+ 1. **Project Name**: Choose a name for your directory.
65
+ 2. **Scaffolding**: Sets up the base Next.js application.
66
+ 3. **Optional Packages**:
67
+ - *Install shadcn/ui?* (Default: Yes)
68
+ - *Install TanStack Query?* (Default: Yes)
69
+ - *Install @next/third-parties?* (Default: Yes)
70
+ - *Install Resend?* (Default: No)
71
+ - *Install React Email?* (Default: No)
72
+ - *Install Supabase?* (Default: Yes)
73
+ - *Install Storybook?* (Default: No)
74
+ - *If Yes*: Sets up Storybook environment.
75
+ - *If No*: Asks to install *Testing Tools (Vitest)* separately.
76
+
44
77
  ## How It Works
45
78
 
46
- The CLI prompts you for a project name and then runs `create-next-app` with the following flags:
79
+ The CLI wraps `create-next-app` with a specific set of high-performance flags:
47
80
 
48
81
  ```bash
49
82
  npx create-next-app@latest <project-name> \
@@ -57,18 +90,16 @@ npx create-next-app@latest <project-name> \
57
90
  --yes
58
91
  ```
59
92
 
60
- ## Roadmap
61
-
62
- Optional integrations available:
93
+ After scaffolding, it programmatically installs and configures selected integrations (e.g., running `shadcn init`, `storybook init`, etc.) so you're ready to code immediately.
63
94
 
64
- - [x] **@tanstack/react-query** - Data fetching and caching ✨
65
- - [x] **shadcn/ui** - Beautiful UI component library ✨
66
- - [x] **resend** - Email API for sending emails ✨
95
+ ## Contributing
67
96
 
68
- Coming soon:
97
+ Contributions are welcome!
69
98
 
70
- - [ ] **react-email** - Email templates
71
- - [ ] **Storybook** - Component development
99
+ 1. Clone the repository.
100
+ 2. Install dependencies: `bun install`
101
+ 3. Run the CLI locally: `bun run dev`
102
+ 4. Build: `bun run build`
72
103
 
73
104
  ## License
74
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-esa-stack",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "CLI tool to scaffold Next.js projects with ESA's preferred tech stack",
5
5
  "type": "module",
6
6
  "bin": {