Comments (10)
This sounds like a very worthwhile feature to me.
from volo.
Mhh,
i think that this feature doesn´t belong to volo.
I consider to use grunt instead if users rely on that feature.
from volo.
@jrburke Please don't add a generic server to volo. I mean no offense but he following statement, but I personally feel like volo does a ton already. (1) package manager (2) build tool (3) project scaffolding. I really want to open an issue that pleads for you to scale volo back to do just (1). Again, no offense meant (and I hope this doesn't sound like I'm trying to tell you how to run your own project); I am just seeing a tool that is shaping up to be awesome at (1) and I wonder why it also needs to do (2) and (3)? Please dont' add a (4).
from volo.
@wilmoore I agree that this does not belong in volo proper, and will close out this ticket. I also appreciate the feedback.
For me, the (3) project scaffolding, by which I think you mean volo create
, seems to fit with the package manager part -- it just happens to pull down a zip file of a project, instead of a dependency. It uses the same github IDs to do so.
I am receptive about trying to reduce the scope for (2) build tool. I am not sure how to do that yet. I still feel like there needs to be something to make doing simple coding of a project action easier to do in node, something that does not result in needing to download a bunch of code from npm for each task that needs it. The onCreate and onAdd hooks for volofiles in volo add
and volo create
seem useful too. Maybe that just argues for something like npm's "scripts" support in volo though instead.
But this is best discussed in a separate issue. I will close this issue down though as out of scope. It should be enough to just point people on the volojs web site on what to install to get this capability.
from volo.
...volo create, seems to fit with the package manager part -- it just happens to pull down a zip file of a project
I think I can get behind this as "extra sugar". Perhaps the build tool addition made this feature look worse than it really is.
from volo.
Maybe that just argues for something like npm's "scripts" support in volo though instead.
I'm not too keen on NPM taking on this responsibility either. I think people accept it for some reason, but I don't think it's a super idea.
Grunt (and others) do a fine job of just being a build tool and allowing you to add plugins. I was going to say that I see a grunt volo plugin making sense, but then I just found that there is one: https://npmjs.org/package/grunt-volo.
I tend to use a makefile, but I can see myself using grunt going forward for front-end projects.
from volo.
On the npm "scripts" thing, I meant more that it may make sense for volo to have a similar feature, not to rely on npm directly.
For me, grunt introduces an unnecessary adapter layer, more about this in volo-and-grunt. Makefiles are nice, just hard to use on Windows. Maybe doing something like shelljs is enough. Still feeling that out though.
from volo.
So it sounds like it is feasible that one could use a volofile solely for the purpose of creating a project template? Does that mean that I can use volo create
to initialize a project and not have that volofile sitting in the derived project directory?
from volo.
Yes, in the project template's volofile's onCreate, it can decide to just delete the volofile when done: v.rm('volofile')
.
from volo.
Cool...works for me :)
from volo.
Related Issues (20)
- .ts files are always downloaded HOT 2
- volo add with amd does not save amd for future reinstall HOT 4
- installing companion css/less/scss file with my js script HOT 2
- external module/lib dependency overrides project dependency HOT 1
- Allow alternate archive HOT 2
- Main module example not creating adapter HOT 1
- Search API needs to be updated
- Update semver package, allow for more semver matching HOT 1
- Define github token on ENV variable in addition to .voloconfigfile
- Volo add local from package.json updates relative path
- Volo visual identity and website design HOT 2
- Do not add dependencies of dependencies to package.json file HOT 1
- volo add library/~version causing TypeError: Invalid Version HOT 1
- URL resolution error when using `volo.url` for github for v0.0.x tags
- Allow volofile.js for those who want to specify file format
- Fragment ID dep with local dependencies installs dir instead of single file.
- add individual file HOT 2
- Cannot assign to read only property 'exitCode' HOT 3
- AWS download URLs need extra handling
- Limit Number of Requests
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 volo.