Comments (8)
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.
from grunt-phantomas.
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.
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.
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.
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.
OK Perfect, makes much more sense now. I will do some work today. feeling excited now :)
from grunt-phantomas.
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.
if that's fine for you?
from grunt-phantomas.
yes, cool.
from grunt-phantomas.
Related Issues (20)
- Option to measure third parties
- custom html templates HOT 7
- Make it a standalone node module HOT 5
- Is specificity graph possible with analyze css? HOT 1
- Installing for --save-dev requires root privileges HOT 2
- Maximum Assertions? HOT 7
- Heavy load for UI with many results HOT 4
- include version number in UI
- Remove one of the licenses HOT 1
- Limit included results HOT 3
- Illegal character for windows in screenshot filenames HOT 5
- Phantomas runs are not synchronous HOT 2
- Filmstrip and Screenshopt doesn't render webfonts HOT 2
- Newest phantomas version HOT 3
- Add `--ignore-ssl-errors` option HOT 12
- Not able to install on MAC HOT 5
- phantomas: (254) Page loading failed HOT 7
- [email protected] Error HOT 15
- 252 Timeout when navigating to thetrainline.com HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-phantomas.