markprompt / markprompt-js

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

Update monorepo linting and TS config #383

Closed nickrttn closed 5 months ago

nickrttn commented 5 months ago
changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: bd0aba38471edf67771a741a66aa758bda418d4b

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

This PR includes changesets to release 5 packages | Name | Type | | ----------------------------------- | ----- | | @markprompt/docusaurus-theme-search | Patch | | @markprompt/react | Patch | | @markprompt/core | Patch | | @markprompt/css | Patch | | @markprompt/web | 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 5 months ago

Size Change: -10.5 kB (-2.78%)

Total Size: 367 kB

Filename Size Change
./packages/react/dist/chat/Answer.js 467 B -2 B (-0.43%)
./packages/react/dist/CreateTicketView.js 2.87 kB -2 B (-0.07%)
./packages/react/dist/feedback/useFeedback.js 592 B -2 B (-0.34%)
./packages/react/dist/primitives/Select.js 747 B -3 B (-0.4%)
./packages/react/dist/search/useSearch.js 1.09 kB +10 B (+0.92%)
./packages/web/dist/index.js 149 kB -5.23 kB (-3.39%)
./packages/web/dist/init.js 149 kB -5.28 kB (-3.42%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./packages/core/dist/chat.js` | 2.04 kB | | `./packages/core/dist/docsearch.js` | 68 B | | `./packages/core/dist/feedback.js` | 797 B | | `./packages/core/dist/index.js` | 380 B | | `./packages/core/dist/search.js` | 1 kB | | `./packages/core/dist/types.js` | 276 B | | `./packages/core/dist/utils.js` | 850 B | | `./packages/css/markprompt.css` | 10 kB | | `./packages/docusaurus-theme-search/dist/index.js` | 290 B | | `./packages/docusaurus-theme-search/dist/theme/SearchBar/index.js` | 753 B | | `./packages/react/dist/chat/AssistantMessage.js` | 1.14 kB | | `./packages/react/dist/chat/ChatView.js` | 1.08 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.44 kB | | `./packages/react/dist/chat/References.js` | 877 B | | `./packages/react/dist/chat/RegenerateButton.js` | 470 B | | `./packages/react/dist/chat/store.js` | 4.03 kB | | `./packages/react/dist/chat/ThreadSelect.js` | 637 B | | `./packages/react/dist/chat/ThreadSidebar.js` | 645 B | | `./packages/react/dist/chat/utils.js` | 673 B | | `./packages/react/dist/constants.js` | 2.57 kB | | `./packages/react/dist/feedback/csat-picker.js` | 863 B | | `./packages/react/dist/feedback/Feedback.js` | 892 B | | `./packages/react/dist/icons.js` | 4.18 kB | | `./packages/react/dist/index.js` | 370 B | | `./packages/react/dist/Markprompt.js` | 3.24 kB | | `./packages/react/dist/Menu.js` | 1.11 kB | | `./packages/react/dist/primitives/branding.js` | 3.31 kB | | `./packages/react/dist/primitives/ConditionalWrap.js` | 274 B | | `./packages/react/dist/primitives/headless.js` | 3.63 kB | | `./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/store.js` | 1.66 kB | | `./packages/react/dist/TicketDeflectionForm.js` | 1.75 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/useMediaQuery.js` | 313 B | | `./packages/react/dist/utils.js` | 1.17 kB |

compressed-size-action

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 78.87324% with 15 lines in your changes missing coverage. Please review.

Project coverage is 83.49%. Comparing base (be12644) to head (bd0aba3).

Files Patch % Lines
packages/react/src/feedback/useFeedback.ts 55.00% 9 Missing :warning:
packages/web/scripts/config.js 0.00% 3 Missing and 1 partial :warning:
packages/web/scripts/tsc-plugin.js 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #383 +/- ## ======================================= Coverage 83.48% 83.49% ======================================= Files 59 59 Lines 9878 9879 +1 Branches 712 715 +3 ======================================= + Hits 8247 8248 +1 Misses 1618 1618 Partials 13 13 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.