Andelf
da11d8cb30
refactor(ci): add checks for ci release ( #6350 )
2022-08-14 19:13:52 +08:00
Andelf
2d1fb05117
ci(build): use options menu for android
2022-08-10 09:14:29 +08:00
Gabriel Horner
abd7e0becb
Add 3 missing built-in-properties
...
Also fix carve linter and make nbb test invocation easier
2022-07-15 15:26:09 +08:00
Andelf
872060965d
ci(build): non-release as default
2022-07-08 11:32:51 +08:00
Andelf
dda818c26a
fix(e2e): add missing esc for (())
2022-07-07 01:42:16 +08:00
Andelf
02563dac2d
chore(ci): use choice instead of input-box in ci
2022-06-28 22:42:07 +08:00
Andelf
fb92e64967
refactor(build): use env flags to control feature gate
2022-06-28 15:46:12 +08:00
Gabriel Horner
d0755ef161
Update dependencies in deps
...
Also fix conditional workflows that didn't trigger if changes were made
to them
2022-06-10 15:39:11 +08:00
Gabriel Horner
ee9f390761
Localize bb-tasks for deps
...
Deps need to be independent to not introduce testing bugs.
These bb tasks are good candidates to move into bb-tasks gitlib
2022-06-10 15:39:11 +08:00
Gabriel Horner
17d2462343
Move rules into db dep as it's useful for external apps
...
- rules is already used by logseq-query and will be useful for
nbb-logseq
- Updated db jobs to run in deps/db by default. Less typing but
more importantly discourages independent libraries from depending on
external scripts.
- Moved lint-rules task into db since it is db specific now
- Also remove nbb-logseq from top-level as all nbb compatibility is in
deps.
2022-06-10 15:39:11 +08:00
Gabriel Horner
6608537909
Move logseq.graph-parser.db* namespaces to their own dep
...
Also add its own CI file
2022-06-10 15:39:11 +08:00
Tienson Qin
f4f1ff1ba2
fix: outdent blocks and re-enable outliner tests
...
related to #5604
2022-06-08 13:06:10 +08:00
Gabriel Horner
47c4305f62
Temporarily disable outliner tests which are hanging
...
Hang started in 3fdac736d9
2022-06-07 14:01:07 -04:00
Gabriel Horner
b142327491
Finish up logseq.graph-parser
...
- Parser now parses all graph files like the app does, not just pages and journals.
This required extracting another fn from repo-handler
- Add and tweak CI steps that are specific to graph-parser. All
namespaces in this library are checked for nbb compatibility
- Cleaned up parser cli API so only one fn is needed for scripts
- Tests were updated to match new parsing behavior
- large_vars.clj can run with a smaller max-line-count after only refactoring two fns
- Add docs
2022-05-27 00:54:30 -04:00
Gabriel Horner
1e299052ce
Setup cljs tests for graph-parser
...
- Also reuse docs graph test assertions to ensure main app
and graph-parser are in sync.
- Removed promesa from extract tests
since they are no longer async
- Added cljs and npm deps that were missing and caught by cljs tests
2022-05-26 18:04:45 -04:00
Gabriel Horner
15b8e5e9df
Setup CI jobs that are only for graph-parser
...
Also move all non graph-parser fns to frontend thanks to carve lint
2022-05-26 18:04:45 -04:00
Gabriel Horner
4813d903d5
Move graph-parser to its own dir
2022-05-26 18:04:45 -04:00
Andelf
ce3fef7368
fix(android): use es6 as build target
2022-05-24 17:22:49 +08:00
Gabriel Horner
b79b1ca36e
Mldoc tests run under nbb
2022-05-10 20:22:48 -04:00
Gabriel Horner
461f7e067d
Forgot bb install in job
2022-05-04 12:02:36 -04:00
Gabriel Horner
c0e1e16372
Finish up CI job for requiring nbb-compatible namespaces
2022-05-04 12:02:36 -04:00
Gabriel Horner
d6082156c5
Find namespaces for nbb-compatible CI step
2022-05-04 12:02:36 -04:00
salevdns
41cbb036a0
Exclude pre-releases
...
Exclude pre-releases since no version tagging is applied atm.
2022-04-22 09:37:13 +08:00
salevdns
43417c68ed
Docker: Add support for arm64 image & autobuild
2022-04-22 09:37:13 +08:00
Andelf
115054736d
test(e2e): add test for backspace and cursor pos ( #4896 )
...
* test(e2e): add test for backspace and cursor pos
* fix(test): refine, fix wrong helper
2022-04-15 19:50:25 +08:00
Peng Xiao
3beb46261e
fix: lock file & ci check
2022-04-12 10:00:06 -04:00
Junyi Du
a97c37c2ad
test(e2e): fix missing event_ property of KeyboardEvent in Google Closure Library
2022-04-01 17:36:39 +08:00
Andelf
3215b99be4
fix(build): deps for macos arm64 build
2022-03-27 00:59:19 +08:00
Andelf
d74f75d1a1
fix(build): dugite arch under macOS arm64
...
Fix #4563
2022-03-25 01:11:35 +08:00
Andelf
3a5fe6b413
fix(ci): sourcemap of android
2022-03-24 14:43:50 +08:00
Andelf
7b040787e8
fix(build): sourcemap in release ( #4710 )
...
* fix(build): sourcemap in release
Fix #4613
2022-03-24 14:03:26 +08:00
Andelf
c3110117ed
ci(android): allow non-release build
2022-03-21 16:15:40 +08:00
Andelf
687f5b8c9c
fix(build): keep source map in app release
2022-03-19 19:58:43 +08:00
Andelf
a3b5f10d0b
fix(ci): add sentry sourcemaps
2022-03-19 19:11:36 +08:00
Gabriel Horner
9af9150a0a
Add CI check to make sure static yarn.lock is updated
2022-03-18 11:04:47 -04:00
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