relizy 0.2.2 → 0.2.3
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.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.
|
|
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.
|
|
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 (
|
|
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.
|
|
4
|
+
"version": "0.2.3",
|
|
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",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"node": ">=20.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@inquirer/prompts": "^7.
|
|
58
|
+
"@inquirer/prompts": "^7.10.1",
|
|
59
59
|
"@maz-ui/node": "^4.3.1-alpha.0",
|
|
60
60
|
"@maz-ui/utils": "^4.3.0",
|
|
61
|
-
"c12": "^3.3.
|
|
61
|
+
"c12": "^3.3.2",
|
|
62
62
|
"changelogen": "^0.6.2",
|
|
63
63
|
"commander": "^14.0.2",
|
|
64
64
|
"convert-gitmoji": "^0.1.5",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"@commitlint/cz-commitlint": "^20.1.0",
|
|
74
74
|
"@commitlint/types": "^20.0.0",
|
|
75
75
|
"@maz-ui/eslint-config": "4.3.1-alpha.2",
|
|
76
|
-
"@types/node": "^24.10.
|
|
76
|
+
"@types/node": "^24.10.1",
|
|
77
77
|
"@types/semver": "^7.7.1",
|
|
78
|
-
"@vitest/coverage-v8": "^4.0.
|
|
78
|
+
"@vitest/coverage-v8": "^4.0.8",
|
|
79
79
|
"cross-env": "^10.1.0",
|
|
80
80
|
"eslint": "^9.39.1",
|
|
81
81
|
"husky": "^9.1.7",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"lint-staged": "^16.2.6",
|
|
84
84
|
"typescript": "^5.9.3",
|
|
85
85
|
"unbuild": "^3.6.1",
|
|
86
|
-
"vitest": "^4.0.
|
|
86
|
+
"vitest": "^4.0.8"
|
|
87
87
|
},
|
|
88
88
|
"lint-staged": {
|
|
89
89
|
"*.{js,jsx,ts,tsx,mjs,mts,cjs,md,yml,json}": [
|