Tldraw/.github
alex 822a54040c
Detect multiple installed versions of tldraw packages (#4398)
There are two semi-common failure modes around people using tldraw:
1. They upgrade 1 tldraw package, but not the other, resulting in having
multiple versions of the same package running at once
2. Their bundler is misconfigured, and pulls in both the commonjs and
esmodule versions of their packages.

This diff detects those cases and adds a warning message explaining the
situation.

As part of this, I added another check on packages in the same vein as
check-scripts and check-packages. Rather than add another script and
step on github, I merged the three of them into one file.

### Change type
- [x] `api`

### Release notes

- We detect when there are multiple versions of tldraw installed and let
you know, as this can cause bugs in your application
2024-08-21 09:01:56 +00:00
..
ISSUE_TEMPLATE Add make real as an option. (#4244) 2024-07-22 14:14:35 +00:00
actions/setup Update the project to Node 20 (#2691) 2024-01-31 16:53:40 +00:00
workflows Detect multiple installed versions of tldraw packages (#4398) 2024-08-21 09:01:56 +00:00
pull_request_template.md followups to z-index and PR template (#4054) 2024-07-09 09:22:43 +00:00