infra-kit 0.1.80 → 0.1.81
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.js +28 -28
- package/dist/cli.js.map +3 -3
- package/dist/mcp.js +21 -21
- package/dist/mcp.js.map +3 -3
- package/package.json +1 -1
- package/src/commands/gh-merge-dev/gh-merge-dev.ts +5 -7
- package/src/commands/gh-release-deploy-all/gh-release-deploy-all.ts +12 -22
- package/src/commands/gh-release-deploy-selected/gh-release-deploy-selected.ts +12 -20
- package/src/commands/gh-release-deploy-service/gh-release-deploy-service.ts +12 -22
- package/src/commands/release-create-batch/release-create-batch.ts +6 -3
- package/src/commands/worktrees-add/worktrees-add.ts +35 -35
- package/src/commands/worktrees-list/worktrees-list.ts +53 -278
- package/src/commands/worktrees-remove/worktrees-remove.ts +7 -2
- package/src/lib/release-utils/release-utils.ts +1 -0
|
@@ -78,7 +78,12 @@ export const worktreesRemove = async (options: WorktreeManagementArgs): Promise<
|
|
|
78
78
|
if (allSelected) {
|
|
79
79
|
commandEcho.addOption('--all', true)
|
|
80
80
|
} else {
|
|
81
|
-
commandEcho.addOption(
|
|
81
|
+
commandEcho.addOption(
|
|
82
|
+
'--versions',
|
|
83
|
+
selectedReleaseBranches.map((branch) => {
|
|
84
|
+
return branch.replace('release/v', '')
|
|
85
|
+
}),
|
|
86
|
+
)
|
|
82
87
|
}
|
|
83
88
|
|
|
84
89
|
// Ask for confirmation
|
|
@@ -98,7 +103,7 @@ export const worktreesRemove = async (options: WorktreeManagementArgs): Promise<
|
|
|
98
103
|
}
|
|
99
104
|
|
|
100
105
|
// Track --yes flag if confirmation was interactive (user confirmed)
|
|
101
|
-
if (
|
|
106
|
+
if (!confirmedCommand) {
|
|
102
107
|
commandEcho.addOption('--yes', true)
|
|
103
108
|
}
|
|
104
109
|
|
|
@@ -134,6 +134,7 @@ interface FormatBranchChoicesArgs {
|
|
|
134
134
|
*/
|
|
135
135
|
export const formatBranchChoices = (args: FormatBranchChoicesArgs): { name: string; value: string }[] => {
|
|
136
136
|
const { branches, descriptions, types } = args
|
|
137
|
+
|
|
137
138
|
const versionNames = branches.map((b) => {
|
|
138
139
|
return b.replace('release/v', '')
|
|
139
140
|
})
|