@gluhar/cli 2.6.5 → 2.7.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/package.json +2 -2
- package/src/commands/release/release.d.ts.map +1 -1
- package/src/commands/release/release.js +4 -1
- package/src/commands/version/VersionOptions.d.ts +1 -0
- package/src/commands/version/VersionOptions.d.ts.map +1 -1
- package/src/commands/version/version.d.ts.map +1 -1
- package/src/commands/version/version.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gluhar/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Gluhar cli commands and scripts",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./src/index.ts",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"tsconfig-paths": "^4.2.0",
|
|
45
45
|
"typescript": "^5.5.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d8ca855e9f08accf39a898af2ebb8da72827ec98"
|
|
48
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/release.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,eAAO,MAAM,OAAO,YAAmB,cAAc,
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../../../src/commands/release/release.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,eAAO,MAAM,OAAO,YAAmB,cAAc,kBAiBpD,CAAC"}
|
|
@@ -7,11 +7,14 @@ const publish_1 = require("./publish");
|
|
|
7
7
|
const tag_1 = require("./tag");
|
|
8
8
|
const release = async (options) => {
|
|
9
9
|
log_1.log.info("Initiating release...");
|
|
10
|
-
const { pre, dev } = options;
|
|
10
|
+
const { pre, dev, yes } = options;
|
|
11
|
+
if (yes)
|
|
12
|
+
log_1.log.info("and saying yes to all prompts.");
|
|
11
13
|
if (options.version)
|
|
12
14
|
await (0, version_1.version)({
|
|
13
15
|
pre,
|
|
14
16
|
dev,
|
|
17
|
+
yes,
|
|
15
18
|
changelog: !dev,
|
|
16
19
|
commit: "chore: Releasing gluhar packages.",
|
|
17
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionOptions.d.ts","sourceRoot":"","sources":["../../../../src/commands/version/VersionOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"VersionOptions.d.ts","sourceRoot":"","sources":["../../../../src/commands/version/VersionOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC;IACtB,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../../src/commands/version/version.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,eAAO,MAAM,OAAO,YAAmB,cAAc,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../../src/commands/version/version.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKvD,eAAO,MAAM,OAAO,YAAmB,cAAc,kBAyBpD,CAAC"}
|
|
@@ -7,7 +7,7 @@ const log_1 = require("./log");
|
|
|
7
7
|
const getPreid_1 = require("./getPreid");
|
|
8
8
|
const pimpChangelogs_1 = require("./pimpChangelogs");
|
|
9
9
|
const version = async (options) => {
|
|
10
|
-
const { pre, dev, changelog, commit } = options;
|
|
10
|
+
const { pre, dev, changelog, commit, yes } = options;
|
|
11
11
|
lerna_1.lerna.version({
|
|
12
12
|
conventionalCommits: true,
|
|
13
13
|
conventionalGraduate: (!dev && !pre) || undefined,
|
|
@@ -18,6 +18,7 @@ const version = async (options) => {
|
|
|
18
18
|
private: false,
|
|
19
19
|
push: false,
|
|
20
20
|
changelog,
|
|
21
|
+
yes,
|
|
21
22
|
});
|
|
22
23
|
if (changelog)
|
|
23
24
|
await (0, pimpChangelogs_1.pimpChangelogs)();
|