@equinor/fusion-framework-cli 10.0.0-widget-acdcb9b2 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +636 -39
  2. package/README.md +31 -9
  3. package/dist/bin/build-application.js +23 -3
  4. package/dist/bin/build-application.js.map +1 -1
  5. package/dist/bin/bundle-application.js +9 -12
  6. package/dist/bin/bundle-application.js.map +1 -1
  7. package/dist/bin/create-dev-serve.js +89 -123
  8. package/dist/bin/create-dev-serve.js.map +1 -1
  9. package/dist/bin/create-export-config.js +5 -6
  10. package/dist/bin/create-export-config.js.map +1 -1
  11. package/dist/bin/create-export-manifest.js +44 -27
  12. package/dist/bin/create-export-manifest.js.map +1 -1
  13. package/dist/bin/dev-portal/AppLoader.js +26 -4
  14. package/dist/bin/dev-portal/AppLoader.js.map +1 -1
  15. package/dist/bin/dev-portal/ContextSelector/ContextSelector.js +41 -0
  16. package/dist/bin/dev-portal/ContextSelector/ContextSelector.js.map +1 -0
  17. package/dist/bin/dev-portal/ContextSelector/index.js +2 -0
  18. package/dist/bin/dev-portal/ContextSelector/index.js.map +1 -0
  19. package/dist/bin/dev-portal/ContextSelector/useContextResolver.js +171 -0
  20. package/dist/bin/dev-portal/ContextSelector/useContextResolver.js.map +1 -0
  21. package/dist/bin/dev-portal/Header.js +3 -2
  22. package/dist/bin/dev-portal/Header.js.map +1 -1
  23. package/dist/bin/dev-portal/PersonSideSheet/index.js +7 -2
  24. package/dist/bin/dev-portal/PersonSideSheet/index.js.map +1 -1
  25. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.js +4 -0
  26. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.js.map +1 -1
  27. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.js +3 -0
  28. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.js.map +1 -1
  29. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.js +3 -0
  30. package/dist/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.js.map +1 -1
  31. package/dist/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.js +3 -0
  32. package/dist/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.js.map +1 -1
  33. package/dist/bin/dev-portal/Router.js +17 -1
  34. package/dist/bin/dev-portal/Router.js.map +1 -1
  35. package/dist/bin/dev-portal/config.js +7 -4
  36. package/dist/bin/dev-portal/config.js.map +1 -1
  37. package/dist/bin/dev-portal/main.js +1 -2
  38. package/dist/bin/dev-portal/main.js.map +1 -1
  39. package/dist/bin/dev-portal/useAppContextNavigation.js +68 -0
  40. package/dist/bin/dev-portal/useAppContextNavigation.js.map +1 -0
  41. package/dist/bin/main.app.js +92 -14
  42. package/dist/bin/main.app.js.map +1 -1
  43. package/dist/bin/main.js +5 -5
  44. package/dist/bin/main.js.map +1 -1
  45. package/dist/bin/public/assets/index-D0eBBcR8.js +5235 -0
  46. package/dist/bin/public/index.html +1 -5
  47. package/dist/bin/publish-application.js +104 -0
  48. package/dist/bin/publish-application.js.map +1 -0
  49. package/dist/bin/tag-application.js +82 -0
  50. package/dist/bin/tag-application.js.map +1 -0
  51. package/dist/bin/upload-application.js +72 -0
  52. package/dist/bin/upload-application.js.map +1 -0
  53. package/dist/bin/upload-export-config.js +87 -0
  54. package/dist/bin/upload-export-config.js.map +1 -0
  55. package/dist/bin/utils/{execute-commant.js → execute-command.js} +5 -2
  56. package/dist/bin/utils/execute-command.js.map +1 -0
  57. package/dist/bin/utils/format.js +1 -1
  58. package/dist/bin/utils/format.js.map +1 -1
  59. package/dist/bin/utils/getEndpointUrl.js +49 -0
  60. package/dist/bin/utils/getEndpointUrl.js.map +1 -0
  61. package/dist/bin/utils/index.js +14 -0
  62. package/dist/bin/utils/index.js.map +1 -0
  63. package/dist/bin/utils/isAppRegistered.js +35 -0
  64. package/dist/bin/utils/isAppRegistered.js.map +1 -0
  65. package/dist/bin/utils/load-app-config.js +3 -2
  66. package/dist/bin/utils/load-app-config.js.map +1 -1
  67. package/dist/bin/utils/load-manifest.js +9 -4
  68. package/dist/bin/utils/load-manifest.js.map +1 -1
  69. package/dist/bin/utils/load-vite-config.js.map +1 -1
  70. package/dist/bin/utils/proxy-request-logger.js +34 -0
  71. package/dist/bin/utils/proxy-request-logger.js.map +1 -0
  72. package/dist/bin/utils/publishAppConfig.js +36 -0
  73. package/dist/bin/utils/publishAppConfig.js.map +1 -0
  74. package/dist/bin/utils/requireToken.js +10 -0
  75. package/dist/bin/utils/requireToken.js.map +1 -0
  76. package/dist/bin/utils/spinner.js +10 -0
  77. package/dist/bin/utils/spinner.js.map +1 -1
  78. package/dist/bin/utils/tagAppBundle.js +35 -0
  79. package/dist/bin/utils/tagAppBundle.js.map +1 -0
  80. package/dist/bin/utils/uploadAppBundle.js +54 -0
  81. package/dist/bin/utils/uploadAppBundle.js.map +1 -0
  82. package/dist/lib/app-config.js +5 -17
  83. package/dist/lib/app-config.js.map +1 -1
  84. package/dist/lib/app-manifest.js +97 -15
  85. package/dist/lib/app-manifest.js.map +1 -1
  86. package/dist/lib/app-package.js +52 -5
  87. package/dist/lib/app-package.js.map +1 -1
  88. package/dist/lib/index.js +2 -5
  89. package/dist/lib/index.js.map +1 -1
  90. package/dist/lib/plugins/app-assets/app-asset-plugin.js +102 -0
  91. package/dist/lib/plugins/app-assets/app-asset-plugin.js.map +1 -0
  92. package/dist/lib/plugins/app-assets/emit-asset.js +41 -0
  93. package/dist/lib/plugins/app-assets/emit-asset.js.map +1 -0
  94. package/dist/lib/plugins/app-assets/extension-filter-pattern.js +20 -0
  95. package/dist/lib/plugins/app-assets/extension-filter-pattern.js.map +1 -0
  96. package/dist/lib/plugins/app-assets/index.js +4 -0
  97. package/dist/lib/plugins/app-assets/index.js.map +1 -0
  98. package/dist/lib/plugins/app-assets/read-asset-content.js +34 -0
  99. package/dist/lib/plugins/app-assets/read-asset-content.js.map +1 -0
  100. package/dist/lib/plugins/app-assets/resolve-asset-id.js +63 -0
  101. package/dist/lib/plugins/app-assets/resolve-asset-id.js.map +1 -0
  102. package/dist/lib/plugins/app-assets/static.js +15 -0
  103. package/dist/lib/plugins/app-assets/static.js.map +1 -0
  104. package/dist/lib/plugins/app-proxy/app-proxy-plugin.js +127 -0
  105. package/dist/lib/plugins/app-proxy/app-proxy-plugin.js.map +1 -0
  106. package/dist/lib/plugins/app-proxy/index.js +2 -0
  107. package/dist/lib/plugins/app-proxy/index.js.map +1 -0
  108. package/dist/lib/plugins/external-public/external-public-plugin.js +103 -0
  109. package/dist/lib/plugins/external-public/external-public-plugin.js.map +1 -0
  110. package/dist/lib/plugins/external-public/index.js +2 -0
  111. package/dist/lib/plugins/external-public/index.js.map +1 -0
  112. package/dist/lib/utils/assert.js +2 -1
  113. package/dist/lib/utils/assert.js.map +1 -1
  114. package/dist/lib/utils/config.js +5 -0
  115. package/dist/lib/utils/config.js.map +1 -1
  116. package/dist/lib/utils/file-exists.js.map +1 -1
  117. package/dist/lib/utils/ts-transpile.js.map +1 -1
  118. package/dist/lib/vite-config.js +7 -8
  119. package/dist/lib/vite-config.js.map +1 -1
  120. package/dist/lib/vite-logger.js +2 -0
  121. package/dist/lib/vite-logger.js.map +1 -1
  122. package/dist/schemas.js +14 -0
  123. package/dist/schemas.js.map +1 -0
  124. package/dist/types/bin/build-application.d.ts +3 -3
  125. package/dist/types/bin/bundle-application.d.ts +0 -1
  126. package/dist/types/bin/create-dev-serve.d.ts +1 -4
  127. package/dist/types/bin/create-export-config.d.ts +9 -3
  128. package/dist/types/bin/create-export-manifest.d.ts +7 -11
  129. package/dist/types/bin/dev-portal/AppLoader.d.ts +7 -0
  130. package/dist/types/bin/dev-portal/ContextSelector/ContextSelector.d.ts +8 -0
  131. package/dist/types/bin/dev-portal/ContextSelector/index.d.ts +1 -0
  132. package/dist/types/bin/dev-portal/ContextSelector/useContextResolver.d.ts +15 -0
  133. package/dist/types/bin/dev-portal/FusionLogo.d.ts +0 -1
  134. package/dist/types/bin/dev-portal/PersonSideSheet/index.d.ts +4 -0
  135. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/FeatureSheetContent.d.ts +4 -0
  136. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerApp.d.ts +3 -0
  137. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/FeatureTogglerPortal.d.ts +3 -0
  138. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/LandingSheetContent.d.ts +3 -0
  139. package/dist/types/bin/dev-portal/PersonSideSheet/sheets/Styled.d.ts +4 -1088
  140. package/dist/types/bin/dev-portal/useAppContextNavigation.d.ts +5 -0
  141. package/dist/types/bin/publish-application.d.ts +6 -0
  142. package/dist/types/bin/tag-application.d.ts +12 -0
  143. package/dist/types/bin/upload-application.d.ts +6 -0
  144. package/dist/types/bin/upload-export-config.d.ts +10 -0
  145. package/dist/types/bin/utils/execute-command.d.ts +8 -0
  146. package/dist/types/bin/utils/format.d.ts +0 -1
  147. package/dist/types/bin/utils/getEndpointUrl.d.ts +10 -0
  148. package/dist/types/bin/utils/index.d.ts +14 -0
  149. package/dist/types/bin/utils/isAppRegistered.d.ts +5 -0
  150. package/dist/types/bin/utils/load-app-config.d.ts +3 -2
  151. package/dist/types/bin/utils/load-manifest.d.ts +3 -2
  152. package/dist/types/bin/utils/proxy-request-logger.d.ts +15 -0
  153. package/dist/types/bin/utils/publishAppConfig.d.ts +9 -0
  154. package/dist/types/bin/utils/requireToken.d.ts +4 -0
  155. package/dist/types/bin/utils/spinner.d.ts +1 -0
  156. package/dist/types/bin/utils/tagAppBundle.d.ts +7 -0
  157. package/dist/types/bin/utils/uploadAppBundle.d.ts +7 -0
  158. package/dist/types/lib/app-config.d.ts +13 -14
  159. package/dist/types/lib/app-manifest.d.ts +30 -14
  160. package/dist/types/lib/app-package.d.ts +35 -4
  161. package/dist/types/lib/index.d.ts +2 -5
  162. package/dist/types/lib/plugins/app-assets/app-asset-plugin.d.ts +36 -0
  163. package/dist/types/lib/plugins/app-assets/emit-asset.d.ts +18 -0
  164. package/dist/types/lib/plugins/app-assets/extension-filter-pattern.d.ts +14 -0
  165. package/dist/types/lib/plugins/app-assets/index.d.ts +3 -0
  166. package/dist/types/lib/plugins/app-assets/read-asset-content.d.ts +14 -0
  167. package/dist/types/lib/plugins/app-assets/resolve-asset-id.d.ts +16 -0
  168. package/dist/types/lib/plugins/app-assets/static.d.ts +5 -0
  169. package/dist/types/lib/plugins/app-proxy/app-proxy-plugin.d.ts +71 -0
  170. package/dist/types/lib/plugins/app-proxy/index.d.ts +1 -0
  171. package/dist/types/lib/plugins/external-public/external-public-plugin.d.ts +30 -0
  172. package/dist/types/lib/plugins/external-public/index.d.ts +1 -0
  173. package/dist/types/lib/utils/assert.d.ts +2 -1
  174. package/dist/types/lib/utils/config.d.ts +9 -6
  175. package/dist/types/lib/utils/expect.d.ts +1 -1
  176. package/dist/types/lib/vite-config.d.ts +1 -1
  177. package/dist/types/schemas.d.ts +30 -0
  178. package/dist/types/version.d.ts +1 -1
  179. package/dist/version.js +2 -1
  180. package/dist/version.js.map +1 -1
  181. package/package.json +52 -42
  182. package/dist/bin/bundle-widget.js +0 -61
  183. package/dist/bin/bundle-widget.js.map +0 -1
  184. package/dist/bin/create-export-manifest-widget.js +0 -68
  185. package/dist/bin/create-export-manifest-widget.js.map +0 -1
  186. package/dist/bin/dev-portal/ContextSelector.js +0 -107
  187. package/dist/bin/dev-portal/ContextSelector.js.map +0 -1
  188. package/dist/bin/dev-portal/usePersonResolver.js +0 -40
  189. package/dist/bin/dev-portal/usePersonResolver.js.map +0 -1
  190. package/dist/bin/dev-proxy.js +0 -90
  191. package/dist/bin/dev-proxy.js.map +0 -1
  192. package/dist/bin/main.widget.js +0 -78
  193. package/dist/bin/main.widget.js.map +0 -1
  194. package/dist/bin/public/assets/index-UrNngCGF.js +0 -4083
  195. package/dist/bin/utils/execute-commant.js.map +0 -1
  196. package/dist/bin/utils/load-dev-proxy.js +0 -56
  197. package/dist/bin/utils/load-dev-proxy.js.map +0 -1
  198. package/dist/bin/utils/load-widget-manifest.js +0 -35
  199. package/dist/bin/utils/load-widget-manifest.js.map +0 -1
  200. package/dist/bin/utils/load-widget-package.js +0 -24
  201. package/dist/bin/utils/load-widget-package.js.map +0 -1
  202. package/dist/index.js +0 -12
  203. package/dist/index.js.map +0 -1
  204. package/dist/lib/dev-config.js +0 -9
  205. package/dist/lib/dev-config.js.map +0 -1
  206. package/dist/lib/widget-config.js +0 -57
  207. package/dist/lib/widget-config.js.map +0 -1
  208. package/dist/lib/widget-manifest.js +0 -73
  209. package/dist/lib/widget-manifest.js.map +0 -1
  210. package/dist/lib/widget-package.js +0 -33
  211. package/dist/lib/widget-package.js.map +0 -1
  212. package/dist/types/bin/bundle-widget.d.ts +0 -5
  213. package/dist/types/bin/create-export-manifest-widget.d.ts +0 -20
  214. package/dist/types/bin/dev-portal/ContextSelector.d.ts +0 -2
  215. package/dist/types/bin/dev-portal/usePersonResolver.d.ts +0 -1
  216. package/dist/types/bin/dev-proxy.d.ts +0 -39
  217. package/dist/types/bin/main.widget.d.ts +0 -3
  218. package/dist/types/bin/utils/execute-commant.d.ts +0 -8
  219. package/dist/types/bin/utils/load-dev-proxy.d.ts +0 -6
  220. package/dist/types/bin/utils/load-widget-manifest.d.ts +0 -8
  221. package/dist/types/bin/utils/load-widget-package.d.ts +0 -5
  222. package/dist/types/index.d.ts +0 -4
  223. package/dist/types/lib/dev-config.d.ts +0 -13
  224. package/dist/types/lib/widget-config.d.ts +0 -26
  225. package/dist/types/lib/widget-manifest.d.ts +0 -53
  226. package/dist/types/lib/widget-package.d.ts +0 -23
