create-flexireact 3.0.7 → 4.1.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # create-flexireact
2
2
 
3
- Create FlexiReact v2 apps with one command.
3
+ Create FlexiReact v4 apps with one command.
4
4
 
5
5
  ## Usage
6
6
 
@@ -22,16 +22,17 @@ npm create flexireact@latest my-app
22
22
  | **Minimal** | Bare minimum FlexiReact setup |
23
23
  | **App Router** | Next.js style `app/` directory routing |
24
24
 
25
- ## What's New in v2
25
+ ## What's New in v3.1
26
26
 
27
+ - ⚛️ **React 19 Stable** — Full support for Actions and useActionState
27
28
  - 🆕 **TypeScript Native** — CLI rewritten in TypeScript
28
29
  - 🎨 **Tailwind CSS v4** — New `@import "tailwindcss"` syntax
29
30
  - 📁 **Routes Directory** — New `routes/` with route groups
30
- - ⚡ **Modern Templates** — Beautiful, production-ready starters
31
+ - ⚡ **Modern Templates** — Beautiful, production-ready starters with React 19 defaults
31
32
 
32
33
  ## What's Included
33
34
 
34
- - ⚡ **FlexiReact v2** — The Modern React Framework
35
+ - ⚡ **FlexiReact v4** — The Modern React Framework with React 19
35
36
  - 📘 **TypeScript** — Full type safety
36
37
  - 🎨 **Tailwind CSS v4** — Latest styling features
37
38
  - 📁 **File-based routing** — `routes/`, `app/`, or `pages/`
@@ -148,7 +148,7 @@ export default function HomePage() {
148
148
  <span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-[#00FF9C] opacity-75"></span>
149
149
  <span className="relative inline-flex rounded-full h-2 w-2 bg-[#00FF9C]"></span>
150
150
  </span>
151
- <span className="text-gray-400">Introducing FlexiReact v3.0</span>
151
+ <span className="text-gray-400">Introducing FlexiReact v4.0</span>
152
152
  </div>
153
153
 
154
154
  {/* Heading */}
@@ -1,12 +1,14 @@
1
1
  /**
2
- * Default Template - Full-featured FlexiReact v3 setup
2
+ * Default Template - Full-featured FlexiReact v4 setup
3
3
  *
4
4
  * Structure:
5
5
  * - app/ : Layout, components, styles, providers
6
- * - routes/ : FlexiReact v3 file-based routing
6
+ * - routes/ : FlexiReact v4 file-based routing
7
7
  * - lib/ : Utilities
8
8
  * - public/ : Static assets
9
9
  */
10
10
  import type { TemplateFiles } from './index.js';
11
- export declare function defaultTemplate(projectName: string): TemplateFiles;
11
+ export declare function defaultTemplate(projectName: string, options?: {
12
+ styling?: 'tailwind' | 'css';
13
+ }): TemplateFiles;
12
14
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/templates/default.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,aAAa,CAioBlE"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/templates/default.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,UAAU,GAAG,KAAK,CAAA;CAAO,GAAG,aAAa,CAyqBlH"}