relizy 0.2.2-beta.1 → 0.2.3-alpha.0

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 { R as isInCI, S as getCIName, b as bump, c as changelog, d as publish, a as providerRelease, r as release } from './shared/relizy.BXWNyIig.mjs';
8
+ import { R as isInCI, S as getCIName, b as bump, c as changelog, d as publish, a as providerRelease, r as release } from './shared/relizy.Esbxb_ll.mjs';
9
9
  import 'node:child_process';
10
10
  import '@maz-ui/utils';
11
11
  import 'c12';
@@ -39,7 +39,7 @@ if (!hasSilentFlag) {
39
39
  });
40
40
  }
41
41
  if (isInCI()) {
42
- logger.debug(`Running in CI: ${getCIName()}`);
42
+ logger.log(`Running in CI: ${getCIName()}`);
43
43
  } else {
44
44
  logger.debug("Running locally");
45
45
  }
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { b as bump, a7 as bumpIndependentPackages, a4 as bumpPackageIndependently, X as bumpPackageVersion, c as changelog, n as checkGitStatusIfDirty, a5 as confirmBump, u as createCommitAndTags, B as createGitlabRelease, f as defineConfig, q as detectGitProvider, I as detectPackageManager, J as determinePublishTag, V as determineReleaseType, U as executeBuildCmd, T as executeFormatCmd, Q as executeHook, k as expandPackagesToBumpWithDependents, Z as extractVersionFromPackageTag, o as fetchGitTags, a6 as findPackagesWithCommitsAndCalculateVersions, g as generateChangelog, S as getCIName, y as getCurrentGitBranch, z as getCurrentGitRef, e as getDefaultConfig, j as getDependentsOf, x as getFirstCommit, m as getGitStatus, O as getLastPackageTag, N as getLastRepoTag, E as getPackageCommits, h as getPackageDependencies, H as getPackageToBump, D as getPackages, L as getPackagesToPublishInIndependentMode, K as getPackagesToPublishInSelectiveMode, i as getPackagesWithDependencies, a2 as getPreid, F as getRootPackage, A as github, C as gitlab, G as hasLernaJson, a3 as isChangedPreid, a1 as isGraduating, R as isInCI, _ as isPrerelease, a0 as isPrereleaseReleaseType, $ as isStableReleaseType, l as loadRelizyConfig, s as parseGitRemoteUrl, a as providerRelease, p as providerReleaseSafetyCheck, d as publish, M as publishPackage, v as pushCommitAndTags, r as release, P as resolveTags, t as topologicalSort, Y as updateLernaVersion, w as writeChangelogToFile, W as writeVersion } from './shared/relizy.BXWNyIig.mjs';
1
+ export { b as bump, a7 as bumpIndependentPackages, a4 as bumpPackageIndependently, X as bumpPackageVersion, c as changelog, n as checkGitStatusIfDirty, a5 as confirmBump, u as createCommitAndTags, B as createGitlabRelease, f as defineConfig, q as detectGitProvider, I as detectPackageManager, J as determinePublishTag, V as determineReleaseType, U as executeBuildCmd, T as executeFormatCmd, Q as executeHook, k as expandPackagesToBumpWithDependents, Z as extractVersionFromPackageTag, o as fetchGitTags, a6 as findPackagesWithCommitsAndCalculateVersions, g as generateChangelog, S as getCIName, y as getCurrentGitBranch, z as getCurrentGitRef, e as getDefaultConfig, j as getDependentsOf, x as getFirstCommit, m as getGitStatus, O as getLastPackageTag, N as getLastRepoTag, E as getPackageCommits, h as getPackageDependencies, H as getPackageToBump, D as getPackages, L as getPackagesToPublishInIndependentMode, K as getPackagesToPublishInSelectiveMode, i as getPackagesWithDependencies, a2 as getPreid, F as getRootPackage, A as github, C as gitlab, G as hasLernaJson, a3 as isChangedPreid, a1 as isGraduating, R as isInCI, _ as isPrerelease, a0 as isPrereleaseReleaseType, $ as isStableReleaseType, l as loadRelizyConfig, s as parseGitRemoteUrl, a as providerRelease, p as providerReleaseSafetyCheck, d as publish, M as publishPackage, v as pushCommitAndTags, r as release, P as resolveTags, t as topologicalSort, Y as updateLernaVersion, w as writeChangelogToFile, W as writeVersion } from './shared/relizy.Esbxb_ll.mjs';
2
2
  import '@maz-ui/node';
3
3
  import 'node:child_process';
4
4
  import 'node:fs';
@@ -2257,8 +2257,8 @@ function promptOtpWithTimeout(timeout = 9e4) {
2257
2257
  });
2258
2258
  }
2259
2259
  async function handleOtpError() {
2260
- if (process.env.CI) {
2261
- logger.error("OTP required but running in CI environment. Please provide OTP via config.");
2260
+ if (isInCI()) {
2261
+ logger.error("OTP required but running in CI environment. Please provide OTP via config or `--otp` flag");
2262
2262
  throw new Error("OTP required in CI environment");
2263
2263
  }
2264
2264
  logger.warn("Publish failed: OTP required");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relizy",
3
3
  "type": "module",
4
- "version": "0.2.2-beta.1",
4
+ "version": "0.2.3-alpha.0",
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",