assemble-core
Advanced tools
Comparing version 0.24.0 to 0.25.0
32
index.js
@@ -26,6 +26,5 @@ 'use strict'; | ||
} | ||
Templates.call(this, options); | ||
this.is('assemble'); | ||
this.initAssembleCore(); | ||
this.initCore(); | ||
} | ||
@@ -44,25 +43,26 @@ | ||
Assemble.prototype.initAssembleCore = function() { | ||
Assemble.emit('preInit', this); | ||
this.use(utils.tasks(this.name)); | ||
this.use(utils.streams()); | ||
this.use(utils.render()); | ||
this.use(utils.fs()); | ||
Assemble.emit('init', this); | ||
Assemble.prototype.initCore = function() { | ||
Assemble.initCore(this); | ||
}; | ||
/** | ||
* Expose static `is*` methods from Templates | ||
* Load core plugins | ||
*/ | ||
Templates._.plugin.is(Assemble); | ||
Assemble.initCore = function(app) { | ||
Assemble.emit('preInit', app); | ||
Assemble.initPlugins(app); | ||
Assemble.emit('init', app); | ||
}; | ||
/** | ||
* Expose static properties for unit tests | ||
* Load core plugins | ||
*/ | ||
utils.define(Assemble, 'utils', Templates.utils); | ||
utils.define(Assemble, '_', Templates._); | ||
Assemble.initPlugins = function(app) { | ||
app.use(utils.tasks(app.name)); | ||
app.use(utils.streams()); | ||
app.use(utils.render()); | ||
app.use(utils.fs()); | ||
}; | ||
@@ -69,0 +69,0 @@ /** |
{ | ||
"name": "assemble-core", | ||
"description": "The core assemble application with no presets or defaults. All configuration is left to the implementor.", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"homepage": "https://github.com/assemble/assemble-core", | ||
@@ -18,2 +18,4 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"index.js", | ||
"LICENSE", | ||
"README.md", | ||
"utils.js" | ||
@@ -29,3 +31,3 @@ ], | ||
"dependencies": { | ||
"assemble-fs": "^0.5.2", | ||
"assemble-fs": "^0.6.0", | ||
"assemble-render-file": "^0.7.1", | ||
@@ -42,12 +44,17 @@ "assemble-streams": "^0.6.0", | ||
"gulp": "^3.9.1", | ||
"gulp-eslint": "^2.1.0", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-format-md": "^0.1.9", | ||
"gulp-istanbul": "^1.0.0", | ||
"gulp-mocha": "^2.2.0" | ||
"gulp-mocha": "^2.2.0", | ||
"verb-readme-generator": "^0.1.17" | ||
}, | ||
"keywords": [ | ||
"add", | ||
"api", | ||
"app", | ||
"apply", | ||
"assemble", | ||
"assembleplugin", | ||
"async", | ||
"base", | ||
"blog", | ||
@@ -59,9 +66,25 @@ "boilerplate", | ||
"builder", | ||
"cache", | ||
"clear", | ||
"collection", | ||
"compile", | ||
"component", | ||
"components", | ||
"copy", | ||
"core", | ||
"create", | ||
"define", | ||
"del", | ||
"dest", | ||
"doc", | ||
"docs", | ||
"documentation", | ||
"emit", | ||
"engines", | ||
"error", | ||
"event", | ||
"expose", | ||
"extend", | ||
"find", | ||
"format", | ||
"front", | ||
@@ -71,9 +94,26 @@ "front-matter", | ||
"generator", | ||
"group", | ||
"handlebars", | ||
"has", | ||
"helpers", | ||
"html", | ||
"inflections", | ||
"init", | ||
"is", | ||
"item", | ||
"items", | ||
"jekyll", | ||
"layout", | ||
"list", | ||
"listen", | ||
"listener", | ||
"listeners", | ||
"markdown", | ||
"matter", | ||
"md", | ||
"mixin", | ||
"mixins", | ||
"off", | ||
"once", | ||
"options", | ||
"pages", | ||
@@ -84,10 +124,25 @@ "partial", | ||
"post", | ||
"registered", | ||
"remove", | ||
"render", | ||
"resolve", | ||
"rethrow", | ||
"scaffold", | ||
"scaffolds", | ||
"set", | ||
"site", | ||
"src", | ||
"static", | ||
"static-site", | ||
"symlink", | ||
"task", | ||
"tasks", | ||
"templates", | ||
"templating", | ||
"type", | ||
"types", | ||
"union", | ||
"view", | ||
"views", | ||
"visit", | ||
"web", | ||
@@ -127,2 +182,3 @@ "website", | ||
"base", | ||
"base-data", | ||
"base-logger", | ||
@@ -150,3 +206,3 @@ "base-methods", | ||
"vinyl-view", | ||
"base-data" | ||
"base-task" | ||
], | ||
@@ -153,0 +209,0 @@ "lint": { |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
77
10129
8
5
1
0
+ Addedassemble-fs@0.6.0(transitive)
- Removedassemble-fs@0.5.2(transitive)
Updatedassemble-fs@^0.6.0