markprompt / markprompt-js

JavaScript SDK for Markprompt
https://markprompt.com
MIT License
54 stars 10 forks source link

Add Biome #426

Closed nickrttn closed 2 months ago

nickrttn commented 2 months ago

Add Biome and run it in CI. No linting or formatting enabled yet, but this allows for a gradual migration.

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 7e26b3482f3743d6bff61a6f85ff5a8d4d6b160b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ----------------------------------- | ----- | | @markprompt/css | Patch | | @markprompt/docusaurus-theme-search | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 2 months ago

Size Change: -38 B (-0.01%)

Total Size: 389 kB

Filename Size Change
./packages/css/markprompt.css 10 kB -38 B (-0.38%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./packages/core/dist/chat/index.js` | 1.83 kB | | `./packages/core/dist/chat/types.js` | 303 B | | `./packages/core/dist/chat/utils.js` | 1.07 kB | | `./packages/core/dist/constants.js` | 132 B | | `./packages/core/dist/docsearch.js` | 68 B | | `./packages/core/dist/feedback.js` | 852 B | | `./packages/core/dist/search.js` | 1.02 kB | | `./packages/core/dist/types.js` | 64 B | | `./packages/core/dist/utils.js` | 357 B | | `./packages/docusaurus-theme-search/dist/index.js` | 290 B | | `./packages/docusaurus-theme-search/dist/theme/SearchBar/index.js` | 753 B | | `./packages/react/dist/chat/Answer.js` | 467 B | | `./packages/react/dist/chat/AssistantMessage.js` | 1.15 kB | | `./packages/react/dist/chat/ChatView.js` | 1.06 kB | | `./packages/react/dist/chat/ChatView.test.js` | 4.63 kB | | `./packages/react/dist/chat/ChatViewForm.js` | 1.31 kB | | `./packages/react/dist/chat/DefaultToolCallsConfirmation.js` | 1.26 kB | | `./packages/react/dist/chat/DefaultView.js` | 660 B | | `./packages/react/dist/chat/MessageAnswer.js` | 419 B | | `./packages/react/dist/chat/MessagePrompt.js` | 389 B | | `./packages/react/dist/chat/Messages.js` | 1.77 kB | | `./packages/react/dist/chat/References.js` | 923 B | | `./packages/react/dist/chat/RegenerateButton.js` | 470 B | | `./packages/react/dist/chat/store.js` | 4.06 kB | | `./packages/react/dist/chat/ThreadSelect.js` | 637 B | | `./packages/react/dist/chat/ThreadSidebar.js` | 645 B | | `./packages/react/dist/chat/utils.js` | 677 B | | `./packages/react/dist/constants.js` | 2.87 kB | | `./packages/react/dist/constants.test.js` | 1.27 kB | | `./packages/react/dist/CreateTicketView.js` | 3 kB | | `./packages/react/dist/feedback/csat-picker.js` | 1.56 kB | | `./packages/react/dist/feedback/Feedback.js` | 892 B | | `./packages/react/dist/feedback/Feedback.test.js` | 645 B | | `./packages/react/dist/feedback/useFeedback.js` | 634 B | | `./packages/react/dist/feedback/useFeedback.test.js` | 956 B | | `./packages/react/dist/icons.js` | 4.18 kB | | `./packages/react/dist/icons.test.js` | 500 B | | `./packages/react/dist/index.js` | 370 B | | `./packages/react/dist/Markprompt.js` | 3.32 kB | | `./packages/react/dist/Markprompt.test.js` | 1.35 kB | | `./packages/react/dist/Menu.js` | 1.11 kB | | `./packages/react/dist/primitives/branding.js` | 3.31 kB | | `./packages/react/dist/primitives/branding.test.js` | 618 B | | `./packages/react/dist/primitives/ConditionalWrap.js` | 274 B | | `./packages/react/dist/primitives/ConditionalWrap.test.js` | 507 B | | `./packages/react/dist/primitives/headless.js` | 3.64 kB | | `./packages/react/dist/primitives/headless.test.js` | 1.55 kB | | `./packages/react/dist/primitives/Select.js` | 747 B | | `./packages/react/dist/search/SearchBoxTrigger.js` | 614 B | | `./packages/react/dist/search/SearchResult.js` | 1.07 kB | | `./packages/react/dist/search/SearchView.js` | 3.34 kB | | `./packages/react/dist/search/SearchView.test.js` | 2.08 kB | | `./packages/react/dist/search/useSearch.js` | 1.1 kB | | `./packages/react/dist/search/useSearch.test.js` | 1.19 kB | | `./packages/react/dist/store.js` | 1.89 kB | | `./packages/react/dist/TicketDeflectionForm.js` | 1.89 kB | | `./packages/react/dist/types.js` | 64 B | | `./packages/react/dist/ui/navigation-menu.js` | 605 B | | `./packages/react/dist/ui/rich-text.js` | 244 B | | `./packages/react/dist/ui/utils.js` | 153 B | | `./packages/react/dist/useAbortController.js` | 217 B | | `./packages/react/dist/useDefaults.js` | 377 B | | `./packages/react/dist/useDefaults.test.js` | 476 B | | `./packages/react/dist/useMediaQuery.js` | 313 B | | `./packages/react/dist/utils.js` | 1.17 kB | | `./packages/react/dist/utils.test.js` | 645 B | | `./packages/web/dist/index.js` | 151 kB | | `./packages/web/dist/init.js` | 151 kB |

compressed-size-action