tldraw/scripts
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
..
lib unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
vercel [Internal] Create build-docs.sh (#2569) 2024-01-21 14:47:17 +00:00
api-check.ts Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
build-api.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
build-package.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
check-scripts.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
clean.sh Fix yarn clean (#2620) 2024-01-24 16:36:24 +00:00
deploy.ts Introduce a Cloudflare health worker (#2499) 2024-01-29 09:47:50 +00:00
lint.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
package.json Update the project to Node 20 (#2691) 2024-01-31 16:53:40 +00:00
postpack.sh transfer-out: transfer out 2023-04-25 12:01:25 +01:00
prepack.ts avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
prune-preview-deploys.ts fix prune preview deployment script (#2698) 2024-01-31 16:37:51 +00:00
publish-canary.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
publish-manual.ts Fix publishing (#1338) 2023-05-09 13:25:56 +00:00
publish-new.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
purge-css.ts [tweak] dark mode colors (#2469) 2024-01-14 16:27:16 +00:00
refresh-assets.ts i18n: sort languages by name, not by locale code (#2625) 2024-01-25 11:26:33 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
typecheck.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00