Giter VIP home page Giter VIP logo

Comments (8)

stefanjudis avatar stefanjudis commented on July 18, 2024

Hey @saalmaan,

yeah for sure. :)

Actually this is on my long term todo list, but I haven't had time to remove all the grunt deps.

I think the perfect way would be to open an new repo (maybe phantomas-ui or something) and remove all the grunt deps there and then port it to gulp, broccoli, grunt, ... if needed.

Also grunt-phantomas is doing way too much stuff, so I'd go with two different tasks. Something like buildSystemXX-phantomas and buildSystemXX-phantomas-ui. But this is a long long term plan. :)

Removing deps shouldn't take that long (test coverage is really high, what makes it easier), but unfortunately I'm more into other projects at the moment. :(

If you're up for it I can create this repo, copy stuff over and give you collab rights?

Surely feel free to fork or do anything you like with it. :bowtie:

from grunt-phantomas.

saalmaan avatar saalmaan commented on July 18, 2024

Excellent, OK lets do it, :) I have managed to salvage code from grunt-plugin and run in gulp today :)
Some things were not really clear, like gruntWritefile and this whole promise thingy :) but I am sure you can help me on that. I like the idea of separating out the UI from core and this should allow faster development and updates to both. so what the next steps then? because if we want change the way phantomas works we have to create new repos ?

from grunt-phantomas.

stefanjudis avatar stefanjudis commented on July 18, 2024

Cool!!!

Yeah if you'd be up for it I'd create the repository phantomas-ui, copy the grunt task over and would give you full access to it.

I'm totally up for discussions, code reviews or anything else you need. :)

Stuff like grunt.writeFile should be easily replaceable with fs.writeFile and all function are written in here https://github.com/gruntjs/grunt/tree/master/lib/grunt so it shouldn't be that complicated. :)

from grunt-phantomas.

saalmaan avatar saalmaan commented on July 18, 2024

go ahead create that repo, just to be clear, this is just UI part? independent of build system? or this would be gulp centric?

from grunt-phantomas.

stefanjudis avatar stefanjudis commented on July 18, 2024

Exactly.

I made this mistake to be grunt dependent.

When we want to port it to other build systems the project shouldn't care about the build system and deal with plan nodejs. :)

So the steps in my mind are (if you agree of course):

  • copy project over to phantomas-ui
  • remove grunt dep and expose module and cli functionality
  • wrap it again with grunt, gulp, ...

from grunt-phantomas.

saalmaan avatar saalmaan commented on July 18, 2024

OK Perfect, makes much more sense now. I will do some work today. feeling excited now :)

from grunt-phantomas.

stefanjudis avatar stefanjudis commented on July 18, 2024

Cool!

Thanks for jumping in. You're already collaborator in the new repository and a first issue is created.

I'd close this issue here for now and would go over to the other repo for further discussions. :bowtie:

if that's fine for you?

from grunt-phantomas.

saalmaan avatar saalmaan commented on July 18, 2024

yes, cool.

from grunt-phantomas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.