pshrmn / curi

A JavaScript router for single-page applications
https://curi.js.org
MIT License
269 stars 10 forks source link

Move common types to @curi/types #181

Closed pshrmn closed 5 years ago

pshrmn commented 5 years ago

This PR moves the majority of the types from @curi/router to @curi/types. This results in a number of packages that currently have a dependency on @curi/router now only having a dependency on @curi/types, which means that they no longer need version bumps for non-type changes in @curi/router.

This PR also gives some of the types better names.

Finally, some of the files in @curi/router have been re-organized. Helper modules that are only imported by one other module have been merged into that module (modules imported by create_router are kept separate).