pubuilder 0.6.0 → 0.7.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 +17 -0
- package/dist/api.d.ts +19 -0
- package/dist/cli.js +480 -375
- package/dist/components/SuspendButton.d.ts +6 -0
- package/dist/components/SuspendConflictPanel.d.ts +5 -0
- package/dist/index.js +809 -594
- package/dist/index.js.map +1 -1
- package/dist/publish-jobs.d.ts +28 -0
- package/dist/server/agent.d.ts +52 -3
- package/dist/server/snapshot.d.ts +10 -0
- package/dist/store.d.ts +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@
|
|
|
5
5
|
버전은 [Semantic Versioning](https://semver.org/lang/ko/)을 따릅니다.
|
|
6
6
|
(0.x 단계이므로 breaking change는 minor 버전으로 올립니다.)
|
|
7
7
|
|
|
8
|
+
## [0.7.0] - 2026-07-15
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **블록별 동시 퍼블리싱** — 여러 블록을 동시에 퍼블리싱할 수 있고(서버 상한 3개),
|
|
13
|
+
다른 블록을 선택하거나 미니맵을 닫아도 실행 중인 job이 끊기지 않는다. job 상태를
|
|
14
|
+
selection 종속 로컬 state에서 store(블록키별)로 승격.
|
|
15
|
+
- **"일시 종료"** — 진행 중인 모든 퍼블리싱 job을 강제 종료하고, 각 job이 편집한
|
|
16
|
+
파일을 job 시작 시점(git stash 스냅샷)으로 되돌린다. 완료 job·사용자 편집과 겹치는
|
|
17
|
+
파일은 파일 단위 충돌 GUI(이전으로/현재 유지/편집)로 해결한다.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- 미니맵 캔버스의 "React Flow" 워터마크 제거(`hideAttribution`) + 우측 하단
|
|
22
|
+
줌/핏 컨트롤러(`<Controls>`) 복원.
|
|
23
|
+
|
|
8
24
|
## [0.6.0] - 2026-07-15
|
|
9
25
|
|
|
10
26
|
### Added
|
|
@@ -67,6 +83,7 @@
|
|
|
67
83
|
- `pubuilder scan` CLI — Next.js 라우트를 스캔해 `ia.config.ts` 생성/병합.
|
|
68
84
|
- `PageMap` 미니맵 컴포넌트 — 화면설계서(IA) 기반 페이지 트리를 iframe 썸네일로 렌더링.
|
|
69
85
|
|
|
86
|
+
[0.7.0]: https://www.npmjs.com/package/pubuilder/v/0.7.0
|
|
70
87
|
[0.6.0]: https://www.npmjs.com/package/pubuilder/v/0.6.0
|
|
71
88
|
[0.5.0]: https://www.npmjs.com/package/pubuilder/v/0.5.0
|
|
72
89
|
[0.4.0]: https://www.npmjs.com/package/pubuilder/v/0.4.0
|
package/dist/api.d.ts
CHANGED
|
@@ -15,6 +15,21 @@ export interface TokenStatus {
|
|
|
15
15
|
configured: boolean;
|
|
16
16
|
masked: string | null;
|
|
17
17
|
}
|
|
18
|
+
/** 일시 종료 시 롤백이 완료 job/사용자 편집과 겹치는 파일 */
|
|
19
|
+
export interface SuspendConflict {
|
|
20
|
+
file: string;
|
|
21
|
+
baseline: string;
|
|
22
|
+
current: string;
|
|
23
|
+
}
|
|
24
|
+
export interface SuspendResult {
|
|
25
|
+
autoReverted: string[];
|
|
26
|
+
conflicts: SuspendConflict[];
|
|
27
|
+
}
|
|
28
|
+
export type SuspendResolution = {
|
|
29
|
+
file: string;
|
|
30
|
+
action: 'revert' | 'keep' | 'edit';
|
|
31
|
+
content?: string;
|
|
32
|
+
};
|
|
18
33
|
/** 서버 에러 응답의 code(server/errors.ts 계약)를 UI 분기용으로 실어 나르는 에러 */
|
|
19
34
|
export declare class ApiError extends Error {
|
|
20
35
|
readonly code?: string | undefined;
|
|
@@ -41,6 +56,10 @@ export declare class PubuilderApi {
|
|
|
41
56
|
jobId: string;
|
|
42
57
|
}>;
|
|
43
58
|
cancelPublish(jobId: string): Promise<void>;
|
|
59
|
+
/** 진행 중 job 전체 kill + 파일 자동롤백/충돌 분류 */
|
|
60
|
+
suspendPublish(): Promise<SuspendResult>;
|
|
61
|
+
/** 충돌 파일 결정(revert/keep/edit) 적용 */
|
|
62
|
+
resolveSuspend(resolutions: SuspendResolution[]): Promise<void>;
|
|
44
63
|
/** SSE 구독 — 반환값 호출로 해제 */
|
|
45
64
|
subscribePublish(jobId: string, onEvent: (e: AgentEvent) => void): () => void;
|
|
46
65
|
}
|