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 +5 -4
- package/dist/templates/app-router.js +1 -1
- package/dist/templates/default.d.ts +5 -3
- package/dist/templates/default.d.ts.map +1 -1
- package/dist/templates/default.js +208 -168
- package/dist/templates/default.js.map +1 -1
- package/dist/templates/fullstack.d.ts +5 -0
- package/dist/templates/fullstack.d.ts.map +1 -0
- package/dist/templates/fullstack.js +606 -0
- package/dist/templates/fullstack.js.map +1 -0
- package/dist/templates/index.d.ts +4 -4
- package/dist/templates/index.d.ts.map +1 -1
- package/dist/templates/index.js +13 -8
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/minimal.d.ts +3 -1
- package/dist/templates/minimal.d.ts.map +1 -1
- package/dist/templates/minimal.js +42 -10
- package/dist/templates/minimal.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# create-flexireact
|
|
2
2
|
|
|
3
|
-
Create FlexiReact
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2
|
+
* Default Template - Full-featured FlexiReact v4 setup
|
|
3
3
|
*
|
|
4
4
|
* Structure:
|
|
5
5
|
* - app/ : Layout, components, styles, providers
|
|
6
|
-
* - routes/ : FlexiReact
|
|
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
|
|
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":"
|
|
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"}
|