@c-d-cc/reap 0.15.9 → 0.15.10
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/RELEASE_NOTICE.md +6 -0
- package/dist/cli.js +19 -8
- package/package.json +1 -1
package/RELEASE_NOTICE.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Release Notices
|
|
2
2
|
|
|
3
|
+
## v0.15.10
|
|
4
|
+
### en
|
|
5
|
+
Fixed release notice language matching (e.g. "korean" → "ko").
|
|
6
|
+
### ko
|
|
7
|
+
릴리스 공지 언어 매칭 수정 (예: "korean" → "ko").
|
|
8
|
+
|
|
3
9
|
## v0.15.9
|
|
4
10
|
### en
|
|
5
11
|
Fixed release notice not displaying after `reap update`. Path resolution now uses `require.resolve` instead of `__dirname`.
|
package/dist/cli.js
CHANGED
|
@@ -10230,7 +10230,7 @@ function checkLatestVersion() {
|
|
|
10230
10230
|
}
|
|
10231
10231
|
}
|
|
10232
10232
|
function getCurrentVersion() {
|
|
10233
|
-
return "0.15.
|
|
10233
|
+
return "0.15.10";
|
|
10234
10234
|
}
|
|
10235
10235
|
function formatVersionLine(current, skipCheck) {
|
|
10236
10236
|
if (skipCheck) {
|
|
@@ -12429,7 +12429,7 @@ async function execute17(paths) {
|
|
|
12429
12429
|
const gm = new GenerationManager(paths);
|
|
12430
12430
|
const state = await gm.current();
|
|
12431
12431
|
const configContent = await readTextFile(paths.config);
|
|
12432
|
-
const installedVersion = "0.15.
|
|
12432
|
+
const installedVersion = "0.15.10";
|
|
12433
12433
|
const autoUpdate = configContent?.match(/autoUpdate:\s*(true|false)/)?.[1] === "true";
|
|
12434
12434
|
const versionDisplay = formatVersionLine(installedVersion, !autoUpdate);
|
|
12435
12435
|
const rawLang = detectLanguage(configContent);
|
|
@@ -14178,7 +14178,7 @@ async function execute30(paths) {
|
|
|
14178
14178
|
const lines = [
|
|
14179
14179
|
`REAP Configuration (${paths.config})`,
|
|
14180
14180
|
"",
|
|
14181
|
-
` version: ${"0.15.
|
|
14181
|
+
` version: ${"0.15.10"} (package)`,
|
|
14182
14182
|
` project: ${config.project}`,
|
|
14183
14183
|
` entryMode: ${config.entryMode}`,
|
|
14184
14184
|
` strict: ${config.strict ?? false}`,
|
|
@@ -14484,7 +14484,7 @@ async function runCommand(command, phase, argv = []) {
|
|
|
14484
14484
|
try {
|
|
14485
14485
|
const config = await ConfigManager.read(paths);
|
|
14486
14486
|
if (config.autoIssueReport) {
|
|
14487
|
-
const version = "0.15.
|
|
14487
|
+
const version = "0.15.10";
|
|
14488
14488
|
const errMsg = err instanceof Error ? err.message : String(err);
|
|
14489
14489
|
const title = `[auto] reap run ${command}: ${errMsg.slice(0, 80)}`;
|
|
14490
14490
|
const body = [
|
|
@@ -16383,7 +16383,18 @@ function fetchReleaseNotice(version, language) {
|
|
|
16383
16383
|
const rest = content.slice(start);
|
|
16384
16384
|
const nextVersion = rest.search(/^## v/m);
|
|
16385
16385
|
const section = nextVersion === -1 ? rest : rest.slice(0, nextVersion);
|
|
16386
|
-
const
|
|
16386
|
+
const LANG_MAP = {
|
|
16387
|
+
korean: "ko",
|
|
16388
|
+
english: "en",
|
|
16389
|
+
japanese: "ja",
|
|
16390
|
+
chinese: "zh-cn",
|
|
16391
|
+
spanish: "es",
|
|
16392
|
+
french: "fr",
|
|
16393
|
+
german: "de",
|
|
16394
|
+
portuguese: "pt"
|
|
16395
|
+
};
|
|
16396
|
+
const raw = language.toLowerCase();
|
|
16397
|
+
const lang = LANG_MAP[raw] ?? raw;
|
|
16387
16398
|
const langPattern = new RegExp(`^### ${lang}\\s*$`, "im");
|
|
16388
16399
|
const langMatch = langPattern.exec(section);
|
|
16389
16400
|
if (!langMatch) {
|
|
@@ -16423,7 +16434,7 @@ async function getStatus(projectRoot) {
|
|
|
16423
16434
|
const totalCompleted = await mgr.countAllCompleted();
|
|
16424
16435
|
const integrityResult = await checkIntegrity(paths);
|
|
16425
16436
|
return {
|
|
16426
|
-
version: "0.15.
|
|
16437
|
+
version: "0.15.10",
|
|
16427
16438
|
project: config.project,
|
|
16428
16439
|
entryMode: config.entryMode,
|
|
16429
16440
|
lastSyncedGeneration: config.lastSyncedGeneration,
|
|
@@ -16746,7 +16757,7 @@ init_fs();
|
|
|
16746
16757
|
init_version();
|
|
16747
16758
|
init_config();
|
|
16748
16759
|
import { join as join34 } from "path";
|
|
16749
|
-
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.15.
|
|
16760
|
+
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.15.10");
|
|
16750
16761
|
program.command("init").description("Initialize a new REAP project (Genesis)").argument("[project-name]", "Project name (defaults to current directory name)").option("-m, --mode <mode>", "Entry mode: greenfield, migration, adoption", "greenfield").option("-p, --preset <preset>", "Bootstrap with a genome preset (e.g., bun-hono-react)").action(async (projectName, options) => {
|
|
16751
16762
|
try {
|
|
16752
16763
|
const cwd = process.cwd();
|
|
@@ -16803,7 +16814,7 @@ program.command("status").description("Show current project and Generation statu
|
|
|
16803
16814
|
const paths = new ReapPaths(cwd);
|
|
16804
16815
|
const config = await ConfigManager.read(paths);
|
|
16805
16816
|
const skipCheck = config.autoUpdate === false;
|
|
16806
|
-
const installedVersion = "0.15.
|
|
16817
|
+
const installedVersion = "0.15.10";
|
|
16807
16818
|
const versionLine = formatVersionLine(installedVersion, skipCheck);
|
|
16808
16819
|
console.log(`${versionLine} | Project: ${status.project} (${status.entryMode})`);
|
|
16809
16820
|
console.log(`Completed Generations: ${status.totalGenerations}`);
|