mesqueeb / case-anything

camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)
https://github.com/sponsors/mesqueeb
MIT License
99 stars 3 forks source link

Added Train-Case feature #14

Closed thim81 closed 2 years ago

thim81 commented 2 years ago

fixes #10

thim81 commented 2 years ago

@mesqueeb I was not able to "build" it, so I could not test the code change.

I kept running into 98 errors like: /Users/Haselaars/Sites/case-anything/src/index.js 2:23 error Cannot determine side-effects of calling LogicalExpression tree-shaking/no-side-effects-in-initialization 9:1 error Cannot determine side-effects of mutating global variable tree-shaking/no-side-effects-in-initialization 9:1 error 'exports' is not defined

mesqueeb commented 2 years ago

@thim81 thanks for the PR!

you should be able to run the tests without having to execute npm run build, so just try npm run test. it uses the source code without relying on the built folder ;)

did your tests pass?

mesqueeb commented 2 years ago

trouwens, ik weet niet 100% zeker of jij van Vlaanderen bent, maar ik ben oorspronkelijk van Antwerpen. : P Ik ga nu net naar bed, ik zal't morgen releasen!

thim81 commented 2 years ago

ik ben ook van Vlaanderen, Limburg :-) Kleine wereld, om samen te werken op Github

thim81 commented 2 years ago

en dankzij je tip heb ik de test kunnen runnen.

2021-12-29 at 16 44 34@2x