@releasekit/notes 0.13.12 → 0.14.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/{aggregator-F6L4PCB3.js → aggregator-CGD3KEVU.js} +2 -2
- package/dist/{chunk-YHR5QOZR.js → chunk-77FGMGVD.js} +3 -0
- package/dist/{chunk-53RAXOL6.js → chunk-KF3BKBF4.js} +2 -2
- package/dist/{chunk-YHXZS6YN.js → chunk-XMSBOPFR.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -41,6 +41,8 @@ function setLogLevel(level) {
|
|
|
41
41
|
currentLevel = level;
|
|
42
42
|
if (level === "debug") {
|
|
43
43
|
process.env.DEBUG = "true";
|
|
44
|
+
} else {
|
|
45
|
+
delete process.env.DEBUG;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
function setQuietMode(quiet) {
|
|
@@ -48,6 +50,7 @@ function setQuietMode(quiet) {
|
|
|
48
50
|
}
|
|
49
51
|
function shouldLog(level) {
|
|
50
52
|
if (quietMode && level !== "error") return false;
|
|
53
|
+
if (level === "debug" && (process.env.DEBUG === "true" || process.env.DEBUG === "1")) return true;
|
|
51
54
|
return LOG_LEVELS[level] <= LOG_LEVELS[currentLevel];
|
|
52
55
|
}
|
|
53
56
|
function log(message, level = "info") {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
success,
|
|
11
11
|
warn,
|
|
12
12
|
writeMarkdown
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-77FGMGVD.js";
|
|
14
14
|
|
|
15
15
|
// ../config/dist/index.js
|
|
16
16
|
import * as fs from "fs";
|
|
@@ -1790,7 +1790,7 @@ async function processInput(inputJson, config, dryRun) {
|
|
|
1790
1790
|
return runPipeline(input, config, dryRun);
|
|
1791
1791
|
}
|
|
1792
1792
|
async function writeMonorepoFiles(contexts, config, dryRun, fileName) {
|
|
1793
|
-
const { detectMonorepo, writeMonorepoChangelogs } = await import("./aggregator-
|
|
1793
|
+
const { detectMonorepo, writeMonorepoChangelogs } = await import("./aggregator-CGD3KEVU.js");
|
|
1794
1794
|
const cwd = process.cwd();
|
|
1795
1795
|
const detected = detectMonorepo(cwd);
|
|
1796
1796
|
if (!detected.isMonorepo) return [];
|
package/dist/cli.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createNotesCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KF3BKBF4.js";
|
|
5
5
|
import {
|
|
6
6
|
readPackageVersion
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-77FGMGVD.js";
|
|
8
8
|
|
|
9
9
|
// src/cli.ts
|
|
10
10
|
import * as fs from "fs";
|
package/dist/index.js
CHANGED
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
runPipeline,
|
|
19
19
|
saveAuth,
|
|
20
20
|
versionOutputToChangelogInput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KF3BKBF4.js";
|
|
22
22
|
import {
|
|
23
23
|
aggregateToRoot,
|
|
24
24
|
detectMonorepo,
|
|
25
25
|
writeMonorepoChangelogs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XMSBOPFR.js";
|
|
27
27
|
import {
|
|
28
28
|
debug,
|
|
29
29
|
formatVersion,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
renderMarkdown,
|
|
32
32
|
success,
|
|
33
33
|
writeMarkdown
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-77FGMGVD.js";
|
|
35
35
|
|
|
36
36
|
// src/output/json.ts
|
|
37
37
|
import * as fs from "fs";
|
package/package.json
CHANGED