projectops 4.35.0 → 4.36.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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/cli/args.js +3 -1
- package/src/core/copy/simple.js +12 -0
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
**Status: actively maintained.** Releases are batched about once a day; see [CONTRIBUTING](CONTRIBUTING.md#releases).
|
|
10
10
|
|
|
11
11
|
<!-- AUTO-VERSION-SECTION: DO NOT EDIT MANUALLY -->
|
|
12
|
-
## Latest version : v4.
|
|
12
|
+
## Latest version : v4.36.0 (2026-10-06)
|
|
13
13
|
|
|
14
14
|
[View full version history](CHANGELOG.md)
|
|
15
15
|
|
package/package.json
CHANGED
package/src/cli/args.js
CHANGED
|
@@ -3,11 +3,13 @@ import { existsSync, statSync, realpathSync } from "node:fs";
|
|
|
3
3
|
import { join, relative, isAbsolute } from "node:path";
|
|
4
4
|
import { VALID_TYPES } from "../context.js";
|
|
5
5
|
import { SUPPORTED_LANGS, t } from "../i18n/index.js";
|
|
6
|
+
import { REPO_LANGUAGES } from "../core/repo-language.js";
|
|
6
7
|
|
|
7
8
|
export const DEPLOY_TARGETS = ["docker-ssh", "vercel", "none"];
|
|
8
9
|
export const PUBLISH_TARGETS = ["nexus", "npm", "github-packages"];
|
|
9
10
|
export const LABEL_STYLE_VALUES = ["en", "ko"];
|
|
10
|
-
|
|
11
|
+
// 지원 언어의 단일 목록은 repo-language.js 다 (#787). 여기서 따로 들고 있으면 두 벌이 어긋난다.
|
|
12
|
+
export const LANGUAGE_VALUES = REPO_LANGUAGES;
|
|
11
13
|
export const INTENT_VALUES = ["app", "library", "both", "none", "manual"];
|
|
12
14
|
const SEMVER_RE = /^\d+\.\d+\.\d+$/;
|
|
13
15
|
// 유니코드 글자·숫자 허용 (#719) — 공백·셸 메타문자는 문자 클래스에 없어 그대로 거부된다.
|
package/src/core/copy/simple.js
CHANGED
|
@@ -20,6 +20,8 @@ export function copyScripts(tempDir, targetRoot = ".") {
|
|
|
20
20
|
"dispatch_downstream.py",
|
|
21
21
|
// AI PR SUMMARY 워크플로우가 요약 댓글을 작성·갱신할 때 호출 (#553).
|
|
22
22
|
"pr_summary_comment.py",
|
|
23
|
+
// QA 이슈 생성 봇이 게시 문구를 만들 때 호출 (#787). 언어는 version.yml 의 options.language.
|
|
24
|
+
"qa_bot_messages.py",
|
|
23
25
|
// 릴리스 노트가 어떤 경로로 만들어졌는지 알리고, AI를 못 썼을 때 대안을 안내 (#566).
|
|
24
26
|
"changelog_notice.py",
|
|
25
27
|
// Flutter 빌드 워크플로우가 .env와 dart-define을 한 곳에서 정할 때 호출 (#603).
|
|
@@ -49,6 +51,16 @@ export function copyScripts(tempDir, targetRoot = ".") {
|
|
|
49
51
|
copied++;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
54
|
+
// 메시지 카탈로그(#787): 런타임에 스크립트가 읽는다. 목록 대신 폴더 단위로 복사해야
|
|
55
|
+
// 번역가가 json 한 파일만 추가해도 다른 곳을 고치지 않고 따라간다.
|
|
56
|
+
const i18nSrc = join(tempDir, PATHS.scriptsDir, "i18n");
|
|
57
|
+
if (exists(i18nSrc)) {
|
|
58
|
+
for (const f of readdirSync(i18nSrc)) {
|
|
59
|
+
if (!/\.(py|json)$/.test(f)) continue; // __pycache__ 등은 제외
|
|
60
|
+
copyFileSync(join(i18nSrc, f), join(targetRoot, PATHS.scriptsDir, "i18n", f));
|
|
61
|
+
copied++;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
52
64
|
return copied;
|
|
53
65
|
}
|
|
54
66
|
|