Comments (8)
Might be overkill, but could do something in Yeoman, like:
yo base
http://yeoman.io/generators.html#writing-your-first-generator
Or add some of Base into Projectz? What are your thoughts?
Maybe....
projectz base
?
from base.
Does yeoman let you update existing projects with the latest? And can yeoman generators be installed globally?
from base.
Does yeoman let you update existing projects with the latest?
It asks you whether or not to replace your existing files when updating. Y/N type action.
And can yeoman generators be installed globally?
Yes, they're meant to be globally...
npm install yo generator-docpad -g
yo docpad
Would be nice if Projectz assisted with this, but I'm not quite sure how that could work, since Projectz expects the triggers in the file for where to place its data.
from base.
What’s wrong with git submodules? You could simply have bevry/base as a submodule, and symlink the desired files in the containing repo.
from base.
Submodules are in subfolders. Base is just a set of root files. If we were to use git submodules, we'd need to set up the submodule directory, and then create a whole bunch of symlinks pointing to the correct files.
from base.
Symlinking would seem like an idea, though it is a pain, especially when cross-platform is involved. Plus, I'm not sure if symlinking will work for the different files, especially for different environments, one would hope so, but our goal here is to remove complexity, not add it!
If we can just have an auto-script that pulls in these files:
wget -N https://raw.githubusercontent.com/bevry/base/master/.gitignore
wget -N https://raw.githubusercontent.com/bevry/base/master/.npmignore
wget -N https://raw.githubusercontent.com/bevry/base/master/.travis.yml
wget -N https://raw.githubusercontent.com/bevry/base/master/.editorconfig
wget -N https://raw.githubusercontent.com/bevry/base/master/Cakefile
wget -N https://raw.githubusercontent.com/bevry/base/master/CONTRIBUTING.md
wget -N https://raw.githubusercontent.com/bevry/base/master/coffeelint.json
wget -N https://raw.githubusercontent.com/bevry/base/master/.jshintrc
Updates the badges:
"badges": {
"travis": true,
"npm": true,
"david": true,
"daviddev": true,
"gittip": "bevry",
"flattr": "344188/balupton-on-Flattr",
"paypal": "QB8GQPZAH84N6",
"bitcoin": "https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a",
"wishlist": "http://amzn.com/w/2F8TXKSNAFG4V"
},
But only for missing items, it should not replace existing items.
Then run projectz compile
on it, would be awesome.
Now that Chainy is out, the workflow would be something like: https://gist.github.com/balupton/aef72af134a101a8a5d8
from base.
our goal here is to remove complexity, not add it!
Good point. I forget about symlink issues on non-POSIX platforms. :/
from base.
I think for the base files, it's pretty good. However for projectz, we should make a service around that.
from base.
Related Issues (15)
- Your thoughts on having a generic npm run-script marco? HOT 3
- Should we add linting files? HOT 1
- Remove Node 0.8 from .travis.yml HOT 3
- errno ENOENT while installing gulp-replace-task in project HOT 1
- Rename coffeelint.json to coffeescript.json HOT 1
- Add nakefile guide
- When jspm supports esnext, update package.json to point jspm to esnext HOT 1
- Coding Style HOT 2
- Achieve Node 0.10 and IE8 compatibility somehow HOT 5
- Use editions HOT 6
- nakefiles to npm scripts only HOT 1
- Add source clear to prepare step HOT 1
- provide typescript option HOT 1
- .docpad.db HOT 1
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 base.