Skip to content

Commit

Permalink
Update templates.
Browse files Browse the repository at this point in the history
Replace `jade` with `pug` and update other template to their last version to support Catberry 9.0.
  • Loading branch information
reenko authored and Denis Rechkunov committed Mar 27, 2017
1 parent 6d62f7e commit 498129d
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**/node_modules/**
node_modules/**
**/empty-dust/**
**/empty-jade/**
**/empty-pug/**
**/example/**
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
[submodule "templates/empty-handlebars"]
path = templates/empty-handlebars
url = https://github.com/catberry/catberry-hello-world-handlebars.git
[submodule "templates/empty-jade"]
path = templates/empty-jade
url = https://github.com/catberry/catberry-hello-world-jade.git
[submodule "templates/empty-dust"]
path = templates/empty-dust
url = https://github.com/catberry/catberry-hello-world-dust.git
[submodule "module_presets"]
path = module_presets
url = https://github.com/catberry/catberry-module-presets.git
[submodule "templates/empty-pug"]
path = templates/empty-pug
url = https://github.com/catberry/catberry-hello-world-pug.git
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Included templates:
* `example` - finished project that works with GitHub API and demonstrates how to implement such isomorphic application using Catberry Framework
* `empty-handlebars` - empty project using [Handlebars](http://handlebarsjs.com/) template engine.
* `empty-dust` - empty project using [Dust](https://github.com/catberry/catberry-dust) template engine.
* `empty-jade` - empty project using [Jade](http://jade-lang.com/) template engine.
* `empty-pug` - empty project using [Pug](https://pugjs.org/) template engine.

### Add [Store](https://github.com/catberry/catberry/blob/master/docs/index.md#stores) into your project

Expand All @@ -44,7 +44,7 @@ Also you can use `preset` values such as:

* `handlebars` (by default)
* `dust`
* `jade`
* `pug`

To get more usage details, please use `catberry --help`

Expand Down
2 changes: 1 addition & 1 deletion lib/templateManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const DEFAULTS = {
const COMPONENT_PRESETS = {
handlebars: 'component-handlebars',
dust: 'component-dust',
jade: 'component-jade'
pug: 'component-pug'
};

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion templates/empty-dust
1 change: 0 additions & 1 deletion templates/empty-jade
Submodule empty-jade deleted from 5cf11c
1 change: 1 addition & 0 deletions templates/empty-pug
Submodule empty-pug added at dbbc32
2 changes: 1 addition & 1 deletion templates/example

0 comments on commit 498129d

Please sign in to comment.