Thanks for this project, exactly what I've been looking for 👍
I would like to propose the following features. Would you accept PRs for any of these?
1. Read bluprint from a local directory
Perhaps I've missed something, but it seems any bluprint changes must be pushed to Github before you can test it? This is quite frustrating when developing new bluprints, especially since github.com seems to do a bit of caching that is hard to get around.
It would be nice to run bluprint start ../my-bluprint without having to commit every change.
Alternatively git archive to get a tarball or by adding support for git daemon to the hosted-git-info package.
2. Allow .blueprintrc.js
It would be useful to have the ability to execute JS inside this file. E.g. for my render actions I would like to have the current year in the context:
context: { year: new Date().getFullYear() }
The only solution to this I've found is to switch from mustache to ejs and execute the JS line as part of the templates.
3. Allow templated execute actions
E.g.:
"cmds": [ ["git", ["remote", "add", "origin", "{{ org }}/{{ year }}-{{ slug }}" ]] ]
4. Custom actions from the template repo
Not too sure about this one, but the ability to have custom actions in the bluprint repo itself would really make anything possible in terms of customization.
Thanks for this project, exactly what I've been looking for 👍
I would like to propose the following features. Would you accept PRs for any of these?
1. Read bluprint from a local directory
Perhaps I've missed something, but it seems any bluprint changes must be pushed to Github before you can test it? This is quite frustrating when developing new bluprints, especially since github.com seems to do a bit of caching that is hard to get around.
It would be nice to run
bluprint start ../my-bluprintwithout having to commit every change.Alternatively
git archiveto get a tarball or by adding support forgit daemonto thehosted-git-infopackage.2. Allow
.blueprintrc.jsIt would be useful to have the ability to execute JS inside this file. E.g. for my render actions I would like to have the current year in the context:
The only solution to this I've found is to switch from mustache to ejs and execute the JS line as part of the templates.
3. Allow templated
executeactionsE.g.:
4. Custom actions from the template repo
Not too sure about this one, but the ability to have custom actions in the bluprint repo itself would really make anything possible in terms of customization.