Commit graph

23 commits

Author SHA1 Message Date
Tilman Vatteroth
cb5f34aa9a chore: fix yjs patch
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-04-26 20:28:12 +02:00
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
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]
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
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
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]
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
7320fe2ac1 feat(packages): add commons package
This is an import of 166ca8da12
with some changes to make it fit into the mono repo.
- TypedEventEmitter has been replaced with EventEmitter2 because EventEmitter2 is faster and TypedEventEmitter had some troubles with the new way of compiling.
- tsc-esm has been replaced with microbundle. The problems that lib0 doesn't export its types correctly has been solved using yarn patch.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00
renovate[bot]
1928cd8639 chore(deps): update yarn to v3.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-01 23:51:51 +01:00
renovate[bot]
04f06ea938 chore(deps): update yarn to v3.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 08:47:43 +00:00
renovate[bot]
bb2d26b46e chore(deps): update yarn to v3.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 14:48:01 +00:00
Philip Molares
d06852b008 fix(reuse): move license info for yarn into dep5 file
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-07-30 23:26:06 +02:00
renovate[bot]
c068984fc3 chore(deps): update yarn to v3.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-30 23:26:06 +02:00
Renovate Bot
891336468a chore(deps): update yarn to v3.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2022-05-22 17:41:07 +02:00
David Mehren
4f40366e91 build: add workspace-tools yarn plugin
This is needed to install production-only dependencies
in Docker containers.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-07 13:55:07 +01:00
Renovate Bot
72ef02608b chore(deps): update yarn to v3.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2022-02-26 14:07:23 +01:00
Renovate Bot
ecc78b8946
chore(deps): update yarn to v3.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-04 13:06:20 +00:00
David Mehren
0d7bf93659
Update to Yarn 3.1.0 for Node 17 compatibility
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 19:53:30 +01:00
David Mehren
241164261e
Add REUSE license info for Yarn 2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:22:47 +02:00
David Mehren
921500efe9
Add yarn typescript plugin
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:07:06 +02:00
David Mehren
75563a0343
Add yarn interactive-tools plugin
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:06:39 +02:00
David Mehren
485ca2f043
Install & configure Yarn 2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:04:08 +02:00