@equinor/fusion-framework-cli 4.0.4 → 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.
- package/CHANGELOG.md +6 -0
- package/bin/dev-portal/index.html +15 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.0.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@4.0.4...@equinor/fusion-framework-cli@4.0.5) (2023-02-02)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cli:** add custom element register ([3f30c34](https://github.com/equinor/fusion-framework/commit/3f30c34324ca43fcc947f9163919a31611471afd))
|
|
11
|
+
|
|
6
12
|
## 4.0.4 (2023-02-02)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @equinor/fusion-framework-cli
|
|
@@ -5,6 +5,21 @@
|
|
|
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>
|
|
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
|
+
|
|
8
23
|
<script type="module" crossorigin src="/assets/index-6363979f.js"></script>
|
|
9
24
|
|
|
10
25
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"Fusion",
|
|
6
6
|
"Fusion Framework",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"react-router-dom": "^6.4.3",
|
|
53
53
|
"typescript": "^4.9.3"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "1caf92b0007e4a7e4e21d4a3e583a48800177bcd"
|
|
56
56
|
}
|