Open EmmaRamirez opened 7 years ago
yeah there tons of opened issue and pull request and no answer? Please @bgrins let people know if you can't currently look into this? At least we know what to do for project where this was implemented... Thanks again!
I needed proper tree shaking and other breaking changes. Merged in a bunch of the useful open PR's and added a more functional random. Summary of changes at the top. Published as a scoped package
Sorry for not responding - I've had really limited availability lately so haven't had time to keep up. I'd be happy to have help maintaining the project if anyone is willing.
@scttcper - do you have a list of which PRs / changes you've made?
@scttcper - do you have a list of which PRs / changes you've made?
Nevermind - I see the list at https://github.com/TypeCtrl/tinycolor#changes-from-tinycolor2. Are you interested in porting these back?
Looking at the list I guess the biggest change is the language change to typescript. That was in order to get tree shaking?
Also, I'd prefer to still keep a home page at http://bgrins.github.io/TinyColor/ beyond just docs (as in https://typectrl.github.io/tinycolor/). Those docs look nice but maybe they could get built into a subdirectory like http://bgrins.github.io/TinyColor/docs/ or similar?
@bgrins thanks for checking it out. I am interested for sure. Chose typescript because its what I like to work with and it is what creates those API docs. People show up asking for types eventually or they make their own like @types/tinycolor2
The tree shaking comes from exporting a "main" and a "module" in the package.json. more info So there's a build step to create them both (on top of putting the typescript into js).
I'd also prefer to keep the home page the same as its what brought me to this project. Maybe give me a day or two, that structure makes sense.
Its back to the og demo https://typectrl.github.io/tinycolor/ and the "typedoc" generated api docs are at /docs
Its back to the og demo https://typectrl.github.io/tinycolor/ and the "typedoc" generated api docs are at /docs
OK, great! I haven't been able to look through all the changes but from initial review it seems pretty similar to the current source. If the test coverage is basically the same I'd be pretty happy with getting it landed and doing a major version bump for the API changes. Can you send a PR with your changes?
I noticed that this project hasn't been updated in over six months, and I was wondering if perhaps this project wasn't being actively maintained anymore?
(Sorry to intrude, I just saw some PRs that would be integral to my usage of TinyColor that haven't been accepted in several months).