docsifyjs/docsify-cli

[Proposal] Automate build and releases

raulfdm opened this issue · 5 comments

Hello guys.

After the problem reported here (#78), I took a look on the project and I notice the bin it's the code you maintain.

Maybe a final solution for this would be automate this process by using a tool like rollup with a very basic setup.

What do you think about it?

I have experience with this kind of infrastructure, if you want I can open a PR with a proposal.

Great!!
If you are confident with rollup, then go for it else I am experienced with webpack so I would lean more towards webpack. But anyway I guess it won't be much of a difference.
Also, don't put everything in one PR, you can do with each step-wise, like first just the setup and then
changes in the advance level etc....
I guess you can wait until the tests are set up properly it will be easy to pick the breakup if any

@jamesgeorge007 what do you think?

Usually I use webpack when I'm working with React, storybook or something which I need to combine HTML + JS.

For pure JS libs I'm seeing a lot of people using rollup because it's WAY simpler. But indeed, It's pretty much the same.

My question is only about how the deployment process will be.

Maybe I can I also came up with an auto-release process via semantic-release since you guys are already using conventional commit messages.

Maybe I can I also came up with an auto-release process via semantic-release since you guys are already using conventional commit messages.

yup we are using semantic-release. I guess you added that already in the release.