projectops 4.104.2 → 4.104.3
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/README.md +1 -1
- package/package.json +1 -1
- package/src/core/copy/workflows.js +4 -3
- package/src/core/ide/legacy.js +3 -2
- package/src/i18n/core.en.js +2 -0
- package/src/i18n/core.ko.js +2 -0
- package/src/i18n/ide.en.js +2 -0
- package/src/i18n/ide.ko.js +2 -0
package/README.md
CHANGED
|
@@ -163,7 +163,7 @@ Supported types: `spring`, `flutter`, `react` (incl. Next.js), `node`, `python`,
|
|
|
163
163
|
Everything is on the **[docs site](https://cassiiopeia.github.io/projectops/)**, in English and [Korean](https://cassiiopeia.github.io/projectops/ko/): [Getting started](https://cassiiopeia.github.io/projectops/getting-started) · [CLI](https://cassiiopeia.github.io/projectops/cli) · [Agent Skills](https://cassiiopeia.github.io/projectops/skills) · [Versioning](https://cassiiopeia.github.io/projectops/version-control) · [Changelog](https://cassiiopeia.github.io/projectops/changelog-automation) · [SSH + Docker deploy](https://cassiiopeia.github.io/projectops/ssh-docker-deployment-guide) · [Flutter CI/CD](https://cassiiopeia.github.io/projectops/flutter-cicd-overview) · [Troubleshooting](https://cassiiopeia.github.io/projectops/troubleshooting)
|
|
164
164
|
|
|
165
165
|
<!-- AUTO-VERSION-SECTION: DO NOT EDIT MANUALLY -->
|
|
166
|
-
## Latest version : v4.104.
|
|
166
|
+
## Latest version : v4.104.3 (2026-11-14)
|
|
167
167
|
|
|
168
168
|
[View full version history](CHANGELOG.md)
|
|
169
169
|
|
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ import { saveIncoming, lineDiffCounts } from "../incoming.js";
|
|
|
13
13
|
import { branchStatus } from "../git-branch.js";
|
|
14
14
|
import { PUBLISH_TARGETS } from "../constants.js";
|
|
15
15
|
import { commonOptionalGroups, serverDeployEnabled, SERVER_DEPLOY_DIR } from "../workflow-groups.js";
|
|
16
|
+
import { t } from "../../i18n/index.js";
|
|
16
17
|
|
|
17
18
|
// on: 블록의 브랜치 필터가 전부 develop 뿐인가 (#810).
|
|
18
19
|
// 개발 브랜치가 없는 레포에 깔면 영영 실행되지 않는 워크플로우를 가린다.
|
|
@@ -99,7 +100,7 @@ export function copyWorkflows(context, tempDir, targetRoot = ".", hooks = {}) {
|
|
|
99
100
|
// 설치 시점 기준점(#557) — 없으면 null이고 classify가 종전 2-way로 폴백한다.
|
|
100
101
|
const baseline = readBaseline(targetRoot);
|
|
101
102
|
const projectTypesDir = join(tempDir, PATHS.workflowsDir, PATHS.projectTypesDir);
|
|
102
|
-
if (!exists(projectTypesDir)) throw new Error("
|
|
103
|
+
if (!exists(projectTypesDir)) throw new Error(t("copy.templateStructureError"));
|
|
103
104
|
|
|
104
105
|
const counters = { copied: 0, skipped: 0, templateAdded: 0, optionalCopied: 0, copiedFiles: [],
|
|
105
106
|
replacedBak: [], // #673 — 기준점이 없어 수정 여부를 모른 채 .bak 백업 후 교체한 파일명
|
|
@@ -161,7 +162,7 @@ export function copyWorkflows(context, tempDir, targetRoot = ".", hooks = {}) {
|
|
|
161
162
|
info.added = d.added; info.removed = d.removed;
|
|
162
163
|
} catch (e) {
|
|
163
164
|
trace?.event("copy", "incoming-failed", filename, { message: e?.message || String(e) });
|
|
164
|
-
console.error(
|
|
165
|
+
console.error(t("copy.incomingSaveFailed", { file: filename, error: e?.message || e }));
|
|
165
166
|
}
|
|
166
167
|
counters.skippedConflicts.push(info);
|
|
167
168
|
return info;
|
|
@@ -340,7 +341,7 @@ function applyDecision(decision, srcDir, workflowsDir, filename, counters, trace
|
|
|
340
341
|
// #654 — 새 템플릿을 incoming에 남기고 diff 줄 수를 detail로 함께 기록
|
|
341
342
|
const inc = counters.onSkip?.(srcDir, filename, type) ?? {};
|
|
342
343
|
trace?.event("copy", "skipped-conflict", filename, {
|
|
343
|
-
decision: decision ?? "skip", note: "
|
|
344
|
+
decision: decision ?? "skip", note: "kept the user-modified file — candidate for merge review",
|
|
344
345
|
incoming: inc.incoming || null, added: inc.added ?? null, removed: inc.removed ?? null,
|
|
345
346
|
});
|
|
346
347
|
}
|
package/src/core/ide/legacy.js
CHANGED
|
@@ -4,6 +4,7 @@ import { join } from "node:path";
|
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import { copyFileSync } from "../fsutil.js";
|
|
6
6
|
import { compareCacheName } from "./util.js";
|
|
7
|
+
import { t } from "../../i18n/index.js";
|
|
7
8
|
|
|
8
9
|
// version <= maxLegacy 이면 레거시. null/빈문자열은 판정 불가 → false(안전).
|
|
9
10
|
export function isLegacyVersion(version, maxLegacy) {
|
|
@@ -33,10 +34,10 @@ export function migrateConfigRoot(io) {
|
|
|
33
34
|
if (!src) return { migrated: false, reason: "no-source" };
|
|
34
35
|
try {
|
|
35
36
|
copyFileSync(src, target);
|
|
36
|
-
io.log(
|
|
37
|
+
io.log(t("ide.legacy.configMigrated", { source: src }));
|
|
37
38
|
return { migrated: true, from: src };
|
|
38
39
|
} catch (e) {
|
|
39
|
-
io.log(
|
|
40
|
+
io.log(t("ide.legacy.configMigrateFailed", { error: e.message }));
|
|
40
41
|
return { migrated: false, reason: "error" };
|
|
41
42
|
}
|
|
42
43
|
}
|
package/src/i18n/core.en.js
CHANGED
|
@@ -30,4 +30,6 @@ export default {
|
|
|
30
30
|
"errors.unexpected.message": "Unexpected error: {msg}",
|
|
31
31
|
"errors.unexpected.hint": "Run again with DEBUG=1 for details.",
|
|
32
32
|
"run.orphanNotice": "⚠️ Workflow of an unselected type ({type}) is left behind: {file}. You can clean it up in the interactive wizard (npx projectops).",
|
|
33
|
+
"copy.templateStructureError": "Template repository layout is broken: the project-types folder was not found.",
|
|
34
|
+
"copy.incomingSaveFailed": "⚠️ Could not save the incoming copy ({file}): {error} — continuing without the merge notice.",
|
|
33
35
|
};
|
package/src/i18n/core.ko.js
CHANGED
|
@@ -30,4 +30,6 @@ export default {
|
|
|
30
30
|
"errors.unexpected.message": "예기치 못한 오류: {msg}",
|
|
31
31
|
"errors.unexpected.hint": "자세한 내용은 DEBUG=1 로 다시 실행하면 볼 수 있습니다.",
|
|
32
32
|
"run.orphanNotice": "⚠️ 선택되지 않은 타입({type})의 워크플로우가 남아있습니다: {file} — 대화형 마법사(npx projectops)에서 정리할 수 있습니다.",
|
|
33
|
+
"copy.templateStructureError": "템플릿 저장소 구조 오류 — project-types 폴더를 찾지 못했습니다.",
|
|
34
|
+
"copy.incomingSaveFailed": "⚠️ incoming 저장 실패({file}): {error} — 병합 안내 없이 계속합니다.",
|
|
33
35
|
};
|
package/src/i18n/ide.en.js
CHANGED
|
@@ -114,4 +114,6 @@ export default {
|
|
|
114
114
|
"envPlan.optSome": "3) Pick a few to change (only those are asked, the rest keep defaults)",
|
|
115
115
|
"envPlan.defaultTag": "(default: {value})",
|
|
116
116
|
"envPlan.pickPrompt": "Choose the items to change (Space selects, Enter confirms)",
|
|
117
|
+
"ide.legacy.configMigrated": " config migrated: {source} → ~/.projectops/config/config.json",
|
|
118
|
+
"ide.legacy.configMigrateFailed": " config migration failed (ignored): {error}",
|
|
117
119
|
};
|
package/src/i18n/ide.ko.js
CHANGED
|
@@ -114,4 +114,6 @@ export default {
|
|
|
114
114
|
"envPlan.optSome": "③ 몇 개만 골라서 바꾸기 (고른 것만 입력, 나머지는 기본값)",
|
|
115
115
|
"envPlan.defaultTag": "(기본: {value})",
|
|
116
116
|
"envPlan.pickPrompt": "바꿀 항목을 고르세요 (Space로 선택 · Enter로 확정)",
|
|
117
|
+
"ide.legacy.configMigrated": " config 마이그레이션 완료: {source} → ~/.projectops/config/config.json",
|
|
118
|
+
"ide.legacy.configMigrateFailed": " config 마이그레이션 실패(무시): {error}",
|
|
117
119
|
};
|