This contains a whole bunch of updates, but no functional changes. The churn in the overall diff is big because of reformatting and moving files being part of it, but I tried to break it into individual commits which are easier to review.
The overall aim was to upgrade this to align with y-webxdc where possible in the names of scripts, tools used, configuration, etc. This produces an application, not a library, so there are some differences, but
it's still nice to use the same approach in multiple places. It also helped validate recent y-webxdc changes, which brings me to one thing that still makes this thing WIP: it's depending on an unreleased version of y-webxdc (and in fact required a tweak to y-webxdc to make this possible). A y-webxdc release is required to unblock this PR.
Summary of changes:
-
uses typescript now with strict type checks. Uses the
y-webxdc types,@types/webxdctoo -
consistent build scripts with those in y-webxdc
-
upgrade to vite 8
-
clean out some old document comments carried over from prosemirror example
-
applied standard prettier (like in y-webxdc)
-
upgraded eslint and configured it for ts too