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