create-fuzionx 0.1.55 → 0.1.57
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/index.js
CHANGED
|
@@ -108,11 +108,6 @@ async function createApp(name, targetDir, type = 'spa') {
|
|
|
108
108
|
const rendered = render(content, vars);
|
|
109
109
|
const destName = entry.name.replace(/\.tpl$/, '');
|
|
110
110
|
await fs.writeFile(path.join(dir, destName), rendered);
|
|
111
|
-
|
|
112
|
-
// .env.example → .env 도 함께 생성
|
|
113
|
-
if (destName === '.env.example') {
|
|
114
|
-
await fs.writeFile(path.join(dir, '.env'), rendered);
|
|
115
|
-
}
|
|
116
111
|
}
|
|
117
112
|
}
|
|
118
113
|
|
package/package.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
# ── Bridge (Rust 엔진) ──────────────────────────
|
|
6
6
|
bridge:
|
|
7
7
|
port: 49080
|
|
8
|
-
workers:
|
|
8
|
+
workers: 1 # 0 = CPU 코어 수 자동
|
|
9
9
|
worker_timeout: 30 # 워커 요청 타임아웃 (초)
|
|
10
10
|
|
|
11
11
|
# ── 보안: CORS ──
|
|
12
12
|
cors:
|
|
13
|
-
enabled:
|
|
13
|
+
enabled: true
|
|
14
14
|
origins:
|
|
15
15
|
- "*"
|
|
16
16
|
|
|
@@ -32,7 +32,7 @@ bridge:
|
|
|
32
32
|
|
|
33
33
|
# ── 보안: IP Filter ──
|
|
34
34
|
ip_filter:
|
|
35
|
-
enabled:
|
|
35
|
+
enabled: true
|
|
36
36
|
whitelist: [] # CIDR 형식
|
|
37
37
|
blacklist: []
|
|
38
38
|
|
|
@@ -132,7 +132,7 @@ bridge:
|
|
|
132
132
|
|
|
133
133
|
# ── ASP 암호화 ──
|
|
134
134
|
asp:
|
|
135
|
-
enabled:
|
|
135
|
+
enabled: true
|
|
136
136
|
master_secret: "${ASP_SECRET:change-me-in-production}"
|
|
137
137
|
header_signal: Ruxy-Enc-Mode
|
|
138
138
|
|
package/templates/spa/meta.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# .env — FuzionX App 환경 변수
|
|
2
|
-
|
|
3
|
-
# ASP 암호화 (Bridge + WASM 공유)
|
|
4
|
-
ASP_SECRET=change-me-in-production
|
|
5
|
-
|
|
6
|
-
# Auth (JWT/세션)
|
|
7
|
-
JWT_SECRET=change-me-in-production
|
|
8
|
-
|
|
9
|
-
# Client Secret (설정값 암호화 → SPA 주입)
|
|
10
|
-
CLIENT_SECRET=change-me-in-production
|
|
11
|
-
|
|
12
|
-
# Database
|
|
13
|
-
DB_NAME={{dbName}}
|
|
14
|
-
|
|
15
|
-
# Redis (세션/큐 — 미사용 시 빈 값)
|
|
16
|
-
REDIS_URL=
|