@c-d-cc/reap 0.15.8 → 0.15.9
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 +17 -10
- package/package.json +1 -1
package/RELEASE_NOTICE.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Release Notices
|
|
2
2
|
|
|
3
|
+
## v0.15.9
|
|
4
|
+
### en
|
|
5
|
+
Fixed release notice not displaying after `reap update`. Path resolution now uses `require.resolve` instead of `__dirname`.
|
|
6
|
+
### ko
|
|
7
|
+
`reap update` 후 릴리스 공지가 표시되지 않던 문제 수정. 경로 탐색을 `__dirname` 대신 `require.resolve` 사용으로 변경.
|
|
8
|
+
|
|
3
9
|
## v0.15.8
|
|
4
10
|
### en
|
|
5
11
|
Removed `version` field from config.yml. No more uncommitted changes after `reap update`.
|
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.9";
|
|
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.9";
|
|
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.9"} (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.9";
|
|
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 = [
|
|
@@ -16361,11 +16361,18 @@ async function removeDirIfExists(dirPath, label, dryRun, result) {
|
|
|
16361
16361
|
|
|
16362
16362
|
// src/core/notice.ts
|
|
16363
16363
|
import { readFileSync } from "fs";
|
|
16364
|
-
import { join as join14 } from "path";
|
|
16365
|
-
|
|
16364
|
+
import { join as join14, dirname as dirname2 } from "path";
|
|
16365
|
+
function findPackageRoot() {
|
|
16366
|
+
try {
|
|
16367
|
+
const pkgPath = __require.resolve("@c-d-cc/reap/package.json");
|
|
16368
|
+
return dirname2(pkgPath);
|
|
16369
|
+
} catch {
|
|
16370
|
+
return process.cwd();
|
|
16371
|
+
}
|
|
16372
|
+
}
|
|
16366
16373
|
function fetchReleaseNotice(version, language) {
|
|
16367
16374
|
try {
|
|
16368
|
-
const noticePath = join14(
|
|
16375
|
+
const noticePath = join14(findPackageRoot(), "RELEASE_NOTICE.md");
|
|
16369
16376
|
const content = readFileSync(noticePath, "utf-8");
|
|
16370
16377
|
const versionTag = version.startsWith("v") ? version : `v${version}`;
|
|
16371
16378
|
const versionPattern = new RegExp(`^## ${versionTag.replace(/\./g, "\\.")}\\s*$`, "m");
|
|
@@ -16416,7 +16423,7 @@ async function getStatus(projectRoot) {
|
|
|
16416
16423
|
const totalCompleted = await mgr.countAllCompleted();
|
|
16417
16424
|
const integrityResult = await checkIntegrity(paths);
|
|
16418
16425
|
return {
|
|
16419
|
-
version: "0.15.
|
|
16426
|
+
version: "0.15.9",
|
|
16420
16427
|
project: config.project,
|
|
16421
16428
|
entryMode: config.entryMode,
|
|
16422
16429
|
lastSyncedGeneration: config.lastSyncedGeneration,
|
|
@@ -16739,7 +16746,7 @@ init_fs();
|
|
|
16739
16746
|
init_version();
|
|
16740
16747
|
init_config();
|
|
16741
16748
|
import { join as join34 } from "path";
|
|
16742
|
-
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.15.
|
|
16749
|
+
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.15.9");
|
|
16743
16750
|
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) => {
|
|
16744
16751
|
try {
|
|
16745
16752
|
const cwd = process.cwd();
|
|
@@ -16796,7 +16803,7 @@ program.command("status").description("Show current project and Generation statu
|
|
|
16796
16803
|
const paths = new ReapPaths(cwd);
|
|
16797
16804
|
const config = await ConfigManager.read(paths);
|
|
16798
16805
|
const skipCheck = config.autoUpdate === false;
|
|
16799
|
-
const installedVersion = "0.15.
|
|
16806
|
+
const installedVersion = "0.15.9";
|
|
16800
16807
|
const versionLine = formatVersionLine(installedVersion, skipCheck);
|
|
16801
16808
|
console.log(`${versionLine} | Project: ${status.project} (${status.entryMode})`);
|
|
16802
16809
|
console.log(`Completed Generations: ${status.totalGenerations}`);
|