package/CHANGELOG.md CHANGED
@@ -1,62 +1,659 @@
1
1
  # Change Log
2
2
 
3
- ## 10.0.0-widget-acdcb9b2
3
+ ## 10.0.0
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#1854](https://github.com/equinor/fusion-framework/pull/1854) [`0709eda`](https://github.com/equinor/fusion-framework/commit/0709edaff0b2bdd9b7cd5e9c247f3dd389d7440d) Thanks [@Noggling](https://github.com/Noggling)! - Expanding the Fusion CLI introduces the capability to create widgets, enhancing development server configuration via `dev.config.ts`.
7
+ - [#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`.
8
+
9
+ Introduces new parameters to the `build-config` command for publishing the app config to a build version.
10
+
11
+ Commands:
12
+
13
+ - `build-pack` - Bundle the app for distribution
14
+ - `-o, --output <output>` - Output directory for the packed app
15
+ - `-a, --archive` - Archive name for the packed app
16
+ - `build-upload` - Upload the packed app to the Fusion App Store
17
+ - `-b, --bundle <bundle>` - Path to the packed app bundle
18
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to upload the app to
19
+ - `-s, --service <service>` - Custom app service
20
+ - `build-tag` - Tag the uploaded app with a version
21
+ - `-t, --tag <tag>` - Tag to apply to the uploaded app
22
+ - `-v, --version <version>` - Version to attach to the tag
23
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in
24
+ - `-s, --service <service>` - Custom app service
25
+ - `build-publish` - Publish the app config to a build version
26
+ - `-t, --tag <tag>` - Tag to apply to the uploaded app
27
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in
28
+ - `-s, --service <service>` - Custom app service
29
+ - `build-config` - Generate app config for an environment
30
+ - `-o, --output <output>` - Output file for the app config
31
+ - `-c, --config <config>` - Path to the app config file (for config generation)
32
+ - `-p, --publish` - Flag for upload the generated config
33
+ - `-v, --version<semver | current | latest | preview>` - Publish the app config to version
34
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to
35
+ - `-s, --service <service>` - Custom app service
36
+ - `upload-config` - Upload the app config to a build version
37
+ - `-c, --config <config>` - Path to the app config json file to upload
38
+ - `-p, --publish<semver | current | latest | preview>` - Publish the app config to the build version
39
+ - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to
40
+ - `-s, --service <service>` - Custom app service
41
+ - `build-manifest` - Creates the build manifest to publish with app
42
+ - `-o, --output <output>` - Output file for manifest
43
+ - `-c, --config <config>` - Manifest config file
44
+
45
+ simple usage:
8
46
 
9
- The development configuration empowers users to tailor the underlying Express server.
47
+ ```sh
48
+ fusion-framework-cli app build-publish -e ci
49
+ ```
10
50
 
11
- ```typescript
12
- import { createDevConfig } from '@equinor/fusion-framework-cli';
13
- import httpProxy from 'http-proxy';
51
+ complex usage:
14
52
 
15
- const proxy = httpProxy.createProxyServer();
53
+ ```sh
54
+ fusion-framework-cli app build-pack -o ./dist -a my-app.zip
55
+ fusion-framework-cli app build-upload -b ./dist/my-app.zip -e ci
56
+ fusion-framework-cli app build-tag -t my-tag -v 1.0.0 -e ci
57
+ ```
16
58
 
17
- const targetServer = 'http://example.com';
59
+ 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.
18
60
 
19
- export default createDevConfig(() => ({
20
- express: (app) => {
21
- app.all('*', (req, res) => {
22
- proxy.web(req, res, { target: targetServer });
23
- });
61
+ ```sh
62
+ # Publish the app config to the build version
63
+ fusion-framework-cli app build-config -p -e ci
24
64
 
25
- // Error handling for proxy
26
- proxy.on('error', (err, req, res) => {
27
- console.error('Proxy Error:', err);
28
- res.status(500).send('Proxy Error');
29
- });
30
- },
31
- }));
65
+ # Publish the app config to a specific build tag
66
+ fusion-framework-cli app build-config -p preview -e ci
67
+
68
+ # Publish the app config to a specific build version
69
+ fusion-framework-cli app build-config -p 1.0.0 -e ci
32
70
  ```
33
71
 
72
+ **breaking changes:**
73
+
74
+ - renaming all commands accociated with build.
75
+ - The app-config endpoints is now an object containing url and scopes, where name is the object key:
76
+
77
+ ```ts
78
+ environment: {
79
+ myProp: 'foobar',
80
+ },
81
+ endpoints: {
82
+ api: {
83
+ url: 'https://foo.bars'
84
+ scopes: ['foobar./default']
85
+ },
86
+ },
87
+ ```
88
+
89
+ - The `config` command has been removed, use `build-config` instead
90
+
91
+ ### Minor Changes
92
+
93
+ - [#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.
94
+
95
+ - Show the request URL and method in the console when a proxy request is made.
96
+ - Show proxy response status code
97
+
98
+ - [#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.
99
+
100
+ - Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory.
101
+ - Transformed the HTML using Vite's `transformIndexHtml` method.
102
+ - Applied appropriate content headers and additional configured headers before sending the response.
103
+
34
104
  ```typescript
