@equinor/fusion-framework-dev-portal 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +18 -0
- package/dist/main.js +38993 -35480
- package/package.json +9 -8
- package/src/config.ts +16 -0
- package/src/version.ts +1 -1
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-dev-portal",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/main.js",
|
|
@@ -41,16 +41,17 @@
|
|
|
41
41
|
"typescript": "^5.8.2",
|
|
42
42
|
"vite": "^7.1.12",
|
|
43
43
|
"@equinor/fusion-framework": "7.4.2",
|
|
44
|
+
"@equinor/fusion-framework-dev-server": "1.1.20",
|
|
44
45
|
"@equinor/fusion-framework-app": "10.2.1",
|
|
45
|
-
"@equinor/fusion-framework-
|
|
46
|
-
"@equinor/fusion-framework-module-app": "7.2.
|
|
47
|
-
"@equinor/fusion-framework-module-analytics": "0.2.
|
|
48
|
-
"@equinor/fusion-framework-module-bookmark": "3.0.4",
|
|
49
|
-
"@equinor/fusion-framework-module-feature-flag": "1.1.27",
|
|
46
|
+
"@equinor/fusion-framework-module-ag-grid": "^34.4.0",
|
|
47
|
+
"@equinor/fusion-framework-module-app": "7.2.2",
|
|
48
|
+
"@equinor/fusion-framework-module-analytics": "0.2.1",
|
|
50
49
|
"@equinor/fusion-framework-module-context": "7.0.2",
|
|
50
|
+
"@equinor/fusion-framework-module-bookmark": "3.0.5",
|
|
51
|
+
"@equinor/fusion-framework-module-feature-flag": "1.1.27",
|
|
52
|
+
"@equinor/fusion-framework-module-services": "7.1.7",
|
|
53
|
+
"@equinor/fusion-framework-module-telemetry": "4.6.1",
|
|
51
54
|
"@equinor/fusion-framework-module-navigation": "6.0.0",
|
|
52
|
-
"@equinor/fusion-framework-module-services": "7.1.5",
|
|
53
|
-
"@equinor/fusion-framework-module-telemetry": "4.6.0",
|
|
54
55
|
"@equinor/fusion-framework-react": "7.4.19",
|
|
55
56
|
"@equinor/fusion-framework-react-components-bookmark": "1.1.2",
|
|
56
57
|
"@equinor/fusion-framework-react-components-people-provider": "1.5.25",
|
package/src/config.ts
CHANGED
|
@@ -10,10 +10,21 @@ import {
|
|
|
10
10
|
createLocalStoragePlugin,
|
|
11
11
|
createUrlPlugin,
|
|
12
12
|
} from '@equinor/fusion-framework-module-feature-flag/plugins';
|
|
13
|
+
import { enableAgGrid } from '@equinor/fusion-framework-module-ag-grid';
|
|
13
14
|
|
|
14
15
|
import { enableTelemetry } from '@equinor/fusion-framework-module-telemetry';
|
|
15
16
|
import { version } from './version';
|
|
16
17
|
|
|
18
|
+
declare global {
|
|
19
|
+
interface Window {
|
|
20
|
+
/**
|
|
21
|
+
* AG Grid license key for enabling enterprise features
|
|
22
|
+
* @remarks This is typically set via environment variables during build time
|
|
23
|
+
*/
|
|
24
|
+
FUSION_AG_GRID_KEY?: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
17
28
|
/**
|
|
18
29
|
* Configures the Fusion Dev Portal with all required modules and features
|
|
19
30
|
*
|
|
@@ -54,6 +65,11 @@ export const configure = async (config: FrameworkConfigurator) => {
|
|
|
54
65
|
|
|
55
66
|
enableServices(config);
|
|
56
67
|
|
|
68
|
+
// Configure AG Grid with license key from environment if provided
|
|
69
|
+
enableAgGrid(config, (builder) => {
|
|
70
|
+
builder.setLicenseKey(window.FUSION_AG_GRID_KEY);
|
|
71
|
+
});
|
|
72
|
+
|
|
57
73
|
enableAnalytics(config, (builder) => {
|
|
58
74
|
builder.setAdapter('console', async (args) => {
|
|
59
75
|
if (args.hasModule('featureFlag')) {
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.4.0';
|