@timo9378/flow2code 0.1.9 → 0.2.1
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/CHANGELOG.md +28 -0
- package/README.md +15 -2
- package/dist/cli.js +74 -7
- package/dist/compiler.cjs +32 -2
- package/dist/compiler.d.cts +6 -0
- package/dist/compiler.d.ts +6 -0
- package/dist/compiler.js +32 -2
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1227 -1010
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +4 -4
- package/out/__next._full.txt +13 -13
- package/out/__next._head.txt +4 -4
- package/out/__next._index.txt +6 -6
- package/out/__next._tree.txt +2 -2
- package/out/_next/static/chunks/05328cd26bdc795c.js +176 -0
- package/out/_next/static/chunks/06e01c846ae01892.js +1 -0
- package/out/_next/static/chunks/1011f174944c0ca2.js +70 -0
- package/out/_next/static/chunks/1570e9ba5f1b44ed.js +5 -0
- package/out/_next/static/chunks/6167fccccde2e675.css +1 -0
- package/out/_next/static/chunks/{b112c2f519e4b429.js → 7cd04052abfadac1.js} +1 -1
- package/out/_next/static/chunks/8091c1216a95d294.js +1 -0
- package/out/_next/static/chunks/98d53aae29c36c6b.js +1 -0
- package/out/_next/static/chunks/a6dad97d9634a72d.js.map +1 -1
- package/out/_next/static/chunks/{b163b5d7cccbcf42.js → b05daf00cdc6058f.js} +1 -1
- package/out/_next/static/chunks/b3419ee3e3a616d9.js +1 -0
- package/out/_next/static/chunks/{acf223168ac429f7.js → be40d79540010a0d.js} +1 -1
- package/out/_next/static/chunks/{turbopack-576234c945ffdc44.js → turbopack-9da9810f42c97265.js} +1 -1
- package/out/_not-found/__next._full.txt +11 -11
- package/out/_not-found/__next._head.txt +4 -4
- package/out/_not-found/__next._index.txt +6 -6
- package/out/_not-found/__next._not-found/__PAGE__.txt +2 -2
- package/out/_not-found/__next._not-found.txt +3 -3
- package/out/_not-found/__next._tree.txt +2 -2
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +11 -11
- package/out/index.html +2 -2
- package/out/index.txt +13 -13
- package/package.json +130 -124
- package/out/_next/static/chunks/0bc0a50347ee5f3c.js +0 -51
- package/out/_next/static/chunks/58bf94a9d7047ec0.js +0 -125
- package/out/_next/static/chunks/6b84376656bd9887.js +0 -1
- package/out/_next/static/chunks/83ab8820627f8bfe.css +0 -1
- package/out/_next/static/chunks/ab8888d4b78b94be.js +0 -5
- package/out/_next/static/chunks/b6e8711267bccbbd.js +0 -1
- package/out/_next/static/chunks/fbca595129527827.js +0 -1
- package/scripts/publish-all.sh +0 -56
- /package/out/_next/static/{Ma0MmC8j1mxpQbtLwNajF → dSp6-CaehEDKVU9OSJABu}/_buildManifest.js +0 -0
- /package/out/_next/static/{Ma0MmC8j1mxpQbtLwNajF → dSp6-CaehEDKVU9OSJABu}/_clientMiddlewareManifest.json +0 -0
- /package/out/_next/static/{Ma0MmC8j1mxpQbtLwNajF → dSp6-CaehEDKVU9OSJABu}/_ssgManifest.js +0 -0
package/out/index.txt
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[46798,["/_next/static/chunks/
|
|
3
|
-
3:I[
|
|
4
|
-
4:I[58298,["/_next/static/chunks/
|
|
5
|
-
5:I[
|
|
6
|
-
6:I[
|
|
7
|
-
7:I[52683,["/_next/static/chunks/
|
|
8
|
-
a:I[
|
|
2
|
+
2:I[46798,["/_next/static/chunks/be40d79540010a0d.js"],"TooltipProvider"]
|
|
3
|
+
3:I[94482,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"default"]
|
|
4
|
+
4:I[58298,["/_next/static/chunks/be40d79540010a0d.js","/_next/static/chunks/7cd04052abfadac1.js"],"default"]
|
|
5
|
+
5:I[22544,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"default"]
|
|
6
|
+
6:I[39308,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"ClientPageRoot"]
|
|
7
|
+
7:I[52683,["/_next/static/chunks/be40d79540010a0d.js","/_next/static/chunks/05328cd26bdc795c.js","/_next/static/chunks/1011f174944c0ca2.js"],"default"]
|
|
8
|
+
a:I[61686,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"OutletBoundary"]
|
|
9
9
|
b:"$Sreact.suspense"
|
|
10
|
-
d:I[
|
|
11
|
-
f:I[
|
|
12
|
-
11:I[63491,["/_next/static/chunks/
|
|
13
|
-
:HL["/_next/static/chunks/
|
|
10
|
+
d:I[61686,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"ViewportBoundary"]
|
|
11
|
+
f:I[61686,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"MetadataBoundary"]
|
|
12
|
+
11:I[63491,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"default"]
|
|
13
|
+
:HL["/_next/static/chunks/6167fccccde2e675.css","style"]
|
|
14
14
|
:HL["/_next/static/chunks/8a5bd6fe3abc8091.css","style"]
|
|
15
|
-
0:{"P":null,"b":"
|
|
15
|
+
0:{"P":null,"b":"dSp6-CaehEDKVU9OSJABu","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/6167fccccde2e675.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/be40d79540010a0d.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"antialiased overflow-hidden","children":["$","$L2",null,{"delayDuration":200,"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$4","errorStyles":[],"errorScripts":[["$","script","script-0",{"src":"/_next/static/chunks/7cd04052abfadac1.js","async":true}]],"template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/8a5bd6fe3abc8091.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/05328cd26bdc795c.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1011f174944c0ca2.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],null]}],false]],"m":"$undefined","G":["$11",[]],"S":true}
|
|
16
16
|
8:{}
|
|
17
17
|
9:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
18
18
|
e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
19
|
-
12:I[
|
|
19
|
+
12:I[67671,["/_next/static/chunks/b05daf00cdc6058f.js","/_next/static/chunks/8091c1216a95d294.js"],"IconMark"]
|
|
20
20
|
c:null
|
|
21
21
|
10:[["$","title","0",{"children":"Flow2Code | Visual AST Compiler"}],["$","meta","1",{"name":"description","content":"Visual backend logic generator: compile canvas nodes directly into native TypeScript code"}],["$","link","2",{"rel":"manifest","href":"/site.webmanifest","crossOrigin":"$undefined"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","sizes":"any"}],["$","link","4",{"rel":"icon","href":"/favicon-16x16.png","sizes":"16x16","type":"image/png"}],["$","link","5",{"rel":"icon","href":"/favicon-32x32.png","sizes":"32x32","type":"image/png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L12","7",{}]]
|
package/package.json
CHANGED
|
@@ -1,124 +1,130 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@timo9378/flow2code",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Visual AST Compiler: Flow-based visual editor that compiles to native TypeScript code",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"sideEffects": false,
|
|
7
|
-
"main": "./dist/compiler.js",
|
|
8
|
-
"module": "./dist/compiler.js",
|
|
9
|
-
"types": "./dist/compiler.d.ts",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"dev": "next dev --turbopack",
|
|
12
|
-
"dev:server": "tsx src/server/index.ts",
|
|
13
|
-
"build": "pnpm build:ui && pnpm build:cli",
|
|
14
|
-
"build:ui": "next build",
|
|
15
|
-
"build:cli": "tsup && cp src/server/server.d.ts dist/server.d.ts",
|
|
16
|
-
"start": "node dist/server.js",
|
|
17
|
-
"lint": "eslint .",
|
|
18
|
-
"test": "vitest",
|
|
19
|
-
"test:run": "vitest run",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"@
|
|
97
|
-
"@
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"react": "^
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@timo9378/flow2code",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Visual AST Compiler: Flow-based visual editor that compiles to native TypeScript code",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "./dist/compiler.js",
|
|
8
|
+
"module": "./dist/compiler.js",
|
|
9
|
+
"types": "./dist/compiler.d.ts",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"dev": "next dev --turbopack",
|
|
12
|
+
"dev:server": "tsx src/server/index.ts",
|
|
13
|
+
"build": "pnpm build:ui && pnpm build:cli",
|
|
14
|
+
"build:ui": "next build",
|
|
15
|
+
"build:cli": "tsup && cp src/server/server.d.ts dist/server.d.ts",
|
|
16
|
+
"start": "node dist/server.js",
|
|
17
|
+
"lint": "eslint .",
|
|
18
|
+
"test": "vitest",
|
|
19
|
+
"test:run": "vitest run",
|
|
20
|
+
"test:e2e": "playwright test",
|
|
21
|
+
"test:e2e:ui": "playwright test --ui",
|
|
22
|
+
"precheck": "pnpm lint && pnpm test:run && pnpm build:cli",
|
|
23
|
+
"docs:api": "typedoc",
|
|
24
|
+
"compile": "node --loader ts-node/esm src/cli/index.ts compile",
|
|
25
|
+
"watch": "node --loader ts-node/esm src/cli/index.ts watch",
|
|
26
|
+
"prepublishOnly": "pnpm build",
|
|
27
|
+
"postinstall": "node scripts/postinstall.cjs || true"
|
|
28
|
+
},
|
|
29
|
+
"bin": {
|
|
30
|
+
"flow2code": "dist/cli.js"
|
|
31
|
+
},
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"import": "./dist/compiler.js",
|
|
35
|
+
"require": "./dist/compiler.cjs",
|
|
36
|
+
"types": "./dist/compiler.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./compiler": {
|
|
39
|
+
"import": "./dist/compiler.js",
|
|
40
|
+
"require": "./dist/compiler.cjs",
|
|
41
|
+
"types": "./dist/compiler.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./server": {
|
|
44
|
+
"import": "./dist/server.js",
|
|
45
|
+
"types": "./dist/server.d.ts"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"dist",
|
|
50
|
+
"out",
|
|
51
|
+
"scripts",
|
|
52
|
+
"!dist/*.map",
|
|
53
|
+
"README.md",
|
|
54
|
+
"LICENSE",
|
|
55
|
+
"CHANGELOG.md"
|
|
56
|
+
],
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public"
|
|
59
|
+
},
|
|
60
|
+
"keywords": [
|
|
61
|
+
"flow",
|
|
62
|
+
"visual-programming",
|
|
63
|
+
"ast",
|
|
64
|
+
"compiler",
|
|
65
|
+
"decompiler",
|
|
66
|
+
"typescript",
|
|
67
|
+
"code-generator",
|
|
68
|
+
"workflow",
|
|
69
|
+
"api-builder",
|
|
70
|
+
"next.js"
|
|
71
|
+
],
|
|
72
|
+
"author": "timo9378",
|
|
73
|
+
"license": "MIT",
|
|
74
|
+
"repository": {
|
|
75
|
+
"type": "git",
|
|
76
|
+
"url": "git+https://github.com/timo9378/flow2code.git"
|
|
77
|
+
},
|
|
78
|
+
"homepage": "https://github.com/timo9378/flow2code#readme",
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": ">=20.0.0"
|
|
81
|
+
},
|
|
82
|
+
"bugs": {
|
|
83
|
+
"url": "https://github.com/timo9378/flow2code/issues"
|
|
84
|
+
},
|
|
85
|
+
"packageManager": "pnpm@10.28.0",
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@monaco-editor/react": "^4.7.0",
|
|
88
|
+
"chokidar": "^5.0.0",
|
|
89
|
+
"commander": "^14.0.3",
|
|
90
|
+
"monaco-editor": "^0.55.1",
|
|
91
|
+
"picocolors": "^1.1.1",
|
|
92
|
+
"ts-morph": "^27.0.2",
|
|
93
|
+
"yaml": "^2.8.2"
|
|
94
|
+
},
|
|
95
|
+
"devDependencies": {
|
|
96
|
+
"@eslint/js": "^10.0.1",
|
|
97
|
+
"@playwright/test": "^1.58.2",
|
|
98
|
+
"@tailwindcss/postcss": "^4.2.1",
|
|
99
|
+
"@types/node": "^25.3.1",
|
|
100
|
+
"@types/react": "^19.2.14",
|
|
101
|
+
"@types/react-dom": "^19.2.3",
|
|
102
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
103
|
+
"@xyflow/react": "^12.10.1",
|
|
104
|
+
"class-variance-authority": "^0.7.1",
|
|
105
|
+
"clsx": "^2.1.1",
|
|
106
|
+
"cmdk": "^1.1.1",
|
|
107
|
+
"eslint": "^10.0.2",
|
|
108
|
+
"globals": "^17.3.0",
|
|
109
|
+
"lucide-react": "^0.575.0",
|
|
110
|
+
"next": "^16.1.6",
|
|
111
|
+
"next-devtools-mcp": "^0.3.10",
|
|
112
|
+
"postcss": "^8.5.6",
|
|
113
|
+
"prettier": "^3.8.1",
|
|
114
|
+
"radix-ui": "^1.4.3",
|
|
115
|
+
"react": "^19.2.4",
|
|
116
|
+
"react-dom": "^19.2.4",
|
|
117
|
+
"shadcn": "^3.8.5",
|
|
118
|
+
"tailwind-merge": "^3.5.0",
|
|
119
|
+
"tailwindcss": "^4.2.1",
|
|
120
|
+
"tsup": "^8.5.1",
|
|
121
|
+
"tsx": "^4.21.0",
|
|
122
|
+
"tw-animate-css": "^1.4.0",
|
|
123
|
+
"typedoc": "^0.28.17",
|
|
124
|
+
"typedoc-plugin-markdown": "^4.10.0",
|
|
125
|
+
"typescript": "^5.9.3",
|
|
126
|
+
"typescript-eslint": "^8.56.1",
|
|
127
|
+
"vitest": "^4.0.18",
|
|
128
|
+
"zustand": "^5.0.11"
|
|
129
|
+
}
|
|
130
|
+
}
|