Commit 6487f07
committed
chore: migrate to tsgo for type declarations, enable type-aware oxlint
- Replace tsc with tsgo in all package build commands (2x faster declaration emit)
- Install @typescript/native-preview (tsgo) and oxlint-tsgolint at workspace root
- Enable typeAware: true and typeCheck: true in root lint config, powered by tsgolint
- Add root tsconfig.json with project references to all 15 packages for unified type graph
- Add vite-env.d.ts to packages with CSS side-effect imports (react, ariakit, mantine, shadcn, xl-ai) and to all 91 example directories
- Remove baseUrl from shadcn and docs tsconfigs (removed in TypeScript 7/tsgo)
- Fix tsgo-caught type errors: wrong destructuring patterns in ariakit/shadcn/mantine components, implicit any in react vitestSetup, stream.ts Symbol.asyncIterator type, wrong import path for YjsThreadStore in docs
- Scope lint ignorePatterns to exclude examples, playground, tests, docs, fumadocs — cuts vp check from ~33s to ~16s by eliminating 91 per-example tsgolint invocations1 parent 0443605 commit 6487f07
302 files changed
Lines changed: 565 additions & 252 deletions
File tree
- docs
- app/demo/_components
- examples
- 01-basic
- 01-minimal
- src
- 02-block-objects
- src
- 03-multi-column
- src
- 04-default-blocks
- src
- 05-removing-default-blocks
- src
- 06-block-manipulation
- src
- 07-selection-blocks
- src
- 08-ariakit
- src
- 09-shadcn
- src
- 10-localization
- src
- 11-custom-placeholder
- src
- 12-multi-editor
- src
- 13-custom-paste-handler
- src
- 14-editor-scrollable
- src
- 15-shadowdom
- src
- 16-read-only-editor
- src
- 17-no-trailing-block
- src
- testing
- src
- 02-backend
- 01-file-uploading
- src
- 02-saving-loading
- src
- 03-s3
- src
- 04-rendering-static-documents
- src
- 03-ui-components
- 01-ui-elements-remove
- src
- 02-formatting-toolbar-buttons
- src
- 03-formatting-toolbar-block-type-items
- src
- 11-uppy-file-panel
- src
- 12-static-formatting-toolbar
- src
- 13-custom-ui
- src
- 14-experimental-mobile-formatting-toolbar
- src
- 15-advanced-tables
- src
- 16-link-toolbar-buttons
- src
- 17-advanced-tables-2
- src
- 18-drag-n-drop
- src
- 20-portal-elements
- src
- 04-theming
- 01-theming-dom-attributes
- src
- 02-changing-font
- src
- 03-theming-css
- src
- 04-theming-css-variables
- src
- 05-theming-css-variables-code
- src
- 06-code-block
- src
- 07-custom-code-block
- src
- 05-interoperability
- 01-converting-blocks-to-html
- src
- 02-converting-blocks-from-html
- src
- 03-converting-blocks-to-md
- src
- 04-converting-blocks-from-md
- src
- 05-converting-blocks-to-pdf
- src
- 06-converting-blocks-to-docx
- src
- 07-converting-blocks-to-odt
- src
- 08-converting-blocks-to-react-email
- src
- 09-blocks-to-html-static-render
- src
- 10-static-html-render
- src
- 06-custom-schema
- 01-alert-block
- src
- 03-font-style
- src
- 04-pdf-file-block
- src
- 05-alert-block-full-ux
- src
- 06-toggleable-blocks
- src
- 07-configuring-blocks
- src
- 08-non-editable-block
- src
- draggable-inline-content
- src
- react-custom-blocks
- src
- react-custom-inline-content
- src
- react-custom-styles
- src
- 07-collaboration
- 01-partykit
- src
- 02-liveblocks
- src
- 03-y-sweet
- src
- 04-electric-sql
- src
- 05-comments
- src
- 06-comments-with-sidebar
- src
- 07-ghost-writer
- src
- 08-forking
- src
- 09-comments-testing
- src
- 08-extensions/01-tiptap-arrow-conversion
- src
- 09-ai
- 01-minimal
- src
- 02-playground
- src
- 04-with-collaboration
- src
- 05-manual-execution
- src
- 06-client-side-transport
- src
- 07-server-persistence
- src
- vanilla-js
- react-vanilla-custom-blocks
- src
- react-vanilla-custom-inline-content
- src
- react-vanilla-custom-styles
- src
- packages
- ariakit
- src
- comments
- panel
- toolbar
- code-block
- core
- src
- api
- blockManipulation/selections
- clipboard/fromClipboard
- exporters/html/util
- blocks
- Audio
- Image
- Video
- editor
- managers/ExtensionManager
- extensions/TableHandles
- i18n/locales
- util
- yjs/extensions
- dev-scripts
- examples/template-react
- mantine
- src
- popover
- suggestionMenu/gridSuggestionMenu
- react
- src
- blocks/File
- components
- Comments
- FilePanel/DefaultTabs
- FormattingToolbar/DefaultButtons
- LinkToolbar
- DefaultButtons
- SideMenu/DefaultButtons
- SuggestionMenu/hooks
- editor
- hooks
- server-util
- shadcn
- src
- comments
- form
- panel
- popover
- xl-ai-server
- src/routes
- xl-ai
- src
- api
- formats
- base-tools
- html-blocks
- tools
- json/tools
- markdown-blocks/tools
- promptHelpers
- schema
- components/AIMenu
- prosemirror
- streamTool/vercelAiSdk
- clientside
- util
- util
- xl-docx-exporter
- xl-email-exporter
- xl-multi-column
- src/test/conversions
- xl-odt-exporter
- src/odt
- xl-pdf-exporter
- playground
- src
- tests
- src
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments