@capgo/cli 7.45.0 → 7.46.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.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Auto-bump a semver version by incrementing the patch number
3
+ * @param currentVersion - The current version string (e.g., "1.0.0")
4
+ * @returns The bumped version or a fallback version if parsing fails
5
+ */
6
+ export declare function autoBumpVersion(currentVersion: string): string;
7
+ /**
8
+ * Interactively ask the user how to handle version bumping
9
+ * @param currentVersion - The current version
10
+ * @param context - Optional context string (e.g., "upload", "onboarding")
11
+ * @returns The new version string or null if cancelled
12
+ */
13
+ export declare function interactiveVersionBump(currentVersion: string, context?: string): Promise<string | null>;
14
+ /**
15
+ * Get suggestions for alternative versions when a version already exists
16
+ * @param existingVersion - The version that already exists
17
+ * @returns Array of suggested alternative versions
18
+ */
19
+ export declare function getVersionSuggestions(existingVersion: string): string[];
20
+ //# sourceMappingURL=versionHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versionHelpers.d.ts","sourceRoot":"","sources":["../../src/versionHelpers.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAc9D;AAED;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAC1C,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAqCxB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,EAAE,CAsBvE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "7.45.0",
3
+ "version": "7.46.0",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "Martin martin@capgo.app",
6
6
  "license": "Apache 2.0",