@equinor/fusion-framework-cli 12.0.2 → 12.1.1
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/CHANGELOG.md +24 -0
- package/bin/build/cli.mjs +5 -5
- package/dist/esm/version.js +1 -1
- package/dist/types/cli/commands/create/_helpers/select-git-protocol.d.ts +19 -0
- package/dist/types/cli/commands/create/_helpers/setup-repository.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
package/dist/esm/version.js
CHANGED
|
@@ -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)
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "12.
|
|
1
|
+
export declare const version = "12.1.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-cli",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.1",
|
|
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-
|
|
109
|
+
"@equinor/fusion-framework-module-msal-node": "^1.0.7",
|
|
110
|
+
"@equinor/fusion-imports": "^1.1.4",
|
|
110
111
|
"@equinor/fusion-framework-dev-server": "^1.1.2",
|
|
111
|
-
"@equinor/fusion-framework-
|
|
112
|
-
"@equinor/fusion-imports": "^1.1.4"
|
|
112
|
+
"@equinor/fusion-framework-dev-portal": "^1.1.3"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@rollup/plugin-commonjs": "^28.0.3",
|