5a15c49d63
There's been some confusion in the community as our example use a few `@internal` methods. These things are intended for use inside the tldraw library, but aren't a part of the public API. That means that when those examples are copied out of the tldraw repo, those `@internal` references produce errors. This diff bans the use of items tagged as `@internal` inside our examples app by adding an eslint plugin (adapted from the one we already have that protects against deprecated types) preventing them. ### Change Type - [x] `docs` — Changes to the documentation, examples, or templates. - [x] `bugfix` — Bug fix - [x] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. |
||
---|---|---|
.. | ||
lib | ||
vercel | ||
api-check.ts | ||
build-api.ts | ||
build-package.ts | ||
CHANGELOG.md | ||
check-scripts.ts | ||
check-tsconfigs.ts | ||
clean.sh | ||
deploy.ts | ||
license-report.ts | ||
lint.ts | ||
package.json | ||
postpack.sh | ||
prepack.ts | ||
prune-preview-deploys.ts | ||
publish-canary.ts | ||
publish-manual.ts | ||
publish-new.ts | ||
publish-patch.ts | ||
purge-css.ts | ||
refresh-assets.ts | ||
tsconfig.json | ||
typecheck.ts | ||
update-pr-template.ts |