@versu/cli 3.0.2 → 3.1.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/commands/run.d.ts +2 -0
- package/dist/commands/run.js +11 -0
- package/oclif.manifest.json +16 -1
- package/package.json +2 -2
package/dist/commands/run.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export default class Run extends Command {
|
|
|
26
26
|
"release-notes-filename": import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
27
27
|
"from-ref": import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
28
28
|
provider: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
29
|
+
"strip-module-prefix": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
30
|
+
"tag-version-prefix": import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
29
31
|
};
|
|
30
32
|
run(): Promise<void>;
|
|
31
33
|
}
|
package/dist/commands/run.js
CHANGED
|
@@ -93,6 +93,15 @@ export default class Run extends Command {
|
|
|
93
93
|
description: "Version control provider (e.g., github, gitlab)",
|
|
94
94
|
required: false,
|
|
95
95
|
}),
|
|
96
|
+
"strip-module-prefix": Flags.boolean({
|
|
97
|
+
description: "Strip module name from tag, when the project has a single module (default: false)",
|
|
98
|
+
default: false,
|
|
99
|
+
}),
|
|
100
|
+
"tag-version-prefix": Flags.string({
|
|
101
|
+
description: "Prefix to add on tag versions (e.g., 'v', default: empty)",
|
|
102
|
+
required: false,
|
|
103
|
+
default: "",
|
|
104
|
+
}),
|
|
96
105
|
};
|
|
97
106
|
async run() {
|
|
98
107
|
const { flags, args } = await this.parse(Run);
|
|
@@ -114,6 +123,8 @@ export default class Run extends Command {
|
|
|
114
123
|
dryRun: flags["dry-run"],
|
|
115
124
|
sequentialTagPush: flags["sequential-tag-push"],
|
|
116
125
|
commitReleaseNotes: flags["commit-release-notes"],
|
|
126
|
+
stripModulePrefix: flags["strip-module-prefix"],
|
|
127
|
+
tagVersionPrefix: flags["tag-version-prefix"],
|
|
117
128
|
changelogFilename: flags["changelog-filename"],
|
|
118
129
|
releaseNotesFilename: flags["release-notes-filename"],
|
|
119
130
|
fromRef: flags["from-ref"],
|
package/oclif.manifest.json
CHANGED
|
@@ -137,6 +137,21 @@
|
|
|
137
137
|
"hasDynamicHelp": false,
|
|
138
138
|
"multiple": false,
|
|
139
139
|
"type": "option"
|
|
140
|
+
},
|
|
141
|
+
"strip-module-prefix": {
|
|
142
|
+
"description": "Strip module name from tag, when the project has a single module (default: false)",
|
|
143
|
+
"name": "strip-module-prefix",
|
|
144
|
+
"allowNo": false,
|
|
145
|
+
"type": "boolean"
|
|
146
|
+
},
|
|
147
|
+
"tag-version-prefix": {
|
|
148
|
+
"description": "Prefix to add on tag versions (e.g., 'v', default: empty)",
|
|
149
|
+
"name": "tag-version-prefix",
|
|
150
|
+
"required": false,
|
|
151
|
+
"default": "",
|
|
152
|
+
"hasDynamicHelp": false,
|
|
153
|
+
"multiple": false,
|
|
154
|
+
"type": "option"
|
|
140
155
|
}
|
|
141
156
|
},
|
|
142
157
|
"hasDynamicHelp": false,
|
|
@@ -263,5 +278,5 @@
|
|
|
263
278
|
]
|
|
264
279
|
}
|
|
265
280
|
},
|
|
266
|
-
"version": "3.0
|
|
281
|
+
"version": "3.1.0"
|
|
267
282
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versu/cli",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Versu (CLI)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@oclif/plugin-search": "^1.2.50",
|
|
54
54
|
"@oclif/plugin-version": "^2.2.49",
|
|
55
55
|
"@oclif/plugin-warn-if-update-available": "^3.1.65",
|
|
56
|
-
"@versu/core": "^3.0
|
|
56
|
+
"@versu/core": "^3.1.0",
|
|
57
57
|
"chalk": "^5.6.2",
|
|
58
58
|
"debug": "^4.4.3",
|
|
59
59
|
"ora": "^9.4.0"
|