@equinor/fusion-framework-cli 13.2.1 → 13.3.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 CHANGED
@@ -1,5 +1,45 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @equinor/fusion-framework-dev-portal@1.4.0
9
+ - @equinor/fusion-framework-dev-server@1.1.23
10
+
11
+ ## 13.3.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#3990](https://github.com/equinor/fusion-framework/pull/3990) [`8719068`](https://github.com/equinor/fusion-framework/commit/8719068b723975db90a1b4bee59808734eb87e20) Thanks [@odinr](https://github.com/odinr)! - Add `--config` option to `app publish` command for uploading application configuration after publishing the bundle.
16
+
17
+ ```bash
18
+ # Upload default app.config.ts after publishing
19
+ ffc app publish --config
20
+
21
+ # Upload specific config file
22
+ ffc app publish --config app.config.prod.ts --env prod
23
+ ```
24
+
25
+ This streamlines the deployment workflow by combining bundle upload and config upload in a single command.
26
+
27
+ **Internal changes:**
28
+
29
+ - Refactored `publishAppConfig` to accept pre-resolved config and framework instance, improving modularity and reusability
30
+ - Updated `generateApplicationConfig` to return both config and package metadata, with graceful fallback when package resolution fails
31
+ - Simplified `app config` command flow by handling config generation and manifest loading before publishing
32
+
33
+ Fixes: https://github.com/equinor/fusion-core-tasks/issues/257
34
+
35
+ ### Patch Changes
36
+
37
+ - [#3990](https://github.com/equinor/fusion-framework/pull/3990) [`8719068`](https://github.com/equinor/fusion-framework/commit/8719068b723975db90a1b4bee59808734eb87e20) Thanks [@odinr](https://github.com/odinr)! - Update CLI documentation to include the new `--config` flag for the `app publish` command, showing how to upload application configuration after publishing in a single command.
38
+
39
+ - Updated dependencies []:
40
+ - @equinor/fusion-framework-dev-portal@1.4.0
41
+ - @equinor/fusion-framework-dev-server@1.1.22
42
+
3
43
  ## 13.2.1
4
44
 
5
45
  ### Patch Changes
package/README.md CHANGED
@@ -81,7 +81,11 @@ pnpm fusion-framework-cli auth login
81
81
  **Build and publish your app**
82
82
 
83
83
  ```sh
84
+ # Publish without config
84
85
  pnpm fusion-framework-cli publish --env <environment>
86
+
87
+ # Publish and upload config in one command
88
+ pnpm fusion-framework-cli publish --env <environment> --config
85
89
  ```
86
90
 
87
91
  **Build or publish snapshot artifacts**
@@ -112,6 +116,10 @@ pnpm fusion-framework-cli app publish --snapshot nightly
112
116
  **Upload configuration**
113
117
 
114
118
  ```sh
119
+ # Upload config with publish command
120
+ pnpm fusion-framework-cli publish --config --env <environment>
121
+
122
+ # Or upload config separately
115
123
  pnpm fusion-framework-cli app config --publish --env <environment>
116
124
  ```
117
125