sh-ui-cli 0.89.0 → 0.89.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.
@@ -2,6 +2,18 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$description": "sh-ui 릴리즈 노트 단일 소스. docs(React)와 showcase(Flutter)가 함께 읽는다. 새 릴리즈마다 맨 앞에 추가.",
4
4
  "versions": [
5
+ {
6
+ "version": "0.89.1",
7
+ "date": "2026-05-14",
8
+ "title": "/create 페이지 vite + tauri 노출 + api.d.ts 타입 정정",
9
+ "type": "patch",
10
+ "highlights": [
11
+ "**docs `/create` 페이지에 Vite (SPA) 플랫폼 토글 + Tauri 데스크탑 셸 토글** — v0.86.0~v0.88.0 의 CLI 변경이 docs UI 까지 따라가지 못한 빈틈 해소. ProjectOptionsForm 의 플랫폼 ToggleGroup 에 'Vite (SPA)' 추가, vite 일 때 구조/아키텍처/CSS 프레임워크 토글 공유 (플러그인은 next 전용), vite + standalone 일 때만 `--tauri` 버튼 활성 (monorepo+tauri 는 v0.89 후속이라 자동 비활성화 + 친절한 hover hint).",
12
+ "**`sh-ui-cli/api` 의 `.d.ts` 타입 정정** — `CreatePlatform` union 이 v0.86.0 부터 runtime 에 'vite' 추가됐는데 `api.d.ts` 가 `'next' \\| 'flutter'` 로 stale 상태였음. 'vite' 추가로 union 동기화. `DescribeTemplateOptions` 에도 v0.88.0 부터 runtime 이 받던 `tauri?: boolean` 필드 명시. 다운스트림 TS 소비자 가 정확한 타입 받음.",
13
+ "**`/api/template-content` 엔드포인트가 vite 인식** — 미리보기 트리에서 vite-standalone / vite-app / tauri-shell 파일을 정확히 resolve. `?tauri=true` 쿼리 시 `src-tauri/*` 경로가 `tauri-shell` 템플릿에서 lookup. 모노레포 `apps/{name}/*` 는 vite-app, `packages/ui/ui-apps/ui-{name}/*` 는 ui-app-template, 루트는 monorepo 템플릿."
14
+ ],
15
+ "url": "https://github.com/sanghyeonKim0201/sh-ui/releases/tag/v0.89.1"
16
+ },
5
17
  {
6
18
  "version": "0.89.0",
7
19
  "date": "2026-05-14",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sh-ui-cli",
3
- "version": "0.89.0",
3
+ "version": "0.89.1",
4
4
  "description": "sh-ui CLI — 프로젝트 스캐폴드(create) + 컴포넌트 추가(add/list/remove) + IDE-내 AI용 MCP 서버",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/api.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * apps/docs 등 TypeScript 사용자가 자동완성과 타입 안전을 받을 수 있게.
4
4
  */
5
5
 
6
- export type CreatePlatform = 'next' | 'flutter';
6
+ export type CreatePlatform = 'next' | 'flutter' | 'vite';
7
7
  export type CreateStructure = 'standalone' | 'monorepo';
8
8
  export type InitPlatform = 'react' | 'flutter';
9
9
  export type ThemeBase = 'neutral' | 'zinc' | 'slate';
@@ -139,6 +139,8 @@ export interface DescribeTemplateOptions {
139
139
  projectName?: string;
140
140
  /** monorepo 첫 앱 이름. 기본 'web'. */
141
141
  appName?: string;
142
+ /** platform=vite + structure=standalone 일 때 Tauri 2.x 셸(`src-tauri/`) 동시 emit. */
143
+ tauri?: boolean;
142
144
  }
143
145
 
144
146
  export interface DescribeTemplateGroup {