relizy 0.2.2-beta.0 → 0.2.2-beta.1
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.
|
|
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';
|
|
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, 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.
|
|
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';
|
|
2
2
|
import '@maz-ui/node';
|
|
3
3
|
import 'node:child_process';
|
|
4
4
|
import 'node:fs';
|
|
@@ -1467,10 +1467,7 @@ function handlePrereleaseVersionWithPrereleaseType(currentVersion, targetPreid,
|
|
|
1467
1467
|
if (!isUpgrade) {
|
|
1468
1468
|
throw new Error(`Unable to change preid from ${currentVersion} to ${testVersion}, it's not a valid upgrade (cannot downgrade from ${currentPreid} to ${targetPreid})`);
|
|
1469
1469
|
}
|
|
1470
|
-
|
|
1471
|
-
const prereleaseType = detectedType ? `pre${detectedType}` : "prepatch";
|
|
1472
|
-
logger.debug(`Changing preid from ${currentPreid} to ${targetPreid} with release type: ${prereleaseType}`);
|
|
1473
|
-
return prereleaseType;
|
|
1470
|
+
return "prerelease";
|
|
1474
1471
|
}
|
|
1475
1472
|
if (!commits?.length && !force) {
|
|
1476
1473
|
logger.debug("No commits found for prerelease version, skipping bump");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "relizy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.2-beta.
|
|
4
|
+
"version": "0.2.2-beta.1",
|
|
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",
|