diff --git a/CHANGELOG.md b/CHANGELOG.md index 08032a1..f11b66b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## v2.3.12 + + - fix module interface issue by removing non-existed dependency + + ## v2.3.11 - upgrade `@plotdb/srcbuild` to `0.0.13` for fixing view/pug -> ext/pug parameter passing issue diff --git a/bin/api/index.js b/bin/api/index.js index 21c471d..698221e 100644 --- a/bin/api/index.js +++ b/bin/api/index.js @@ -4,7 +4,4 @@ })(function(arg$){ var app; app = arg$.app; - return app.get('/view-test', function(req, res){ - return res.render('view.pug', {}); - }); }); \ No newline at end of file diff --git a/bin/lib/index.js b/bin/lib/index.js index bf7974b..3754f5a 100644 --- a/bin/lib/index.js +++ b/bin/lib/index.js @@ -1,8 +1,6 @@ // Generated by LiveScript 1.6.0 -var server, pug; +var server; server = require('./server'); -pug = require('./build/pug'); module.exports = { - server: server, - pug: pug + server: server }; \ No newline at end of file diff --git a/bin/lib/server.js b/bin/lib/server.js index 5c6df8e..7a1e602 100644 --- a/bin/lib/server.js +++ b/bin/lib/server.js @@ -26,7 +26,8 @@ server = { logger: this$.log, i18n: i18n, viewdir: '.view', - srcdir: 'src/pug' + srcdir: 'src/pug', + desdir: 'static' })); app.set('view engine', 'pug'); app.set('views', path.join(cwd, './src/pug/')); diff --git a/lib/index.ls b/lib/index.ls index bad1a39..941f576 100644 --- a/lib/index.ls +++ b/lib/index.ls @@ -1,2 +1,2 @@ -require! <[./server ./build/pug]> -module.exports = {server, pug} +require! <[./server]> +module.exports = {server} diff --git a/package-lock.json b/package-lock.json index 5e596c6..89d44af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "template", - "version": "2.3.11", + "version": "2.3.12", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "2.3.11", + "version": "2.3.12", "license": "MIT", "dependencies": { "@loadingio/debounce.js": "0.0.1", diff --git a/package.json b/package.json index bb75d02..77cea5a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "MIT", "main": "bin/lib/index.js", "description": "simple, quick template for bootstrap a page", - "version": "2.3.11", + "version": "2.3.12", "homepage": "https://github.com/zbryikt/template", "repository": { "type": "git",