Comparing version 1.3.4 to 1.3.5
10
index.js
@@ -22,3 +22,3 @@ #!/usr/bin/env node | ||
name: "Plexiform", | ||
version: "1.3.4", | ||
version: "1.3.5", | ||
author: "Raith" | ||
@@ -33,2 +33,3 @@ }; | ||
const fs = require('fs-extra'); | ||
const md = require('./includes/markdown-config-loader'); | ||
@@ -149,3 +150,8 @@ var base_utils = require("./includes/base-utils.js").utils; | ||
try { | ||
config = require(config_name); | ||
if (config_name.match(/\.md$/)) { | ||
var mdconfig = fs.readFileSync(config_name).toString(); | ||
config = md.buildConfig(md.parse(mdconfig)); | ||
} else { | ||
config = require(config_name); | ||
} | ||
} catch (e) { | ||
@@ -152,0 +158,0 @@ console.log(`ERROR! Cannot find config file "${config_name}" to require.`); |
{ | ||
"name": "plexiform", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "A very simple template-driven generator.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Plexiform | ||
> **v1.3.4** | ||
> **v1.3.5** | ||
@@ -64,1 +64,2 @@ | In this document | | ||
| 2017-09-13 | v1.3.4 | Raith | Tidy option in OutputFile | | ||
| 2017-09-15 | v1.3.5 | Raith | Added support for MarkDown config :) | |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26510
12
474
65