Skip to content
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

Convertor from BT3 to BT4 #25554

Closed
landsman opened this issue Feb 5, 2018 · 4 comments
Closed

Convertor from BT3 to BT4 #25554

landsman opened this issue Feb 5, 2018 · 4 comments

Comments

@landsman
Copy link

landsman commented Feb 5, 2018

Hello,

i am thinking about create some convertor from BT3 to BT4 for my frontend projects.
This convertor could search and replace strings in files of type:.scss, .css, .html.twig. ...

Important is for me some changelog in readable format (js object / yaml / ...).
Here is my quick draft: https://gist.github.com/landsman/526d88db01cf5ec50fad257fe2d44574

Final convertor can be wrapped in npm module.
What you think about? Manually refactoring is annoying 😞

Something like 😍 Rector could be pretty to future!

@mdo
Copy link
Member

mdo commented Feb 5, 2018

Sounds neat! Unfortunately I'm going to have to close your issue though since it isn't a feature request or bug report. Feel free to share and gather feedback in our Slack!

@mdo mdo closed this as completed Feb 5, 2018
@landsman
Copy link
Author

landsman commented Feb 5, 2018

@mdo OK, thanks. Is there some change log as I said? Do you have some ideas about it?

@wolfy1339
Copy link
Contributor

check the docs, there's a migration section that starts from the Alphas and goes all the way to the stable release, change for change

@Herst
Copy link
Contributor

Herst commented Feb 10, 2018

I am not sure such a converter is feasible (for all cases). What you could do though is a detector of references to BS3 classes and such. That was also the idea in my Bootlint fork (at least for CSS classes): twbs/bootlint#410

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

No branches or pull requests

4 participants