v1.0.7
Release notes and the changes made by @talatkuyuk
- updated the dependencies and fixed the type issues
- refactored the
.npmrcfile - refactored the
package.jsonand thetsconfig.json - updated the
README.mdhaving at least node version 16+ - fixed "Cannot find module" error in
ts-jesttest environment by addingmoduleResolution - added a
callback functionfor thetitleoption (breaking change !!!)
Before, thetitleoption wasnull | undefined. If you wanted not to add atitlenode, the option wastitle: null.
Now, thetitleoption is a callback function(type?: string, title?: string) => string | null | undefined. If you want not to add atitlenode, the option istitle: () => null. With that callback function, you are able to change the titles according to your logic. - added
callback functionoption for the TagName and ClassName options in addition tostringoption
It will also provides you to define dynamic tag names and class names. - added the test files covering the new options