35
- import { createDevConfig } from '@equinor/fusion-framework-cli';
36
-
37
- export default createDevConfig(() => ({
38
- widgets: [
39
- {
40
- entryPoint: '/src/index.ts',
41
- assetPath: '../widget-react-test/',
42
- name: 'widget1',
43
- },
44
- {
45
- entryPoint: '/src/index.ts',
46
- assetPath: '../widget-react-test2/',
47
- name: 'widget2',
48
- },
105
+ const viteConfig = defineConfig({
106
+ // vite configuration
107
+ root: './src', // this where vite will look for the index.html file
108
+ plugins: [
109
+ // path which contains the index.html file
110
+ externalPublicPlugin('./my-portal'),
111
+ ],
112
+ });
113
+ ```
114
+
115
+ - [#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:
116
+
117
+ - renamed `config` to `build-config` to generate build config of an application.
118
+ - renamed `pack`to `build-pack` to bundle an application.
119
+ - added `build-manifest` command to generate build manifest of an application.
120
+
121
+ > [!WARNING]
122
+ > Config callback for `manifest` and `config` now allows `void` return type.
123
+ > Return value from callback is now merged with default config instead of replacing it, this might be a breaking change for some applications.
124
+
125
+ > [!NOTE]
126
+ > This mean that `mergeAppConfig` and `mergeManifestConfig` functions are no longer needed and can be removed from the application.
127
+
128
+ - [#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.
129
+ It sets up proxy rules for API and bundle requests and serves the app configuration and manifest based on the app key and version.
130
+
131
+ Key Features:
132
+
133
+ 1. Proxy Configuration:
134
+
135
+ - Proxies API calls to the Fusion apps backend.
136
+ - Proxies bundle requests to the Fusion apps backend.
137
+ - Uses a base path `proxyPath` for proxying.
138
+ - Captures and reuses authorization tokens for asset requests.
139
+
140
+ 2. **App Configuration and Manifest**:
141
+
142
+ - Serves the app configuration if the request matches the current app and version.
143
+ - Serves the app manifest if the request matches the current app.
144
+
145
+ 3. **Middleware Setup**:
146
+ - Sets up middleware to handle requests for app configuration, manifest, and local bundles.
147
+
148
+ This plugin is used by the CLI for local development, but design as exportable for custom CLI to consume applications from other API`s
149
+
150
+ example configuration:
151
+
152
+ ```typescript
153
+ const viteConfig = defineConfig({
154
+ // vite configuration
155
+ plugins: [
156
+ appProxyPlugin({
157
+ proxy: {
158
+ path: '/app-proxy',
159
+ target: 'https://fusion-s-apps-ci.azurewebsites.net/',
160
+ // optional callback when matched request is proxied
161
+ onProxyReq: (proxyReq, req, res) => {
162
+ proxyReq.on('response', (res) => {
163
+ console.log(res.statusCode);
164
+ });
165
+ },
166
+ },
167
+ // optional, but required for serving local app configuration, manifest and resources
168
+ app: {
169
+ key: 'my-app',
170
+ version: '1.0.0',
171
+ generateConfig: async () => ({}),
172
+ generateManifest: async () => ({}),
173
+ },
174
+ }),
49
175
  ],
50
- }));
176
+ });
177
+ ```
178
+
179
+ example usage:
180
+
181
+ ```typescript
182
+ // Example API calls
183
+ fetch('/app-proxy/apps/my-app/builds/1.0.0/config'); // local
184
+ fetch('/app-proxy/apps/my-app/builds/0.0.9/config'); // proxy
185
+ fetch('/app-proxy/apps/other-app/builds/1.0.0/config'); // proxy
186
+
187
+ // Example asset calls
188
+ fetch('/app-proxy/bundles/my-app/builds/1.0.0/index.js'); // local
189
+ fetch('/app-proxy/bundles/my-app/builds/0.0.9/index.js'); // proxy
190
+ ```
191
+
192
+ - [#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`
193
+
194
+ - [#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**
195
+
196
+ Create a plugin that exports assets from the app's source code.
197
+ This plugin resolves the issue where assets are not extracted from the app's source code since the app is in `lib` mode.
198
+
199
+ ```typescript
200
+ export default {
201
+ plugins: [
202
+ AppAssetExportPlugin(
203
+ include: createExtensionFilterPattern(
204
+ manifest.build.allowedExtensions
205
+ ),
206
+ ),
207
+ ]
208
+ }
209
+ ```
210
+
211
+ see readme for more information.
212
+
213
+ ### Patch Changes
214
+
215
+ - [#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.
216
+
217
+ Updated the following dependencies
218
+
219
+ - `@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`.
220
+
221
+ - [#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`
222
+
223
+ ## 9.13.1
224
+
225
+ ### Patch Changes
226
+
227
+ - [#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.
228
+
229
+ Updated the following dependencies
230
+
231
+ - `@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`.
232
+
233
+ - Updated dependencies [[`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81)]:
234
+ - @equinor/fusion-framework-react-components-people-provider@1.4.8
235
+ - @equinor/fusion-framework-app@9.1.9
236
+ - @equinor/fusion-framework-module-feature-flag@1.1.9
237
+
238
+ ## 9.13.0
239
+
240
+ ### Minor Changes
241
+
242
+ - [#2465](https://github.com/equinor/fusion-framework/pull/2465) [`eb11a19`](https://github.com/equinor/fusion-framework/commit/eb11a1952cfa5a1ec8ca40d8f53303ff7c675cbe) Thanks [@dependabot](https://github.com/apps/dependabot)! - updated @equinor/eds-core-react to 0.42.0
243
+
244
+ - [#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**
245
+
246
+ Updated the CLI to use the new service discovery API.
247
+
248
+ > [!NOTE]
249
+ > This is a quick fix until the new major version of the CLI is released.
250
+
251
+ - Updated the `baseUri` to use a more specific URL path for service discovery.
252
+ - Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
253
+ - Changed parsing of service discovery response to match new API format.
254
+
255
+ ### Patch Changes
256
+
257
+ - [#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
258
+
259
+ - Updated dependencies []:
260
+ - @equinor/fusion-framework-app@9.1.8
261
+ - @equinor/fusion-framework-module-feature-flag@1.1.9
262
+ - @equinor/fusion-framework-react-components-people-provider@1.4.7
263
+
264
+ ## 9.12.14
265
+
266
+ ### Patch Changes
267
+
268
+ - [#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)>)
269
+
270
+ - Updated dependencies [[`f7c143d`](https://github.com/equinor/fusion-framework/commit/f7c143d44a88cc25c377d3ce8c3d1744114b891d)]:
271
+ - @equinor/fusion-observable@8.4.1
272
+ - @equinor/fusion-framework-module-feature-flag@1.1.8
273
+ - @equinor/fusion-framework-app@9.1.7
274
+ - @equinor/fusion-framework-react-components-people-provider@1.4.6
275
+
276
+ ## 9.12.13
277
+
278
+ ### Patch Changes
279
+
280
+ - [#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
281
+
282
+ [see EDS changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-core-react/CHANGELOG.md)
283
+
284
+ - Updated dependencies []:
285
+ - @equinor/fusion-framework-app@9.1.6
286
+ - @equinor/fusion-framework-module-feature-flag@1.1.7
287
+ - @equinor/fusion-framework-react-components-people-provider@1.4.5
288
+
289
+ ## 9.12.12
290
+
291
+ ### Patch Changes
292
+
293
+ - [#2349](https://github.com/equinor/fusion-framework/pull/2349) [`0dd8160`](https://github.com/equinor/fusion-framework/commit/0dd8160b7b840e04ec6a92ed2bf8d00494752a00) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @vitejs/plugin-react from 4.2.1 to 4.3.1
294
+
295
+ - [#2389](https://github.com/equinor/fusion-framework/pull/2389) [`a3543e3`](https://github.com/equinor/fusion-framework/commit/a3543e31353c9eac25140842643cb8e27e9b187e) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion(react|wc)-person to fix issues with clearing component
296
+
297
+ - [#2337](https://github.com/equinor/fusion-framework/pull/2337) [`79fa856`](https://github.com/equinor/fusion-framework/commit/79fa8566d27dcc4d38da3a6b3fef1b78223f7458) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump rollup from 4.12.0 to 4.18.1
298
+
299
+ - [#2358](https://github.com/equinor/fusion-framework/pull/2358) [`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb) Thanks [@eikeland](https://github.com/eikeland)! - Updating vitest to 2.0.4. Setting vitest as devDependency in fusion-query. Updating vite to 5.3.4
300
+
301
+ - [#2352](https://github.com/equinor/fusion-framework/pull/2352) [`2025368`](https://github.com/equinor/fusion-framework/commit/202536855f736fb58f09442da5ca473325c1141c) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 5.2.10 to 5.3.3
302
+
303
+ - [#2256](https://github.com/equinor/fusion-framework/pull/2256) [`db92a9d`](https://github.com/equinor/fusion-framework/commit/db92a9d2132f74e2a72287640e6fdfbe3afa2824) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump commander from 12.0.0 to 12.1.0
304
+
305
+ - [#2253](https://github.com/equinor/fusion-framework/pull/2253) [`6f93346`](https://github.com/equinor/fusion-framework/commit/6f9334672c6dd77237d52508bef8893303f33ca7) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump @equinor/fusion-react-context-selector from 0.6.3 to 0.6.5
306
+
307
+ - [#2264](https://github.com/equinor/fusion-framework/pull/2264) [`797095a`](https://github.com/equinor/fusion-framework/commit/797095ab3b51a675159be5541381ca06637a1b71) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump express-rate-limit from 7.2.0 to 7.3.1
308
+
309
+ - [#2350](https://github.com/equinor/fusion-framework/pull/2350) [`960ca34`](https://github.com/equinor/fusion-framework/commit/960ca34cae26f386e28c16bac00e7932f4f9199a) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.38.0 to 0.40.1
310
+
311
+ - [#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:
312
+
313
+ - Implemented responsive context clearing mechanism
314
+ - Improved handling of context selection and clearing events
315
+ - Optimized component rendering with useMemo and useCallback hooks
316
+
317
+ - [#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
318
+
319
+ - 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)]:
320
+ - @equinor/fusion-observable@8.4.0
321
+ - @equinor/fusion-framework-react-components-people-provider@1.4.4
322
+ - @equinor/fusion-framework-module-feature-flag@1.1.6
323
+ - @equinor/fusion-framework-app@9.1.5
324
+
325
+ ## 9.12.11
326
+
327
+ ### Patch Changes
328
+
329
+ - [#2251](https://github.com/equinor/fusion-framework/pull/2251) [`60afeaa`](https://github.com/equinor/fusion-framework/commit/60afeaab11ad2a76469807142098464bd5442e68) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @vitejs/plugin-react from 4.2.1 to 4.3.1
330
+
331
+ - [#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
332
+
333
+ - Updated dependencies []:
334
+ - @equinor/fusion-framework-app@9.1.4
335
+ - @equinor/fusion-framework-module-feature-flag@1.1.5
336
+ - @equinor/fusion-framework-react-components-people-provider@1.4.3
337
+
338
+ ## 9.12.10
339
+
340
+ ### Patch Changes
341
+
342
+ - [#2328](https://github.com/equinor/fusion-framework/pull/2328) [`33d394f`](https://github.com/equinor/fusion-framework/commit/33d394f9718340f579e3f427bc68b59df5030d15) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 5.2.10 to 5.3.3
343
+
344
+ - [#2322](https://github.com/equinor/fusion-framework/pull/2322) [`b4dd215`](https://github.com/equinor/fusion-framework/commit/b4dd2150b5f3202e4bae9773afd55993043b4a5e) Thanks [@dependabot](https://github.com/apps/dependabot)! - The Vite changelog highlights several fixes, features, and refactors in versions 5.3.3, 5.3.2, and 5.3.0.
345
+ Key updates include lazy evaluation of `__vite__mapDeps` files, removal of pure CSS dynamic import, and improvements to build and asset handling.
346
+ Additionally, Vite now supports the `system` library format and adds options for not starting a WebSocket server and ignoring certain code sections.
347
+ The changelog also notes performance enhancements, dependency updates, and bug fixes, including resolving circular dependencies, improving error recovery, and updating non-major dependencies.
348
+
349
+ build(deps): bump vite from 5.2.10 to 5.3.3
350
+
351
+ - [#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
352
+
353
+ - [#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.
354
+
355
+ Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
356
+
357
+ 1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
358
+ 2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
359
+ 3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
360
+
361
+ 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.
362
+
363
+ Before:
364
+
365
+ ```json
366
+ {
367
+ "compilerOptions": {
368
+ "module": "ES2022",
369
+ "target": "ES6",
370
+ "incremental": true,
371
+ "removeComments": true,
372
+ "preserveConstEnums": true,
373
+ "sourceMap": true,
374
+ "moduleResolution": "node"
375
+ }
376
+ }
377
+ ```
378
+
379
+ After:
380
+
381
+ ```json
382
+ {
383
+ "compilerOptions": {
384
+ "module": "ES2022",
385
+ "target": "ES6",
386
+ "incremental": true,
387
+ "preserveConstEnums": true,
388
+ "sourceMap": true,
389
+ "moduleResolution": "node"
390
+ }
391
+ }
51
392
  ```
52
393
 
53
- Additionally, a helper for widget development has been incorporated. The entry point can be configured to both compiled and source code. If set to source, developers gain the ability to utilize hot module replacements/auto-reload during development.
394
+ This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
395
+
396
+ - [#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
397
+
398
+ - 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)]:
399
+ - @equinor/fusion-framework-react-components-people-provider@1.4.2
400
+ - @equinor/fusion-framework-module-feature-flag@1.1.5
401
+ - @equinor/fusion-observable@8.3.3
402
+ - @equinor/fusion-framework-app@9.1.3
403
+
404
+ ## 9.12.9
405
+
406
+ ### Patch Changes
407
+
408
+ - [#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
409
+
410
+ - Updated dependencies [[`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb), [`b739416`](https://github.com/equinor/fusion-framework/commit/b7394165a573e545152cfcedc2ddae186ec94112)]:
411
+ - @equinor/fusion-observable@8.3.2
412
+ - @equinor/fusion-framework-react-components-people-provider@1.4.1
413
+ - @equinor/fusion-framework-module-feature-flag@1.1.4
414
+ - @equinor/fusion-framework-app@9.1.2
415
+
416
+ ## 9.12.8
417
+
418
+ ### Patch Changes
419
+
420
+ - Updated dependencies [[`b8d52ad`](https://github.com/equinor/fusion-framework/commit/b8d52adb2ca1f9857c672a3deb774409ff2bdb37)]:
421
+ - @equinor/fusion-framework-app@9.1.1
422
+
423
+ ## 9.12.7
424
+
425
+ ### Patch Changes
426
+
427
+ - [#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`
428
+ Updated `@equinor/eds-utils` dependency to version `^0.8.5`
429
+ - 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)]:
430
+ - @equinor/fusion-framework-react-components-people-provider@1.4.0
431
+ - @equinor/fusion-framework-app@9.1.0
432
+ - @equinor/fusion-observable@8.3.1
433
+ - @equinor/fusion-framework-module-feature-flag@1.1.3
434
+
435
+ ## 9.12.6
436
+
437
+ ### Patch Changes
438
+
439
+ - Updated dependencies []:
440
+ - @equinor/fusion-framework-app@9.0.9
441
+ - @equinor/fusion-framework-module-feature-flag@1.1.2
442
+ - @equinor/fusion-framework-react-components-people-provider@1.3.8
443
+
444
+ ## 9.12.5
445
+
446
+ ### Patch Changes
447
+
448
+ - [#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
449
+
450
+ fixes: https://github.com/equinor/fusion/issues/301
451
+
452
+ ## @equinor/fusion-framework-cli
453
+
454
+ ### What the change is
455
+
456
+ This change fixes an issue where the root element rendered by the CLI was not being styled correctly, causing layout issues in some applications.
457
+
458
+ ### Why the change was made
459
+
460
+ 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.
461
+
462
+ ### How a consumer should update their code
463
+
464
+ 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.
465
+
466
+ - Updated dependencies []:
467
+ - @equinor/fusion-framework-react-components-people-provider@1.3.7
468
+ - @equinor/fusion-framework-app@9.0.8
469
+
470
+ ## 9.12.4
471
+
472
+ ### Patch Changes
473
+
474
+ - [#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`
475
+
476
+ - added default resolve value when generating base vite configuration
477
+ - moved default query log level resolve outside class
478
+
479
+ fixes: https://github.com/equinor/fusion/issues/343
480
+
481
+ - Updated dependencies []:
482
+ - @equinor/fusion-framework-react-components-people-provider@1.3.6
483
+ - @equinor/fusion-framework-app@9.0.7
484
+
485
+ ## 9.12.3
486
+
487
+ ### Patch Changes
488
+
489
+ - [#2098](https://github.com/equinor/fusion-framework/pull/2098) [`5093391`](https://github.com/equinor/fusion-framework/commit/5093391eabda84873041ee89632f26770734b03c) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore(deps): bump @equinor/eds-core-react from 0.36.1 to 0.37.0
490
+
491
+ - [#2103](https://github.com/equinor/fusion-framework/pull/2103) [`975f65c`](https://github.com/equinor/fusion-framework/commit/975f65cdae9882279f18e1f9f8d243df03218650) Thanks [@odinr](https://github.com/odinr)! - bumped vite to 5.2.10
492
+
493
+ - [`cf4a17a`](https://github.com/equinor/fusion-framework/commit/cf4a17a07540b05b0d44de7e188aaaa8f9fef8f8) Thanks [@odinr](https://github.com/odinr)! - updated Query, ref #2095
494
+
495
+ - Updated dependencies []:
496
+ - @equinor/fusion-framework-react-components-people-provider@1.3.5
497
+ - @equinor/fusion-framework-module-feature-flag@1.1.1
498
+ - @equinor/fusion-framework-app@9.0.6
499
+
500
+ ## 9.12.2
54
501
 
55
502
  ### Patch Changes
56
503
 
57
- - Updated dependencies [[`0709eda`](https://github.com/equinor/fusion-framework/commit/0709edaff0b2bdd9b7cd5e9c247f3dd389d7440d)]:
58
- - @equinor/fusion-framework-react-widget@1.0.1-widget-acdcb9b2
59
- - @equinor/fusion-framework-react-components-people-provider@1.2.2-widget-acdcb9b2
504
+ - Updated dependencies []:
505
+ - @equinor/fusion-framework-app@9.0.5
506
+ - @equinor/fusion-framework-module-feature-flag@1.1.1
507
+ - @equinor/fusion-framework-react-components-people-provider@1.3.4
508
+
509
+ ## 9.12.1
510
+
511
+ ### Patch Changes
512
+
513
+ - [#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
514
+
515
+ - Updated dependencies [[`572a199`](https://github.com/equinor/fusion-framework/commit/572a199b8b3070af16d76238aa30d7aaf36a115a)]:
516
+ - @equinor/fusion-observable@8.3.0
517
+ - @equinor/fusion-framework-module-feature-flag@1.1.1
518
+ - @equinor/fusion-framework-react-components-people-provider@1.3.3
519
+ - @equinor/fusion-framework-app@9.0.4
520
+
521
+ ## 9.12.0
522
+
523
+ ### Minor Changes
524
+
525
+ - [#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
526
+
527
+ > 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)_
528
+
529
+ **No functionality changed, only the markup of dev-portal**
530
+
531
+ ### Patch Changes
532
+
533
+ - [#2050](https://github.com/equinor/fusion-framework/pull/2050) [`1cf4003`](https://github.com/equinor/fusion-framework/commit/1cf400389d8d15afbacdc33789130e268c492a0c) Thanks [@AndrejNikolicEq](https://github.com/AndrejNikolicEq)! - Person component update
534
+
535
+ - [#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
536
+
537
+ - Updated dependencies [[`1cf4003`](https://github.com/equinor/fusion-framework/commit/1cf400389d8d15afbacdc33789130e268c492a0c)]:
538
+ - @equinor/fusion-framework-react-components-people-provider@1.3.2
539
+ - @equinor/fusion-framework-app@9.0.3
540
+ - @equinor/fusion-framework-module-feature-flag@1.1.0
541
+
542
+ ## 9.11.1
543
+
544
+ ### Patch Changes
545
+
546
+ - Updated dependencies [[`036ec15`](https://github.com/equinor/fusion-framework/commit/036ec151ace9c051ded41798ab94b8ee5e3d4461)]:
547
+ - @equinor/fusion-framework-app@9.0.2
548
+
549
+ ## 9.11.0
550
+
551
+ ### Minor Changes
552
+
553
+ - [#1998](https://github.com/equinor/fusion-framework/pull/1998) [`14530fa`](https://github.com/equinor/fusion-framework/commit/14530fa2d8d7afd45b6849cec2665f2f396bb27f) Thanks [@eikeland](https://github.com/eikeland)! - Updates cli contextselector and resolver
554
+
555
+ ## 9.10.1
556
+
557
+ ### Patch Changes
558
+
559
+ - [#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.
560
+
561
+ - Updated dependencies [[`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc)]:
562
+ - @equinor/fusion-framework-react-components-people-provider@1.3.1
563
+ - @equinor/fusion-framework-app@9.0.1
564
+ - @equinor/fusion-framework-module-feature-flag@1.1.0
565
+
566
+ ## 9.10.0
567
+
568
+ ### Minor Changes
569
+
570
+ - [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
571
+
572
+ ### Patch Changes
573
+
574
+ - [#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
575
+
576
+ - 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)]:
577
+ - @equinor/fusion-framework-react-components-people-provider@1.3.0
578
+ - @equinor/fusion-framework-module-feature-flag@1.1.0
579
+ - @equinor/fusion-observable@8.2.0
580
+ - @equinor/fusion-framework-app@9.0.0
581
+
582
+ ## 9.9.0
583
+
584
+ ### Minor Changes
585
+
586
+ - [#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
587
+
588
+ CLI will now resolve initial context _(if context module enabled)_
589
+
590
+ Fixes: https://github.com/equinor/fusion/issues/307
591
+
592
+ Will work even if not application has not enabled navigation
593
+
594
+ ### Patch Changes
595
+
596
+ - [#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
597
+
598
+ - Updated dependencies []:
599
+ - @equinor/fusion-framework-app@8.1.4
600
+ - @equinor/fusion-framework-react-components-people-provider@1.2.6
601
+
602
+ ## 9.8.7
603
+
604
+ ### Patch Changes
605
+
606
+ - [#1930](https://github.com/equinor/fusion-framework/pull/1930) [`057f204`](https://github.com/equinor/fusion-framework/commit/057f204fc01ee6579280b621bc83ca74589acd6b) Thanks [@eikeland](https://github.com/eikeland)! - update fusion-react-context-selector
607
+
608
+ ## 9.8.6
609
+
610
+ ### Patch Changes
611
+
612
+ - [#1926](https://github.com/equinor/fusion-framework/pull/1926) [`6f3315a`](https://github.com/equinor/fusion-framework/commit/6f3315a83ea43d5355a5d95c1e9e4caf6f6b7c72) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion-wc-person to fix issues with multiple tasks
613
+
614
+ - [#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
615
+
616
+ - Updated dependencies [[`6f3315a`](https://github.com/equinor/fusion-framework/commit/6f3315a83ea43d5355a5d95c1e9e4caf6f6b7c72)]:
617
+ - @equinor/fusion-framework-react-components-people-provider@1.2.5
618
+
619
+ ## 9.8.5
620
+
621
+ ### Patch Changes
622
+
623
+ - Updated dependencies []:
624
+ - @equinor/fusion-framework-app@8.1.3
625
+ - @equinor/fusion-framework-react-components-people-provider@1.2.4
626
+
627
+ ## 9.8.4
628
+
629
+ ### Patch Changes
630
+
631
+ - [#1890](https://github.com/equinor/fusion-framework/pull/1890) [`722f43f`](https://github.com/equinor/fusion-framework/commit/722f43f01c7a46175ad72e84c22fb3562d21bc26) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Fix typo
632
+
633
+ - [#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
634
+
635
+ - Updated dependencies [[`06d3739`](https://github.com/equinor/fusion-framework/commit/06d373990b481bcae361cfa4fa8a905b4256c7d8)]:
636
+ - @equinor/fusion-framework-react-components-people-provider@1.2.3
637
+
638
+ ## 9.8.3
639
+
640
+ ### Patch Changes
641
+
642
+ - [#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
643
+
644
+ - Add info icon for no result
645
+
646
+ - [#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
647
+
648
+ - [#1867](https://github.com/equinor/fusion-framework/pull/1867) [`b7504d1`](https://github.com/equinor/fusion-framework/commit/b7504d1352a0107383f8f76f9ed7f77744d1f99b) Thanks [@eikeland](https://github.com/eikeland)! - Removes person react components from cli
649
+
650
+ ## 9.8.2
651
+
652
+ ### Patch Changes
653
+
654
+ - Updated dependencies []:
655
+ - @equinor/fusion-framework-app@8.1.2
656
+ - @equinor/fusion-framework-react-components-people-provider@1.2.2
60
657
 
61
658
  ## 9.8.1
62
659