Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Hotfix for incorrect custom-elements.json file generation. (#1910)

Martin Peetersb9449b28e1aa
diff --git a/ui/component/custom-elements-manifest.config.js b/ui/component/custom-elements-manifest.config.mjs
similarity index 100%
rename from ui/component/custom-elements-manifest.config.js
rename to ui/component/custom-elements-manifest.config.mjs
diff --git a/ui/component/or-app/package.json b/ui/component/or-app/package.json
index 46397fc7b..1a987a7f6 100644
--- a/ui/component/or-app/package.json
+++ b/ui/component/or-app/package.json
@@ -12,7 +12,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"clean": "npx tsc -b --clean && npx shx rm -rf dist lib",
"modelBuild": "npx orutil build",
"modelWatch": "npx orutil watch",
diff --git a/ui/component/or-asset-tree/package.json b/ui/component/or-asset-tree/package.json
index 66c572751..d12ea8f53 100644
--- a/ui/component/or-asset-tree/package.json
+++ b/ui/component/or-asset-tree/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-asset-viewer/package.json b/ui/component/or-asset-viewer/package.json
index b7294c46a..a4636facd 100644
--- a/ui/component/or-asset-viewer/package.json
+++ b/ui/component/or-asset-viewer/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-attribute-card/package.json b/ui/component/or-attribute-card/package.json
index 6e924f62e..08da25739 100644
--- a/ui/component/or-attribute-card/package.json
+++ b/ui/component/or-attribute-card/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
diff --git a/ui/component/or-attribute-history/package.json b/ui/component/or-attribute-history/package.json
index b68aee31b..2ef816305 100644
--- a/ui/component/or-attribute-history/package.json
+++ b/ui/component/or-attribute-history/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-attribute-input/package.json b/ui/component/or-attribute-input/package.json
index 38ee49844..87735563e 100644
--- a/ui/component/or-attribute-input/package.json
+++ b/ui/component/or-attribute-input/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-attribute-picker/package.json b/ui/component/or-attribute-picker/package.json
index 6b97c0235..300db1def 100644
--- a/ui/component/or-attribute-picker/package.json
+++ b/ui/component/or-attribute-picker/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-bottom-navigation/package.json b/ui/component/or-bottom-navigation/package.json
index 728043863..9b79c5622 100644
--- a/ui/component/or-bottom-navigation/package.json
+++ b/ui/component/or-bottom-navigation/package.json
@@ -10,7 +10,7 @@
},
"types": "lib/or-bottom-navigation.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0"
},
"author": "OpenRemote",
diff --git a/ui/component/or-chart/package.json b/ui/component/or-chart/package.json
index 71fe1f5bf..f857c1130 100644
--- a/ui/component/or-chart/package.json
+++ b/ui/component/or-chart/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-components/package.json b/ui/component/or-components/package.json
index c2ce4c51d..008a363d9 100644
--- a/ui/component/or-components/package.json
+++ b/ui/component/or-components/package.json
@@ -17,7 +17,7 @@
}
},
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx tsc -b"
diff --git a/ui/component/or-dashboard-builder/package.json b/ui/component/or-dashboard-builder/package.json
index 114e67b59..4c8381879 100644
--- a/ui/component/or-dashboard-builder/package.json
+++ b/ui/component/or-dashboard-builder/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-data-viewer/package.json b/ui/component/or-data-viewer/package.json
index 5c910a1a2..d3a286a7c 100644
--- a/ui/component/or-data-viewer/package.json
+++ b/ui/component/or-data-viewer/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-gauge/package.json b/ui/component/or-gauge/package.json
index b55354afc..f7283192a 100644
--- a/ui/component/or-gauge/package.json
+++ b/ui/component/or-gauge/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-icon/package.json b/ui/component/or-icon/package.json
index b49b1ab83..54d755c76 100644
--- a/ui/component/or-icon/package.json
+++ b/ui/component/or-icon/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"copyMdiFont": "node mdi-font-copy.js",
"build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0",
diff --git a/ui/component/or-json-forms/package.json b/ui/component/or-json-forms/package.json
index 21b9e1f1a..36d66e8db 100644
--- a/ui/component/or-json-forms/package.json
+++ b/ui/component/or-json-forms/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
diff --git a/ui/component/or-log-viewer/package.json b/ui/component/or-log-viewer/package.json
index e97436673..fd9e1728a 100644
--- a/ui/component/or-log-viewer/package.json
+++ b/ui/component/or-log-viewer/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-map/package.json b/ui/component/or-map/package.json
index 1c1dc20db..cd9036fb0 100644
--- a/ui/component/or-map/package.json
+++ b/ui/component/or-map/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
diff --git a/ui/component/or-mwc-components/package.json b/ui/component/or-mwc-components/package.json
index c5646ce9e..97a876b90 100644
--- a/ui/component/or-mwc-components/package.json
+++ b/ui/component/or-mwc-components/package.json
@@ -17,7 +17,7 @@
}
},
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx tsc -b"
diff --git a/ui/component/or-rules/package.json b/ui/component/or-rules/package.json
index 36367f7ed..d06c6065c 100644
--- a/ui/component/or-rules/package.json
+++ b/ui/component/or-rules/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-smart-notify/package.json b/ui/component/or-smart-notify/package.json
index 4cca56bb9..8cc4f70e1 100644
--- a/ui/component/or-smart-notify/package.json
+++ b/ui/component/or-smart-notify/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-survey-results/package.json b/ui/component/or-survey-results/package.json
index 11bcd464d..c5ae32312 100644
--- a/ui/component/or-survey-results/package.json
+++ b/ui/component/or-survey-results/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-survey/package.json b/ui/component/or-survey/package.json
index c2cffa99f..bb5811111 100644
--- a/ui/component/or-survey/package.json
+++ b/ui/component/or-survey/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-thermostat/package.json b/ui/component/or-thermostat/package.json
index 0003e10ef..088e7b48b 100644
--- a/ui/component/or-thermostat/package.json
+++ b/ui/component/or-thermostat/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-timeline/package.json b/ui/component/or-timeline/package.json
index b7f0d2eec..ad3d32483 100644
--- a/ui/component/or-timeline/package.json
+++ b/ui/component/or-timeline/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-translate/package.json b/ui/component/or-translate/package.json
index b9dfd6a35..66c5eb675 100644
--- a/ui/component/or-translate/package.json
+++ b/ui/component/or-translate/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},
diff --git a/ui/component/or-tree-menu/package.json b/ui/component/or-tree-menu/package.json
index 91e326b93..7f0eeffb3 100644
--- a/ui/component/or-tree-menu/package.json
+++ b/ui/component/or-tree-menu/package.json
@@ -11,7 +11,7 @@
},
"types": "lib/index.d.ts",
"scripts": {
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
"test": "echo \"No tests\" && exit 0",
"prepack": "npx webpack"
},