tldraw/scripts/lib
alex 5a15c49d63
ban using @internal items in examples (#3746)
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.
2024-05-14 08:49:28 +00:00
..
add-extensions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
didAnyPackageChange.ts Fix patch release script (#3597) 2024-04-24 15:52:57 +00:00
eslint-plugin.ts ban using @internal items in examples (#3746) 2024-05-14 08:49:28 +00:00
exec.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
file.ts allow changes 2024-02-29 18:09:30 +00:00
labels.ts [DX] PR labels revamp (#3112) 2024-03-12 14:53:57 +00:00
makeEnv.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
nicelog.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
publishing.ts increase publish script timeouts (#3570) 2024-04-23 13:31:27 +00:00
sort-unions.ts New migrations again (#3220) 2024-04-15 12:53:42 +00:00
workspace.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00