@equinor/fusion-framework-cli 10.5.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 → 10.5.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +533 -523
  2. package/dist/bin/build-application.js.map +1 -1
  3. package/dist/bin/bundle-application.js.map +1 -1
  4. package/dist/bin/create-dev-serve.js.map +1 -1
  5. package/dist/bin/create-export-config.js.map +1 -1
  6. package/dist/bin/create-export-manifest.js.map +1 -1
  7. package/dist/bin/dev-portal/AppLoader.js.map +1 -1
  8. package/dist/bin/dev-portal/BookMarkSideSheet.js.map +1 -1
  9. package/dist/bin/dev-portal/ContextSelector/ContextSelector.js.map +1 -1
  10. package/dist/bin/dev-portal/ContextSelector/useContextResolver.js.map +1 -1
  11. package/dist/bin/dev-portal/EquinorLoader.js.map +1 -1
  12. package/dist/bin/dev-portal/ErrorViewer.js.map +1 -1
  13. package/dist/bin/dev-portal/FusionLogo.js.map +1 -1
  14. package/dist/bin/dev-portal/Header.Actions.js +1 -3
  15. package/dist/bin/dev-portal/Header.Actions.js.map +1 -1
  16. package/dist/bin/dev-portal/Header.js.map +1 -1
  17. package/dist/bin/dev-portal/PersonSideSheet/index.js.map +1 -1
  18. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.js.map +1 -1
  19. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.js.map +1 -1
  20. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.js.map +1 -1
  21. package/dist/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.js.map +1 -1
  22. package/dist/bin/dev-portal/PersonSideSheet/sheets/Styled.js.map +1 -1
  23. package/dist/bin/dev-portal/Router.js.map +1 -1
  24. package/dist/bin/dev-portal/config.js.map +1 -1
  25. package/dist/bin/dev-portal/main.js.map +1 -1
  26. package/dist/bin/dev-portal/useAppContextNavigation.js +11 -0
  27. package/dist/bin/dev-portal/useAppContextNavigation.js.map +1 -1
  28. package/dist/bin/main.app.js +20 -10
  29. package/dist/bin/main.app.js.map +1 -1
  30. package/dist/bin/main.js.map +1 -1
  31. package/dist/bin/public/assets/index-B_IRlOcz.js +3721 -0
  32. package/dist/bin/public/index.html +1 -1
  33. package/dist/bin/publish-application.js.map +1 -1
  34. package/dist/bin/tag-application.js.map +1 -1
  35. package/dist/bin/upload-application.js.map +1 -1
  36. package/dist/bin/upload-export-config.js.map +1 -1
  37. package/dist/bin/utils/execute-command.js.map +1 -1
  38. package/dist/bin/utils/format.js.map +1 -1
  39. package/dist/bin/utils/getEndpointUrl.js.map +1 -1
  40. package/dist/bin/utils/isAppRegistered.js.map +1 -1
  41. package/dist/bin/utils/load-app-config.js.map +1 -1
  42. package/dist/bin/utils/load-manifest.js.map +1 -1
  43. package/dist/bin/utils/load-package.js.map +1 -1
  44. package/dist/bin/utils/load-vite-config.js.map +1 -1
  45. package/dist/bin/utils/proxy-request-logger.js.map +1 -1
  46. package/dist/bin/utils/publishAppConfig.js.map +1 -1
  47. package/dist/bin/utils/requireToken.js.map +1 -1
  48. package/dist/bin/utils/spinner.js +1 -0
  49. package/dist/bin/utils/spinner.js.map +1 -1
  50. package/dist/bin/utils/tagAppBundle.js.map +1 -1
  51. package/dist/bin/utils/uploadAppBundle.js.map +1 -1
  52. package/dist/lib/app-config.js.map +1 -1
  53. package/dist/lib/app-manifest.js.map +1 -1
  54. package/dist/lib/app-package.js.map +1 -1
  55. package/dist/lib/index.js.map +1 -1
  56. package/dist/lib/plugins/app-assets/app-asset-plugin.js.map +1 -1
  57. package/dist/lib/plugins/app-assets/emit-asset.js.map +1 -1
  58. package/dist/lib/plugins/app-assets/extension-filter-pattern.js.map +1 -1
  59. package/dist/lib/plugins/app-assets/read-asset-content.js.map +1 -1
  60. package/dist/lib/plugins/app-assets/resolve-asset-id.js.map +1 -1
  61. package/dist/lib/plugins/app-assets/static.js.map +1 -1
  62. package/dist/lib/plugins/app-proxy/app-proxy-plugin.js.map +1 -1
  63. package/dist/lib/plugins/app-settings/index.js.map +1 -1
  64. package/dist/lib/plugins/external-public/external-public-plugin.js.map +1 -1
  65. package/dist/lib/utils/assert.js +2 -1
  66. package/dist/lib/utils/assert.js.map +1 -1
  67. package/dist/lib/utils/config.js.map +1 -1
  68. package/dist/lib/utils/expect.js.map +1 -1
  69. package/dist/lib/utils/file-exists.js.map +1 -1
  70. package/dist/lib/utils/parse-json-request.js.map +1 -1
  71. package/dist/lib/utils/ts-transpile.js.map +1 -1
  72. package/dist/lib/vite-config.js.map +1 -1
  73. package/dist/lib/vite-logger.js +1 -2
  74. package/dist/lib/vite-logger.js.map +1 -1
  75. package/dist/schemas.js.map +1 -1
  76. package/dist/types/lib/utils/assert.d.ts +1 -2
  77. package/dist/types/version.d.ts +1 -1
  78. package/dist/version.js +1 -1
  79. package/package.json +17 -17
  80. package/dist/bin/public/assets/index-CJ16UFKL.js +0 -3636
package/CHANGELOG.md CHANGED
@@ -1,14 +1,18 @@
1
1
  # Change Log
2
2
 
3
- ## 10.5.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4
3
+ ## 10.5.1
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
6
 
