Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a20e156

Browse files
author
Kyle MacDonald
committedMay 24, 2016
update base template refs to spike-tpl-base
1 parent e75dd09 commit a20e156

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Spike extends EventEmitter {
7676
* @param {Object} options - options for new project
7777
* @param {String} options.root - path ro the root of the project
7878
* @param {String} [options.template='base'] - name of the template to use
79-
* @param {String} [options.src=https://github.com/static-dev/spike-base.git] - path to the template source
79+
* @param {String} [options.src=https://github.com/static-dev/spike-tpl-base.git] - path to the template source
8080
* @param {Object} [options.overrides] - locals provided to the sprout template
8181
* @param {EventEmitter} [options.emitter] - an event emitter for feedback
8282
* @fires Spike#info
@@ -88,7 +88,7 @@ class Spike extends EventEmitter {
8888
const schema = Joi.object().keys({
8989
root: Joi.string().required(),
9090
template: Joi.string().default('base'),
91-
src: Joi.string().default('https://github.com/static-dev/spike-base.git'),
91+
src: Joi.string().default('https://github.com/static-dev/spike-tpl-base.git'),
9292
locals: Joi.object(),
9393
emitter: Joi.func(),
9494
inquirer: Joi.func()

‎readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ To compile an instantiated project, you can run `project.compile()`. This method
100100
If you want to create a new project from a template, you can use the `Spike.new` static method. This method utilizes [sprout](https://github.com/carrot/sprout) to create a new project template.
101101

102102
Option | Description | Default
103-
:----------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------
103+
:----------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------
104104
**root** | **[required]** An absolute path to the root of your project. |
105105
**template** | Name of the template you want to use to initialize your project. At the moment this is not configurable, but it will be in the future. | `base`
106-
**src** | Must be provided if you pass a custom `template` - a url that can be `git clone`-d in order to pull down your template. | `https://github.com/static-dev/spike-base.git`
106+
**src** | Must be provided if you pass a custom `template` - a url that can be `git clone`-d in order to pull down your template. | `https://github.com/static-dev/spike-tpl-base.git`
107107
**locals** | If your template [accepts options](https://github.com/carrot/sprout#initjs), you can pass them in here. |
108108
**emitter** | In order to get feedback from the method on how it is progressing through the new template creation progress, pass in an [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) instance here and it will emit `info`, `error`, and `done` events where appropriate. |
109109
**inquirer** | If you want to collect locals from the user via CLI, you can pass in an instance of [inquirer.prompt](https://github.com/SBoudrias/Inquirer.js#installation) here. |

0 commit comments

Comments
 (0)
Please sign in to comment.