webpack-webfont
Advanced tools
Comparing version 0.0.1-alpha.4 to 0.0.1-alpha.5
@@ -0,11 +1,21 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
# 0.0.1-alpha.5 - 2016-12-11 | ||
- Chore: used the `make` event for the compilation fonts and styles. | ||
# 0.0.1-alpha.4 - 2016-11-09 | ||
- Fixed: flush `errors` on every compilation. | ||
- Chore: update a minimal version of `webfont` from `6.0.0` to `7.0.0`. | ||
- Chore: update a minimal version of `eslint-plugin-import` from `2.1.0` to `2.2.0`. | ||
- Chore: update a minimal version of `eslint-plugin-itgalaxy` from `25.0.0` to `26.0.0`. | ||
- Chore: update a minimal version of `eslint-plugin-jsx-a11y` from `2.2.0` to `3.0.0`. | ||
- Chore: update a minimal version of `eslint-plugin-react` from `6.5.0` to `6.6.0`. | ||
- Chore: refactoring for new `webfont` version. | ||
- Chore: improve tests. | ||
- Chore: minimum required `webfont` version is now `^7.0.0`. | ||
- Chore: minimum required `eslint-plugin-import` version is now `^2.2.0`. | ||
- Chore: minimum required `eslint-plugin-itgalaxy` version is now `^26.0.0`. | ||
- Chore: minimum required `eslint-plugin-jsx-a11y` version is now `^3.0.0`. | ||
- Chore: minimum required `eslint-plugin-react` version is now `^6.6.0`. | ||
- Chore: refactored for new `webfont` version. | ||
- Chore: improved tests. | ||
@@ -12,0 +22,0 @@ # 0.0.1-alpha.3 - 2016-11-08 |
@@ -17,2 +17,6 @@ 'use strict'; | ||
var _nodeify = require('nodeify'); | ||
var _nodeify2 = _interopRequireDefault(_nodeify); | ||
var _path = require('path'); | ||
@@ -55,6 +59,2 @@ | ||
compiler.plugin('run', function (compilerInstance, done) { | ||
return _this.compile(done); | ||
}); | ||
compiler.plugin('watch-run', function (watching, done) { | ||
@@ -90,4 +90,4 @@ if (_this.watcher) { | ||
compiler.plugin('compilation', function (compilation) { | ||
compilation.errors = compilation.errors.concat(_this.errors); | ||
compiler.plugin('make', function (compilation, callback) { | ||
return _this.compile(callback); | ||
}); | ||
@@ -102,4 +102,6 @@ } | ||
return (0, _webfont2.default)(options).then(function (result) { | ||
return (0, _nodeify2.default)((0, _webfont2.default)(options).then(function (result) { | ||
var fontName = result.config.fontName; | ||
var dest = _path2.default.resolve(_this2.options.dest.fontsDir); | ||
@@ -148,8 +150,5 @@ | ||
}); | ||
})).then(function () { | ||
return callback(); | ||
}); | ||
}).catch(function (error) { | ||
_this2.errors.push(error); | ||
callback(); | ||
})); | ||
}), function (error) { | ||
return callback(error); | ||
}); | ||
@@ -156,0 +155,0 @@ } |
{ | ||
"name": "webpack-webfont", | ||
"version": "0.0.1-alpha.4", | ||
"version": "0.0.1-alpha.5", | ||
"description": "Webpack plugin for webfont package", | ||
@@ -53,6 +53,7 @@ "license": "MIT", | ||
"fs-extra": "^1.0.0", | ||
"chokidar": "^1.6.0" | ||
"chokidar": "^1.6.0", | ||
"nodeify": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.16.0", | ||
"ava": "^0.17.0", | ||
"ajv-cli": "^1.1.0", | ||
@@ -66,3 +67,3 @@ "babel-cli": "^6.11.0", | ||
"coveralls": "^2.11.6", | ||
"css-loader": "^0.25.0", | ||
"css-loader": "^0.26.1", | ||
"del": "^2.2.0", | ||
@@ -73,3 +74,3 @@ "del-cli": "^0.2.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-itgalaxy": "^26.0.0", | ||
"eslint-plugin-itgalaxy": "^35.0.0", | ||
"eslint-plugin-jsx-a11y": "^3.0.0", | ||
@@ -84,8 +85,8 @@ "eslint-plugin-lodash": "^2.1.0", | ||
"npmpub": "^3.1.0", | ||
"npm-run-all": "^3.0.0", | ||
"nyc": "^8.0.0", | ||
"npm-run-all": "^4.0.0", | ||
"nyc": "^10.0.0", | ||
"package-schema": "^1.0.0", | ||
"remark-cli": "^2.0.0", | ||
"remark-lint": "^5.0.0", | ||
"remark-preset-lint-itgalaxy": "^3.0.0", | ||
"remark-preset-lint-itgalaxy": "^4.0.0", | ||
"style-loader": "^0.13.0", | ||
@@ -92,0 +93,0 @@ "webpack": "^1.13.0", |
@@ -18,3 +18,3 @@ # webpack-webfont | ||
```shell | ||
npm install webpack-webfont | ||
npm install --save-dev webpack-webfont | ||
``` | ||
@@ -21,0 +21,0 @@ ## Usage |
15269
4
113
+ Addednodeify@^1.0.0
+ Addedis-promise@1.0.1(transitive)
+ Addednodeify@1.0.1(transitive)
+ Addedpromise@1.3.0(transitive)