relizy 0.2.5-beta.13 → 0.2.5-beta.14

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/cli.mjs CHANGED
@@ -5,7 +5,7 @@ import process from 'node:process';
5
5
  import { fileURLToPath } from 'node:url';
6
6
  import { printBanner, logger } from '@maz-ui/node';
7
7
  import { Command } from 'commander';
8
- import { W as isInCI, X as getCIName, b as bump, c as changelog, e as publish, a as providerRelease, r as release } from './shared/relizy.qmU37FU2.mjs';
8
+ import { W as isInCI, X as getCIName, b as bump, c as changelog, e as publish, a as providerRelease, r as release } from './shared/relizy.CU6Hj4K0.mjs';
9
9
  import 'changelogen';
10
10
  import 'fast-glob';
11
11
  import '@inquirer/prompts';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { b as bump, c as changelog, n as checkGitStatusIfDirty, ae as confirmBump, u as createCommitAndTags, B as createGitlabRelease, h as defineConfig, q as detectGitProvider, D as detectPackageManager, E as determinePublishTag, a2 as determineReleaseType, a1 as determineSemverChange, Z as executeBuildCmd, Y as executeFormatCmd, V as executeHook, k as expandPackagesToBumpWithDependents, a6 as extractVersionFromPackageTag, o as fetchGitTags, g as generateChangelog, H as getAuthCommand, af as getBumpedIndependentPackages, ad as getBumpedPackageIndependently, X as getCIName, y as getCurrentGitBranch, z as getCurrentGitRef, f as getDefaultConfig, j as getDependentsOf, x as getFirstCommit, m as getGitStatus, P as getIndependentTag, T as getLastPackageTag, S as getLastRepoTag, Q as getLastStableTag, R as getLastTag, N as getPackageCommits, i as getPackageDependencies, a4 as getPackageNewVersion, M as getPackages, $ as getPackagesOrBumpedPackages, G as getPackagesToPublishInIndependentMode, F as getPackagesToPublishInSelectiveMode, ab as getPreid, K as getRootPackage, A as github, C as gitlab, O as hasLernaJson, _ as isBumpedPackage, ac as isChangedPreid, aa as isGraduating, a0 as isGraduatingToStableBetweenVersion, W as isInCI, a7 as isPrerelease, a9 as isPrereleaseReleaseType, a8 as isStableReleaseType, l as loadRelizyConfig, s as parseGitRemoteUrl, a as providerRelease, p as providerReleaseSafetyCheck, e as publish, I as publishPackage, d as publishSafetyCheck, v as pushCommitAndTags, J as readPackageJson, L as readPackages, r as release, U as resolveTags, t as topologicalSort, a5 as updateLernaVersion, w as writeChangelogToFile, a3 as writeVersion } from './shared/relizy.qmU37FU2.mjs';
1
+ export { b as bump, c as changelog, n as checkGitStatusIfDirty, ae as confirmBump, u as createCommitAndTags, B as createGitlabRelease, h as defineConfig, q as detectGitProvider, D as detectPackageManager, E as determinePublishTag, a2 as determineReleaseType, a1 as determineSemverChange, Z as executeBuildCmd, Y as executeFormatCmd, V as executeHook, k as expandPackagesToBumpWithDependents, a6 as extractVersionFromPackageTag, o as fetchGitTags, g as generateChangelog, H as getAuthCommand, af as getBumpedIndependentPackages, ad as getBumpedPackageIndependently, X as getCIName, y as getCurrentGitBranch, z as getCurrentGitRef, f as getDefaultConfig, j as getDependentsOf, x as getFirstCommit, m as getGitStatus, P as getIndependentTag, T as getLastPackageTag, S as getLastRepoTag, Q as getLastStableTag, R as getLastTag, N as getPackageCommits, i as getPackageDependencies, a4 as getPackageNewVersion, M as getPackages, $ as getPackagesOrBumpedPackages, G as getPackagesToPublishInIndependentMode, F as getPackagesToPublishInSelectiveMode, ab as getPreid, K as getRootPackage, A as github, C as gitlab, O as hasLernaJson, _ as isBumpedPackage, ac as isChangedPreid, aa as isGraduating, a0 as isGraduatingToStableBetweenVersion, W as isInCI, a7 as isPrerelease, a9 as isPrereleaseReleaseType, a8 as isStableReleaseType, l as loadRelizyConfig, s as parseGitRemoteUrl, a as providerRelease, p as providerReleaseSafetyCheck, e as publish, I as publishPackage, d as publishSafetyCheck, v as pushCommitAndTags, J as readPackageJson, L as readPackages, r as release, U as resolveTags, t as topologicalSort, a5 as updateLernaVersion, w as writeChangelogToFile, a3 as writeVersion } from './shared/relizy.CU6Hj4K0.mjs';
2
2
  import '@maz-ui/node';
3
3
  import 'node:fs';
4
4
  import 'node:path';
@@ -2431,23 +2431,23 @@ async function executePublishCommand({
2431
2431
  packageNameAndVersion,
2432
2432
  pkg,
2433
2433
  config,
2434
+ tag,
2434
2435
  dryRun
2435
2436
  }) {
2436
- logger.debug(`Executing publish command (${command}) in ${pkg.path}`);
2437
- if (dryRun) {
2438
- logger.info(`[dry-run] ${packageNameAndVersion}: Run ${command}`);
2439
- return;
2440
- }
2441
- const { stdout } = await execPromise(command, {
2442
- noStderr: true,
2443
- noStdout: true,
2444
- logLevel: config.logLevel,
2445
- cwd: pkg.path
2446
- });
2447
- if (stdout) {
2448
- logger.debug(stdout);
2437
+ logger.info(`${dryRun ? "[dry-run] " : ""}Publishing ${packageNameAndVersion} with tag "${tag}"`);
2438
+ if (!dryRun) {
2439
+ const { stdout } = await execPromise(command, {
2440
+ noStderr: true,
2441
+ noStdout: true,
2442
+ noSuccess: true,
2443
+ logLevel: config.logLevel,
2444
+ cwd: pkg.path
2445
+ });
2446
+ if (stdout) {
2447
+ logger.debug(stdout);
2448
+ }
2449
2449
  }
2450
- logger.info(`Published ${packageNameAndVersion}`);
2450
+ logger.info(`${dryRun ? "[dry-run] " : ""}Published ${packageNameAndVersion}`);
2451
2451
  }
2452
2452
  function getAuthCommand({
2453
2453
  packageManager,
@@ -2498,14 +2498,14 @@ async function publishPackage({
2498
2498
  config,
2499
2499
  otp: dynamicOtp
2500
2500
  });
2501
- logger.debug(`Publishing ${packageNameAndVersion} with tag '${tag}' with command: ${command}`);
2502
2501
  process.chdir(pkg.path);
2503
2502
  await executePublishCommand({
2504
2503
  command,
2505
2504
  packageNameAndVersion,
2506
2505
  pkg,
2507
2506
  config,
2508
- dryRun
2507
+ dryRun,
2508
+ tag
2509
2509
  });
2510
2510
  if (dynamicOtp && !sessionOtp) {
2511
2511
  sessionOtp = dynamicOtp;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relizy",
3
3
  "type": "module",
4
- "version": "0.2.5-beta.13",
4
+ "version": "0.2.5-beta.14",
5
5
  "packageManager": "pnpm@10.22.0",
6
6
  "description": "Changelogen adapter for monorepo management with unified and independent versioning",
7
7
  "author": "Louis Mazel <me@loicmazuel.com>",