refactor: supply application catalogs explicitly

This commit is contained in:
Sameh Khamis committed 2026-09-14 13:56:51 -07:00
1 parent fad93f22f8
commit c3de679c61
16 files changed
+288 -50

No files matched your search

+2 -2
View File
@@ -246,8 +246,8 @@ if [[ ! -f "$SOURCE_ROOT/src/data/cctv.js" ]]; then
exit 1
fi
if ! grep -q "dataManager.register(cctvLayer)" "$SOURCE_ROOT/src/app/data.js"; then
echo "error: CCTV layer not wired in src/app/data.js"
if ! grep -q "^[[:space:]]*cctvLayer," "$SOURCE_ROOT/src/standalone/catalog.js"; then
echo "error: CCTV layer not wired in src/standalone/catalog.js"
exit 1
fi
+4 -1
View File
@@ -555,5 +555,8 @@
"src/app/startupChrome.js",
"src/app/errors.js",
"scripts/project-root.mjs",
"src/toolProjectRoot.test.mjs"
"src/toolProjectRoot.test.mjs",
"src/app/catalog.js",
"src/standalone/catalog.js",
"src/app/catalog.test.mjs"
]
+10 -2
View File
@@ -1043,7 +1043,8 @@
"./standalone/settings",
"./voice/actions",
"./annotations",
"./context"
"./context",
"./standalone/catalog"
],
"modules": [
"src/annotations/annotationEngine.js",
@@ -1500,7 +1501,9 @@
"src/voice/realtimeController.js",
"src/voice/voiceCost.js",
"src/weatherEffectsMath.js",
"src/worldFocus.js"
"src/worldFocus.js",
"src/app/catalog.js",
"src/standalone/catalog.js"
],
"external": [
"@mapbox/vector-tile",
@@ -1510,5 +1513,10 @@
"pbf",
"satellite.js"
]
},
"application-catalog": {
"exports": ["./application/catalog"],
"modules": ["src/app/catalog.js"],
"external": []
}
}