@equinor/fusion-framework-cli 13.0.0 → 13.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 = '13.0.0';
2
+ export const version = '13.1.0';
3
3
  //# sourceMappingURL=version.js.map
@@ -1,19 +1,5 @@
1
1
  import type { FusionFramework } from '@equinor/fusion-framework-cli/bin';
2
2
  import { type ConsoleLogger } from './utils/index.js';
3
- /**
4
- * Allowed tags for application versions in the app service.
5
- *
6
- * - `latest`: Marks the most recent stable version of the application.
7
- * - `preview`: Marks a pre-release or preview version for testing or review.
8
- *
9
- * Used by {@link tagApplication} to validate and apply version tags.
10
- *
11
- * @public
12
- */
13
- export declare enum AllowedTags {
14
- Latest = "latest",
15
- Preview = "preview"
16
- }
17
3
  /**
18
4
  * Options for tagging an application version in the app service.
19
5
  *
@@ -30,14 +16,15 @@ export declare enum AllowedTags {
30
16
  * @public
31
17
  */
32
18
  export type TagApplicationOptions = {
33
- tag: AllowedTags;
19
+ tag: string;
34
20
  appKey: string;
35
21
  version: string;
36
22
  framework: FusionFramework;
37
23
  log?: ConsoleLogger | null;
38
24
  };
39
25
  /**
40
- * Tags an application version in the app service with a specified tag (e.g., 'latest' or 'preview').
26
+ * Tags an application version in the app service with a specified tag (e.g., 'latest', 'preview'
27
+ * or pr-1234).
41
28
  *
42
29
  * This function validates input, creates a client for the app service, and sends a tag request.
43
30
  * It provides detailed logging and error handling for common failure scenarios.
@@ -6,7 +6,7 @@ export { startAppDevServer } from './app-dev.js';
6
6
  export { checkApp } from './app-check.js';
7
7
  export { loadAppManifest } from './app-manifest.js';
8
8
  export { uploadApplication } from './app-upload.js';
9
- export { tagApplication, AllowedTags as AllowedAppTags } from './app-tag.js';
9
+ export { tagApplication } from './app-tag.js';
10
10
  export { startPortalDevServer } from './portal-dev.js';
11
11
  export { buildPortal } from './portal-build.js';
12
12
  export { bundlePortal } from './portal-pack.js';
@@ -19,7 +19,7 @@
19
19
  * -d, --debug Enable debug mode for verbose logging (default: false)
20
20
  * -e, --env <env> Target environment
21
21
  * -m, --manifest Manifest file to use for bundling (e.g., app.manifest.ts)
22
- * -t, --tag Tag to apply to the published app (latest | preview)
22
+ * -t, --tag Tag to apply to the published app (e.g. latest | preview | pr-1234)
23
23
  *
24
24
  * Example:
25
25
  * $ ffc app publish
@@ -12,7 +12,7 @@
12
12
  * $ fusion tag <tag> [options]
13
13
  *
14
14
  * Arguments:
15
- * <tag> Tag to apply (latest | preview)
15
+ * <tag> Tag to apply (e.g. latest | preview | pr-1234)
16
16
  *
17
17
  * Options:
18
18
  * -p, --package [package@version] Package to tag in format name@version (e.g., my-app@1.0.0). If not provided, loaded from manifest
@@ -25,6 +25,7 @@
25
25
  * $ ffc app tag latest
26
26
  * $ ffc app tag preview --env prod --manifest app.manifest.prod.ts
27
27
  * $ ffc app tag latest --package my-app@1.2.3
28
+ * $ ffc app tag pr-1234 --package my-app@1.2.3
28
29
  *
29
30
  * @see tagApplication for implementation details
30
31
  */
@@ -15,12 +15,13 @@
15
15
  * -d, --debug Enable debug mode for verbose logging
16
16
  * -e, --env <env> Target environment
17
17
  * -m, --manifest Manifest file to use for bundling
18
- * -t, --tag Tag to apply to the published portal (any string value)
18
+ * -t, --tag Tag to apply to the published portal (e.g latest | preview | pr-1234)
19
19
  *
20
20
  * Example:
21
21
  * $ ffc portal publish
22
22
  * $ ffc portal publish --env prod --manifest portal.manifest.prod.ts
