Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Seperate out the key interfaces/data into a seperate @kangojs/common package #22

Open
ben-ryder opened this issue Aug 1, 2022 · 0 comments
Assignees
Labels
improvement Improve an existing feature

Comments

@ben-ryder
Copy link
Owner

ben-ryder commented Aug 1, 2022

Package: kangojs/common

Describe your improvement
Separate out common interfaces/data into a common package:

  • Error identifiers
  • HTTP status codes

Is your suggestion related to any problems?
A front end package requiring the error identifiers shouldn't need to pull in the entire core package, even if the client will sort tree shaking itself.

Right now a client also need to install express & cookie-parser types to which it shouldn't need

Additional context
n/a

@ben-ryder ben-ryder added the improvement Improve an existing feature label Aug 1, 2022
@ben-ryder ben-ryder self-assigned this Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement Improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant