Tldraw/packages/tlschema/src/shapes
Dan Groshev 86cce6d161
Unbiome (#2776)
Biome as it is now didn't work out for us 😢 

Summary for posterity:

* it IS much, much faster, fast enough to skip any sort of caching
* we couldn't fully replace Prettier just yet. We use Prettier
programmatically to format code in docs, and Biome's JS interface is
officially alpha and [had legacy peer deps
set](https://github.com/biomejs/biome/pull/1756) (which would fail our
CI build as we don't allow installation warnings)
* ternary formatting differs from Prettier, leading to a large diff
https://github.com/biomejs/biome/issues/1661
* import sorting differs from Prettier's
`prettier-plugin-organize-imports`, making the diff even bigger
* the deal breaker is a multi-second delay on saving large files (for us
it's
[Editor.ts](https://github.com/tldraw/tldraw/blob/main/packages/editor/src/lib/editor/Editor.ts))
in VSCode when import sorting is enabled. There is a seemingly relevant
Biome issue where I posted a small summary of our findings:
https://github.com/biomejs/biome/issues/1569#issuecomment-1930411623

Further actions:

* reevaluate in a few months as Biome matures

### Change Type

- [x] `internal` — Any other changes that don't affect the published
package
2024-02-07 16:02:22 +00:00
..
TLArrowShape.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
TLBaseShape.ts Add docs (#2470) 2024-01-15 12:33:15 +00:00
TLBookmarkShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLDrawShape.ts [tech debt] Primitives renaming party / cleanup (#2396) 2024-01-03 12:13:15 +00:00
TLEmbedShape.ts [fix] embeds switching / tldraw embed (#1792) 2023-08-03 14:55:46 +00:00
TLFrameShape.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
TLGeoShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLGroupShape.ts mini `defineShape` API (#1563) 2023-06-12 14:04:14 +00:00
TLHighlightShape.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
TLImageShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLLineShape.ts Fix arrow handle snapping, snapping to text labels, selection of text labels (#1910) 2023-09-18 14:59:27 +00:00
TLNoteShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLTextShape.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
TLVideoShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00