23
23
  * $ ffc portal publish --tag preview
24
+ * $ ffc portal publish --tag pr-1234
24
25
  *
25
26
  * @see uploadPortalBundle, tagPortal for implementation details
26
27
  */
@@ -12,7 +12,7 @@
12
12
  * $ ffc portal tag <tag> [options]
13
13
  *
14
14
  * Arguments:
15
- * <tag> Tag to apply (e.g., latest, preview, next, or any string value)
15
+ * <tag> Tag to apply (e.g., latest, preview, next, or string [a-z, A-Z, 0-9, ".", "-"])
16
16
  *
17
17
  * Options:
18
18
  * -m, --manifest <file> Manifest file to use (optional, defaults to portal.manifest.ts)
@@ -1 +1 @@
1
- export declare const version = "13.0.0";
1
+ export declare const version = "13.1.0";
@@ -418,7 +418,7 @@ jobs:
418
418
 
419
419
  - uses: actions/setup-node@v4
420
420
  with:
421
- node-version: '22'
421
+ node-version: '24'
422
422
 
423
423
  - run: pnpm install
424
424
 
@@ -461,7 +461,7 @@ jobs:
461
461
  - name: Setup Node.js
462
462
  uses: actions/setup-node@v4
463
463
  with:
464
- node-version: '22'
464
+ node-version: '24'
465
465
  cache: 'pnpm'
466
466
 
467
467
  - name: Install dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "13.0.0",
3
+ "version": "13.1.0",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -104,15 +104,15 @@
104
104
  "is-mergeable-object": "^1.1.1",
105
105
  "is-path-inside": "^4.0.0",
106
106
  "ora": "^9.0.0",
107
- "read-package-up": "^11.0.0",
107
+ "read-package-up": "^12.0.0",
108
108
  "simple-git": "^3.28.0",
109
109
  "vite": "^7.1.12",
110
- "vite-tsconfig-paths": "^5.1.4",
110
+ "vite-tsconfig-paths": "^6.0.4",
111
111
  "zod": "^4.1.8",
112
- "@equinor/fusion-framework-dev-portal": "1.2.6",
113
- "@equinor/fusion-framework-dev-server": "1.1.18",
114
- "@equinor/fusion-framework-module-msal-node": "2.0.2",
115
- "@equinor/fusion-imports": "1.1.8"
112
+ "@equinor/fusion-framework-dev-server": "1.1.19",
113
+ "@equinor/fusion-framework-module-msal-node": "2.0.3",
114
+ "@equinor/fusion-framework-dev-portal": "1.3.0",
115
+ "@equinor/fusion-imports": "1.1.9"
116
116
  },
117
117
  "devDependencies": {
118
118
  "@rollup/plugin-commonjs": "^29.0.0",
@@ -127,7 +127,7 @@
127
127
  "chalk": "^5.6.0",
128
128
  "is-ci": "^4.1.0",
129
129
  "normalize-package-data": "^8.0.0",
130
- "open": "^10.1.1",
130
+ "open": "^11.0.0",
131
131
  "pretty-bytes": "^7.0.0",
132
132
  "rollup": "^4.50.2",
133
133
  "rollup-plugin-terser": "^7.0.2",
@@ -135,9 +135,13 @@
135
135
  "type-fest": "^5.0.0",
136
136
  "typescript": "^5.8.2",
137
137
  "vitest": "^3.2.4",
138
+ "@equinor/fusion-framework-cli-plugin-ai-chat": "1.0.2",
139
+ "@equinor/fusion-framework-cli-plugin-ai-index": "1.0.2",
140
+ "@equinor/fusion-framework-cli-plugin-ai-mcp": "1.0.2",
141
+ "@equinor/fusion-framework-cli-plugin-ai-search": "1.0.2",
138
142
  "@equinor/fusion-framework-module": "5.0.5",
139
- "@equinor/fusion-framework-module-http": "7.0.5",
140
143
  "@equinor/fusion-framework-module-app": "7.2.1",
144
+ "@equinor/fusion-framework-module-http": "7.0.5",
141
145
  "@equinor/fusion-framework-module-service-discovery": "9.0.4"
142
146
  },
143
147
  "peerDependenciesMeta": {