mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
refactor: supply application catalogs explicitly
This commit is contained in:
1 parent
fad93f22f8
commit
c3de679c61
16 files changed
+288
-50
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
@@ -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": []
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user