@equinor/fusion-framework-cli 13.2.1 → 13.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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.
8
+
9
+ ```bash
10
+ # Upload default app.config.ts after publishing
11
+ ffc app publish --config
12
+
13
+ # Upload specific config file
14
+ ffc app publish --config app.config.prod.ts --env prod
15
+ ```
16
+
17
+ This streamlines the deployment workflow by combining bundle upload and config upload in a single command.
18
+
19
+ **Internal changes:**
20
+
21
+ - Refactored `publishAppConfig` to accept pre-resolved config and framework instance, improving modularity and reusability
22
+ - Updated `generateApplicationConfig` to return both config and package metadata, with graceful fallback when package resolution fails
23
+ - Simplified `app config` command flow by handling config generation and manifest loading before publishing
24
+
25
+ Fixes: https://github.com/equinor/fusion-core-tasks/issues/257
26
+
27
+ ### Patch Changes
28
+
29
+ - [#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.
30
+
31
+ - Updated dependencies []:
32
+ - @equinor/fusion-framework-dev-portal@1.4.0
33
+ - @equinor/fusion-framework-dev-server@1.1.22
34
+
3
35
  ## 13.2.1
4
36
 
5
37
  ### 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