@xfilecom/xframe 0.1.27 → 0.1.29

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/defaults.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "backendCore": "^1.0.8",
3
- "frontCore": "^0.2.13"
2
+ "backendCore": "^1.0.10",
3
+ "frontCore": "^0.2.16"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfilecom/xframe",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "Scaffold full-stack app: Nest + @xfilecom/backend-core, Vite/React + @xfilecom/front-core",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -12,6 +12,7 @@
12
12
  "dependencies": {
13
13
  "@nestjs/common": "^10.0.0",
14
14
  "@nestjs/core": "^10.0.0",
15
+ "@nestjs/microservices": "^10.0.0",
15
16
  "@nestjs/platform-express": "^10.0.0",
16
17
  "@xfilecom/backend-core": "__BACKEND_CORE_SPEC__",
17
18
  "reflect-metadata": "^0.2.0",
@@ -19,8 +19,10 @@
19
19
  "db:pull": "drizzle-kit introspect --config ./drizzle.introspect.config.ts"
20
20
  },
21
21
  "devDependencies": {
22
+ "@nestjs/microservices": "^10.0.0",
22
23
  "@xfilecom/backend-core": "__BACKEND_CORE_SPEC__",
23
24
  "concurrently": "^9.1.2",
24
- "drizzle-kit": "^0.31.0"
25
+ "drizzle-kit": "^0.31.0",
26
+ "reflect-metadata": "^0.2.0"
25
27
  }
26
28
  }
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * 앱·브랜드별 토큰 + (선택) atoms 보강.
3
3
  *
4
+ * xframe 레포에서 example 을 `yarn dev` 할 때는 이 템플릿이 아니라
5
+ * `example/web/shared/src/styles/xfc-theme.css` 를 고치세요 (Vite 가 그 경로를 import 합니다).
6
+ *
4
7
  * 엔트리(main.tsx) 권장 순서:
5
8
  * 1. @xfilecom/front-core/tokens.css
6
9
  * 2. @xfilecom/front-core/base.css
@@ -16,18 +19,6 @@
16
19
  * (패키지 메이저 시 목록이 달라질 수 있음 — 필요하면 소스 파일을 직접 확인)
17
20
  * ---------------------------------------------------------------------------
18
21
  *
19
- * :root {
20
- * --xfc-accent: #0d9488;
21
- * --xfc-accent-hover: #0f766e;
22
- * --xfc-accent-fg: #ffffff;
23
- * --xfc-bg-muted: #f0fdfa;
24
- * --xfc-radius-xs: 10px;
25
- * --xfc-focus-ring: 0 0 0 3px color-mix(in srgb, var(--xfc-accent) 30%, transparent);
26
- *
27
- * --xfc-space-lg: 18px;
28
- * --xfc-space-xl: 26px;
29
- * }
30
- *
31
22
  * [tokens.css — :root 변수]
32
23
  * Surfaces: --xfc-bg, --xfc-bg-elevated, --xfc-bg-muted, --xfc-bg-disabled
33
24
  * Text: --xfc-fg, --xfc-fg-strong, --xfc-fg-label, --xfc-fg-muted,
@@ -84,3 +75,38 @@
84
75
  * 서브패스 import: @xfilecom/front-core/atoms
85
76
  * ---------------------------------------------------------------------------
86
77
  */
78
+
79
+ /* :root {
80
+ --xfc-accent: #143c38;
81
+ --xfc-accent-hover: #0f766e;
82
+ --xfc-accent-fg: #ffffff;
83
+ --xfc-bg-muted: #f0fdfa;
84
+ --xfc-radius-xs: 10px;
85
+ --xfc-focus-ring: 0 0 0 3px color-mix(in srgb, var(--xfc-accent) 30%, transparent);
86
+ --xfc-space-lg: 18px;
87
+ --xfc-space-xl: 26px;
88
+ }
89
+ */
90
+
91
+ /* 스캐폴드 기본 예시 — primary 버튼 톤 (base.css 이후 로드 전제) */
92
+ /* .xfc-btn {
93
+ min-height: 44px;
94
+ font-weight: 800;
95
+ letter-spacing: 0.08em;
96
+ text-transform: uppercase;
97
+ font-size: 0.8125rem;
98
+ }
99
+
100
+ .xfc-btn--primary {
101
+ border: 1px solid color-mix(in srgb, var(--xfc-accent-fg) 35%, transparent);
102
+ box-shadow:
103
+ 0 1px 0 color-mix(in srgb, #000 18%, transparent),
104
+ 0 8px 24px color-mix(in srgb, var(--xfc-accent) 40%, transparent);
105
+ }
106
+
107
+ .xfc-btn--primary:hover:not(:disabled) {
108
+ box-shadow:
109
+ 0 2px 0 color-mix(in srgb, #000 22%, transparent),
110
+ 0 10px 28px color-mix(in srgb, var(--xfc-accent) 48%, transparent);
111
+ }
112
+ */