Mega Yu
bf197f9861
feat(lang): add functions for identifying identical translations to English
2026-04-16 11:06:44 +08:00
Mega Yu
e6fbf5a828
add bb lang:format-dicts
2026-04-15 21:27:53 +08:00
Mega Yu
5eda6a8ab6
Merge master into enhance/i18n
2026-04-14 16:42:19 +08:00
Tienson Qin
292db15345
add script to create clojure irc graph
2026-04-14 00:19:29 +08:00
Tienson Qin
0392444cdf
add bb dev:lint-test-deps to run lint and tests for deps
2026-04-10 00:21:14 +08:00
Mega Yu
d7470632f3
feat(lang-lint): add linting for hardcoded strings and refactor translation validations
2026-04-03 11:47:01 +08:00
megayu
d6403b7746
dependencies upgrade ( #12460 )
2026-03-23 21:32:28 +08:00
Gabriel Horner
f28e001b5a
enhance: ensure export EDN is idempotent across import and export
...
An EDN export should consistently produce the same EDN when imported
into a new graph and re-exported. This adds initial fn, cli option and
test to ensure this. There are some known TODOs. diff-graphs script was
removed as it was being used as a subset of the workflow provided by the
--roundtrip option
2026-02-18 15:23:41 -05:00
Tienson Qin
729ca7fcbf
Merge branch 'master' into feat/worker-sync
2026-01-26 18:52:12 +08:00
Tienson Qin
0cf01ba780
fix: parent cycle
2026-01-26 17:36:34 +08:00
Gabriel Horner
f57d8a0625
chore: rm unused file-sync bb tasks
2026-01-22 13:19:58 -05:00
Gabriel Horner
ed805f039f
chore: cleanup bb tasks after file graph removal
...
Remove needless 'db-' prefix for several dev tasks. Remove linter for
file and db graph separation. It served us well :)
2026-01-22 13:19:58 -05:00
rcmerci
9356782168
fix(db-sync): worker server unit-tests
2026-01-11 23:57:33 +08:00
rcmerci
a32f46fb6f
fix(db-sync): dev:db-sync-test only compile
2026-01-10 21:46:33 +08:00
rcmerci
0864b485f4
refactor(db-sync): rename worker-sync to db-sync
2026-01-10 17:52:33 +08:00
rcmerci
c2738c9dc9
enhance(worker-sync): foreground dev task
2026-01-09 22:19:27 +08:00
Tienson Qin
2b56aa9b5d
initial impl of sync with cloudflare DO
2026-01-07 23:57:34 +08:00
rcmerci
8d7ce39897
test(e2e): add asset-blocks-validate-after-init-downloaded-test
2025-12-19 01:49:40 +08:00
Gabriel Horner
fe55fdf817
chore: add dev cli task for easier cli testing
2025-12-15 12:59:41 -05:00
Gabriel Horner
ef96a8d031
chore: remove db scripts made redundant by CLI
2025-12-12 10:17:12 -05:00
Tienson Qin
d8809f0b7e
feat: cljs sdk ( #12168 )
...
Add clojurescript plugins API
2025-10-21 16:32:12 +08:00
rcmerci
8c968464fb
dev: update agents.md, add bb e2e-test cmds
2025-09-26 22:11:13 +08:00
rcmerci
9a55f24ff1
refactor: remove src/rtc_e2e_test
...
rtc-e2e-test already moved to clj-e2e
2025-09-09 22:37:46 +08:00
Tienson Qin
afe9db73a9
enhance: add bb ai:check-common-errors
2025-08-13 15:35:33 +08:00
Gabriel Horner
1d8869a4a3
chore: bump borkdude.rewrite-edn to latest
...
and use consistent alias
2025-05-14 15:55:50 -04:00
Gabriel Horner
ab9796ae60
Add scripts for exporting and diffing graphs
...
Allows for quick export<->import QA of more complex graphs
and any examples made in app
2025-03-17 11:58:30 -04:00
Gabriel Horner
fecb42f49d
fix(dev): deps scripts not handling relative and absolute paths for graphs
...
transact and create didn't handle relative paths. All scripts except
import didn't handle absolute paths
2025-03-17 11:09:44 -04:00
Gabriel Horner
1ccdcab8a9
enhance(dev): optionally validate after creating a db
...
Doing this enough that an option makes this faster to invoke
and faster (no re-open) on large graphs
2025-03-07 11:45:17 -05:00
Gabriel Horner
c6a2ea6959
fix(dev): script fails on -h
...
Also minor db scripts cleanup
2025-03-06 16:21:21 -05:00
Gabriel Horner
8e81d7d855
enhance(dev): task to import multiple file graphs easily
...
Also add a --continue option to see all errors on a CLI import
2024-11-21 10:30:58 -05:00
Gabriel Horner
0036a5d9de
fix: invalid throws and remove unused values
...
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
rcmerci
50fb730c43
test(rtc): launch two clients at the same time
2024-08-30 20:52:25 +08:00
Gabriel Horner
bc18661c90
enhance(dev): Add fast kondo lint for dev
2024-08-21 13:33:01 -04:00
Gabriel Horner
14a507f4cd
enhance(dev): run lint fix with an option
...
Linters are read only by default. Lang lint can be fixed by passing
`--fix`. We don't want CI or inexperienced contributors fixing files accidentally.
Also move deps to bb.edn as putting them inline leads to quirky/buggy
tasks listing and autocompleting as they pause when fetching an inlined dep
2024-08-20 10:17:23 -04:00
Gabriel Horner
7a40761eca
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
2024-08-08 23:01:57 -04:00
Gabriel Horner
0e1ada2ef6
enhance: bb task for creating graphs from EDN file
...
Converted inferred graph to an EDN file now that this task exists. Also
merge last of tasks.create-graph to relevant ns so that external users
can also create such tasks
2024-06-11 10:09:37 -04:00
Tienson Qin
89edb3af9a
fix: can't remove Many values
2024-05-02 18:03:17 +08:00
rcmerci
2b27969b05
dev: add bb dev:lint-and-test
2024-04-07 00:02:40 +08:00
Gabriel Horner
a61ee21e25
enhance: add basic script to test db graph import
...
also tweaked query script to work with db graphs by relative path
2024-02-24 00:42:46 -05:00
Gabriel Horner
b55fe07768
Merge branch 'master' into feat/db
2024-01-24 09:08:41 -05:00
Gabriel Horner
dc5127b48a
enhance: publishing --dev also watches frontend
...
also provide a dedicated backend command for simpler
rebuilding of backend
2024-01-24 08:53:48 -05:00
Gabriel Horner
72f5218b39
dev: add tasks for saving and diffing datoms
...
part of LOG-2974
2023-12-19 13:19:10 -05:00
Gabriel Horner
ea65a659d6
chore: remove bb task for validating previous sqlite data
2023-12-12 15:44:06 -05:00
Gabriel Horner
54ecf01cd7
add lint for keeping file and db graphs separate
...
Detected some minor unused code. May run this in CI later.
Writing this script demonstrates more namespaces could be split
up but will wait till at least enum PR lands
2023-11-01 11:28:50 -04:00
Gabriel Horner
2ce35667c5
First pass at a general transact script for db graphs
...
Moved persist-graph ns into outliner dep so it can be used
by scripts
2023-10-27 17:40:12 -04:00
Gabriel Horner
c8ccc79e82
fix: db/ident and schema/version shouldn't create unknown blocks
...
Also log unknown blocks and make their entity more explicit with the
goal of eventually resolving all unknown blocks. Also added
a query bb task. Part of LOG-2818
2023-10-11 16:02:13 -04:00
Gabriel Horner
fe7a46eac9
Move db malli schema into db dep since it's stable
...
Also add a validate-db task. Part of LOG-2739
2023-10-11 08:40:26 -04:00
Tienson Qin
fd6b587235
Merge branch 'master' into feat/db
2023-06-21 14:09:16 +08:00
Gabriel Horner
3f1d32dd6c
Update clj-kondo and bb-tasks for deps projects
2023-06-13 14:48:50 +08:00
Gabriel Horner
2d60d95bc5
Update lang validation to detect duplicates
...
There are still a few to remove.
Remove lang:duplicates as it's now included in the linter
2023-06-05 11:09:35 -04:00