@timo9378/flow2code 0.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/CHANGELOG.md +56 -0
- package/LICENSE +21 -0
- package/README.md +223 -0
- package/dist/cli.js +5211 -0
- package/dist/compiler.cjs +4177 -0
- package/dist/compiler.d.cts +1230 -0
- package/dist/compiler.d.ts +1230 -0
- package/dist/compiler.js +4112 -0
- package/dist/server.d.ts +27 -0
- package/dist/server.js +3042 -0
- package/package.json +120 -0
package/package.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@timo9378/flow2code",
|
|
3
|
+
"version": "0.1.0",
|
|
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
|
+
"precheck": "pnpm lint && pnpm test:run && pnpm build:cli",
|
|
21
|
+
"docs:api": "typedoc",
|
|
22
|
+
"compile": "node --loader ts-node/esm src/cli/index.ts compile",
|
|
23
|
+
"watch": "node --loader ts-node/esm src/cli/index.ts watch",
|
|
24
|
+
"prepublishOnly": "pnpm build"
|
|
25
|
+
},
|
|
26
|
+
"bin": {
|
|
27
|
+
"flow2code": "dist/cli.js"
|
|
28
|
+
},
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": "./dist/compiler.js",
|
|
32
|
+
"require": "./dist/compiler.cjs",
|
|
33
|
+
"types": "./dist/compiler.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./compiler": {
|
|
36
|
+
"import": "./dist/compiler.js",
|
|
37
|
+
"require": "./dist/compiler.cjs",
|
|
38
|
+
"types": "./dist/compiler.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./server": {
|
|
41
|
+
"import": "./dist/server.js",
|
|
42
|
+
"types": "./dist/server.d.ts"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist",
|
|
47
|
+
"!dist/*.map",
|
|
48
|
+
"README.md",
|
|
49
|
+
"LICENSE",
|
|
50
|
+
"CHANGELOG.md"
|
|
51
|
+
],
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"flow",
|
|
57
|
+
"visual-programming",
|
|
58
|
+
"ast",
|
|
59
|
+
"compiler",
|
|
60
|
+
"decompiler",
|
|
61
|
+
"typescript",
|
|
62
|
+
"code-generator",
|
|
63
|
+
"workflow",
|
|
64
|
+
"api-builder",
|
|
65
|
+
"next.js"
|
|
66
|
+
],
|
|
67
|
+
"author": "timo9378",
|
|
68
|
+
"license": "MIT",
|
|
69
|
+
"repository": {
|
|
70
|
+
"type": "git",
|
|
71
|
+
"url": "git+https://github.com/timo9378/flow2code.git"
|
|
72
|
+
},
|
|
73
|
+
"homepage": "https://github.com/timo9378/flow2code#readme",
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=20.0.0"
|
|
76
|
+
},
|
|
77
|
+
"bugs": {
|
|
78
|
+
"url": "https://github.com/timo9378/flow2code/issues"
|
|
79
|
+
},
|
|
80
|
+
"packageManager": "pnpm@10.28.0",
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"chokidar": "^5.0.0",
|
|
83
|
+
"commander": "^14.0.3",
|
|
84
|
+
"ts-morph": "^27.0.2",
|
|
85
|
+
"yaml": "^2.8.2"
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@eslint/js": "^10.0.1",
|
|
89
|
+
"@tailwindcss/postcss": "^4.2.1",
|
|
90
|
+
"@types/node": "^25.3.1",
|
|
91
|
+
"@types/react": "^19.2.14",
|
|
92
|
+
"@types/react-dom": "^19.2.3",
|
|
93
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
94
|
+
"@xyflow/react": "^12.10.1",
|
|
95
|
+
"class-variance-authority": "^0.7.1",
|
|
96
|
+
"clsx": "^2.1.1",
|
|
97
|
+
"cmdk": "^1.1.1",
|
|
98
|
+
"eslint": "^10.0.2",
|
|
99
|
+
"globals": "^17.3.0",
|
|
100
|
+
"lucide-react": "^0.575.0",
|
|
101
|
+
"next": "^16.1.6",
|
|
102
|
+
"postcss": "^8.5.6",
|
|
103
|
+
"prettier": "^3.8.1",
|
|
104
|
+
"radix-ui": "^1.4.3",
|
|
105
|
+
"react": "^19.2.4",
|
|
106
|
+
"react-dom": "^19.2.4",
|
|
107
|
+
"shadcn": "^3.8.5",
|
|
108
|
+
"tailwind-merge": "^3.5.0",
|
|
109
|
+
"tailwindcss": "^4.2.1",
|
|
110
|
+
"tsup": "^8.5.1",
|
|
111
|
+
"tsx": "^4.21.0",
|
|
112
|
+
"tw-animate-css": "^1.4.0",
|
|
113
|
+
"typedoc": "^0.28.17",
|
|
114
|
+
"typedoc-plugin-markdown": "^4.10.0",
|
|
115
|
+
"typescript": "^5.9.3",
|
|
116
|
+
"typescript-eslint": "^8.56.1",
|
|
117
|
+
"vitest": "^4.0.18",
|
|
118
|
+
"zustand": "^5.0.11"
|
|
119
|
+
}
|
|
120
|
+
}
|