@next-vibe/checker 1.0.30 → 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 +39 -70
- package/.dist/bin/vibe-runtime.js.map +5 -5
- package/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 +77 -95
- 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");
|
|
@@ -51422,7 +51407,7 @@ class ReleaseExecutor {
|
|
|
51422
51407
|
continue;
|
|
51423
51408
|
}
|
|
51424
51409
|
}
|
|
51425
|
-
if (!
|
|
51410
|
+
if (!packageFailed) {
|
|
51426
51411
|
const currentBranch = globalGitInfo?.currentBranch ?? gitService.getCurrentBranch();
|
|
51427
51412
|
if (currentBranch && currentBranch !== mainBranch && !config3.branch?.allowNonMain) {
|
|
51428
51413
|
logger.vibe(formatWarning(`Releasing from '${currentBranch}' branch (not '${mainBranch}')`));
|
|
@@ -51477,46 +51462,40 @@ class ReleaseExecutor {
|
|
|
51477
51462
|
if (globalGitInfo) {
|
|
51478
51463
|
globalGitInfo.newTag = versionInfo.newTag;
|
|
51479
51464
|
}
|
|
51480
|
-
|
|
51481
|
-
|
|
51482
|
-
|
|
51483
|
-
|
|
51484
|
-
|
|
51485
|
-
|
|
51486
|
-
if (
|
|
51487
|
-
|
|
51488
|
-
|
|
51489
|
-
|
|
51490
|
-
|
|
51491
|
-
|
|
51492
|
-
|
|
51493
|
-
|
|
51494
|
-
|
|
51495
|
-
|
|
51496
|
-
|
|
51497
|
-
|
|
51498
|
-
|
|
51499
|
-
|
|
51500
|
-
|
|
51501
|
-
|
|
51502
|
-
|
|
51503
|
-
|
|
51504
|
-
|
|
51505
|
-
|
|
51506
|
-
|
|
51507
|
-
|
|
51508
|
-
|
|
51509
|
-
|
|
51510
|
-
|
|
51511
|
-
}
|
|
51512
|
-
if (jsrResult.success && releaseConfig.jsr?.enabled && !dryRun) {
|
|
51513
|
-
publishedPackages.push({
|
|
51514
|
-
name: packageJson.name,
|
|
51515
|
-
version: versionInfo.newVersion,
|
|
51516
|
-
registry: "jsr",
|
|
51517
|
-
url: `${MESSAGES.JSR_REGISTRY_URL}/@${packageJson.name}`
|
|
51518
|
-
});
|
|
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
|
+
}
|
|
51519
51496
|
}
|
|
51497
|
+
} else if (!isCI) {
|
|
51498
|
+
logger.vibe(formatSkip("Skipping npm publish (local mode - only CI publishes)"));
|
|
51520
51499
|
}
|
|
51521
51500
|
const gitReleaseResult = releaseCreator.createGitRelease(cwd, releaseConfig, packageJson, versionInfo, logger, dryRun);
|
|
51522
51501
|
if (handleFailure(gitReleaseResult, "Git release creation")) {
|
|
@@ -51587,12 +51566,7 @@ class ReleaseExecutor {
|
|
|
51587
51566
|
failed: failCount
|
|
51588
51567
|
});
|
|
51589
51568
|
logger.debug(MESSAGES.TIMING_REPORT, { ...timings });
|
|
51590
|
-
const notifyConfig = config3.notifications
|
|
51591
|
-
enabled: true,
|
|
51592
|
-
webhookUrl: notifyWebhook,
|
|
51593
|
-
onSuccess: true,
|
|
51594
|
-
onFailure: true
|
|
51595
|
-
} : undefined);
|
|
51569
|
+
const notifyConfig = config3.notifications;
|
|
51596
51570
|
if (notifyConfig?.enabled) {
|
|
51597
51571
|
const notifyResult = await notificationService.sendNotification(notifyConfig, {
|
|
51598
51572
|
success: errors4.length === 0,
|
|
@@ -51631,12 +51605,7 @@ class ReleaseExecutor {
|
|
|
51631
51605
|
errors4.push(errorMessage);
|
|
51632
51606
|
output.push(MESSAGES.RELEASE_FAILED);
|
|
51633
51607
|
timings.total = Date.now() - startTime;
|
|
51634
|
-
const notifyConfig = config3?.notifications
|
|
51635
|
-
enabled: true,
|
|
51636
|
-
webhookUrl: data.notifyWebhook,
|
|
51637
|
-
onSuccess: true,
|
|
51638
|
-
onFailure: true
|
|
51639
|
-
} : undefined);
|
|
51608
|
+
const notifyConfig = config3?.notifications;
|
|
51640
51609
|
if (notifyConfig?.enabled) {
|
|
51641
51610
|
const notifyResult = await notificationService.sendNotification(notifyConfig, {
|
|
51642
51611
|
success: false,
|
|
@@ -58184,7 +58153,7 @@ var init_debug = __esm(() => {
|
|
|
58184
58153
|
});
|
|
58185
58154
|
|
|
58186
58155
|
// src/app/api/[locale]/system/unified-interface/cli/vibe-runtime.ts
|
|
58187
|
-
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;
|
|
58188
58157
|
var init_vibe_runtime = __esm(() => {
|
|
58189
58158
|
init_esm();
|
|
58190
58159
|
init_parse_error();
|
|
@@ -58320,4 +58289,4 @@ export {
|
|
|
58320
58289
|
binaryStartTime
|
|
58321
58290
|
};
|
|
58322
58291
|
|
|
58323
|
-
//# debugId=
|
|
58292
|
+
//# debugId=9E46F852CB32BBD464756E2164756E21
|