yjs / y-prosemirror

ProseMirror editor binding for Yjs
https://demos.yjs.dev/prosemirror/prosemirror.html
MIT License
344 stars 119 forks source link

Exclude the tests from packaging for npm #90

Closed ankon closed 2 years ago

ankon commented 2 years ago

These files are big, and completely unneeded when using y-prosemirror.

dmonad commented 2 years ago

Makes sense. Thank you!

I'm not sure if the exclusion pattern works here. But let's try. Otherwise, we will find another solution.

ankon commented 2 years ago

FWIW: We're using this in our own fork, so here's the npm info for both of them:

$ npm info @collaborne/y-prosemirror

@collaborne/y-prosemirror@1.2.0 | MIT | deps: 1 | versions: 18
Prosemirror bindings for Yjs
https://github.com/yjs/y-prosemirror#readme

keywords: Yjs

dist
.tarball: https://registry.npmjs.org/@collaborne/y-prosemirror/-/y-prosemirror-1.2.0.tgz
.shasum: 7f8bba55ae99e1e0669e16492c991b68f9c709f7
.integrity: sha512-XEyUy9HTLJhUyHByUpi/Qxsy5mUdLiFI8E03qTfsZd7t2zwSPVVvjIJUzAP4n0X5NXHe8PzApg7uQ0hMnCmTsQ==
.unpackedSize: 212.0 kB

dependencies:
lib0: ^0.2.34 

maintainers:
- eacet <erhan.acet@nextapp.co>
- dmitriy_kulbakov <dmitriy.kulbakov@nextapp.co>
- idrissmahjoubi <idriss.mahjoubi@nextapp.co>
- sudhons <sudhons@gmail.com>
- ronnyroeller <ronny.roeller@collaborne.com>
- ankon <andreas.kohn@gmail.com>
- collaborne-team <npm@collaborne.com>

dist-tags:
ankon: 1.1.0-ankon.0                 latest: 1.2.0                        master: 1.2.0-master.20220301095437  

published a week ago by collaborne-team <npm@collaborne.com>
$ npm info y-prosemirror

y-prosemirror@1.0.15 | MIT | deps: 1 | versions: 49
Prosemirror bindings for Yjs
https://github.com/yjs/y-prosemirror#readme

keywords: Yjs

dist
.tarball: https://registry.npmjs.org/y-prosemirror/-/y-prosemirror-1.0.15.tgz
.shasum: 843c3d2dd77ee516b01d3bd53c2fe5be924ed585
.integrity: sha512-FtKVHDsEyFMi2xqKnS4JG5dx57Fd+V80tvmYJLue9WR7Onc8i+xqoVrRfXnnfKRl9qW6Rr7l/uXxgen1AnO79g==
.unpackedSize: 4.0 MB

dependencies:
lib0: ^0.2.42 

maintainers:
- dmonad <kevin.jahns@protonmail.com>

dist-tags:
latest: 1.0.15  

published 3 weeks ago by dmonad <kevin.jahns@protonmail.com>