create-flexireact 3.0.7 → 4.0.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,9 +1,9 @@
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
  */
@@ -1,9 +1,9 @@
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
  */
@@ -232,7 +232,7 @@ export function Footer() {
232
232
  return (
233
233
  <footer className="border-t border-border py-8 mt-auto">
234
234
  <div className="container mx-auto px-4 text-center text-sm text-muted max-w-6xl">
235
- <p>Built with FlexiReact v3 • {new Date().getFullYear()}</p>
235
+ <p>Built with FlexiReact v4 • {new Date().getFullYear()}</p>
236
236
  <p className="mt-2">
237
237
  <a href="https://discord.gg/rFSZxFtpAA" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">
238
238
  Join our Discord Community 💬
@@ -294,7 +294,7 @@ export function useTheme() {
294
294
  // Styles
295
295
  'app/styles/globals.css': `@import "tailwindcss";
296
296
 
297
- /* FlexiReact v3 Theme */
297
+ /* FlexiReact v4 Theme */
298
298
  @theme {
299
299
  /* Colors */
300
300
  --color-background: #0a0a0a;
@@ -358,14 +358,14 @@ body {
358
358
  }
359
359
  `,
360
360
  // ========================================================================
361
- // Routes Directory - FlexiReact v3 Routing
361
+ // Routes Directory - FlexiReact v4 Routing
362
362
  // ========================================================================
363
363
  'routes/(public)/home.tsx': `import React from 'react';
364
364
  import { Button } from '@/app/components/ui';
365
365
 
366
366
  export const metadata = {
367
- title: 'FlexiReact v3 - The Modern React Framework',
368
- description: 'Build fast, modern web apps with FlexiReact v3',
367
+ title: 'FlexiReact v4 - The Modern React Framework',
368
+ description: 'Build fast, modern web apps with FlexiReact v4',
369
369
  };
370
370
 
371
371
  export default function HomePage() {
@@ -378,7 +378,7 @@ export default function HomePage() {
378
378
  <span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"></span>
379
379
  <span className="relative inline-flex rounded-full h-2 w-2 bg-primary"></span>
380
380
  </span>
381
- <span className="text-muted">Introducing FlexiReact v3.0</span>
381
+ <span className="text-muted">Introducing FlexiReact v4.0</span>
382
382
  </div>
383
383
 
384
384
  {/* Heading */}
@@ -542,7 +542,7 @@ export default function BlogPost({ params }: BlogPostProps) {
542
542
 
543
543
  <div className="prose prose-invert">
544
544
  <p>
545
- This page demonstrates dynamic routing in FlexiReact v3.
545
+ This page demonstrates dynamic routing in FlexiReact v4.
546
546
  The [slug].tsx file creates a dynamic route that matches any path under /blog/.
547
547
  </p>
548
548
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-flexireact",
3
- "version": "3.0.7",
4
- "description": "Create FlexiReact v3 apps with one command - The Modern React Framework",
3
+ "version": "4.0.0",
4
+ "description": "Create FlexiReact v4 apps with one command - The Modern React Framework",
5
5
  "author": "FlexiReact Team",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -50,4 +50,4 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  }
53
- }
53
+ }