refactor: organize worker namespaces and lint them

Organize them to live under src/main/frontend/worker and add a lint to ensure
that common code with frontend is only under frontend/common/.
Add a linter to ensure that worker doesn't depend on frontend.
Motivated to fix after recent worker breakage fixed by
75463c4df4
This commit is contained in:
Gabriel Horner
2024-08-08 22:32:28 -04:00
parent b62715ebd8
commit 7a40761eca
28 changed files with 92 additions and 54 deletions

View File

@@ -81,7 +81,7 @@ frontend.ui/_emoji-init-data
;; placeholder var for defonce
frontend.worker.rtc.op-mem-layer/_sync-loop-canceler
;; Used by shadow.cljs
frontend.db-worker/init
frontend.worker.db-worker/init
;; WIP fn, remove when it's ready
frontend.worker.rtc.asset-sync/<loop-for-assets-sync
;; Future use?