Commit Graph

33 Commits (862350ee0eee78ba4e86ced29c3a8287f30d6c8f)

Author SHA1 Message Date
Gabriel Horner d34e53b6f7 Bump bb to a version that supports datalog parser 2022-03-09 14:10:38 +08:00
Gabriel Horner 6200ec70d3 Add rules linter for unbound vars and invalid queries
Linter caught one unbound var which wasn't an error but nonetheless good
to cleanup
2022-03-09 14:10:38 +08:00
Gabriel Horner 465765abc8 Fix outdated yarn.lock 2022-02-23 00:04:42 +08:00
Gabriel Horner c70bc56d75 Add CI check for outdated yarn.lock 2022-02-23 00:04:42 +08:00
Gabriel Horner 40eb74a47c Add first pass at large vars linter
Had to tweak rewrite-clj to read vars with metadata.
Added fail fast behavior to fns to prevent silent failure
which was impacting tasks. Started looking at a few vars. More to look
at
2022-02-04 14:06:50 -05:00
Gabriel Horner 0fcdb498d8 Update lang tasks to also read shortcuts
- Updated docs with more accurate picture of translation state
- invalid task found keys that were no longer used from 2 commands
- Cleaned up rewrite-clj
2022-02-02 11:26:20 -05:00
Gabriel Horner 04241dfe96 Merge branch 'master' into feature/lang-tasks-and-ci 2022-01-29 10:06:44 -05:00
Gabriel Horner 02c0489a26 Add CI job for invalid dicts
And tweak fn so that it actually fails
2022-01-27 17:43:10 -05:00
Gabriel Horner 8b428796bc Setup carve and ignore all unused vars by default
Also split out lint jobs to their own step
2022-01-27 14:11:59 -05:00
Tienson Qin 6aba8c3241
Improve long page editing performance (#3855)
* Remove expensive parsing when saving files

* Add limit to page blocks query

* Don't collapse block's body to make it compatible with other tools

* Alert if there're unsaved changes when switching graphs

* DB schema migration for :block/collapsed? from it's property

Co-authored-by: Andelf <andelf@gmail.com>
2022-01-18 10:37:31 +08:00
Gabriel Horner 2b46cc4938 Fix kondo invocation and output progress 2022-01-16 12:42:34 +08:00
Gabriel Horner 8b0026f34b Tweak lint docs 2022-01-16 12:42:34 +08:00
Gabriel Horner 3ec587d6eb lint :all-the-things: 2022-01-16 12:42:34 +08:00
Andelf 71ff117d59 ci(build): rename job 2022-01-13 22:48:27 +08:00
Andelf bee80914a6 ci: refacotr test, add as many cache to speedup 2022-01-13 12:27:47 +08:00
Gabriel Horner b7b3375f62 Lint extensions/ and wrap up hanging frontend dirs
fs/, format/ and logseq/ also added to linting by adding todos for later
inspection
2022-01-12 16:38:17 -05:00
Gabriel Horner f1d15b0e05 Lint components and address comments in review
Start using :clj-kondo/ignore as lint violations that need to be
revisited. They may side effect and should be removed with better
understanding of their context
2022-01-12 15:32:47 -05:00
Gabriel Horner f864f0fd1c Add linting that passes so far to CI 2022-01-11 17:41:04 -05:00
Gabriel Horner 3ded9ee1ff Add comment about allowed node version
node 17.x is the default for homebrew which doesn't work with this repo.
Make allowed node version more explicit to avoid dev confusion
2022-01-12 00:22:37 +08:00
Andelf 27af2a8234 fix(ci): version check cmd 2021-12-28 15:36:36 +08:00
Andelf 0f6c68711c fix(ci): enable e2e test on push 2021-12-13 11:11:03 +08:00
Andelf dc8972b08a ci: add .gitlibs to build cache 2021-11-26 12:03:22 +08:00
Andelf a80b3d1c68 ci: add e2e test 2021-11-23 17:26:53 +08:00
Gabriel Horner d2675cdfe7 Remove clj testing as it's no longer used 2021-11-22 14:59:57 +08:00
Gabriel Horner fb256884ba Use clojure invocation that doesn't depend on rlwrap 2021-11-22 14:59:57 +08:00
Gabriel Horner 24807eef17 Fix clj test so that it passes
roam-test was no longer clj compatible with dependence on text and date
namespaces. Added to CI to ensure clj tests continue to pass
2021-11-22 14:59:57 +08:00
Weihua Lu 731ef32989 chore: bump ci node version 2021-06-28 21:09:23 +08:00
Dima Gerasimov 3446fb83f1 CI: add check for Docker image consistency
Otherwise it might cause weird build errors
2021-04-09 09:52:29 +08:00
Tienson Qin 957a2c65ab fix: remove --frozen-lockfile 2021-03-18 21:16:49 +08:00
Tienson Qin 5e0fbbd825 chore: remove yarn cache check for testing purpose 2020-12-22 12:35:57 +08:00
Tienson Qin dc8c19d1a9 chore: clean yarn cache 2020-12-22 12:35:57 +08:00
Yukun Guo ed88c5743d ci: update build.yml 2020-11-24 19:53:29 +08:00
Yukun Guo e3111ed37f ci: add CI 2020-11-23 16:55:24 +08:00