Skip to content

Refactor to typescript #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 18, 2022
Merged

Refactor to typescript #92

merged 8 commits into from
Nov 18, 2022

Conversation

p-kuen
Copy link
Collaborator

@p-kuen p-kuen commented Sep 18, 2022

This refactors the package to use typescript to generate output types.
It also increases the minimal node version to 14.0 (supported until 2023-04-30) and removes the bower.json and component.json files.
The API is fully compatible with the old one except the following:

  • inflection.version does not exist anymore
  • inflection.inflect does not support count as string anymore, it throws an error instead

BREAKING CHANGE: increase node minimal version to 14.0
BREAKING CHANGE: inflect does not parse strings as count anymore - it throws an error instead
BREAKING CHANGE: remove inflection.version variable
also add .prettierrc for correct formatting rules
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