projectops 4.104.7 → 4.104.8
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/commands/workflows.js +5 -4
- package/src/core/version-yml.js +2 -1
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.8 (2026-11-14)
|
|
167
167
|
|
|
168
168
|
[View full version history](CHANGELOG.md)
|
|
169
169
|
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import { copyWorkflows } from "../core/copy/workflows.js";
|
|
|
8
8
|
import { applyLabelStyle } from "../core/label-style.js";
|
|
9
9
|
import { copyScripts, copyConfigFolder, copySetupGuide } from "../core/copy/simple.js";
|
|
10
10
|
import { copyUtilModules } from "../core/copy/util.js";
|
|
11
|
-
import { convertLegacySingularType, mergeDeployValues } from "../core/version-yml.js";
|
|
11
|
+
import { convertLegacySingularType, mergeDeployValues, commentsFor } from "../core/version-yml.js";
|
|
12
12
|
import { installAgentGuide } from "../core/agent-guide.js";
|
|
13
13
|
import { verifyInstall } from "../core/verify.js";
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ export function runWorkflows(context, tempDir, targetRoot = ".", hooks = {}) {
|
|
|
28
28
|
// update_version_yml_deploy: update the deploy block only when a version.yml exists and there are ask values
|
|
29
29
|
if (existsSync(vy) && wf.deployValues && wf.deployValues.size) {
|
|
30
30
|
const cur = readFileSync(vy, "utf8");
|
|
31
|
-
writeFileSync(vy, upsertDeployBlock(cur, mergeDeployValues(cur, wf.deployValues))); // Existing values first (#670)
|
|
31
|
+
writeFileSync(vy, upsertDeployBlock(cur, mergeDeployValues(cur, wf.deployValues), context.language)); // Existing values first (#670)
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
copyScripts(tempDir, targetRoot);
|
|
@@ -59,7 +59,8 @@ export function runWorkflows(context, tempDir, targetRoot = ".", hooks = {}) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// Remove the deploy: block from the existing version.yml and append a new one (idempotent).
|
|
62
|
-
|
|
62
|
+
// language: resolved repo text language (en | ko), picks the deploy: line comment (#1214)
|
|
63
|
+
export function upsertDeployBlock(content, deployValues, language) {
|
|
63
64
|
// Remove the existing deploy: block (from the deploy: line up to the next top-level key)
|
|
64
65
|
const lines = content.split(/\r?\n/);
|
|
65
66
|
const out = [];
|
|
@@ -78,7 +79,7 @@ export function upsertDeployBlock(content, deployValues) {
|
|
|
78
79
|
// Append the new deploy block
|
|
79
80
|
const deployTypes = [...deployValues.keys()].filter((t) => deployValues.get(t)?.size);
|
|
80
81
|
if (deployTypes.length) {
|
|
81
|
-
text += `\ndeploy: #
|
|
82
|
+
text += `\ndeploy: # ${commentsFor(language).deploy}\n`;
|
|
82
83
|
for (const t of deployTypes) {
|
|
83
84
|
text += ` ${t}:\n`;
|
|
84
85
|
for (const [k, v] of deployValues.get(t)) text += ` ${k}: "${v}"\n`;
|
package/src/core/version-yml.js
CHANGED
|
@@ -144,7 +144,8 @@ const COMMENTS = {
|
|
|
144
144
|
legacyDeployBranch: "development_branch 의 구 이름 — 구버전 스킬용으로 같은 값 유지",
|
|
145
145
|
},
|
|
146
146
|
};
|
|
147
|
-
|
|
147
|
+
// Comment table for a repo language: ko > Korean, anything else > English
|
|
148
|
+
export const commentsFor = (lang) => COMMENTS[lang === "ko" ? "ko" : "en"];
|
|
148
149
|
|
|
149
150
|
// Decide last_updated_by (#811): the git user who ran it → existing value → template_integrator.
|
|
150
151
|
// Overwriting with "template_integrator" every time loses who made the change.
|