Skip to content

Commit

Permalink
Add two template versions: one blank and one with examples. Bump 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robiseb committed Jun 21, 2021
1 parent 9515c22 commit ab7723b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wide/scaffolder",
"version": "1.0.1",
"version": "1.1.0",
"description": "Automatised project generator.",
"license": "MIT",
"author": "Aymeric Assier (https://github.com/myeti)",
Expand Down
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ import path from 'path'
import DEFAULT_TASKS from './tasks'

const DEFAULT_CONFIG = {
template: 'template',
plop: 'plop',
template: argv.examples ? 'templates/examples' : 'templates/blank',
pkg: {}
}

export default function(root, cfg) {

// resolve config
const config = Object.assign({}, DEFAULT_CONFIG, cfg)
console.log(chalk`{blue.bold ${config.pkg.name}} v${config.pkg.version}`)
Expand Down

0 comments on commit ab7723b

Please sign in to comment.