@next-vibe/checker 1.0.29 → 1.0.31
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/.dist/bin/vibe-runtime.js +48 -75
- package/.dist/bin/vibe-runtime.js.map +5 -5
- package/package.json +1 -1
- package/src/app/api/[locale]/system/check/test-project/bun.lock +2 -2
- package/src/app/api/[locale]/system/check/test-project/package.json +1 -1
- package/src/app/api/[locale]/system/release-tool/definition.ts +0 -23
- package/src/app/api/[locale]/system/release-tool/repository/release-executor.ts +98 -111
- package/src/app/api/[locale]/system/unified-interface/cli/vibe-runtime.ts +1 -1
|
@@ -33956,12 +33956,6 @@ var init_definition12 = __esm(() => {
|
|
|
33956
33956
|
label: "app.api.system.releaseTool.fields.skipSnyk.title",
|
|
33957
33957
|
description: "app.api.system.releaseTool.fields.skipSnyk.description"
|
|
33958
33958
|
}, exports_external.boolean().optional().default(false)),
|
|
33959
|
-
skipPublish: requestDataField({
|
|
33960
|
-
type: "form_field" /* FORM_FIELD */,
|
|
33961
|
-
fieldType: "boolean" /* BOOLEAN */,
|
|
33962
|
-
label: "app.api.system.releaseTool.fields.skipPublish.title",
|
|
33963
|
-
description: "app.api.system.releaseTool.fields.skipPublish.description"
|
|
33964
|
-
}, exports_external.boolean().optional().default(false)),
|
|
33965
33959
|
skipChangelog: requestDataField({
|
|
33966
33960
|
type: "form_field" /* FORM_FIELD */,
|
|
33967
33961
|
fieldType: "boolean" /* BOOLEAN */,
|
|
@@ -34050,13 +34044,6 @@ var init_definition12 = __esm(() => {
|
|
|
34050
34044
|
description: "app.api.system.releaseTool.fields.commitMessage.description",
|
|
34051
34045
|
optional: true
|
|
34052
34046
|
}, exports_external.string().optional()),
|
|
34053
|
-
notifyWebhook: requestDataField({
|
|
34054
|
-
type: "form_field" /* FORM_FIELD */,
|
|
34055
|
-
fieldType: "text" /* TEXT */,
|
|
34056
|
-
label: "app.api.system.releaseTool.fields.notifyWebhook.title",
|
|
34057
|
-
description: "app.api.system.releaseTool.fields.notifyWebhook.description",
|
|
34058
|
-
optional: true
|
|
34059
|
-
}, exports_external.string().optional()),
|
|
34060
34047
|
configObject: objectOptionalField({
|
|
34061
34048
|
type: "container" /* CONTAINER */,
|
|
34062
34049
|
title: "app.api.system.releaseTool.fields.configObject.title",
|
|
@@ -51070,14 +51057,12 @@ class ReleaseExecutor {
|
|
|
51070
51057
|
const skipBuild = data.skipBuild ?? false;
|
|
51071
51058
|
const skipTests = data.skipTests ?? false;
|
|
51072
51059
|
const skipSnyk = data.skipSnyk ?? false;
|
|
51073
|
-
const skipPublish = data.skipPublish ?? false;
|
|
51074
51060
|
const skipChangelog = data.skipChangelog ?? false;
|
|
51075
51061
|
const skipGitTag = data.skipGitTag ?? false;
|
|
51076
51062
|
const skipGitPush = data.skipGitPush ?? false;
|
|
51077
51063
|
const targetPackage = data.targetPackage;
|
|
51078
51064
|
let versionIncrement = data.versionIncrement;
|
|
51079
51065
|
const prereleaseId = data.prereleaseId;
|
|
51080
|
-
const notifyWebhook = data.notifyWebhook;
|
|
51081
51066
|
const packageManager = config3.packageManager ?? "bun";
|
|
51082
51067
|
logger.vibe(formatStartup("Release Tool", "\uD83D\uDCE6"));
|
|
51083
51068
|
logger.vibe("");
|
|
@@ -51091,7 +51076,7 @@ class ReleaseExecutor {
|
|
|
51091
51076
|
logger.vibe(` ${formatConfig("Typecheck", skipTypecheck ? "SKIP" : "ON")}`);
|
|
51092
51077
|
logger.vibe(` ${formatConfig("Build", skipBuild ? "SKIP" : "ON")}`);
|
|
51093
51078
|
logger.vibe(` ${formatConfig("Tests", skipTests ? "SKIP" : "ON")}`);
|
|
51094
|
-
logger.vibe(` ${formatConfig("Publish",
|
|
51079
|
+
logger.vibe(` ${formatConfig("Publish", isCI ? "CI ONLY" : "SKIP")}`);
|
|
51095
51080
|
logger.vibe("");
|
|
51096
51081
|
if (isVerbose) {
|
|
51097
51082
|
logger.debug("Verbose mode enabled");
|
|
@@ -51142,7 +51127,7 @@ class ReleaseExecutor {
|
|
|
51142
51127
|
logger.vibe(formatProgress("Force update mode: updating dependencies..."));
|
|
51143
51128
|
const packages2 = config3.packages ?? [];
|
|
51144
51129
|
for (const pkg of packages2) {
|
|
51145
|
-
if (pkg.updateDeps === true || pkg.updateDeps === "force") {
|
|
51130
|
+
if ((pkg.updateDeps === true || pkg.updateDeps === "force") && !isCI) {
|
|
51146
51131
|
const cwd = join14(originalCwd, pkg.directory);
|
|
51147
51132
|
const pkgJsonResult = packageService.getPackageJson(cwd, logger);
|
|
51148
51133
|
if (pkgJsonResult.success) {
|
|
@@ -51398,11 +51383,15 @@ class ReleaseExecutor {
|
|
|
51398
51383
|
continue;
|
|
51399
51384
|
}
|
|
51400
51385
|
}
|
|
51401
|
-
|
|
51402
|
-
|
|
51403
|
-
|
|
51386
|
+
if (!isCI) {
|
|
51387
|
+
const updateResult = packageService.updatePackageVersion(pkg, versionInfo.newVersion, cwd, originalCwd, logger);
|
|
51388
|
+
if (handleFailure(updateResult, "Version update")) {
|
|
51389
|
+
continue;
|
|
51390
|
+
}
|
|
51391
|
+
versionService.updateVariableStringValue(logger, versionInfo.newVersion, releaseConfig);
|
|
51392
|
+
} else {
|
|
51393
|
+
logger.vibe(formatSkip("Skipping version bump (CI mode - using existing version)"));
|
|
51404
51394
|
}
|
|
51405
|
-
versionService.updateVariableStringValue(logger, versionInfo.newVersion, releaseConfig);
|
|
51406
51395
|
if (releaseConfig.foldersToZip) {
|
|
51407
51396
|
await assetZipper.zipFolders(versionInfo.newTag, packageJson, releaseConfig.foldersToZip, logger, dryRun);
|
|
51408
51397
|
}
|
|
@@ -51418,7 +51407,7 @@ class ReleaseExecutor {
|
|
|
51418
51407
|
continue;
|
|
51419
51408
|
}
|
|
51420
51409
|
}
|
|
51421
|
-
if (!
|
|
51410
|
+
if (!packageFailed) {
|
|
51422
51411
|
const currentBranch = globalGitInfo?.currentBranch ?? gitService.getCurrentBranch();
|
|
51423
51412
|
if (currentBranch && currentBranch !== mainBranch && !config3.branch?.allowNonMain) {
|
|
51424
51413
|
logger.vibe(formatWarning(`Releasing from '${currentBranch}' branch (not '${mainBranch}')`));
|
|
@@ -51473,46 +51462,40 @@ class ReleaseExecutor {
|
|
|
51473
51462
|
if (globalGitInfo) {
|
|
51474
51463
|
globalGitInfo.newTag = versionInfo.newTag;
|
|
51475
51464
|
}
|
|
51476
|
-
|
|
51477
|
-
|
|
51478
|
-
|
|
51479
|
-
|
|
51480
|
-
|
|
51481
|
-
|
|
51482
|
-
if (
|
|
51483
|
-
|
|
51484
|
-
|
|
51485
|
-
|
|
51486
|
-
|
|
51487
|
-
|
|
51488
|
-
|
|
51489
|
-
|
|
51490
|
-
|
|
51491
|
-
|
|
51492
|
-
|
|
51493
|
-
|
|
51494
|
-
|
|
51495
|
-
|
|
51496
|
-
|
|
51497
|
-
|
|
51498
|
-
|
|
51499
|
-
|
|
51500
|
-
|
|
51501
|
-
|
|
51502
|
-
|
|
51503
|
-
|
|
51504
|
-
|
|
51505
|
-
|
|
51506
|
-
|
|
51507
|
-
}
|
|
51508
|
-
if (jsrResult.success && releaseConfig.jsr?.enabled && !dryRun) {
|
|
51509
|
-
publishedPackages.push({
|
|
51510
|
-
name: packageJson.name,
|
|
51511
|
-
version: versionInfo.newVersion,
|
|
51512
|
-
registry: "jsr",
|
|
51513
|
-
url: `${MESSAGES.JSR_REGISTRY_URL}/@${packageJson.name}`
|
|
51514
|
-
});
|
|
51465
|
+
if (isCI && !dryRun) {
|
|
51466
|
+
if (releaseConfig.ciReleaseCommand) {
|
|
51467
|
+
const ciResult = publisher.runCiReleaseCommand(releaseConfig, packageJson.name, logger, dryRun);
|
|
51468
|
+
if (handleFailure(ciResult, "CI release command")) {
|
|
51469
|
+
continue;
|
|
51470
|
+
}
|
|
51471
|
+
} else if (releaseConfig.npm?.enabled !== false) {
|
|
51472
|
+
const npmResult = publisher.publishToNpm(cwd, packageJson, releaseConfig, logger, dryRun, ciEnv);
|
|
51473
|
+
if (handleFailure(npmResult, "NPM publish")) {
|
|
51474
|
+
continue;
|
|
51475
|
+
}
|
|
51476
|
+
if (npmResult.success && !dryRun) {
|
|
51477
|
+
publishedPackages.push({
|
|
51478
|
+
name: packageJson.name,
|
|
51479
|
+
version: versionInfo.newVersion,
|
|
51480
|
+
registry: "npm",
|
|
51481
|
+
url: `${MESSAGES.NPM_REGISTRY_URL}/${packageJson.name}`
|
|
51482
|
+
});
|
|
51483
|
+
}
|
|
51484
|
+
const jsrResult = publisher.publishToJsr(cwd, packageJson, releaseConfig, logger, dryRun);
|
|
51485
|
+
if (handleFailure(jsrResult, "JSR publish")) {
|
|
51486
|
+
continue;
|
|
51487
|
+
}
|
|
51488
|
+
if (jsrResult.success && releaseConfig.jsr?.enabled && !dryRun) {
|
|
51489
|
+
publishedPackages.push({
|
|
51490
|
+
name: packageJson.name,
|
|
51491
|
+
version: versionInfo.newVersion,
|
|
51492
|
+
registry: "jsr",
|
|
51493
|
+
url: `${MESSAGES.JSR_REGISTRY_URL}/@${packageJson.name}`
|
|
51494
|
+
});
|
|
51495
|
+
}
|
|
51515
51496
|
}
|
|
51497
|
+
} else if (!isCI) {
|
|
51498
|
+
logger.vibe(formatSkip("Skipping npm publish (local mode - only CI publishes)"));
|
|
51516
51499
|
}
|
|
51517
51500
|
const gitReleaseResult = releaseCreator.createGitRelease(cwd, releaseConfig, packageJson, versionInfo, logger, dryRun);
|
|
51518
51501
|
if (handleFailure(gitReleaseResult, "Git release creation")) {
|
|
@@ -51583,12 +51566,7 @@ class ReleaseExecutor {
|
|
|
51583
51566
|
failed: failCount
|
|
51584
51567
|
});
|
|
51585
51568
|
logger.debug(MESSAGES.TIMING_REPORT, { ...timings });
|
|
51586
|
-
const notifyConfig = config3.notifications
|
|
51587
|
-
enabled: true,
|
|
51588
|
-
webhookUrl: notifyWebhook,
|
|
51589
|
-
onSuccess: true,
|
|
51590
|
-
onFailure: true
|
|
51591
|
-
} : undefined);
|
|
51569
|
+
const notifyConfig = config3.notifications;
|
|
51592
51570
|
if (notifyConfig?.enabled) {
|
|
51593
51571
|
const notifyResult = await notificationService.sendNotification(notifyConfig, {
|
|
51594
51572
|
success: errors4.length === 0,
|
|
@@ -51627,12 +51605,7 @@ class ReleaseExecutor {
|
|
|
51627
51605
|
errors4.push(errorMessage);
|
|
51628
51606
|
output.push(MESSAGES.RELEASE_FAILED);
|
|
51629
51607
|
timings.total = Date.now() - startTime;
|
|
51630
|
-
const notifyConfig = config3?.notifications
|
|
51631
|
-
enabled: true,
|
|
51632
|
-
webhookUrl: data.notifyWebhook,
|
|
51633
|
-
onSuccess: true,
|
|
51634
|
-
onFailure: true
|
|
51635
|
-
} : undefined);
|
|
51608
|
+
const notifyConfig = config3?.notifications;
|
|
51636
51609
|
if (notifyConfig?.enabled) {
|
|
51637
51610
|
const notifyResult = await notificationService.sendNotification(notifyConfig, {
|
|
51638
51611
|
success: false,
|
|
@@ -58180,7 +58153,7 @@ var init_debug = __esm(() => {
|
|
|
58180
58153
|
});
|
|
58181
58154
|
|
|
58182
58155
|
// src/app/api/[locale]/system/unified-interface/cli/vibe-runtime.ts
|
|
58183
|
-
var binaryStartTime, environmentResult, cliPlatform, isCliPackage, projectRoot, CLI_NAME = "vibe-check", CLI_VERSION = "1.0.
|
|
58156
|
+
var binaryStartTime, environmentResult, cliPlatform, isCliPackage, projectRoot, CLI_NAME = "vibe-check", CLI_VERSION = "1.0.31", DEFAULT_OUTPUT = "pretty", program2, earlyT;
|
|
58184
58157
|
var init_vibe_runtime = __esm(() => {
|
|
58185
58158
|
init_esm();
|
|
58186
58159
|
init_parse_error();
|
|
@@ -58316,4 +58289,4 @@ export {
|
|
|
58316
58289
|
binaryStartTime
|
|
58317
58290
|
};
|
|
58318
58291
|
|
|
58319
|
-
//# debugId=
|
|
58292
|
+
//# debugId=9E46F852CB32BBD464756E2164756E21
|