@gaonjs/config 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/dist/wire.js +5 -0
  2. package/package.json +6 -6
package/dist/wire.js CHANGED
@@ -102,6 +102,11 @@ export async function wireGaon(config, cwd = process.cwd()) {
102
102
  const apps = await resolveApps(root);
103
103
  const specs = apps.map((a) => {
104
104
  let spec = toAppSpec(a);
105
+ // 결정 67: 프론트 번들 배선(앱별). vite build 산출은 dist/<앱> 관례
106
+ // (vite.config outDir). 빌드 전이어도 배선은 두고, 문서 셸이 빌드 산출을
107
+ // 매 요청 읽어 dev(build --watch) 재빌드를 즉시 반영한다. 빌드 산출이
108
+ // 없으면 buildRootTemplate 이 진단 셸(수리 안내)을 낸다.
109
+ spec = { ...spec, frontend: { distDir: join(root, 'dist', a.name) } };
105
110
  // app.config.ts 가 session 을 두면 세션을 켠다(app.config 는 임의 shape 라
106
111
  // 얕게 검사). Redis 인스턴스는 wireGaon 이 소유하는 걸 재사용.
107
112
  const ac = a.appConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaonjs/config",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "Gaon 루트 설정 로더·자동 배선 (gaon.config.ts · §3.3 · M9-A)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -25,13 +25,13 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "ioredis": "^5.4.1",
28
- "@gaonjs/async": "0.3.1",
29
- "@gaonjs/core": "0.1.4",
30
- "@gaonjs/data": "0.8.4",
28
+ "@gaonjs/async": "0.4.0",
29
+ "@gaonjs/core": "0.2.0",
31
30
  "@gaonjs/mail": "0.1.1",
32
- "@gaonjs/i18n": "0.1.1",
31
+ "@gaonjs/data": "0.8.4",
33
32
  "@gaonjs/storage": "0.1.1",
34
- "@gaonjs/web": "0.5.3"
33
+ "@gaonjs/i18n": "0.1.1",
34
+ "@gaonjs/web": "0.6.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "fastify": "^5.0.0"