diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 0c3c209..b736646 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,3 +1,6 @@ +* 0.5.2 + * added tsx support for watches (#110) + * replaced gulp-minify-css by gulp-clean-css * 0.5.1 * fixed issue with the production build (404 at first render) * 0.5.0 diff --git a/README.md b/README.md index 7918779..74f960b 100644 --- a/README.md +++ b/README.md @@ -754,7 +754,7 @@ Check out [gulp-inline-source](https://www.npmjs.com/package/gulp-inline-source) * gulp-inline-source: inline scripts & stylesheets: https://www.npmjs.com/package/gulp-inline-source * gulp-jshint: JavaScript code quality checker plugin for gulp that uses JSHint: https://www.npmjs.com/package/gulp-jshint * gulp-minify-html: minify html with minimize: https://www.npmjs.com/package/gulp-minify-html -* gulp-minify-css: minify css with clean-css: https://www.npmjs.com/package/gulp-minify-css +* gulp-clean-css: minify css with clean-css: https://www.npmjs.com/package/gulp-clean-css * gulp-replace: string replace plugin for gulp: https://www.npmjs.com/package/gulp-replace * gulp-sass: sass plugin for gulp: https://www.npmjs.com/package/sass * node-sass: used by gulp-sass and normally not needed but added to fix an issue with sourcemaps: https://github.com/sindresorhus/gulp-autoprefixer/issues/10 diff --git a/UPGRADE.MD b/UPGRADE.MD index 8527fb1..6663f2b 100644 --- a/UPGRADE.MD +++ b/UPGRADE.MD @@ -1,5 +1,8 @@ # Upgrade guide +## From 0.5.1 to 0.5.2 +No modification mandatory with this release. + ## From 0.5.0 to 0.5.1 No modification mandatory with this release. diff --git a/package.json b/package.json index 5d38d5b..6a1a5fc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "modern-web-dev-build", "description": "Modern Web Development Build.", - "version": "0.5.1", + "version": "0.5.2", "author": { "name": "Sebastien Dubois", "email": "seb@dsebastien.net", @@ -28,10 +28,6 @@ "es2015", "sass" ], - "devDependencies": { - "jasmine": "2.4.x", - "karma-jasmine": "0.3.x" - }, "dependencies": { "autoprefixer": "6.3.x", "babel-core": "6.5.x", @@ -62,7 +58,7 @@ "gulp-jscs": "3.0.x", "gulp-jscs-stylish": "1.3.x", "gulp-jshint": "1.12.x", - "gulp-minify-css": "1.2.x", + "gulp-clean-css": "2.0.x", "gulp-minify-html": "1.0.x", "gulp-nice-package": "1.1.x", "gulp-notify": "2.2.x", @@ -98,6 +94,12 @@ "karma-jspm": "2.0.x", "karma-systemjs": "0.10.x" }, + "devDependencies": { + "jasmine": "2.4.x", + "karma-jasmine": "0.3.x", + "typescript": "1.8.x", + "nodemon": "1.8.x" + }, "peerDependencies": { "babel-core": "6.5.x", "gulp": "3.9.x", diff --git a/src/gulp/config.js b/src/gulp/config.js index d9653cc..5f6acfd 100644 --- a/src/gulp/config.js +++ b/src/gulp/config.js @@ -154,7 +154,7 @@ let autoprefixerBrowsers = [ "bb >= 10" ]; -let minifyCss = { // https://www.npmjs.com/package/gulp-minify +let minifyCss = { // https://github.com/jakubpawlowicz/clean-css#how-to-use-clean-css-api keepBreaks: false, // no problem here keepSpecialComments: true, // necessary for licensing compatibility: false, // no problem here diff --git a/src/gulp/tasks/styles-dist.js b/src/gulp/tasks/styles-dist.js index 54a33bd..bb0e98b 100644 --- a/src/gulp/tasks/styles-dist.js +++ b/src/gulp/tasks/styles-dist.js @@ -8,7 +8,7 @@ import sass from "gulp-sass"; import cssimport from "gulp-cssimport"; import concat from "gulp-concat"; import csso from "gulp-csso"; -import minifyCss from "gulp-minify-css"; +import minifyCss from "gulp-clean-css"; import size from "gulp-size"; class StylesDistTaskLoader extends AbstractTaskLoader { diff --git a/src/gulp/tasks/styles-vendor-dist.js b/src/gulp/tasks/styles-vendor-dist.js index e3e4cb1..e96a7ea 100644 --- a/src/gulp/tasks/styles-vendor-dist.js +++ b/src/gulp/tasks/styles-vendor-dist.js @@ -8,7 +8,7 @@ import sass from "gulp-sass"; import cssimport from "gulp-cssimport"; import concat from "gulp-concat"; import csso from "gulp-csso"; -import minifyCss from "gulp-minify-css"; +import minifyCss from "gulp-clean-css"; import size from "gulp-size"; //import debug from "gulp-debug";