7
- - [#2814](https://github.com/equinor/fusion-framework/pull/2814) [`84018ba`](https://github.com/equinor/fusion-framework/commit/84018ba2aa9b29e48290b3e5995d3f77e5d44554) Thanks [@odinr](https://github.com/odinr)! - updated configuration of MSAL
7
+ - [#2831](https://github.com/equinor/fusion-framework/pull/2831) [`4e2b961`](https://github.com/equinor/fusion-framework/commit/4e2b961ac6ace80b95f2795b3f3b839c763cbb28) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Add support for clearing context in CLI - aligning with same behaviour as portal
8
8
 
9
- ### Patch Changes
9
+ - [#2847](https://github.com/equinor/fusion-framework/pull/2847) [`59348f0`](https://github.com/equinor/fusion-framework/commit/59348f02f7ced10782691f69bae32274b88a4b53) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Update dep `@equinor/fusion-react-context-selector` to `1.0.1`
10
+
11
+ ## 10.5.0
10
12
 
11
- - pre-release changeset for tag **msal**, all public packages are patched
13
+ ### Minor Changes
14
+
15
+ - [#2814](https://github.com/equinor/fusion-framework/pull/2814) [`ea4b522`](https://github.com/equinor/fusion-framework/commit/ea4b5221b30719289fc947b5dbb0acd3ea52ffaa) Thanks [@odinr](https://github.com/odinr)! - updated configuration of MSAL
12
16
 
13
17
  ## 10.4.2
14
18
 
@@ -66,16 +70,16 @@
66
70
 
67
71
  - [#2661](https://github.com/equinor/fusion-framework/pull/2661) [`f60748b`](https://github.com/equinor/fusion-framework/commit/f60748b4f3980f00fa3aed131fef97513f1424c6) Thanks [@eikeland](https://github.com/eikeland)! - Added `noOpen` option to the development server configuration.
68
72
 
69
- **Modified files:**
73
+ **Modified files:**
70
74
 
71
- - `packages/cli/src/bin/create-dev-serve.ts`
72
- - `packages/cli/src/bin/main.app.ts`
75
+ - `packages/cli/src/bin/create-dev-serve.ts`
76
+ - `packages/cli/src/bin/main.app.ts`
73
77
 
74
- **Changes:**
78
+ **Changes:**
75
79
 
76
- - Added `noOpen` boolean option to `createDevServer` function.
77
- - Updated the server configuration to conditionally open the app in the default browser based on the `noOpen` option.
78
- - Added `-n, --noOpen` option to the CLI command for starting the development server.
80
+ - Added `noOpen` boolean option to `createDevServer` function.
81
+ - Updated the server configuration to conditionally open the app in the default browser based on the `noOpen` option.
82
+ - Added `-n, --noOpen` option to the CLI command for starting the development server.
79
83
 
80
84
  ## 10.3.4
81
85
 
@@ -101,7 +105,7 @@
101
105
 
102
106
  - [#2632](https://github.com/equinor/fusion-framework/pull/2632) [`b136b45`](https://github.com/equinor/fusion-framework/commit/b136b4565da1af09c8447956716f3d9f0ea91698) Thanks [@eikeland](https://github.com/eikeland)! - ### Changes
103
107
 
104
- Updated `@equinor/fusion-wc-person` dependency from version `^3.0.5` to `^3.0.6`
108
+ Updated `@equinor/fusion-wc-person` dependency from version `^3.0.5` to `^3.0.6`
105
109
 
106
110
  ## 10.3.0
107
111
 
@@ -109,9 +113,9 @@
109
113
 
110
114
  - [#2577](https://github.com/equinor/fusion-framework/pull/2577) [`c3ba9f1`](https://github.com/equinor/fusion-framework/commit/c3ba9f109d9f96d6dc6ee2f0ddac00c8b3090982) Thanks [@eikeland](https://github.com/eikeland)! - Created a plugin for handling application settings. This plugin allows retrieving and setting application settings when developing locally by intercepting the request to the settings API and returning the local settings instead. Settings are stored in memory and are not persisted, which means the CLI will always provide settings as if the user has never set them before. By restarting the CLI, the settings will be lost. This plugin is useful for testing and development purposes.
111
115
 
112
- Also added a utility function `parseJsonFromRequest` to parse JSON from a request body. This function is used in the plugin to parse the `PUT` request body and update the settings accordingly.
116
+ Also added a utility function `parseJsonFromRequest` to parse JSON from a request body. This function is used in the plugin to parse the `PUT` request body and update the settings accordingly.
113
117
 
114
- The default development server has enabled this plugin by default and confiuigred it to intercept the settings API on `/apps-proxy/persons/me/apps/${CURRENT_APP_KEY}/settings`
118
+ The default development server has enabled this plugin by default and confiuigred it to intercept the settings API on `/apps-proxy/persons/me/apps/${CURRENT_APP_KEY}/settings`
115
119
 
116
120
  ## 10.2.5
117
121
 
@@ -119,7 +123,7 @@
119
123
 
120
124
  - [#2612](https://github.com/equinor/fusion-framework/pull/2612) [`1f9da67`](https://github.com/equinor/fusion-framework/commit/1f9da67df85f466763788039c9f0df67164eb391) Thanks [@eikeland](https://github.com/eikeland)! - ### Changes
121
125
 
122
- - Stopped using node:path join in app-proxy-plugin since it caused issues on windows
126
+ - Stopped using node:path join in app-proxy-plugin since it caused issues on windows
123
127
 
124
128
  ## 10.2.4
125
129
 
@@ -127,12 +131,12 @@
127
131
 
128
132
  - [#2606](https://github.com/equinor/fusion-framework/pull/2606) [`00fb17d`](https://github.com/equinor/fusion-framework/commit/00fb17d9e753462a7acf6a34281a50194b94db20) Thanks [@eikeland](https://github.com/eikeland)! - ### Modified Files
129
133
 
130
- `AppLoader.tsx`
134
+ `AppLoader.tsx`
131
135
 
132
- ### Changes
136
+ ### Changes
133
137
 
134
- - Added import for last operator from rxjs/operators.
135
- - Updated the initialize subscription to use the last operator.
138
+ - Added import for last operator from rxjs/operators.
139
+ - Updated the initialize subscription to use the last operator.
136
140
 
137
141
  ## 10.2.3
138
142
 
@@ -140,7 +144,7 @@
140
144
 
141
145
  - [#2591](https://github.com/equinor/fusion-framework/pull/2591) [`445760c`](https://github.com/equinor/fusion-framework/commit/445760ce73e1d76303c83c367a394adfb5b7a479) Thanks [@eikeland](https://github.com/eikeland)! - ### Updated Dependencies:
142
146
 
143
- - Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
147
+ - Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
144
148
 
145
149
  ## 10.2.2
146
150
 
@@ -160,20 +164,20 @@
160
164
 
161
165
  - [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - Updated Bookmark Integration in Dev Portal
162
166
 
163
- - **Refactored `BookMarkSideSheet.tsx`:**
167
+ - **Refactored `BookMarkSideSheet.tsx`:**
164
168
 
165
- - Replaced `useHasBookmark` with `useCurrentAppModule<BookmarkModule>('bookmark')` for better module integration.
166
- - Updated button `disabled` state to use `bookmarkProvider?.hasBookmarkCreators`.
169
+ - Replaced `useHasBookmark` with `useCurrentAppModule<BookmarkModule>('bookmark')` for better module integration.
170
+ - Updated button `disabled` state to use `bookmarkProvider?.hasBookmarkCreators`.
167
171
 
168
- - **Updated `Header.tsx`:**
172
+ - **Updated `Header.tsx`:**
169
173
 
170
- - Added `useCurrentAppModule<BookmarkModule>('bookmark')` to manage bookmark module state.
171
- - Disabled bookmark button if `bookmarkProvider` is not available.
172
- - Passed `bookmarkProvider` to `BookmarkProvider` component.
174
+ - Added `useCurrentAppModule<BookmarkModule>('bookmark')` to manage bookmark module state.
175
+ - Disabled bookmark button if `bookmarkProvider` is not available.
176
+ - Passed `bookmarkProvider` to `BookmarkProvider` component.
173
177
 
174
- - **Configuration Changes in `config.ts`:**
175
- - Switched import from `@equinor/fusion-framework-module-bookmark` to `@equinor/fusion-framework-react-module-bookmark`.
176
- - Added `builder.setFilter('application', true)` to bookmark configuration.
178
+ - **Configuration Changes in `config.ts`:**
179
+ - Switched import from `@equinor/fusion-framework-module-bookmark` to `@equinor/fusion-framework-react-module-bookmark`.
180
+ - Added `builder.setFilter('application', true)` to bookmark configuration.
177
181
 
178
182
  ## 10.1.0
179
183
 
@@ -181,7 +185,7 @@
181
185
 
182
186
  - [#2567](https://github.com/equinor/fusion-framework/pull/2567) [`71d57c2`](https://github.com/equinor/fusion-framework/commit/71d57c2955861e86f8026068fb7cd4fe39b195f6) Thanks [@odinr](https://github.com/odinr)! - Added functionality for allow providing paths for `config`, `manifest` and bundle in `app-proxy-plugin`. This is useful for plugins that need to load resources from a specific path.
183
187
 
184
- This was required since the AppClient was changed in [#2520](https://github.com/equinor/fusion-framework/pull/2520) which broke the ability to load resources from the plugin.
188
+ This was required since the AppClient was changed in [#2520](https://github.com/equinor/fusion-framework/pull/2520) which broke the ability to load resources from the plugin.
185
189
 
186
190
  ## 10.0.4
187
191
 
@@ -199,7 +203,7 @@
199
203
 
200
204
  - [#2523](https://github.com/equinor/fusion-framework/pull/2523) [`e188193`](https://github.com/equinor/fusion-framework/commit/e188193a09802cfb74bd8aeaa8713b75b10a0638) Thanks [@eikeland](https://github.com/eikeland)! - ## changes:
201
205
 
202
- - changing ci urls to new domain
206
+ - changing ci urls to new domain
203
207
 
204
208
  ## 10.0.2
205
209
 
@@ -207,9 +211,9 @@
207
211
 
208
212
  - [#2521](https://github.com/equinor/fusion-framework/pull/2521) [`65f03fa`](https://github.com/equinor/fusion-framework/commit/65f03fa01b71d387874dbe8ae21163c7c1c3d4b8) Thanks [@eikeland](https://github.com/eikeland)! - ### Adds CHANGELOG.md to app zip package
209
213
 
210
- - Removed individual file additions for package.json, LICENSE.md, and README.md.
211
- - Added a loop to handle multiple files (package.json, LICENSE.md, README.md, CHANGELOG.md) in a more concise manner.
212
- - Updated the spinner messages accordingly.
214
+ - Removed individual file additions for package.json, LICENSE.md, and README.md.
215
+ - Added a loop to handle multiple files (package.json, LICENSE.md, README.md, CHANGELOG.md) in a more concise manner.
216
+ - Updated the spinner messages accordingly.
213
217
 
214
218
  ## 10.0.1
215
219
 
@@ -223,217 +227,217 @@
223
227
 
224
228
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Adding new commands for app management, `build-publish`, `build-pack`, `build-upload`, `build-config`, `build-manifest` and `build-tag`.
225
229
 
226
- Introduces new parameters to the `build-config` command for publishing the app config to a build version.
227
-
228
- Commands:
229
-
230
- - `build-pack` - Bundle the app for distribution
231
- - `-o, --output <output>` - Output directory for the packed app
232
- - `-a, --archive` - Archive name for the packed app
233
- - `build-upload` - Upload the packed app to the Fusion App Store
234
- - `-b, --bundle <bundle>` - Path to the packed app bundle
235
- - `-e, --env <ci | fqa | tr | fprd>` - Environment to upload the app to
236
- - `-s, --service <service>` - Custom app service
237
- - `build-tag` - Tag the uploaded app with a version
238
- - `-t, --tag <tag>` - Tag to apply to the uploaded app
239
- - `-v, --version <version>` - Version to attach to the tag
240
- - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in
241
- - `-s, --service <service>` - Custom app service
242
- - `build-publish` - Publish the app config to a build version
243
- - `-t, --tag <tag>` - Tag to apply to the uploaded app
244
- - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in
245
- - `-s, --service <service>` - Custom app service
246
- - `build-config` - Generate app config for an environment
247
- - `-o, --output <output>` - Output file for the app config
248
- - `-c, --config <config>` - Path to the app config file (for config generation)
249
- - `-p, --publish` - Flag for upload the generated config
250
- - `-v, --version<semver | current | latest | preview>` - Publish the app config to version
251
- - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to
252
- - `-s, --service <service>` - Custom app service
253
- - `upload-config` - Upload the app config to a build version
254
- - `-c, --config <config>` - Path to the app config json file to upload
255
- - `-p, --publish<semver | current | latest | preview>` - Publish the app config to the build version
256
- - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to
257
- - `-s, --service <service>` - Custom app service
258
- - `build-manifest` - Creates the build manifest to publish with app
259
- - `-o, --output <output>` - Output file for manifest
260
- - `-c, --config <config>` - Manifest config file
261
-
262
- simple usage:
263
-
264
- ```sh
265
- fusion-framework-cli app build-publish -e ci
266
- ```
267
-
268
- complex usage:
269
-
270
- ```sh
271
- fusion-framework-cli app build-pack -o ./dist -a my-app.zip
272
- fusion-framework-cli app build-upload -b ./dist/my-app.zip -e ci
273
- fusion-framework-cli app build-tag -t my-tag -v 1.0.0 -e ci
274
- ```
275
-
276
- After publishing a build of an app, the app config should be uploaded to the build version. This is done by running the `build-config` command.
277
-
278
- ```sh
279
- # Publish the app config to the build version
280
- fusion-framework-cli app build-config -p -e ci
281
-
282
- # Publish the app config to a specific build tag
283
- fusion-framework-cli app build-config -p preview -e ci
284
-
285
- # Publish the app config to a specific build version
286
- fusion-framework-cli app build-config -p 1.0.0 -e ci
287
- ```
288
-
289
- **breaking changes:**
290
-
291
- - renaming all commands accociated with build.
292
- - The app-config endpoints is now an object containing url and scopes, where name is the object key:
230
+ Introduces new parameters to the `build-config` command for publishing the app config to a build version.
231
+
232
+ Commands:
233
+
234
+ - `build-pack` - Bundle the app for distribution
235
+ - `-o, --output <output>` - Output directory for the packed app
236
+ - `-a, --archive` - Archive name for the packed app
237
+ - `build-upload` - Upload the packed app to the Fusion App Store
238
+ - `-b, --bundle <bundle>` - Path to the packed app bundle
239
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to upload the app to
240
+ - `-s, --service <service>` - Custom app service
241
+ - `build-tag` - Tag the uploaded app with a version
242
+ - `-t, --tag <tag>` - Tag to apply to the uploaded app
243
+ - `-v, --version <version>` - Version to attach to the tag
244
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in
245
+ - `-s, --service <service>` - Custom app service
246
+ - `build-publish` - Publish the app config to a build version
247
+ - `-t, --tag <tag>` - Tag to apply to the uploaded app
248
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in
249
+ - `-s, --service <service>` - Custom app service
250
+ - `build-config` - Generate app config for an environment
251
+ - `-o, --output <output>` - Output file for the app config
252
+ - `-c, --config <config>` - Path to the app config file (for config generation)
253
+ - `-p, --publish` - Flag for upload the generated config
254
+ - `-v, --version<semver | current | latest | preview>` - Publish the app config to version
255
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to
256
+ - `-s, --service <service>` - Custom app service
257
+ - `upload-config` - Upload the app config to a build version
258
+ - `-c, --config <config>` - Path to the app config json file to upload
259
+ - `-p, --publish<semver | current | latest | preview>` - Publish the app config to the build version
260
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to
261
+ - `-s, --service <service>` - Custom app service
262
+ - `build-manifest` - Creates the build manifest to publish with app
263
+ - `-o, --output <output>` - Output file for manifest
264
+ - `-c, --config <config>` - Manifest config file
265
+
266
+ simple usage:
267
+
268
+ ```sh
269
+ fusion-framework-cli app build-publish -e ci
270
+ ```
271
+
272
+ complex usage:
273
+
274
+ ```sh
275
+ fusion-framework-cli app build-pack -o ./dist -a my-app.zip
276
+ fusion-framework-cli app build-upload -b ./dist/my-app.zip -e ci
277
+ fusion-framework-cli app build-tag -t my-tag -v 1.0.0 -e ci
278
+ ```
279
+
280
+ After publishing a build of an app, the app config should be uploaded to the build version. This is done by running the `build-config` command.
281
+
282
+ ```sh
283
+ # Publish the app config to the build version
284
+ fusion-framework-cli app build-config -p -e ci
285
+
286
+ # Publish the app config to a specific build tag
287
+ fusion-framework-cli app build-config -p preview -e ci
288
+
289
+ # Publish the app config to a specific build version
290
+ fusion-framework-cli app build-config -p 1.0.0 -e ci
291
+ ```
292
+
293
+ **breaking changes:**
294
+
295
+ - renaming all commands accociated with build.
296
+ - The app-config endpoints is now an object containing url and scopes, where name is the object key:
293
297
 
294
- ```ts
295
- environment: {
296
- myProp: 'foobar',
297
- },
298
- endpoints: {
299
- api: {
300
- url: 'https://foo.bars'
301
- scopes: ['foobar./default']
302
- },
298
+ ```ts
299
+ environment: {
300
+ myProp: 'foobar',
301
+ },
302
+ endpoints: {
303
+ api: {
304
+ url: 'https://foo.bars'
305
+ scopes: ['foobar./default']
303
306
  },
304
- ```
307
+ },
308
+ ```
305
309
 
306
- - The `config` command has been removed, use `build-config` instead
310
+ - The `config` command has been removed, use `build-config` instead
307
311
 
308
312
  ### Minor Changes
309
313
 
310
314
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Introduced `proxyRequestLogger` to log proxy requests in the CLI.
311
315
 
312
- - Show the request URL and method in the console when a proxy request is made.
313
- - Show proxy response status code
316
+ - Show the request URL and method in the console when a proxy request is made.
317
+ - Show proxy response status code
314
318
 
315
319
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Create a plugin `externalPublicPlugin` to fix the issue with serving the `index.html` file from the specified external public directory. Vite mode `spa` will not serve the `index.html` file from the specified external public directory.
316
320
 
317
- - Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory.
318
- - Transformed the HTML using Vite's `transformIndexHtml` method.
319
- - Applied appropriate content headers and additional configured headers before sending the response.
320
-
321
- ```typescript
322
- const viteConfig = defineConfig({
323
- // vite configuration
324
- root: './src', // this where vite will look for the index.html file
325
- plugins: [
326
- // path which contains the index.html file
327
- externalPublicPlugin('./my-portal'),
328
- ],
329
- });
330
- ```
321
+ - Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory.
322
+ - Transformed the HTML using Vite's `transformIndexHtml` method.
323
+ - Applied appropriate content headers and additional configured headers before sending the response.
324
+
325
+ ```typescript
326
+ const viteConfig = defineConfig({
327
+ // vite configuration
328
+ root: "./src", // this where vite will look for the index.html file
329
+ plugins: [
330
+ // path which contains the index.html file
331
+ externalPublicPlugin("./my-portal"),
332
+ ],
333
+ });
334
+ ```
331
335
 
332
336
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updated commands in CLI to reflect purpose of the command:
333
337
 
334
- - renamed `config` to `build-config` to generate build config of an application.
335
- - renamed `pack`to `build-pack` to bundle an application.
336
- - added `build-manifest` command to generate build manifest of an application.
338
+ - renamed `config` to `build-config` to generate build config of an application.
339
+ - renamed `pack`to `build-pack` to bundle an application.
340
+ - added `build-manifest` command to generate build manifest of an application.
337
341
 
338
- > [!WARNING]
339
- > Config callback for `manifest` and `config` now allows `void` return type.
340
- > Return value from callback is now merged with default config instead of replacing it, this might be a breaking change for some applications.
342
+ > [!WARNING]
343
+ > Config callback for `manifest` and `config` now allows `void` return type.
344
+ > Return value from callback is now merged with default config instead of replacing it, this might be a breaking change for some applications.
341
345
 
342
- > [!NOTE]
343
- > This mean that `mergeAppConfig` and `mergeManifestConfig` functions are no longer needed and can be removed from the application.
346
+ > [!NOTE]
347
+ > This mean that `mergeAppConfig` and `mergeManifestConfig` functions are no longer needed and can be removed from the application.
344
348
 
345
349
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - The `appProxyPlugin` is a Vite plugin designed to proxy requests to a Fusion app backend.
346
350
  It sets up proxy rules for API and bundle requests and serves the app configuration and manifest based on the app key and version.
347
351
 
348
- Key Features:
349
-
350
- 1. Proxy Configuration:
351
-
352
- - Proxies API calls to the Fusion apps backend.
353
- - Proxies bundle requests to the Fusion apps backend.
354
- - Uses a base path `proxyPath` for proxying.
355
- - Captures and reuses authorization tokens for asset requests.
356
-
357
- 2. **App Configuration and Manifest**:
358
-
359
- - Serves the app configuration if the request matches the current app and version.
360
- - Serves the app manifest if the request matches the current app.
361
-
362
- 3. **Middleware Setup**:
363
- - Sets up middleware to handle requests for app configuration, manifest, and local bundles.
364
-
365
- This plugin is used by the CLI for local development, but design as exportable for custom CLI to consume applications from other API`s
366
-
367
- example configuration:
368
-
369
- ```typescript
370
- const viteConfig = defineConfig({
371
- // vite configuration
372
- plugins: [
373
- appProxyPlugin({
374
- proxy: {
375
- path: '/app-proxy',
376
- target: 'https://fusion-s-apps-ci.azurewebsites.net/',
377
- // optional callback when matched request is proxied
378
- onProxyReq: (proxyReq, req, res) => {
379
- proxyReq.on('response', (res) => {
380
- console.log(res.statusCode);
381
- });
382
- },
383
- },
384
- // optional, but required for serving local app configuration, manifest and resources
385
- app: {
386
- key: 'my-app',
387
- version: '1.0.0',
388
- generateConfig: async () => ({}),
389
- generateManifest: async () => ({}),
390
- },
391
- }),
392
- ],
393
- });
394
- ```
352
+ Key Features:
395
353
 
396
- example usage:
354
+ 1. Proxy Configuration:
397
355
 
398
- ```typescript
399
- // Example API calls
400
- fetch('/app-proxy/apps/my-app/builds/1.0.0/config'); // local
401
- fetch('/app-proxy/apps/my-app/builds/0.0.9/config'); // proxy
402
- fetch('/app-proxy/apps/other-app/builds/1.0.0/config'); // proxy
356
+ - Proxies API calls to the Fusion apps backend.
357
+ - Proxies bundle requests to the Fusion apps backend.
358
+ - Uses a base path `proxyPath` for proxying.
359
+ - Captures and reuses authorization tokens for asset requests.
403
360
 
404
- // Example asset calls
405
- fetch('/app-proxy/bundles/my-app/builds/1.0.0/index.js'); // local
406
- fetch('/app-proxy/bundles/my-app/builds/0.0.9/index.js'); // proxy
407
- ```
361
+ 2. **App Configuration and Manifest**:
362
+
363
+ - Serves the app configuration if the request matches the current app and version.
364
+ - Serves the app manifest if the request matches the current app.
365
+
366
+ 3. **Middleware Setup**:
367
+ - Sets up middleware to handle requests for app configuration, manifest, and local bundles.
368
+
369
+ This plugin is used by the CLI for local development, but design as exportable for custom CLI to consume applications from other API`s
370
+
371
+ example configuration:
372
+
373
+ ```typescript
374
+ const viteConfig = defineConfig({
375
+ // vite configuration
376
+ plugins: [
377
+ appProxyPlugin({
378
+ proxy: {
379
+ path: "/app-proxy",
380
+ target: "https://fusion-s-apps-ci.azurewebsites.net/",
381
+ // optional callback when matched request is proxied
382
+ onProxyReq: (proxyReq, req, res) => {
383
+ proxyReq.on("response", (res) => {
384
+ console.log(res.statusCode);
385
+ });
386
+ },
387
+ },
388
+ // optional, but required for serving local app configuration, manifest and resources
389
+ app: {
390
+ key: "my-app",
391
+ version: "1.0.0",
392
+ generateConfig: async () => ({}),
393
+ generateManifest: async () => ({}),
394
+ },
395
+ }),
396
+ ],
397
+ });
398
+ ```
399
+
400
+ example usage:
401
+
402
+ ```typescript
403
+ // Example API calls
404
+ fetch("/app-proxy/apps/my-app/builds/1.0.0/config"); // local
405
+ fetch("/app-proxy/apps/my-app/builds/0.0.9/config"); // proxy
406
+ fetch("/app-proxy/apps/other-app/builds/1.0.0/config"); // proxy
407
+
408
+ // Example asset calls
409
+ fetch("/app-proxy/bundles/my-app/builds/1.0.0/index.js"); // local
410
+ fetch("/app-proxy/bundles/my-app/builds/0.0.9/index.js"); // proxy
411
+ ```
408
412
 
409
413
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - when building an application the `AppAssetExportPlugin` is now added to the `ViteConfig` and configure to include `manifest.build.allowedExtensions`
410
414
 
411
415
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - **App Assets Export Plugin**
412
416
 
413
- Create a plugin that exports assets from the app's source code.
414
- This plugin resolves the issue where assets are not extracted from the app's source code since the app is in `lib` mode.
415
-
416
- ```typescript
417
- export default {
418
- plugins: [
419
- AppAssetExportPlugin(
420
- include: createExtensionFilterPattern(
421
- manifest.build.allowedExtensions
422
- ),
423
- ),
424
- ]
425
- }
426
- ```
417
+ Create a plugin that exports assets from the app's source code.
418
+ This plugin resolves the issue where assets are not extracted from the app's source code since the app is in `lib` mode.
427
419
 
428
- see readme for more information.
420
+ ```typescript
421
+ export default {
422
+ plugins: [
423
+ AppAssetExportPlugin(
424
+ include: createExtensionFilterPattern(
425
+ manifest.build.allowedExtensions
426
+ ),
427
+ ),
428
+ ]
429
+ }
430
+ ```
431
+
432
+ see readme for more information.
429
433
 
430
434
  ### Patch Changes
431
435
 
432
436
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
433
437
 
434
- Updated the following dependencies
438
+ Updated the following dependencies
435
439
 
436
- - `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
440
+ - `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
437
441
 
438
442
  - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Generated base manifest from package will now include `StandardIncludeAssetExtensions` as `allowedExtensions`
439
443
 
@@ -443,14 +447,14 @@
443
447
 
444
448
  - [#2493](https://github.com/equinor/fusion-framework/pull/2493) [`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
445
449
 
446
- Updated the following dependencies
450
+ Updated the following dependencies
447
451
 
448
- - `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
452
+ - `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
449
453
 
450
454
  - Updated dependencies [[`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81)]:
451
- - @equinor/fusion-framework-react-components-people-provider@1.4.8
452
- - @equinor/fusion-framework-app@9.1.9
453
- - @equinor/fusion-framework-module-feature-flag@1.1.9
455
+ - @equinor/fusion-framework-react-components-people-provider@1.4.8
456
+ - @equinor/fusion-framework-app@9.1.9
457
+ - @equinor/fusion-framework-module-feature-flag@1.1.9
454
458
 
455
459
  ## 9.13.0
456
460
 
@@ -460,23 +464,23 @@
460
464
 
461
465
  - [#2459](https://github.com/equinor/fusion-framework/pull/2459) [`15152e4`](https://github.com/equinor/fusion-framework/commit/15152e413c054a5f57af93211a470c98c7696caa) Thanks [@odinr](https://github.com/odinr)! - **@equinor/fusion-framework-cli**
462
466
 
463
- Updated the CLI to use the new service discovery API.
467
+ Updated the CLI to use the new service discovery API.
464
468
 
465
- > [!NOTE]
466
- > This is a quick fix until the new major version of the CLI is released.
469
+ > [!NOTE]
470
+ > This is a quick fix until the new major version of the CLI is released.
467
471
 
468
- - Updated the `baseUri` to use a more specific URL path for service discovery.
469
- - Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
470
- - Changed parsing of service discovery response to match new API format.
472
+ - Updated the `baseUri` to use a more specific URL path for service discovery.
473
+ - Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
474
+ - Changed parsing of service discovery response to match new API format.
471
475
 
472
476
  ### Patch Changes
473
477
 
474
478
  - [#2458](https://github.com/equinor/fusion-framework/pull/2458) [`202cf10`](https://github.com/equinor/fusion-framework/commit/202cf10ae434d6432c8b57c2867b182223c19212) Thanks [@odinr](https://github.com/odinr)! - changed service discover url to match #c776845e753acf4a0bceda1c59d31e5939c44c31
475
479
 
476
480
  - Updated dependencies []:
477
- - @equinor/fusion-framework-app@9.1.8
478
- - @equinor/fusion-framework-module-feature-flag@1.1.9
479
- - @equinor/fusion-framework-react-components-people-provider@1.4.7
481
+ - @equinor/fusion-framework-app@9.1.8
482
+ - @equinor/fusion-framework-module-feature-flag@1.1.9
483
+ - @equinor/fusion-framework-react-components-people-provider@1.4.7
480
484
 
481
485
  ## 9.12.14
482
486
 
@@ -485,10 +489,10 @@
485
489
  - [#2431](https://github.com/equinor/fusion-framework/pull/2431) [`53ff9cc`](https://github.com/equinor/fusion-framework/commit/53ff9ccdbac95ae8d279aed49f173708bbe9adbe) Thanks [@dependabot](https://github.com/apps/dependabot)! - Upgrade vite from 5.3.5 to [5.4.3](<(https://github.com/vitejs/vite/blob/create-vite@5.4.0/packages/create-vite/CHANGELOG.md)>)
486
490
 
487
491
  - Updated dependencies [[`f7c143d`](https://github.com/equinor/fusion-framework/commit/f7c143d44a88cc25c377d3ce8c3d1744114b891d)]:
488
- - @equinor/fusion-observable@8.4.1
489
- - @equinor/fusion-framework-module-feature-flag@1.1.8
490
- - @equinor/fusion-framework-app@9.1.7
491
- - @equinor/fusion-framework-react-components-people-provider@1.4.6
492
+ - @equinor/fusion-observable@8.4.1
493
+ - @equinor/fusion-framework-module-feature-flag@1.1.8
494
+ - @equinor/fusion-framework-app@9.1.7
495
+ - @equinor/fusion-framework-react-components-people-provider@1.4.6
492
496
 
493
497
  ## 9.12.13
494
498
 
@@ -496,12 +500,12 @@
496
500
 
497
501
  - [#2403](https://github.com/equinor/fusion-framework/pull/2403) [`67ea61d`](https://github.com/equinor/fusion-framework/commit/67ea61dad8f50e8b8b977008b26374c2f982eb4d) Thanks [@dependabot](https://github.com/apps/dependabot)! - bump @equinor/eds-core-react from 0.40.1 to 0.41.2
498
502
 
499
- [see EDS changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-core-react/CHANGELOG.md)
503
+ [see EDS changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-core-react/CHANGELOG.md)
500
504
 
501
505
  - Updated dependencies []:
502
- - @equinor/fusion-framework-app@9.1.6
503
- - @equinor/fusion-framework-module-feature-flag@1.1.7
504
- - @equinor/fusion-framework-react-components-people-provider@1.4.5
506
+ - @equinor/fusion-framework-app@9.1.6
507
+ - @equinor/fusion-framework-module-feature-flag@1.1.7
508
+ - @equinor/fusion-framework-react-components-people-provider@1.4.5
505
509
 
506
510
  ## 9.12.12
507
511
 
@@ -527,17 +531,17 @@
527
531
 
528
532
  - [#2360](https://github.com/equinor/fusion-framework/pull/2360) [`1c7ac1b`](https://github.com/equinor/fusion-framework/commit/1c7ac1b42213f33a668e79d750e0b12b227a7052) Thanks [@eikeland](https://github.com/eikeland)! - Enhanced ContextSelector component in the CLI package:
529
533
 
530
- - Implemented responsive context clearing mechanism
531
- - Improved handling of context selection and clearing events
532
- - Optimized component rendering with useMemo and useCallback hooks
534
+ - Implemented responsive context clearing mechanism
535
+ - Improved handling of context selection and clearing events
536
+ - Optimized component rendering with useMemo and useCallback hooks
533
537
 
534
538
  - [#2261](https://github.com/equinor/fusion-framework/pull/2261) [`aae93b9`](https://github.com/equinor/fusion-framework/commit/aae93b95120f1285545ea1b8344817c31e134ff5) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump adm-zip from 0.5.10 to 0.5.14
535
539
 
536
540
  - Updated dependencies [[`bbde502`](https://github.com/equinor/fusion-framework/commit/bbde502e638f459379f63968febbc97ebe282b76), [`a3543e3`](https://github.com/equinor/fusion-framework/commit/a3543e31353c9eac25140842643cb8e27e9b187e), [`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb), [`e092f75`](https://github.com/equinor/fusion-framework/commit/e092f7599f1f2e0e0676a9f10565299272813594)]:
537
- - @equinor/fusion-observable@8.4.0
538
- - @equinor/fusion-framework-react-components-people-provider@1.4.4
539
- - @equinor/fusion-framework-module-feature-flag@1.1.6
540
- - @equinor/fusion-framework-app@9.1.5
541
+ - @equinor/fusion-observable@8.4.0
542
+ - @equinor/fusion-framework-react-components-people-provider@1.4.4
543
+ - @equinor/fusion-framework-module-feature-flag@1.1.6
544
+ - @equinor/fusion-framework-app@9.1.5
541
545
 
542
546
  ## 9.12.11
543
547
 
@@ -548,9 +552,9 @@
548
552
  - [#2340](https://github.com/equinor/fusion-framework/pull/2340) [`9435ee4`](https://github.com/equinor/fusion-framework/commit/9435ee4ddebade18436c5c6bd57ee86b6baf0b24) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 5.2.10 to 5.3.3
549
553
 
550
554
  - Updated dependencies []:
551
- - @equinor/fusion-framework-app@9.1.4
552
- - @equinor/fusion-framework-module-feature-flag@1.1.5
553
- - @equinor/fusion-framework-react-components-people-provider@1.4.3
555
+ - @equinor/fusion-framework-app@9.1.4
556
+ - @equinor/fusion-framework-module-feature-flag@1.1.5
557
+ - @equinor/fusion-framework-react-components-people-provider@1.4.3
554
558
 
555
559
  ## 9.12.10
556
560
 
@@ -563,60 +567,60 @@
563
567
  Additionally, Vite now supports the `system` library format and adds options for not starting a WebSocket server and ignoring certain code sections.
564
568
  The changelog also notes performance enhancements, dependency updates, and bug fixes, including resolving circular dependencies, improving error recovery, and updating non-major dependencies.
565
569
 
566
- build(deps): bump vite from 5.2.10 to 5.3.3
570
+ build(deps): bump vite from 5.2.10 to 5.3.3
567
571
 
568
572
  - [#2333](https://github.com/equinor/fusion-framework/pull/2333) [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1) Thanks [@odinr](https://github.com/odinr)! - Updated `TypeScript` to 5.5.3
569
573
 
570
574
  - [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
571
575
 
572
- Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
576
+ Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
573
577
 
574
- 1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
575
- 2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
576
- 3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
578
+ 1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
579
+ 2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
580
+ 3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
577
581
 
578
- No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
582
+ No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
579
583
 
580
- Before:
584
+ Before:
581
585
 
582
- ```json
583
- {
584
- "compilerOptions": {
585
- "module": "ES2022",
586
- "target": "ES6",
587
- "incremental": true,
588
- "removeComments": true,
589
- "preserveConstEnums": true,
590
- "sourceMap": true,
591
- "moduleResolution": "node"
592
- }
586
+ ```json
587
+ {
588
+ "compilerOptions": {
589
+ "module": "ES2022",
590
+ "target": "ES6",
591
+ "incremental": true,
592
+ "removeComments": true,
593
+ "preserveConstEnums": true,
594
+ "sourceMap": true,
595
+ "moduleResolution": "node"
593
596
  }
594
- ```
595
-
596
- After:
597
-
598
- ```json
599
- {
600
- "compilerOptions": {
601
- "module": "ES2022",
602
- "target": "ES6",
603
- "incremental": true,
604
- "preserveConstEnums": true,
605
- "sourceMap": true,
606
- "moduleResolution": "node"
607
- }
597
+ }
598
+ ```
599
+
600
+ After:
601
+
602
+ ```json
603
+ {
604
+ "compilerOptions": {
605
+ "module": "ES2022",
606
+ "target": "ES6",
607
+ "incremental": true,
608
+ "preserveConstEnums": true,
609
+ "sourceMap": true,
610
+ "moduleResolution": "node"
608
611
  }
609
- ```
612
+ }
613
+ ```
610
614
 
611
- This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
615
+ This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
612
616
 
613
617
  - [#2330](https://github.com/equinor/fusion-framework/pull/2330) [`4c4471a`](https://github.com/equinor/fusion-framework/commit/4c4471a61d083c6b00d25ebf82952632ff50e200) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump rollup from 4.12.0 to 4.18.1
614
618
 
615
619
  - Updated dependencies [[`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`29ff796`](https://github.com/equinor/fusion-framework/commit/29ff796ebb3a643c604e4153b6798bde5992363c), [`a723e86`](https://github.com/equinor/fusion-framework/commit/a723e8605059ad126602d053c65114c3ce908964), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee)]:
616
- - @equinor/fusion-framework-react-components-people-provider@1.4.2
617
- - @equinor/fusion-framework-module-feature-flag@1.1.5
618
- - @equinor/fusion-observable@8.3.3
619
- - @equinor/fusion-framework-app@9.1.3
620
+ - @equinor/fusion-framework-react-components-people-provider@1.4.2
621
+ - @equinor/fusion-framework-module-feature-flag@1.1.5
622
+ - @equinor/fusion-observable@8.3.3
623
+ - @equinor/fusion-framework-app@9.1.3
620
624
 
621
625
  ## 9.12.9
622
626
 
@@ -625,17 +629,17 @@
625
629
  - [#2270](https://github.com/equinor/fusion-framework/pull/2270) [`b739416`](https://github.com/equinor/fusion-framework/commit/b7394165a573e545152cfcedc2ddae186ec94112) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Update fusion-wc-person to resolve issue with positioning
626
630
 
627
631
  - Updated dependencies [[`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb), [`b739416`](https://github.com/equinor/fusion-framework/commit/b7394165a573e545152cfcedc2ddae186ec94112)]:
628
- - @equinor/fusion-observable@8.3.2
629
- - @equinor/fusion-framework-react-components-people-provider@1.4.1
630
- - @equinor/fusion-framework-module-feature-flag@1.1.4
631
- - @equinor/fusion-framework-app@9.1.2
632
+ - @equinor/fusion-observable@8.3.2
633
+ - @equinor/fusion-framework-react-components-people-provider@1.4.1
634
+ - @equinor/fusion-framework-module-feature-flag@1.1.4
635
+ - @equinor/fusion-framework-app@9.1.2
632
636
 
633
637
  ## 9.12.8
634
638
 
635
639
  ### Patch Changes
636
640
 
637
641
  - Updated dependencies [[`b8d52ad`](https://github.com/equinor/fusion-framework/commit/b8d52adb2ca1f9857c672a3deb774409ff2bdb37)]:
638
- - @equinor/fusion-framework-app@9.1.1
642
+ - @equinor/fusion-framework-app@9.1.1
639
643
 
640
644
  ## 9.12.7
641
645
 
@@ -644,19 +648,19 @@
644
648
  - [#2205](https://github.com/equinor/fusion-framework/pull/2205) [`4e64552`](https://github.com/equinor/fusion-framework/commit/4e64552a3c1b0324e1deda93779eab16dbebbed3) Thanks [@odinr](https://github.com/odinr)! - Updated `@equinor/eds-core-react` dependency to version `^0.38.0`
645
649
  Updated `@equinor/eds-utils` dependency to version `^0.8.5`
646
650
  - Updated dependencies [[`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8), [`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8), [`72f48ec`](https://github.com/equinor/fusion-framework/commit/72f48eccc7262f6c419c60cc32f0dc829601ceab)]:
647
- - @equinor/fusion-framework-react-components-people-provider@1.4.0
648
- - @equinor/fusion-framework-app@9.1.0
649
- - @equinor/fusion-observable@8.3.1
650
- - @equinor/fusion-framework-module-feature-flag@1.1.3
651
+ - @equinor/fusion-framework-react-components-people-provider@1.4.0
652
+ - @equinor/fusion-framework-app@9.1.0
653
+ - @equinor/fusion-observable@8.3.1
654
+ - @equinor/fusion-framework-module-feature-flag@1.1.3
651
655
 
652
656
  ## 9.12.6
653
657
 
654
658
  ### Patch Changes
655
659
 
656
660
  - Updated dependencies []:
657
- - @equinor/fusion-framework-app@9.0.9
658
- - @equinor/fusion-framework-module-feature-flag@1.1.2
659
- - @equinor/fusion-framework-react-components-people-provider@1.3.8
661
+ - @equinor/fusion-framework-app@9.0.9
662
+ - @equinor/fusion-framework-module-feature-flag@1.1.2
663
+ - @equinor/fusion-framework-react-components-people-provider@1.3.8
660
664
 
661
665
  ## 9.12.5
662
666
 
@@ -664,25 +668,25 @@
664
668
 
665
669
  - [#2135](https://github.com/equinor/fusion-framework/pull/2135) [`3cd63d5`](https://github.com/equinor/fusion-framework/commit/3cd63d58e4e3ffd15bccdebaa94b391e3e3d12f0) Thanks [@odinr](https://github.com/odinr)! - Fixed styling of the render root element for the application
666
670
 
667
- fixes: https://github.com/equinor/fusion/issues/301
671
+ fixes: https://github.com/equinor/fusion/issues/301
668
672
 
669
- ## @equinor/fusion-framework-cli
673
+ ## @equinor/fusion-framework-cli
670
674
 
671
- ### What the change is
675
+ ### What the change is
672
676
 
673
- This change fixes an issue where the root element rendered by the CLI was not being styled correctly, causing layout issues in some applications.
677
+ This change fixes an issue where the root element rendered by the CLI was not being styled correctly, causing layout issues in some applications.
674
678
 
675
- ### Why the change was made
679
+ ### Why the change was made
676
680
 
677
- Previously, the root element was not receiving the correct styles due to an issue with the way styles were being applied. This led to visual inconsistencies and layout problems in applications rendered by the CLI.
681
+ Previously, the root element was not receiving the correct styles due to an issue with the way styles were being applied. This led to visual inconsistencies and layout problems in applications rendered by the CLI.
678
682
 
679
- ### How a consumer should update their code
683
+ ### How a consumer should update their code
680
684
 
681
- No code changes are required for consumers. This fix will be automatically applied when using the updated version of the `@equinor/fusion-framework-cli` package.
685
+ No code changes are required for consumers. This fix will be automatically applied when using the updated version of the `@equinor/fusion-framework-cli` package.
682
686
 
683
687
  - Updated dependencies []:
684
- - @equinor/fusion-framework-react-components-people-provider@1.3.7
685
- - @equinor/fusion-framework-app@9.0.8
688
+ - @equinor/fusion-framework-react-components-people-provider@1.3.7
689
+ - @equinor/fusion-framework-app@9.0.8
686
690
 
687
691
  ## 9.12.4
688
692
 
@@ -690,14 +694,14 @@
690
694
 
691
695
  - [#2107](https://github.com/equinor/fusion-framework/pull/2107) [`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197) Thanks [@odinr](https://github.com/odinr)! - Fixed issue with missing process env `FUSION_LOG_LEVEL`
692
696
 
693
- - added default resolve value when generating base vite configuration
694
- - moved default query log level resolve outside class
697
+ - added default resolve value when generating base vite configuration
698
+ - moved default query log level resolve outside class
695
699
 
696
- fixes: https://github.com/equinor/fusion/issues/343
700
+ fixes: https://github.com/equinor/fusion/issues/343
697
701
 
698
702
  - Updated dependencies []:
699
- - @equinor/fusion-framework-react-components-people-provider@1.3.6
700
- - @equinor/fusion-framework-app@9.0.7
703
+ - @equinor/fusion-framework-react-components-people-provider@1.3.6
704
+ - @equinor/fusion-framework-app@9.0.7
701
705
 
702
706
  ## 9.12.3
703
707
 
@@ -710,18 +714,18 @@
710
714
  - [`cf4a17a`](https://github.com/equinor/fusion-framework/commit/cf4a17a07540b05b0d44de7e188aaaa8f9fef8f8) Thanks [@odinr](https://github.com/odinr)! - updated Query, ref #2095
711
715
 
712
716
  - Updated dependencies []:
713
- - @equinor/fusion-framework-react-components-people-provider@1.3.5
714
- - @equinor/fusion-framework-module-feature-flag@1.1.1
715
- - @equinor/fusion-framework-app@9.0.6
717
+ - @equinor/fusion-framework-react-components-people-provider@1.3.5
718
+ - @equinor/fusion-framework-module-feature-flag@1.1.1
719
+ - @equinor/fusion-framework-app@9.0.6
716
720
 
717
721
  ## 9.12.2
718
722
 
719
723
  ### Patch Changes
720
724
 
721
725
  - Updated dependencies []:
722
- - @equinor/fusion-framework-app@9.0.5
723
- - @equinor/fusion-framework-module-feature-flag@1.1.1
724
- - @equinor/fusion-framework-react-components-people-provider@1.3.4
726
+ - @equinor/fusion-framework-app@9.0.5
727
+ - @equinor/fusion-framework-module-feature-flag@1.1.1
728
+ - @equinor/fusion-framework-react-components-people-provider@1.3.4
725
729
 
726
730
  ## 9.12.1
727
731
 
@@ -730,10 +734,10 @@
730
734
  - [#2059](https://github.com/equinor/fusion-framework/pull/2059) [`303c962`](https://github.com/equinor/fusion-framework/commit/303c96234e381ddc3ad86daeff9baaec5ade6bbe) Thanks [@eikeland](https://github.com/eikeland)! - Removes z-index from apploader section to make ContextSelector dropdown usable again
731
735
 
732
736
  - Updated dependencies [[`572a199`](https://github.com/equinor/fusion-framework/commit/572a199b8b3070af16d76238aa30d7aaf36a115a)]:
733
- - @equinor/fusion-observable@8.3.0
734
- - @equinor/fusion-framework-module-feature-flag@1.1.1
735
- - @equinor/fusion-framework-react-components-people-provider@1.3.3
736
- - @equinor/fusion-framework-app@9.0.4
737
+ - @equinor/fusion-observable@8.3.0
738
+ - @equinor/fusion-framework-module-feature-flag@1.1.1
739
+ - @equinor/fusion-framework-react-components-people-provider@1.3.3
740
+ - @equinor/fusion-framework-app@9.0.4
737
741
 
738
742
  ## 9.12.0
739
743
 
@@ -741,9 +745,9 @@
741
745
 
742
746
  - [#2051](https://github.com/equinor/fusion-framework/pull/2051) [`3eba53a`](https://github.com/equinor/fusion-framework/commit/3eba53a7eb113a9985092a3c6166ab6bdd44c02f) Thanks [@odinr](https://github.com/odinr)! - Aligned CLI dev-portal more to fusion classic portal layout
743
747
 
744
- > the dev-portal is a generic portal for developing application, not a 100% replica of the environment _(this will be a feature in future, which the developer kan test the application in different simulated portals)_
748
+ > the dev-portal is a generic portal for developing application, not a 100% replica of the environment _(this will be a feature in future, which the developer kan test the application in different simulated portals)_
745
749
 
746
- **No functionality changed, only the markup of dev-portal**
750
+ **No functionality changed, only the markup of dev-portal**
747
751
 
748
752
  ### Patch Changes
749
753
 
@@ -752,16 +756,16 @@
752
756
  - [#2052](https://github.com/equinor/fusion-framework/pull/2052) [`545a090`](https://github.com/equinor/fusion-framework/commit/545a0902bc670724498add3f4fd82f251e9156e6) Thanks [@odinr](https://github.com/odinr)! - fix for #2051
753
757
 
754
758
  - Updated dependencies [[`1cf4003`](https://github.com/equinor/fusion-framework/commit/1cf400389d8d15afbacdc33789130e268c492a0c)]:
755
- - @equinor/fusion-framework-react-components-people-provider@1.3.2
756
- - @equinor/fusion-framework-app@9.0.3
757
- - @equinor/fusion-framework-module-feature-flag@1.1.0
759
+ - @equinor/fusion-framework-react-components-people-provider@1.3.2
760
+ - @equinor/fusion-framework-app@9.0.3
761
+ - @equinor/fusion-framework-module-feature-flag@1.1.0
758
762
 
759
763
  ## 9.11.1
760
764
 
761
765
  ### Patch Changes
762
766
 
763
767
  - Updated dependencies [[`036ec15`](https://github.com/equinor/fusion-framework/commit/036ec151ace9c051ded41798ab94b8ee5e3d4461)]:
764
- - @equinor/fusion-framework-app@9.0.2
768
+ - @equinor/fusion-framework-app@9.0.2
765
769
 
766
770
  ## 9.11.0
767
771
 
@@ -776,9 +780,9 @@
776
780
  - [#1981](https://github.com/equinor/fusion-framework/pull/1981) [`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc) Thanks [@eikeland](https://github.com/eikeland)! - Align package exports with node10+ documentation.
777
781
 
778
782
  - Updated dependencies [[`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc)]:
779
- - @equinor/fusion-framework-react-components-people-provider@1.3.1
780
- - @equinor/fusion-framework-app@9.0.1
781
- - @equinor/fusion-framework-module-feature-flag@1.1.0
783
+ - @equinor/fusion-framework-react-components-people-provider@1.3.1
784
+ - @equinor/fusion-framework-app@9.0.1
785
+ - @equinor/fusion-framework-module-feature-flag@1.1.0
782
786
 
783
787
  ## 9.10.0
784
788
 
@@ -791,10 +795,10 @@
791
795
  - [#1945](https://github.com/equinor/fusion-framework/pull/1945) [`b59d314`](https://github.com/equinor/fusion-framework/commit/b59d3142a551574117d3cdeb274cceb996459000) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - bump @equinor/fusion-wc-person from 2.6.4 to 2.6.5
792
796
 
793
797
  - Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`b59d314`](https://github.com/equinor/fusion-framework/commit/b59d3142a551574117d3cdeb274cceb996459000), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
794
- - @equinor/fusion-framework-react-components-people-provider@1.3.0
795
- - @equinor/fusion-framework-module-feature-flag@1.1.0
796
- - @equinor/fusion-observable@8.2.0
797
- - @equinor/fusion-framework-app@9.0.0
798
+ - @equinor/fusion-framework-react-components-people-provider@1.3.0
799
+ - @equinor/fusion-framework-module-feature-flag@1.1.0
800
+ - @equinor/fusion-observable@8.2.0
801
+ - @equinor/fusion-framework-app@9.0.0
798
802
 
799
803
  ## 9.9.0
800
804
 
@@ -802,19 +806,19 @@
802
806
 
803
807
  - [#1933](https://github.com/equinor/fusion-framework/pull/1933) [`701c297`](https://github.com/equinor/fusion-framework/commit/701c29709351ff80864d26311efc72a439cd4098) Thanks [@odinr](https://github.com/odinr)! - CLI will now update pathname when current context changes
804
808
 
805
- CLI will now resolve initial context _(if context module enabled)_
809
+ CLI will now resolve initial context _(if context module enabled)_
806
810
 
807
- Fixes: https://github.com/equinor/fusion/issues/307
811
+ Fixes: https://github.com/equinor/fusion/issues/307
808
812
 
809
- Will work even if not application has not enabled navigation
813
+ Will work even if not application has not enabled navigation
810
814
 
811
815
  ### Patch Changes
812
816
 
813
817
  - [#1929](https://github.com/equinor/fusion-framework/pull/1929) [`86e7556`](https://github.com/equinor/fusion-framework/commit/86e7556b212f42501ef5e885fea36d20002e43ac) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update to latest fusion-react-context-selector
814
818
 
815
819
  - Updated dependencies []:
816
- - @equinor/fusion-framework-app@8.1.4
817
- - @equinor/fusion-framework-react-components-people-provider@1.2.6
820
+ - @equinor/fusion-framework-app@8.1.4
821
+ - @equinor/fusion-framework-react-components-people-provider@1.2.6
818
822
 
819
823
  ## 9.8.7
820
824
 
@@ -831,15 +835,15 @@
831
835
  - [#1919](https://github.com/equinor/fusion-framework/pull/1919) [`666780c`](https://github.com/equinor/fusion-framework/commit/666780cb2f6e5b3d5b861a179220362c1bf4b0ad) Thanks [@odinr](https://github.com/odinr)! - removed unused packages
832
836
 
833
837
  - Updated dependencies [[`6f3315a`](https://github.com/equinor/fusion-framework/commit/6f3315a83ea43d5355a5d95c1e9e4caf6f6b7c72)]:
834
- - @equinor/fusion-framework-react-components-people-provider@1.2.5
838
+ - @equinor/fusion-framework-react-components-people-provider@1.2.5
835
839
 
836
840
  ## 9.8.5
837
841
 
838
842
  ### Patch Changes
839
843
 
840
844
  - Updated dependencies []:
841
- - @equinor/fusion-framework-app@8.1.3
842
- - @equinor/fusion-framework-react-components-people-provider@1.2.4
845
+ - @equinor/fusion-framework-app@8.1.3
846
+ - @equinor/fusion-framework-react-components-people-provider@1.2.4
843
847
 
844
848
  ## 9.8.4
845
849
 
@@ -850,7 +854,7 @@
850
854
  - [#1902](https://github.com/equinor/fusion-framework/pull/1902) [`06d3739`](https://github.com/equinor/fusion-framework/commit/06d373990b481bcae361cfa4fa8a905b4256c7d8) Thanks [@eikeland](https://github.com/eikeland)! - Updates cli dep fwc-person and improve people cookbook
851
855
 
852
856
  - Updated dependencies [[`06d3739`](https://github.com/equinor/fusion-framework/commit/06d373990b481bcae361cfa4fa8a905b4256c7d8)]:
853
- - @equinor/fusion-framework-react-components-people-provider@1.2.3
857
+ - @equinor/fusion-framework-react-components-people-provider@1.2.3
854
858
 
855
859
  ## 9.8.3
856
860
 
@@ -858,7 +862,7 @@
858
862
 
859
863
  - [#1878](https://github.com/equinor/fusion-framework/pull/1878) [`fe1a239`](https://github.com/equinor/fusion-framework/commit/fe1a239e9ce9fc0e39b4faf67ffda40d287d5bd2) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Add error icon for errors
860
864
 
861
- - Add info icon for no result
865
+ - Add info icon for no result
862
866
 
863
867
  - [#1875](https://github.com/equinor/fusion-framework/pull/1875) [`e018c6e`](https://github.com/equinor/fusion-framework/commit/e018c6e5b5f8676b642ded1bb8b5b41bc65f674f) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Show message when unhandled error occurs in context selector
864
868
 
@@ -869,8 +873,8 @@
869
873
  ### Patch Changes
870
874
 
871
875
  - Updated dependencies []:
872
- - @equinor/fusion-framework-app@8.1.2
873
- - @equinor/fusion-framework-react-components-people-provider@1.2.2
876
+ - @equinor/fusion-framework-app@8.1.2
877
+ - @equinor/fusion-framework-react-components-people-provider@1.2.2
874
878
 
875
879
  ## 9.8.1
876
880
 
@@ -879,7 +883,7 @@
879
883
  - [#1839](https://github.com/equinor/fusion-framework/pull/1839) [`f2e5d9f`](https://github.com/equinor/fusion-framework/commit/f2e5d9f78546b4e933f012d58081439a1c2f5554) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bumps @equinor/fusion-wc-person to 2.5.1
880
884
 
881
885
  - Updated dependencies [[`f2e5d9f`](https://github.com/equinor/fusion-framework/commit/f2e5d9f78546b4e933f012d58081439a1c2f5554)]:
882
- - @equinor/fusion-framework-react-components-people-provider@1.2.1
886
+ - @equinor/fusion-framework-react-components-people-provider@1.2.1
883
887
 
884
888
  ## 9.8.0
885
889
 
@@ -892,7 +896,7 @@
892
896
  - [#1823](https://github.com/equinor/fusion-framework/pull/1823) [`9733563`](https://github.com/equinor/fusion-framework/commit/9733563ad072a6c21d61952d6d71978b88612ac5) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore(deps): bump @equinor/eds-core-react from 0.35.1 to 0.36.0
893
897
 
894
898
  - Updated dependencies [[`91a5782`](https://github.com/equinor/fusion-framework/commit/91a5782d22b25c562a1c65cc702bee1c96b97737)]:
895
- - @equinor/fusion-framework-react-components-people-provider@1.2.0
899
+ - @equinor/fusion-framework-react-components-people-provider@1.2.0
896
900
 
897
901
  ## 9.7.0
898
902
 
@@ -900,7 +904,7 @@
900
904
 
901
905
  - [#1801](https://github.com/equinor/fusion-framework/pull/1801) [`6e8fb78`](https://github.com/equinor/fusion-framework/commit/6e8fb78698fe11402ceef8d8ab48530bb8866699) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore(deps): bump commander from 11.1.0 to 12.0.0
902
906
 
903
- see [changelog](https://github.com/tj/commander.js/releases/tag/v12.0.0)
907
+ see [changelog](https://github.com/tj/commander.js/releases/tag/v12.0.0)
904
908
 
905
909
  ### Patch Changes
906
910
 
@@ -911,9 +915,9 @@
911
915
  ### Patch Changes
912
916
 
913
917
  - Updated dependencies []:
914
- - @equinor/fusion-framework-react-components-people-provider@1.1.15
915
- - @equinor/fusion-framework-app@8.1.1
916
- - @equinor/fusion-framework-module-feature-flag@1.0.2
918
+ - @equinor/fusion-framework-react-components-people-provider@1.1.15
919
+ - @equinor/fusion-framework-app@8.1.1
920
+ - @equinor/fusion-framework-module-feature-flag@1.0.2
917
921
 
918
922
  ## 9.6.3
919
923
 
@@ -921,25 +925,25 @@
921
925
 
922
926
  - [#1786](https://github.com/equinor/fusion-framework/pull/1786) [`a5f74f2`](https://github.com/equinor/fusion-framework/commit/a5f74f2096a55c4dab4b1d263bd39cd0dc39ac7a) Thanks [@odinr](https://github.com/odinr)! - support resources in `defineAppManifest`
923
927
 
924
- ref [issue 286](https://github.com/equinor/fusion/issues/286#issuecomment-1923401234)
928
+ ref [issue 286](https://github.com/equinor/fusion/issues/286#issuecomment-1923401234)
925
929
 
926
930
  ## 9.6.2
927
931
 
928
932
  ### Patch Changes
929
933
 
930
934
  - Updated dependencies [[`09f8dd2`](https://github.com/equinor/fusion-framework/commit/09f8dd2dad31e8de47409e6bd751f74e3dd02607), [`0f3affa`](https://github.com/equinor/fusion-framework/commit/0f3affa45b7b7dc0a0f01682682293e4b899a5d9)]:
931
- - @equinor/fusion-framework-react-components-people-provider@1.1.14
932
- - @equinor/fusion-framework-app@8.1.0
935
+ - @equinor/fusion-framework-react-components-people-provider@1.1.14
936
+ - @equinor/fusion-framework-app@8.1.0
933
937
 
934
938
  ## 9.6.1
935
939
 
936
940
  ### Patch Changes
937
941
 
938
942
  - Updated dependencies [[`036546f`](https://github.com/equinor/fusion-framework/commit/036546f2e3d9c0d289c7145da84e940673027b5e), [`d0c0c6a`](https://github.com/equinor/fusion-framework/commit/d0c0c6a971a478e3f447663bf50b4e3a7cb1517e)]:
939
- - @equinor/fusion-observable@8.1.5
940
- - @equinor/fusion-framework-module-feature-flag@1.0.1
941
- - @equinor/fusion-framework-app@8.0.1
942
- - @equinor/fusion-framework-react-components-people-provider@1.1.13
943
+ - @equinor/fusion-observable@8.1.5
944
+ - @equinor/fusion-framework-module-feature-flag@1.0.1
945
+ - @equinor/fusion-framework-app@8.0.1
946
+ - @equinor/fusion-framework-react-components-people-provider@1.1.13
943
947
 
944
948
  ## 9.6.0
945
949
 
@@ -954,9 +958,9 @@
954
958
  - [`cb20fc1`](https://github.com/equinor/fusion-framework/commit/cb20fc1a0259a8e0f91d43e44a035b2ad26951f3) Thanks [@odinr](https://github.com/odinr)! - [security update](https://github.com/equinor/fusion-framework/security/dependabot/90)
955
959
 
956
960
  - Updated dependencies [[`8b031c3`](https://github.com/equinor/fusion-framework/commit/8b031c31f314deeffdf395fc847e4279b61aab7e), [`8b031c3`](https://github.com/equinor/fusion-framework/commit/8b031c31f314deeffdf395fc847e4279b61aab7e)]:
957
- - @equinor/fusion-framework-app@8.0.0
958
- - @equinor/fusion-framework-module-feature-flag@1.0.0
959
- - @equinor/fusion-framework-react-components-people-provider@1.1.12
961
+ - @equinor/fusion-framework-app@8.0.0
962
+ - @equinor/fusion-framework-module-feature-flag@1.0.0
963
+ - @equinor/fusion-framework-react-components-people-provider@1.1.12
960
964
 
961
965
  ## 9.5.10
962
966
 
@@ -969,7 +973,7 @@
969
973
  ### Patch Changes
970
974
 
971
975
  - Updated dependencies []:
972
- - @equinor/fusion-framework-react-components-people-provider@1.1.11
976
+ - @equinor/fusion-framework-react-components-people-provider@1.1.11
973
977
 
974
978
  ## 9.5.8
975
979
 
@@ -978,8 +982,8 @@
978
982
  - [#1215](https://github.com/equinor/fusion-framework/pull/1215) [`1918c82`](https://github.com/equinor/fusion-framework/commit/1918c8228bc7158c4c358aa8f5688342e3b11b1d) Thanks [@odinr](https://github.com/odinr)! - Adding PersonSidesheet to cli with featuretoggler
979
983
 
980
984
  - Updated dependencies [[`1918c82`](https://github.com/equinor/fusion-framework/commit/1918c8228bc7158c4c358aa8f5688342e3b11b1d), [`1918c82`](https://github.com/equinor/fusion-framework/commit/1918c8228bc7158c4c358aa8f5688342e3b11b1d)]:
981
- - @equinor/fusion-framework-module-feature-flag@0.0.1
982
- - @equinor/fusion-framework-react-components-people-provider@1.1.10
985
+ - @equinor/fusion-framework-module-feature-flag@0.0.1
986
+ - @equinor/fusion-framework-react-components-people-provider@1.1.10
983
987
 
984
988
  ## 9.5.7
985
989
 
@@ -1002,33 +1006,33 @@
1002
1006
  - [#1565](https://github.com/equinor/fusion-framework/pull/1565) [`4e7dbce`](https://github.com/equinor/fusion-framework/commit/4e7dbce1a92b093bec91d48d38afd7b70fe03296) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/fusion-wc-person from 2.1.8 to 2.3.0
1003
1007
 
1004
1008
  - Updated dependencies [[`4e7dbce`](https://github.com/equinor/fusion-framework/commit/4e7dbce1a92b093bec91d48d38afd7b70fe03296)]:
1005
- - @equinor/fusion-framework-react-components-people-provider@1.1.9
1006
- - @equinor/fusion-framework-app@7.1.15
1009
+ - @equinor/fusion-framework-react-components-people-provider@1.1.9
1010
+ - @equinor/fusion-framework-app@7.1.15
1007
1011
 
1008
1012
  ## 9.5.5
1009
1013
 
1010
1014
  ### Patch Changes
1011
1015
 
1012
1016
  - Updated dependencies []:
1013
- - @equinor/fusion-framework-app@7.1.14
1014
- - @equinor/fusion-framework-react-components-people-provider@1.1.8
1017
+ - @equinor/fusion-framework-app@7.1.14
1018
+ - @equinor/fusion-framework-react-components-people-provider@1.1.8
1015
1019
 
1016
1020
  ## 9.5.4
1017
1021
 
1018
1022
  ### Patch Changes
1019
1023
 
1020
1024
  - Updated dependencies []:
1021
- - @equinor/fusion-framework-app@7.1.13
1022
- - @equinor/fusion-framework-react-components-people-provider@1.1.7
1025
+ - @equinor/fusion-framework-app@7.1.13
1026
+ - @equinor/fusion-framework-react-components-people-provider@1.1.7
1023
1027
 
1024
1028
  ## 9.5.3
1025
1029
 
1026
1030
  ### Patch Changes
1027
1031
 
1028
1032
  - Updated dependencies [[`6ffaabf`](https://github.com/equinor/fusion-framework/commit/6ffaabf120704f2f4f4074a0fa0a17faf77fe22a)]:
1029
- - @equinor/fusion-observable@8.1.4
1030
- - @equinor/fusion-framework-app@7.1.12
1031
- - @equinor/fusion-framework-react-components-people-provider@1.1.6
1033
+ - @equinor/fusion-observable@8.1.4
1034
+ - @equinor/fusion-framework-app@7.1.12
1035
+ - @equinor/fusion-framework-react-components-people-provider@1.1.6
1032
1036
 
1033
1037
  ## 9.5.2
1034
1038
 
@@ -1039,9 +1043,9 @@
1039
1043
  - [#1578](https://github.com/equinor/fusion-framework/pull/1578) [`e6859bf`](https://github.com/equinor/fusion-framework/commit/e6859bf9604b1ac388c077db97cb7bd7127f59db) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump @equinor/fusion-react-menu from 0.2.0 to 0.3.0
1040
1044
 
1041
1045
  - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
1042
- - @equinor/fusion-observable@8.1.3
1043
- - @equinor/fusion-framework-react-components-people-provider@1.1.5
1044
- - @equinor/fusion-framework-app@7.1.11
1046
+ - @equinor/fusion-observable@8.1.3
1047
+ - @equinor/fusion-framework-react-components-people-provider@1.1.5
1048
+ - @equinor/fusion-framework-app@7.1.11
1045
1049
 
1046
1050
  ## 9.5.1
1047
1051
 
@@ -1060,15 +1064,15 @@
1060
1064
  ### Patch Changes
1061
1065
 
1062
1066
  - Updated dependencies [[`22909e77`](https://github.com/equinor/fusion-framework/commit/22909e77488b099697dccec93e7ac8416dc4a5bd)]:
1063
- - @equinor/fusion-framework-react-components-people-provider@1.1.4
1067
+ - @equinor/fusion-framework-react-components-people-provider@1.1.4
1064
1068
 
1065
1069
  ## 9.4.3
1066
1070
 
1067
1071
  ### Patch Changes
1068
1072
 
1069
1073
  - Updated dependencies []:
1070
- - @equinor/fusion-framework-app@7.1.10
1071
- - @equinor/fusion-framework-react-components-people-provider@1.1.3
1074
+ - @equinor/fusion-framework-app@7.1.10
1075
+ - @equinor/fusion-framework-react-components-people-provider@1.1.3
1072
1076
 
1073
1077
  ## 9.4.2
1074
1078
 
@@ -1079,8 +1083,8 @@
1079
1083
  - [#1534](https://github.com/equinor/fusion-framework/pull/1534) [`8c77de20`](https://github.com/equinor/fusion-framework/commit/8c77de209df2f41a78636f1f6f85a81d653484d2) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite-plugin-restart from 0.3.1 to 0.4.0
1080
1084
 
1081
1085
  - Updated dependencies []:
1082
- - @equinor/fusion-framework-app@7.1.9
1083
- - @equinor/fusion-framework-react-components-people-provider@1.1.3
1086
+ - @equinor/fusion-framework-app@7.1.9
1087
+ - @equinor/fusion-framework-react-components-people-provider@1.1.3
1084
1088
 
1085
1089
  ## 9.4.1
1086
1090
 
@@ -1089,7 +1093,7 @@
1089
1093
  - [#1498](https://github.com/equinor/fusion-framework/pull/1498) [`7287fa3d`](https://github.com/equinor/fusion-framework/commit/7287fa3dca655c84b3a4f5f904e3f423ec341e7a) Thanks [@odinr](https://github.com/odinr)! - bump @equinor/fusion-wc-person from 2.1.0 to 2.1.8
1090
1094
 
1091
1095
  - Updated dependencies [[`7287fa3d`](https://github.com/equinor/fusion-framework/commit/7287fa3dca655c84b3a4f5f904e3f423ec341e7a)]:
1092
- - @equinor/fusion-framework-react-components-people-provider@1.1.3
1096
+ - @equinor/fusion-framework-react-components-people-provider@1.1.3
1093
1097
 
1094
1098
  ## 9.4.0
1095
1099
 
@@ -1111,11 +1115,11 @@
1111
1115
 
1112
1116
  - [#1475](https://github.com/equinor/fusion-framework/pull/1475) [`9b22a14d`](https://github.com/equinor/fusion-framework/commit/9b22a14d791878a83b6df84190922d3143fdc0df) Thanks [@odinr](https://github.com/odinr)! - fix log loop
1113
1117
 
1114
- ```bash
1115
- if (msg.match(/^Failed to load url \/assets/)) {
1116
- RangeError: Maximum call stack size exceeded
1117
- at String.match (<anonymous>)
1118
- ```
1118
+ ```bash
1119
+ if (msg.match(/^Failed to load url \/assets/)) {
1120
+ RangeError: Maximum call stack size exceeded
1121
+ at String.match (<anonymous>)
1122
+ ```
1119
1123
 
1120
1124
  ## 9.3.4
1121
1125
 
@@ -1123,7 +1127,7 @@
1123
1127
 
1124
1128
  - [#1465](https://github.com/equinor/fusion-framework/pull/1465) [`1cdc52ab`](https://github.com/equinor/fusion-framework/commit/1cdc52abbdf8aa714d4b4035a01e474fbe56d8f6) Thanks [@odinr](https://github.com/odinr)! - cli should no use provided config when developing an application which exists in Fusion App Service.
1125
1129
 
1126
- > when dev proxy server did not get 404 when requesting application config, it provided the manifest instead of config file path
1130
+ > when dev proxy server did not get 404 when requesting application config, it provided the manifest instead of config file path
1127
1131
 
1128
1132
  ## 9.3.3
1129
1133
 
@@ -1137,9 +1141,9 @@
1137
1141
 
1138
1142
  - [#1462](https://github.com/equinor/fusion-framework/pull/1462) [`e35d8e2b`](https://github.com/equinor/fusion-framework/commit/e35d8e2b69148a497c7acaa8e1e0bf86987f475e) Thanks [@odinr](https://github.com/odinr)! - silent error when failing to optimize pre-built assets
1139
1143
 
1140
- Vite tries to import optimize pre-built assets for the dev portal (which it should not).
1144
+ Vite tries to import optimize pre-built assets for the dev portal (which it should not).
1141
1145
 
1142
- see [fix: exclude external dependencies from html rewriting](https://github.com/vitejs/vite/pull/11854#issuecomment-1500453147)
1146
+ see [fix: exclude external dependencies from html rewriting](https://github.com/vitejs/vite/pull/11854#issuecomment-1500453147)
1143
1147
 
1144
1148
  - [#1442](https://github.com/equinor/fusion-framework/pull/1442) [`1173f715`](https://github.com/equinor/fusion-framework/commit/1173f71597b7b90c17d314188d83f46e1d81a2f3) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump @equinor/fusion-react-side-sheet from 1.1.0 to 1.2.0
1145
1149
 
@@ -1148,8 +1152,8 @@
1148
1152
  ### Patch Changes
1149
1153
 
1150
1154
  - Updated dependencies []:
1151
- - @equinor/fusion-framework-react-components-people-provider@1.1.2
1152
- - @equinor/fusion-framework-app@7.1.8
1155
+ - @equinor/fusion-framework-react-components-people-provider@1.1.2
1156
+ - @equinor/fusion-framework-app@7.1.8
1153
1157
 
1154
1158
  ## 9.3.0
1155
1159
 
@@ -1180,7 +1184,7 @@
1180
1184
  - [#1375](https://github.com/equinor/fusion-framework/pull/1375) [`f50ea5da`](https://github.com/equinor/fusion-framework/commit/f50ea5dab449ce7a5e3071f65fac4e800a619eec) Thanks [@odinr](https://github.com/odinr)! - update people deps
1181
1185
 
1182
1186
  - Updated dependencies [[`f50ea5da`](https://github.com/equinor/fusion-framework/commit/f50ea5dab449ce7a5e3071f65fac4e800a619eec)]:
1183
- - @equinor/fusion-framework-react-components-people-provider@1.1.1
1187
+ - @equinor/fusion-framework-react-components-people-provider@1.1.1
1184
1188
 
1185
1189
  ## 9.2.0
1186
1190
 
@@ -1194,7 +1198,7 @@
1194
1198
 
1195
1199
  - [#1348](https://github.com/equinor/fusion-framework/pull/1348) [`0acc8827`](https://github.com/equinor/fusion-framework/commit/0acc8827e5e2df8b5b2aeac5e1a2cd29c4384e78) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.32.4 to 0.33.0
1196
1200
 
1197
- - support for [styled-components@6](https://styled-components.com/releases#v6.0.0)
1201
+ - support for [styled-components@6](https://styled-components.com/releases#v6.0.0)
1198
1202
 
1199
1203
  ## 9.1.3
1200
1204
 
@@ -1214,9 +1218,9 @@
1214
1218
 
1215
1219
  - [`6ec59f64`](https://github.com/equinor/fusion-framework/commit/6ec59f64f35e553cd68d6d6e03c1e5867aba87ce) Thanks [@odinr](https://github.com/odinr)! - fixed loading of config files for Windows
1216
1220
 
1217
- found internal [issues](https://github.com/radarsu/ts-import/issues/39) with `ts-import` where file url path crashed native `fs` command, but failed on imports since windows can`t handle absolute paths.
1221
+ found internal [issues](https://github.com/radarsu/ts-import/issues/39) with `ts-import` where file url path crashed native `fs` command, but failed on imports since windows can`t handle absolute paths.
1218
1222
 
1219
- quick and dirty transpile code and eject of `ts-import`
1223
+ quick and dirty transpile code and eject of `ts-import`
1220
1224
 
1221
1225
  - [#1264](https://github.com/equinor/fusion-framework/pull/1264) [`ace9fa37`](https://github.com/equinor/fusion-framework/commit/ace9fa379215fd75e37b140db5c8ea2d3680b0c0) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump express-rate-limit from 6.9.0 to [7.0.0](https://github.com/express-rate-limit/express-rate-limit/releases/tag/v7.0.0)
1222
1226
 
@@ -1225,8 +1229,8 @@
1225
1229
  - [`5b8c4ebc`](https://github.com/equinor/fusion-framework/commit/5b8c4ebc85f636e18e7666fd5dbbaf9ee10d8608) Thanks [@odinr](https://github.com/odinr)! - fixed packing of application
1226
1230
 
1227
1231
  - Updated dependencies [[`cc7bcfb5`](https://github.com/equinor/fusion-framework/commit/cc7bcfb51187fb757b95793356da4a11b233d930), [`f65c4531`](https://github.com/equinor/fusion-framework/commit/f65c453178e2c581acb154d5839971c75f60fa86), [`9f121865`](https://github.com/equinor/fusion-framework/commit/9f121865254a0c76c4a812e6e42bfe3c7086c714), [`518b8476`](https://github.com/equinor/fusion-framework/commit/518b8476bb40255d05e937663d3a513de479a1f8), [`9d9f629e`](https://github.com/equinor/fusion-framework/commit/9d9f629e007df38db75067781b251b7e5e9673da), [`3e38c9cc`](https://github.com/equinor/fusion-framework/commit/3e38c9cc925fc0456837e42e7ee3ac55e9553bad), [`63592229`](https://github.com/equinor/fusion-framework/commit/63592229cea4d3606289738fe14b432e9978623f)]:
1228
- - @equinor/fusion-framework-react-components-people-provider@1.1.0
1229
- - @equinor/fusion-framework-app@7.1.7
1232
+ - @equinor/fusion-framework-react-components-people-provider@1.1.0
1233
+ - @equinor/fusion-framework-app@7.1.7
1230
1234
 
1231
1235
  ## 9.1.1
1232
1236
 
@@ -1235,9 +1239,9 @@
1235
1239
  - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
1236
1240
 
1237
1241
  - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
1238
- - @equinor/fusion-framework-app@7.1.6
1239
- - @equinor/fusion-framework-react-components-people-provider@1.0.1
1240
- - @equinor/fusion-observable@8.1.2
1242
+ - @equinor/fusion-framework-app@7.1.6
1243
+ - @equinor/fusion-framework-react-components-people-provider@1.0.1
1244
+ - @equinor/fusion-observable@8.1.2
1241
1245
 
1242
1246
  ## 9.1.0
1243
1247
 
@@ -1245,17 +1249,17 @@
1245
1249
 
1246
1250
  - [#1257](https://github.com/equinor/fusion-framework/pull/1257) [`780b229a`](https://github.com/equinor/fusion-framework/commit/780b229a709d83b275e88473df0236b3f218c037) Thanks [@odinr](https://github.com/odinr)! - person resolving
1247
1251
 
1248
- the CLI now resolves persons from `azureId` or `upn`
1252
+ the CLI now resolves persons from `azureId` or `upn`
1249
1253
 
1250
- ```tsx
1251
- const MyPage = () => {
1252
- return (
1253
- <fwc-person-avatar azureId='cbc6480d-12c1-467e-b0b8-cfbb22612daa'></fwc-person-avatar>
1254
- <fwc-person-card azureId='cbc6480d-12c1-467e-b0b8-cfbb22612daa'></fwc-person-card>
1255
- <fwc-person-list-item azureId='cbc6480d-12c1-467e-b0b8-cfbb22612daa'></fwc-person-list-item>
1256
- )
1257
- }
1258
- ```
1254
+ ```tsx
1255
+ const MyPage = () => {
1256
+ return (
1257
+ <fwc-person-avatar azureId='cbc6480d-12c1-467e-b0b8-cfbb22612daa'></fwc-person-avatar>
1258
+ <fwc-person-card azureId='cbc6480d-12c1-467e-b0b8-cfbb22612daa'></fwc-person-card>
1259
+ <fwc-person-list-item azureId='cbc6480d-12c1-467e-b0b8-cfbb22612daa'></fwc-person-list-item>
1260
+ )
1261
+ }
1262
+ ```
1259
1263
 
1260
1264
  ### Patch Changes
1261
1265
 
@@ -1264,15 +1268,15 @@
1264
1268
  - [`0d84d39e`](https://github.com/equinor/fusion-framework/commit/0d84d39ed9d452aa7bb8bc4dfc6ff2e46d3af82b) Thanks [@odinr](https://github.com/odinr)! - enable services for CLI portal
1265
1269
 
1266
1270
  - Updated dependencies [[`de46f0a2`](https://github.com/equinor/fusion-framework/commit/de46f0a2ce93134fc32bf587d29dd32d7ab9a8d9)]:
1267
- - @equinor/fusion-framework-react-components-people-provider@1.0.0
1268
- - @equinor/fusion-framework-app@7.1.5
1271
+ - @equinor/fusion-framework-react-components-people-provider@1.0.0
1272
+ - @equinor/fusion-framework-app@7.1.5
1269
1273
 
1270
1274
  ## 9.0.2
1271
1275
 
1272
1276
  ### Patch Changes
1273
1277
 
1274
1278
  - Updated dependencies []:
1275
- - @equinor/fusion-framework-app@7.1.4
1279
+ - @equinor/fusion-framework-app@7.1.4
1276
1280
 
1277
1281
  ## 9.0.1
1278
1282
 
@@ -1286,106 +1290,112 @@
1286
1290
 
1287
1291
  - [#1194](https://github.com/equinor/fusion-framework/pull/1194) [`a424aef5`](https://github.com/equinor/fusion-framework/commit/a424aef5dc6575204a9448b74e0170192147b1b3) Thanks [@odinr](https://github.com/odinr)! - Rewrite fusion framework CLI
1288
1292
 
1289
- Rework of the Fusion Framework CLI to support future features
1290
-
1291
- > the CLI was thrown together as a proof of concept, but grown un-manageable, because of lack of structure
1292
-
1293
- **Main Features**
1294
-
1295
- - Separate logic and utilities from program (app/cli commands)
1296
- - allow user to provide config files `app.{config,manifest,vite}.{ts,js,json}`
1297
- - the cli will try to resolve from `.ts` then `.js` then `.json`
1298
- - `app.config` is used to configure application environment configs (app-service config)
1299
- - `app.manifest` application manifest, information about the application
1300
- - `app.vite` override the CLI vite configuration
1301
- - provide interface for `app.TYPE.ts` config
1302
- - `define` and `merge` functionality
1303
- - note that `app.config` and `app.manifest` needs to return full object _(will not be merged by CLI)_
1304
- - allow providing config file in command
1305
- - using config when resolving proxy request
1306
- - improved CLI logging
1307
-
1308
- **examples**
1309
-
1310
- app.config.ts
1311
-
1312
- ```ts
1313
- import { mergeAppConfigs, defineAppConfig } from '@equinor/fusion-framework-cli';
1314
- export default defineAppConfig((_nev, { base }) =>
1315
- mergeAppConfigs(base, {
1316
- environment: {
1317
- api: {
1318
- foo: {
1319
- baseUri: 'https://foo.bars',
1320
- scopes: ['foobar'],
1321
- },
1322
- },
1323
- },
1324
- }),
1325
- );
1326
- ```
1327
-
1328
- app.manifest
1329
-
1330
- ```ts
1331
- import { defineAppManifest, mergeManifests } from '@equinor/fusion-framework-cli';
1332
-
1333
- export default defineAppManifest((env, { base }) => {
1334
- if (env.command === 'serve') {
1335
- return mergeManifests(base, {
1336
- key: 'simple',
1337
- });
1338
- }
1339
- return base;
1340
- });
1341
- ```
1293
+ Rework of the Fusion Framework CLI to support future features
1294
+
1295
+ > the CLI was thrown together as a proof of concept, but grown un-manageable, because of lack of structure
1296
+
1297
+ **Main Features**
1298
+
1299
+ - Separate logic and utilities from program (app/cli commands)
1300
+ - allow user to provide config files `app.{config,manifest,vite}.{ts,js,json}`
1301
+ - the cli will try to resolve from `.ts` then `.js` then `.json`
1302
+ - `app.config` is used to configure application environment configs (app-service config)
1303
+ - `app.manifest` application manifest, information about the application
1304
+ - `app.vite` override the CLI vite configuration
1305
+ - provide interface for `app.TYPE.ts` config
1306
+ - `define` and `merge` functionality
1307
+ - note that `app.config` and `app.manifest` needs to return full object _(will not be merged by CLI)_
1308
+ - allow providing config file in command
1309
+ - using config when resolving proxy request
1310
+ - improved CLI logging
1311
+
1312
+ **examples**
1313
+
1314
+ app.config.ts
1315
+
1316
+ ```ts
1317
+ import {
1318
+ mergeAppConfigs,
1319
+ defineAppConfig,
1320
+ } from "@equinor/fusion-framework-cli";
1321
+ export default defineAppConfig((_nev, { base }) =>
1322
+ mergeAppConfigs(base, {
1323
+ environment: {
1324
+ api: {
1325
+ foo: {
1326
+ baseUri: "https://foo.bars",
1327
+ scopes: ["foobar"],
1328
+ },
1329
+ },
1330
+ },
1331
+ }),
1332
+ );
1333
+ ```
1334
+
1335
+ app.manifest
1336
+
1337
+ ```ts
1338
+ import {
1339
+ defineAppManifest,
1340
+ mergeManifests,
1341
+ } from "@equinor/fusion-framework-cli";
1342
+
1343
+ export default defineAppManifest((env, { base }) => {
1344
+ if (env.command === "serve") {
1345
+ return mergeManifests(base, {
1346
+ key: "simple",
1347
+ });
1348
+ }
1349
+ return base;
1350
+ });
1351
+ ```
1342
1352
 
1343
- fusion-framework-cli app
1353
+ fusion-framework-cli app
1344
1354
 
1345
- ```sh
1346
- fusion-framework-cli app dev --manifest app.manifest.local.ts
1347
- ```
1355
+ ```sh
1356
+ fusion-framework-cli app dev --manifest app.manifest.local.ts
1357
+ ```
1348
1358
 
1349
1359
  ### Minor Changes
1350
1360
 
1351
1361
  - [#1194](https://github.com/equinor/fusion-framework/pull/1194) [`a424aef5`](https://github.com/equinor/fusion-framework/commit/a424aef5dc6575204a9448b74e0170192147b1b3) Thanks [@odinr](https://github.com/odinr)! - add command for generating manifest
1352
1362
 
1353
- generate manifest for application
1363
+ generate manifest for application
1354
1364
 
1355
- ```sh
1356
- fusion-framework-cli app manifest
1357
- #output to file
1358
- fusion-framework-cli app manifest -o manifest.json
1359
- #specify custom config
1360
- fusion-framework-cli app manifest -c app.manifest.custom.ts
1361
- ```
1365
+ ```sh
1366
+ fusion-framework-cli app manifest
1367
+ #output to file
1368
+ fusion-framework-cli app manifest -o manifest.json
1369
+ #specify custom config
1370
+ fusion-framework-cli app manifest -c app.manifest.custom.ts
1371
+ ```
1362
1372
 
1363
1373
  - [#1194](https://github.com/equinor/fusion-framework/pull/1194) [`a424aef5`](https://github.com/equinor/fusion-framework/commit/a424aef5dc6575204a9448b74e0170192147b1b3) Thanks [@odinr](https://github.com/odinr)! - add pack command to cli
1364
1374
 
1365
- add method which will build, generate manifest and pack assets into a zip file (**just like the legacy @equinor/fusion-cli**)
1375
+ add method which will build, generate manifest and pack assets into a zip file (**just like the legacy @equinor/fusion-cli**)
1366
1376
 
1367
- ```sh
1368
- fusion-framework-cli app pack
1369
- ```
1377
+ ```sh
1378
+ fusion-framework-cli app pack
1379
+ ```
1370
1380
 
1371
1381
  ### Patch Changes
1372
1382
 
1373
1383
  - [#1194](https://github.com/equinor/fusion-framework/pull/1194) [`a424aef5`](https://github.com/equinor/fusion-framework/commit/a424aef5dc6575204a9448b74e0170192147b1b3) Thanks [@odinr](https://github.com/odinr)! - Add command for outputting application configuration
1374
1384
 
1375
- **example**
1385
+ **example**
1376
1386
 
1377
- ```sh
1378
- fusion-framework-cli app config -o my-app.config.json
1379
- fdev portal config -e ci -k my-app --config-file my-app.config.json set
1380
- ```
1387
+ ```sh
1388
+ fusion-framework-cli app config -o my-app.config.json
1389
+ fdev portal config -e ci -k my-app --config-file my-app.config.json set
1390
+ ```
1381
1391
 
1382
1392
  ## 8.1.1
1383
1393
 
1384
1394
  ### Patch Changes
1385
1395
 
1386
1396
  - Updated dependencies [[`6f64d1aa`](https://github.com/equinor/fusion-framework/commit/6f64d1aa5e44af37f0abd76cef36e87761134760), [`758eaaf4`](https://github.com/equinor/fusion-framework/commit/758eaaf436ae28d180e7d91818b41abe0d9624c4)]:
1387
- - @equinor/fusion-observable@8.1.1
1388
- - @equinor/fusion-framework-app@7.1.3
1397
+ - @equinor/fusion-observable@8.1.1
1398
+ - @equinor/fusion-framework-app@7.1.3
1389
1399
 
1390
1400
  ## 8.1.0
1391
1401
 
@@ -1393,22 +1403,22 @@
1393
1403
 
1394
1404
  - [`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594) Thanks [@odinr](https://github.com/odinr)! - Remove emotion decencies from CLI
1395
1405
 
1396
- align CLI with EDS and use style components instead of emotion 🥲
1397
- prevent conflict of react types dependent on both emotion and eds
1406
+ align CLI with EDS and use style components instead of emotion 🥲
1407
+ prevent conflict of react types dependent on both emotion and eds
1398
1408
 
1399
- - remove @emotion/\*
1400
- - convert emotion to styled-components
1401
- - fix styling of cli
1402
- - convert main placeholder to grid
1403
- - remove unnecessary styling from header
1404
- - set dynamic width of context selector (min 25rem)
1409
+ - remove @emotion/\*
1410
+ - convert emotion to styled-components
1411
+ - fix styling of cli
1412
+ - convert main placeholder to grid
1413
+ - remove unnecessary styling from header
1414
+ - set dynamic width of context selector (min 25rem)
1405
1415
 
1406
1416
  ### Patch Changes
1407
1417
 
1408
1418
  - [`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594) Thanks [@odinr](https://github.com/odinr)! - fixed bin resolve for pnpm
1409
1419
 
1410
1420
  - Updated dependencies []:
1411
- - @equinor/fusion-framework-app@7.1.2
1421
+ - @equinor/fusion-framework-app@7.1.2
1412
1422
 
1413
1423
  ## 8.0.1
1414
1424
 
@@ -1416,9 +1426,9 @@
1416
1426
 
1417
1427
  - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
1418
1428
 
1419
- conflicts of `@types/react` made random outcomes when using `yarn`
1429
+ conflicts of `@types/react` made random outcomes when using `yarn`
1420
1430
 
1421
- this change should not affect consumer of the packages, but might conflict dependent on local package manager.
1431
+ this change should not affect consumer of the packages, but might conflict dependent on local package manager.
1422
1432
 
1423
1433
  - [#1130](https://github.com/equinor/fusion-framework/pull/1130) [`542356ee`](https://github.com/equinor/fusion-framework/commit/542356eecfcc1bc8b896e71377308a1de29f4ab9) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump @emotion/styled from 11.10.6 to 11.11.0
1424
1434
 
@@ -1426,20 +1436,20 @@
1426
1436
 
1427
1437
  - [#1125](https://github.com/equinor/fusion-framework/pull/1125) [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump react and @types/react to react 18.2
1428
1438
 
1429
- only dev deps updated should not affect any consumers
1439
+ only dev deps updated should not affect any consumers
1430
1440
 
1431
- see [react changelog](https://github.com/facebook/react/releases) for details
1441
+ see [react changelog](https://github.com/facebook/react/releases) for details
1432
1442
 
1433
1443
  - [#1122](https://github.com/equinor/fusion-framework/pull/1122) [`1a055b21`](https://github.com/equinor/fusion-framework/commit/1a055b21e07f84bc5d35cc891586aa9aa0bdf661) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update styled-components to [^6.0.7](https://github.com/styled-components/styled-components/releases/tag/v6.0.7)
1434
1444
 
1435
- - upgraded dev deps of `@equinor/fusion-framework-react-components-bookmark` to react 18, see style-components [changelog](https://github.com/styled-components/styled-components/releases/tag/v6.0.0)
1436
- - removed `@types/style-components` from `@equinor/fusion-framework-react-components-bookmark`
1445
+ - upgraded dev deps of `@equinor/fusion-framework-react-components-bookmark` to react 18, see style-components [changelog](https://github.com/styled-components/styled-components/releases/tag/v6.0.0)
1446
+ - removed `@types/style-components` from `@equinor/fusion-framework-react-components-bookmark`
1437
1447
 
1438
- see style-components [migration guide](https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6)
1448
+ see style-components [migration guide](https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6)
1439
1449
 
1440
1450
  - [#1148](https://github.com/equinor/fusion-framework/pull/1148) [`46201069`](https://github.com/equinor/fusion-framework/commit/46201069505f2526d1bdec05c134da17012b6d31) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 4.2.3 to 4.4.9
1441
1451
 
1442
- see [changelog](https://github.com/vitejs/vite/blob/create-vite@4.4.0/packages/create-vite/CHANGELOG.md)
1452
+ see [changelog](https://github.com/vitejs/vite/blob/create-vite@4.4.0/packages/create-vite/CHANGELOG.md)
1443
1453
 
1444
1454
  - [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
1445
1455
 
@@ -1448,8 +1458,8 @@
1448
1458
  - [#1087](https://github.com/equinor/fusion-framework/pull/1087) [`6887c016`](https://github.com/equinor/fusion-framework/commit/6887c0164102e17b4a6d6f16193d9e34a0f41149) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @vitejs/plugin-react from 3.1.0 to 4.0.4
1449
1459
 
1450
1460
  - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
1451
- - @equinor/fusion-observable@8.1.0
1452
- - @equinor/fusion-framework-app@7.1.1
1461
+ - @equinor/fusion-observable@8.1.0
1462
+ - @equinor/fusion-framework-app@7.1.1
1453
1463
 
1454
1464
  ## 8.0.0
1455
1465
 
@@ -1457,19 +1467,19 @@
1457
1467
 
1458
1468
  - [#973](https://github.com/equinor/fusion-framework/pull/973) [`713c94d9`](https://github.com/equinor/fusion-framework/commit/713c94d9a493f5aecb9fefa44942f83bd30ae29c) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump commander from [10.0.1](https://github.com/tj/commander.js/releases/tag/v10.0.1) to [11.0.0](https://github.com/tj/commander.js/releases/tag/v11.0.0)
1459
1469
 
1460
- **Breaking**
1470
+ **Breaking**
1461
1471
 
1462
- @equinor/fusion-framework-cli now requires Node.js v16 or higher
1472
+ @equinor/fusion-framework-cli now requires Node.js v16 or higher
1463
1473
 
1464
1474
  ### Patch Changes
1465
1475
 
1466
1476
  - [#1047](https://github.com/equinor/fusion-framework/pull/1047) [`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @typescript-eslint/eslint-plugin from 5.59.11 to 6.1.0
1467
1477
 
1468
- only style semantics updated
1478
+ only style semantics updated
1469
1479
 
1470
1480
  - Updated dependencies [[`b16e93e2`](https://github.com/equinor/fusion-framework/commit/b16e93e23e456ab065a414f4bdc44445b6e9ad9f), [`b16e93e2`](https://github.com/equinor/fusion-framework/commit/b16e93e23e456ab065a414f4bdc44445b6e9ad9f), [`b16e93e2`](https://github.com/equinor/fusion-framework/commit/b16e93e23e456ab065a414f4bdc44445b6e9ad9f), [`0a785d5c`](https://github.com/equinor/fusion-framework/commit/0a785d5c339ceec7cbbe2a6ff9e16053c86ce511), [`38869a87`](https://github.com/equinor/fusion-framework/commit/38869a87788c340d363e9be1e7fc6ce0e29efa63)]:
1471
- - @equinor/fusion-observable@8.0.3
1472
- - @equinor/fusion-framework-app@7.1.0
1481
+ - @equinor/fusion-observable@8.0.3
1482
+ - @equinor/fusion-framework-app@7.1.0
1473
1483
 
1474
1484
  ## 7.1.0
1475
1485
 
@@ -1477,10 +1487,10 @@
1477
1487
 
1478
1488
  - [#1055](https://github.com/equinor/fusion-framework/pull/1055) [`6c2fd59e`](https://github.com/equinor/fusion-framework/commit/6c2fd59e66ff77629ce1b7ecd5fd47e799719b91) Thanks [@odinr](https://github.com/odinr)! - **Allow loading of custom vite config**
1479
1489
 
1480
- When running the CLI, allow the user to provide custom [Vite config](https://vitejs.dev/config/).
1481
- The provided config is merged with the built-in config (default generated by the CLI).
1490
+ When running the CLI, allow the user to provide custom [Vite config](https://vitejs.dev/config/).
1491
+ The provided config is merged with the built-in config (default generated by the CLI).
1482
1492
 
1483
- updated [documentation](https://equinor.github.io/fusion-framework/guide/app/cli.html#config)
1493
+ updated [documentation](https://equinor.github.io/fusion-framework/guide/app/cli.html#config)
1484
1494
 
1485
1495
  ## 7.0.13
1486
1496
 
@@ -1488,9 +1498,9 @@
1488
1498
 
1489
1499
  - [#1002](https://github.com/equinor/fusion-framework/pull/1002) [`7f506120`](https://github.com/equinor/fusion-framework/commit/7f506120c702f157f95f477ddfc514a906176870) Thanks [@eikeland](https://github.com/eikeland)! - # Updating @equinor/fusion-react-styles
1490
1500
 
1491
- Updating dependency @equinor/fusion-react-styles to version 0.5.6.
1501
+ Updating dependency @equinor/fusion-react-styles to version 0.5.6.
1492
1502
 
1493
- This ads the correct equinor-font cdn link to the themeprovider.
1503
+ This ads the correct equinor-font cdn link to the themeprovider.
1494
1504
 
1495
1505
  ## 7.0.12
1496
1506
 
@@ -1499,7 +1509,7 @@
1499
1509
  - [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
1500
1510
 
1501
1511
  - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
1502
- - @equinor/fusion-framework-app@7.0.16
1512
+ - @equinor/fusion-framework-app@7.0.16
1503
1513
 
1504
1514
  ## 7.0.11
1505
1515
 
@@ -1510,12 +1520,12 @@
1510
1520
 
1511
1521
  - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
1512
1522
 
1513
- - align all versions of typescript
1514
- - update types to build
1515
- - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
1523
+ - align all versions of typescript
1524
+ - update types to build
1525
+ - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
1516
1526
 
1517
1527
  - Updated dependencies [[`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
1518
- - @equinor/fusion-framework-app@7.0.15
1528
+ - @equinor/fusion-framework-app@7.0.15
1519
1529
 
1520
1530
  All notable changes to this project will be documented in this file.
1521
1531
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.