@flexireact/core 3.0.1 → 3.0.2
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/dist/cli/index.js +1514 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/core/client/index.js +373 -0
- package/dist/core/client/index.js.map +1 -0
- package/dist/core/index.js +6415 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/server/index.js +3094 -0
- package/dist/core/server/index.js.map +1 -0
- package/package.json +80 -80
- package/bin/flexireact.js +0 -23
- package/cli/generators.ts +0 -616
- package/cli/index.ts +0 -1182
- package/core/actions/index.ts +0 -364
- package/core/api.ts +0 -143
- package/core/build/index.ts +0 -425
- package/core/cli/logger.ts +0 -353
- package/core/client/Link.tsx +0 -345
- package/core/client/hydration.ts +0 -147
- package/core/client/index.ts +0 -12
- package/core/client/islands.ts +0 -143
- package/core/client/navigation.ts +0 -212
- package/core/client/runtime.ts +0 -52
- package/core/config.ts +0 -116
- package/core/context.ts +0 -83
- package/core/dev.ts +0 -47
- package/core/devtools/index.ts +0 -644
- package/core/edge/cache.ts +0 -344
- package/core/edge/fetch-polyfill.ts +0 -247
- package/core/edge/handler.ts +0 -248
- package/core/edge/index.ts +0 -81
- package/core/edge/ppr.ts +0 -264
- package/core/edge/runtime.ts +0 -161
- package/core/font/index.ts +0 -306
- package/core/helpers.ts +0 -494
- package/core/image/index.ts +0 -413
- package/core/index.ts +0 -218
- package/core/islands/index.ts +0 -293
- package/core/loader.ts +0 -111
- package/core/logger.ts +0 -242
- package/core/metadata/index.ts +0 -622
- package/core/middleware/index.ts +0 -416
- package/core/plugins/index.ts +0 -373
- package/core/render/index.ts +0 -1243
- package/core/render.ts +0 -136
- package/core/router/index.ts +0 -551
- package/core/router.ts +0 -141
- package/core/rsc/index.ts +0 -199
- package/core/server/index.ts +0 -779
- package/core/server.ts +0 -203
- package/core/ssg/index.ts +0 -346
- package/core/start-dev.ts +0 -6
- package/core/start-prod.ts +0 -6
- package/core/tsconfig.json +0 -30
- package/core/types.ts +0 -239
- package/core/utils.ts +0 -176
package/package.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@flexireact/core",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "The Modern React Framework v3 - SSR, SSG, Islands, Edge Runtime, 50+ UI Components, TypeScript, Tailwind v4",
|
|
5
|
-
"main": "core/index.
|
|
6
|
-
"types": "core/
|
|
7
|
-
"type": "module",
|
|
8
|
-
"bin": {
|
|
9
|
-
"flexireact": "./
|
|
10
|
-
"flexi": "./
|
|
11
|
-
},
|
|
12
|
-
"exports": {
|
|
13
|
-
".": "./core/index.
|
|
14
|
-
"./client": "./core/client/index.
|
|
15
|
-
"./server": "./core/server/index.
|
|
16
|
-
"./render": "./core/render/index.
|
|
17
|
-
"./config": "./core/config.
|
|
18
|
-
"./types": "./core/types.
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"build": "
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"react": "^18.0.0"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"@types/
|
|
68
|
-
"@types/
|
|
69
|
-
"@types/react": "^18.3.
|
|
70
|
-
"
|
|
71
|
-
"tsx": "^4.21.0",
|
|
72
|
-
"typescript": "^5.7.2"
|
|
73
|
-
},
|
|
74
|
-
"engines": {
|
|
75
|
-
"node": ">=18.0.0"
|
|
76
|
-
},
|
|
77
|
-
"publishConfig": {
|
|
78
|
-
"access": "public"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@flexireact/core",
|
|
3
|
+
"version": "3.0.2",
|
|
4
|
+
"description": "The Modern React Framework v3 - SSR, SSG, Islands, Edge Runtime, 50+ UI Components, TypeScript, Tailwind v4",
|
|
5
|
+
"main": "dist/core/index.js",
|
|
6
|
+
"types": "dist/core/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"flexireact": "./dist/cli/index.js",
|
|
10
|
+
"flexi": "./dist/cli/index.js"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./dist/core/index.js",
|
|
14
|
+
"./client": "./dist/core/client/index.js",
|
|
15
|
+
"./server": "./dist/core/server/index.js",
|
|
16
|
+
"./render": "./dist/core/render/index.js",
|
|
17
|
+
"./config": "./dist/core/config.js",
|
|
18
|
+
"./types": "./dist/core/types.js"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"dev": "npx tsx cli/index.ts dev",
|
|
27
|
+
"build": "npx tsx cli/index.ts build",
|
|
28
|
+
"start": "npx tsx cli/index.ts start",
|
|
29
|
+
"build:package": "tsup",
|
|
30
|
+
"typecheck": "tsc --noEmit -p core/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"react",
|
|
34
|
+
"framework",
|
|
35
|
+
"typescript",
|
|
36
|
+
"tailwind",
|
|
37
|
+
"ssr",
|
|
38
|
+
"ssg",
|
|
39
|
+
"rsc",
|
|
40
|
+
"islands",
|
|
41
|
+
"file-based-routing",
|
|
42
|
+
"nextjs-alternative",
|
|
43
|
+
"modern"
|
|
44
|
+
],
|
|
45
|
+
"author": "FlexiReact Team",
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/flexireact/flexireact.git"
|
|
50
|
+
},
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/flexireact/flexireact/issues"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/flexireact/flexireact#readme",
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"esbuild": "^0.25.0",
|
|
57
|
+
"ora": "^8.1.1",
|
|
58
|
+
"picocolors": "^1.1.1",
|
|
59
|
+
"prompts": "^2.4.2"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"react": "^18.0.0",
|
|
63
|
+
"react-dom": "^18.0.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@types/node": "^22.10.1",
|
|
67
|
+
"@types/prompts": "^2.4.9",
|
|
68
|
+
"@types/react": "^18.3.14",
|
|
69
|
+
"@types/react-dom": "^18.3.2",
|
|
70
|
+
"tsup": "^8.5.1",
|
|
71
|
+
"tsx": "^4.21.0",
|
|
72
|
+
"typescript": "^5.7.2"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=18.0.0"
|
|
76
|
+
},
|
|
77
|
+
"publishConfig": {
|
|
78
|
+
"access": "public"
|
|
79
|
+
}
|
|
80
|
+
}
|
package/bin/flexireact.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* FlexiReact CLI Entry Point
|
|
5
|
-
* Uses tsx to run TypeScript CLI directly
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { spawnSync } from 'child_process';
|
|
9
|
-
import { fileURLToPath } from 'url';
|
|
10
|
-
import { dirname, join } from 'path';
|
|
11
|
-
|
|
12
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
13
|
-
const __dirname = dirname(__filename);
|
|
14
|
-
|
|
15
|
-
const cliPath = join(__dirname, '..', 'cli', 'index.ts');
|
|
16
|
-
|
|
17
|
-
// Run the CLI with tsx
|
|
18
|
-
const result = spawnSync('npx', ['tsx', cliPath, ...process.argv.slice(2)], {
|
|
19
|
-
stdio: 'inherit',
|
|
20
|
-
shell: true,
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
process.exit(result.status ?? 0);
|