@equinor/fusion-framework-cli 4.0.3 → 4.0.5

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.
@@ -5,7 +5,22 @@
5
5
  <meta charset="UTF-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Fusion Framework Dev Portal</title>
8
- <script type="module" crossorigin src="/assets/index-866efe52.js"></script>
8
+ <script>
9
+ /**
10
+ * When defining a custom element the browser would throw an error if already defined.
11
+ * We would like the portal to provide the latest components
12
+ */
13
+ const _customElementsDefine = window.customElements.define;
14
+ window.customElements.define = (name, cl, conf) => {
15
+ if (!customElements.get(name)) {
16
+ _customElementsDefine.call(window.customElements, name, cl, conf);
17
+ } else {
18
+ console.debug(`duplicate registration of ${name}`);
19
+ }
20
+ };
21
+ </script>
22
+
23
+ <script type="module" crossorigin src="/assets/index-6363979f.js"></script>
9
24
 
10
25
  <body>
11
26
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -24,7 +24,7 @@
24
24
  "prepack": "yarn build"
25
25
  },
26
26
  "dependencies": {
27
- "@equinor/fusion-observable": "^4.0.1",
27
+ "@equinor/fusion-observable": "^6.0.0",
28
28
  "@vitejs/plugin-react": "^3.0.0",
29
29
  "commander": "^10.0.0",
30
30
  "express": "^4.18.2",
@@ -35,10 +35,10 @@
35
35
  "vite": "^4.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@equinor/fusion-framework-app": "^6.0.1",
39
- "@equinor/fusion-framework-module-context": "^2.0.1",
40
- "@equinor/fusion-framework-react": "^3.1.3",
41
- "@equinor/fusion-react-button": "^0.6.0",
38
+ "@equinor/fusion-framework-app": "^6.0.2",
39
+ "@equinor/fusion-framework-module-context": "^2.0.2",
40
+ "@equinor/fusion-framework-react": "^3.1.4",
41
+ "@equinor/fusion-react-button": "^0.6.1",
42
42
  "@equinor/fusion-react-context-selector": "^0.3.0",
43
43
  "@equinor/fusion-react-icon": "^0.2.15",
44
44
  "@equinor/fusion-react-menu": "^0.1.5",
@@ -52,5 +52,5 @@
52
52
  "react-router-dom": "^6.4.3",
53
53
  "typescript": "^4.9.3"
54
54
  },
55
- "gitHead": "d43876b90bc69a25fb6246ed969b3d7dc63d1301"
55
+ "gitHead": "1caf92b0007e4a7e4e21d4a3e583a48800177bcd"
56
56
  }