Skip to content

feat(package): export the problem helpers as their own entry - #15

Merged
TheMeinerLP merged 1 commit into
mainfrom
feat/problem-entry
Nov 25, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
feat/problem-entry

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Contributor

Summary

Services that only need the RFC 9457 error helpers (API clients and their unit tests) no longer have to import the
plain-Vue entry, which pulls in every component. The helpers are now available as @onelitefeathernet/pavo/problem.

import { toClientError } from '@onelitefeathernet/pavo/problem'

The new entry loads in plain Node without Vue or Nuxt. A test checks that every export pointing into dist/runtime
has a matching source file under src/runtime, so a typo in the exports map fails the build.

The README documents the new entry in the plain-Vue section.

Consumers that only need the RFC 9457 error helpers no longer have to
import the plain-Vue entry, which pulls in every component. The new
@onelitefeathernet/pavo/problem export loads in plain Node without Vue.

A test checks that every export pointing into dist/runtime has a source
file under src/runtime, so typos in the exports map fail in CI.
@TheMeinerLP
TheMeinerLP merged commit 907b5a0 into main Nov 25, 2026
4 checks passed
@TheMeinerLP
TheMeinerLP deleted the feat/problem-entry branch November 25, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant