mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
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:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -120,6 +120,9 @@ jobs:
|
||||
- name: Lint invalid translation entries
|
||||
run: bb lang:validate-translations
|
||||
|
||||
- name: Lint to keep worker independent of frontend
|
||||
run: bb lint:worker-and-frontend-separate
|
||||
|
||||
- name: Lint to keep db and file graph code separate
|
||||
run: bb lint:db-and-file-graphs-separate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user