relizy 0.2.5-beta.10 → 0.2.5-beta.11

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 { U as isInCI, V as getCIName, b as bump, c as changelog, d as publish, a as providerRelease, r as release } from './shared/relizy.CfJAOU-Q.mjs';
8
+ import { U as isInCI, V as getCIName, b as bump, c as changelog, d as publish, a as providerRelease, r as release } from './shared/relizy.DLoE22sp.mjs';
9
9
  import 'node:child_process';
10
10
  import '@maz-ui/utils';
11
11
  import 'c12';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { b as bump, c as changelog, m as checkGitStatusIfDirty, aa as confirmBump, s as createCommitAndTags, A as createGitlabRelease, f as defineConfig, o as detectGitProvider, C as detectPackageManager, D as determinePublishTag, _ as determineReleaseType, Z as determineSemverChange, X as executeBuildCmd, W as executeFormatCmd, T as executeHook, j as expandPackagesToBumpWithDependents, a2 as extractVersionFromPackageTag, n as fetchGitTags, g as generateChangelog, ab as getBumpedIndependentPackages, a9 as getBumpedPackageIndependently, V as getCIName, x as getCurrentGitBranch, y as getCurrentGitRef, e as getDefaultConfig, i as getDependentsOf, v as getFirstCommit, k as getGitStatus, N as getIndependentTag, R as getLastPackageTag, Q as getLastRepoTag, O as getLastStableTag, P as getLastTag, L as getPackageCommits, h as getPackageDependencies, a0 as getPackageNewVersion, K as getPackages, F as getPackagesToPublishInIndependentMode, E as getPackagesToPublishInSelectiveMode, a7 as getPreid, I as getRootPackage, z as github, B as gitlab, M as hasLernaJson, Y as isBumpedPackage, a8 as isChangedPreid, a6 as isGraduating, U as isInCI, a3 as isPrerelease, a5 as isPrereleaseReleaseType, a4 as isStableReleaseType, l as loadRelizyConfig, q as parseGitRemoteUrl, a as providerRelease, p as providerReleaseSafetyCheck, d as publish, G as publishPackage, u as pushCommitAndTags, H as readPackageJson, J as readPackages, r as release, S as resolveTags, t as topologicalSort, a1 as updateLernaVersion, w as writeChangelogToFile, $ as writeVersion } from './shared/relizy.CfJAOU-Q.mjs';
1
+ export { b as bump, c as changelog, m as checkGitStatusIfDirty, aa as confirmBump, s as createCommitAndTags, A as createGitlabRelease, f as defineConfig, o as detectGitProvider, C as detectPackageManager, D as determinePublishTag, _ as determineReleaseType, Z as determineSemverChange, X as executeBuildCmd, W as executeFormatCmd, T as executeHook, j as expandPackagesToBumpWithDependents, a2 as extractVersionFromPackageTag, n as fetchGitTags, g as generateChangelog, ab as getBumpedIndependentPackages, a9 as getBumpedPackageIndependently, V as getCIName, x as getCurrentGitBranch, y as getCurrentGitRef, e as getDefaultConfig, i as getDependentsOf, v as getFirstCommit, k as getGitStatus, N as getIndependentTag, R as getLastPackageTag, Q as getLastRepoTag, O as getLastStableTag, P as getLastTag, L as getPackageCommits, h as getPackageDependencies, a0 as getPackageNewVersion, K as getPackages, F as getPackagesToPublishInIndependentMode, E as getPackagesToPublishInSelectiveMode, a7 as getPreid, I as getRootPackage, z as github, B as gitlab, M as hasLernaJson, Y as isBumpedPackage, a8 as isChangedPreid, a6 as isGraduating, U as isInCI, a3 as isPrerelease, a5 as isPrereleaseReleaseType, a4 as isStableReleaseType, l as loadRelizyConfig, q as parseGitRemoteUrl, a as providerRelease, p as providerReleaseSafetyCheck, d as publish, G as publishPackage, u as pushCommitAndTags, H as readPackageJson, J as readPackages, r as release, S as resolveTags, t as topologicalSort, a1 as updateLernaVersion, w as writeChangelogToFile, $ as writeVersion } from './shared/relizy.DLoE22sp.mjs';
2
2
  import '@maz-ui/node';
3
3
  import 'node:process';
4
4
  import 'node:child_process';
@@ -1677,14 +1677,12 @@ async function confirmBump({
1677
1677
  });
1678
1678
  if (versionMode === "unified") {
1679
1679
  if (!newVersion) {
1680
- logger.error("Cannot confirm bump in unified mode without a new version");
1681
- process.exit(1);
1680
+ throw new Error("Cannot confirm bump in unified mode without a new version");
1682
1681
  }
1683
1682
  displayUnifiedModePackages({ packages, newVersion, force });
1684
1683
  } else if (versionMode === "selective") {
1685
1684
  if (!newVersion) {
1686
- logger.error("Cannot confirm bump in selective mode without a new version");
1687
- process.exit(1);
1685
+ throw new Error("Cannot confirm bump in selective mode without a new version");
1688
1686
  }
1689
1687
  displaySelectiveModePackages({ packages, newVersion, force });
1690
1688
  } else if (versionMode === "independent") {
@@ -2188,7 +2186,7 @@ async function getRootPackage({
2188
2186
  });
2189
2187
  if (!releaseType) {
2190
2188
  logger.fail("No commits require a version bump");
2191
- process.exit(1);
2189
+ process.exit(0);
2192
2190
  }
2193
2191
  newVersion = getPackageNewVersion({
2194
2192
  currentVersion: packageJson.version,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relizy",
3
3
  "type": "module",
4
- "version": "0.2.5-beta.10",
4
+ "version": "0.2.5-beta.11",
5
5
  "description": "Changelogen adapter for monorepo management with unified and independent versioning",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@inquirer/prompts": "^8.0.1",
59
- "@maz-ui/node": "^4.3.1-alpha.0",
59
+ "@maz-ui/node": "4.3.2-beta.1",
60
60
  "@maz-ui/utils": "^4.3.0",
61
61
  "c12": "^3.3.2",
62
62
  "changelogen": "^0.6.2",
@@ -72,7 +72,7 @@
72
72
  "@commitlint/config-conventional": "^20.0.0",
73
73
  "@commitlint/cz-commitlint": "^20.1.0",
74
74
  "@commitlint/types": "^20.0.0",
75
- "@maz-ui/eslint-config": "4.3.1-alpha.2",
75
+ "@maz-ui/eslint-config": "4.3.2-beta.1",
76
76
  "@types/node": "^24.10.1",
77
77
  "@types/semver": "^7.7.1",
78
78
  "@vitest/coverage-v8": "^4.0.10",