@equinor/fusion-framework-cli 12.0.0 → 12.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.
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '12.0.0';
2
+ export const version = '12.1.0';
3
3
  //# sourceMappingURL=version.js.map
@@ -0,0 +1,19 @@
1
+ import type { ConsoleLogger } from '@equinor/fusion-framework-cli/bin';
2
+ import type { GitClientProtocol } from '../../../../bin/helpers/ProjectTemplateRepository.js';
3
+ /**
4
+ * Prompts the user to select their preferred Git protocol for repository cloning.
5
+ *
6
+ * This function presents a choice between HTTPS and SSH protocols, with
7
+ * intelligent defaults based on SSH configuration detection.
8
+ *
9
+ * @param logger - Optional logger instance for debug output
10
+ * @returns Promise resolving to the selected Git protocol ('https' or 'ssh')
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * const protocol = await selectGitProtocol(logger);
15
+ * console.log(`Using ${protocol} protocol for cloning`);
16
+ * ```
17
+ */
18
+ export declare function selectGitProtocol(logger?: ConsoleLogger): Promise<GitClientProtocol>;
19
+ export default selectGitProtocol;
@@ -5,7 +5,7 @@ import { ProjectTemplateRepository } from '../../../../bin/helpers/ProjectTempla
5
5
  *
6
6
  * This function creates a ProjectTemplateRepository instance and handles
7
7
  * the complete initialization process, including optional cleanup of existing
8
- * repository directories.
8
+ * repository directories and user protocol selection.
9
9
  *
10
10
  * @param templateRepoName - Name of the template repository (e.g., 'equinor/fusion-app-template')
11
11
  * @param clean - Whether to clean the repo directory before cloning (removes existing directory)
@@ -1 +1 @@
1
- export declare const version = "12.0.0";
1
+ export declare const version = "12.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "12.0.0",
3
+ "version": "12.1.0",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -106,10 +106,10 @@
106
106
  "vite": "^7.1.5",
107
107
  "vite-tsconfig-paths": "^5.1.4",
108
108
  "zod": "^4.1.8",
109
- "@equinor/fusion-framework-dev-server": "^1.1.0",
110
- "@equinor/fusion-framework-dev-portal": "^1.1.0",
111
- "@equinor/fusion-imports": "^1.1.3",
112
- "@equinor/fusion-framework-module-msal-node": "^1.0.5"
109
+ "@equinor/fusion-framework-dev-portal": "^1.1.3",
110
+ "@equinor/fusion-framework-dev-server": "^1.1.2",
111
+ "@equinor/fusion-imports": "^1.1.4",
112
+ "@equinor/fusion-framework-module-msal-node": "^1.0.7"
113
113
  },
114
114
  "devDependencies": {
115
115
  "@rollup/plugin-commonjs": "^28.0.3",
@@ -132,10 +132,10 @@
132
132
  "type-fest": "^5.0.0",
133
133
  "typescript": "^5.8.2",
134
134
  "vitest": "^3.2.4",
135
- "@equinor/fusion-framework-module": "^5.0.1",
136
- "@equinor/fusion-framework-module-app": "^7.0.0",
137
- "@equinor/fusion-framework-module-service-discovery": "^9.0.0",
138
- "@equinor/fusion-framework-module-http": "^7.0.0"
135
+ "@equinor/fusion-framework-module-app": "^7.0.1",
136
+ "@equinor/fusion-framework-module-http": "^7.0.1",
137
+ "@equinor/fusion-framework-module-service-discovery": "^9.0.1",
138
+ "@equinor/fusion-framework-module": "^5.0.2"
139
139
  },
140
140
  "peerDependenciesMeta": {
141
141
  "typescript": {