Commit graph

761 commits

Author SHA1 Message Date
Tilman Vatteroth
54ee492411 fix: suppress yjs double import warning
This warning should indicate that you mix cjs and mjs imports.
While this is a nice feature it has a weird side effect:
Jest triggers this check and floods the console every time a test imports yjs.
This happens between all test suites and every time you call jest.resetModules().
Nothing breaks here. Jest does what it should.
Therefore this commit suppresses this warning in test mode.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-13 10:38:20 +02:00
renovate[bot]
2d06eab04f chore(deps): update dependency @codemirror/autocomplete to v6.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 09:23:22 +02:00
renovate[bot]
1279e875b6 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 08:58:27 +02:00
renovate[bot]
ffba7d8446 chore(deps): update dependency turbo to v1.9.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 08:45:09 +02:00
renovate[bot]
d62bc24420 chore(deps): update dependency @types/react to v18.0.35
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-12 13:41:31 +02:00
renovate[bot]
731bf9fad6 chore(deps): update dependency turbo to v1.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-11 21:16:03 +02:00
renovate[bot]
c44ab7dc6c chore(deps): update dependency @codemirror/view to v6.9.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-11 19:06:44 +02:00
renovate[bot]
4472a3140b chore(deps): update dependency @types/react to v18.0.34
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-10 17:57:33 +00:00
renovate[bot]
31e7e3bfe5 chore(deps): update dependency dotenv-cli to v7.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-06 09:36:06 +02:00
renovate[bot]
3b2ded6e46 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-04 17:31:53 +02:00
renovate[bot]
b3f496fc50 chore(deps): update dependency @types/react to v18.0.32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-02 12:40:32 +00:00
renovate[bot]
78575377ae chore(deps): update dependency turbo to v1.8.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-30 04:54:30 +00:00
renovate[bot]
6cc288a2ea chore(deps): update dependency turbo to v1.8.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 21:21:09 +02:00
renovate[bot]
2f1c6d3033 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 02:25:00 +02:00
renovate[bot]
2428b50b74 chore(deps): update dependency @codemirror/language-data to v6.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 11:35:01 +02:00
renovate[bot]
985dfbdfde chore(deps): update dependency turbo to v1.8.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 02:44:27 +00:00
renovate[bot]
a135f1379b chore(deps): update dependency @types/react to v18.0.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 22:08:24 +02:00
renovate[bot]
9ed4e1ef08 chore(deps): update dependency @types/react to v18.0.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 18:23:44 +01:00
Tilman Vatteroth
3a06f84af1 refactor: reimplement realtime-communication
This commit refactors a lot of things that are not easy to separate.
It replaces the binary protocol of y-protocols with json.
It introduces event based message processing.
It implements our own code mirror plugins for synchronisation of content and remote cursors

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:06:03 +01:00
renovate[bot]
8c694baeb4 chore(deps): update dependency @codemirror/view to v6.9.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:44:44 +01:00
renovate[bot]
16cabc60c6 chore(deps): update dependency turbo to v1.8.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:21:22 +01:00
renovate[bot]
65ce5005c4 chore(deps): update dependency turbo to v1.8.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-20 20:55:32 +00:00
renovate[bot]
173406215c chore(deps): update yarn to v3.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:01:42 +01:00
renovate[bot]
5f87680bf0 chore(deps): update dependency dotenv-cli to v7.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:50:54 +01:00
renovate[bot]
9c875843fa chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 09:01:15 +01:00
Tilman Vatteroth
9ba4edce2a fix(turbo): add npm task for test:ci
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-08 17:43:45 +01:00
renovate[bot]
0af0180981 chore(deps): update dependency @codemirror/lint to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:47:21 +01:00
renovate[bot]
7d8c9a2dc0 chore(deps): update dependency turbo to v1.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 12:00:24 +01:00
renovate[bot]
0a389cb63f chore(deps): update dependency turbo to v1.8.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:48:21 +01:00
renovate[bot]
ae68fd879c chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:06:52 +01:00
renovate[bot]
b8073841e2 chore(deps): update dependency turbo to v1.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:03:30 +01:00
renovate[bot]
40ddf2a7c6 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 16:09:12 +01:00
Tilman Vatteroth
9ff9c2de27 deps: add dotenv to read env files
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-13 18:06:17 +01:00
renovate[bot]
3e8756ed54 chore(deps): update dependency @types/react to v18.0.28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 19:44:05 +00:00
renovate[bot]
18c458a759 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:12:07 +01:00
renovate[bot]
ced66117e9 chore(deps): update dependency turbo to v1.7.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:05:12 +01:00
Tilman Vatteroth
caa53e3556 feat: add patch to add generic types to eventemitter2
EventEmitter2 has types, but they're very basic and not very type safe.
I created this patch, because my improved types haven't been merged into the official package.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 21:58:41 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
renovate[bot]
f8be64cfba chore(deps): update yarn to v3.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:06 +01:00
Philip Molares
527881ea16 refactor(patches): remove unnecessary patches for lib0
These patches are now included in the library itself.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-01-22 20:42:46 +01:00
renovate[bot]
eb04cdee83 chore(deps): update dependency @codemirror/commands to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 13:19:11 +01:00
renovate[bot]
6f88272fb1 chore(deps): update dependency @types/react to v18.0.27
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-21 23:05:36 +01:00
renovate[bot]
aa59f57856 chore(deps): update dependency @codemirror/language to v6.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 18:35:22 +01:00
renovate[bot]
e39cf83377 chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 07:05:57 +00:00
renovate[bot]
af5c60729a chore(deps): update dependency @codemirror/view to v6.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 09:58:09 +00:00
renovate[bot]
6eb6b6a25f chore(deps): update dependency @codemirror/state to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:30:40 +01:00
Tilman Vatteroth
fe42c3b8b0 fix(frontend): add explicit resolutions for all codemirror packages to prevent conflicts with semver
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-28 19:30:40 +01:00
renovate[bot]
43f69da085 chore(deps): update yarn to v3.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 12:10:51 +00:00
Tilman Vatteroth
dfa770cfbb chore: Add resolution for codemirror/autocompletion
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-18 21:31:20 +01:00
renovate[bot]
5b19ae1b9a chore(deps): update codemirror
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:21:29 +01:00