Skip to content

Commit

Permalink
Update packages in generated projects (#355)
Browse files Browse the repository at this point in the history
* Updating project packages

* Preventing package name collisions

* Downgrading gulp-stylelint to version which respects .stylelintignore

* Removing stylelint from dependencies
  • Loading branch information
luboskmetko committed Apr 12, 2018
1 parent edbf937 commit d2e9154
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 28 deletions.
5 changes: 4 additions & 1 deletion generators/app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

const gulp = require('gulp');
const _ = require('lodash');
const plugins = require('gulp-load-plugins')({ pattern: '*' });
const plugins = require('gulp-load-plugins')({
pattern: '*',
rename: { 'stylelint': 'stylelintLib', 'eslint': 'eslintLib' },
});
let config = require('./package.json').chisel;
const generatorConfig = require('./.yo-rc.json')['generator-chisel'].config;
const helpers = require('./gulp/helpers')(gulp, plugins, config);
Expand Down
55 changes: 28 additions & 27 deletions generators/app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,54 +42,55 @@
}
},
"devDependencies": {
"autoprefixer": "^7.1.2",
"autoprefixer": "^8.1",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-loader": "^7.1.4",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-preset-es2015": "^6.24.1",
"browser-sync": "^2.18.12",
"chalk": "^2.3.0",
"browser-sync": "^2.23.6",
"chalk": "^2.3.2",
"chunk-manifest-webpack-plugin": "^1.1.2",
"del": "^3.0.0",
"eslint": "^4.19.0",
"eslint-config-chisel": "^1.0.0",
"glob": "^7.1.2",
"gulp": "^3.9.1",
"gulp-clean-css": "^3.7.0",
"gulp-clean-css": "^3.9.3",
"gulp-cli": "^1.3.0",
"gulp-concat": "^2.6.1",
"gulp-data": "^1.2.1",
"gulp-debug": "^3.1.0",
"gulp-eslint": "^4.0.0",
"gulp-filter": "^5.0.0",
"gulp-htmlhint": "^0.3.1",
"gulp-data": "^1.3.1",
"gulp-debug": "^3.2.0",
"gulp-eslint": "^4.0.2",
"gulp-filter": "^5.1.0",
"gulp-htmlhint": "^2.1.0",
"gulp-load-plugins": "^1.5.0",
"gulp-mirror": "^1.0.0",
"gulp-newer": "^1.3.0",
"gulp-plumber": "^1.1.0",
"gulp-postcss": "^7.0.0",
"gulp-newer": "^1.4.0",
"gulp-plumber": "^1.2.0",
"gulp-postcss": "^7.0.1",
"gulp-prettify": "^0.5.0",
"gulp-rename": "^1.2.2",
"gulp-rev": "^7.1.2",
"gulp-rev-replace": "^0.4.3",
"gulp-sass": "^3.1.0",
"gulp-rev": "^8.1.1",
"gulp-rev-replace": "^0.4.4",
"gulp-sass": "^3.2.0",
"gulp-sass-glob": "^1.0.8",
"gulp-sequence": "^0.4.6",
"gulp-sourcemaps": "^2.6.0",
"gulp-sequence": "^1.0.0",
"gulp-sourcemaps": "^2.6.4",
"gulp-stylelint": "^3.9.0",<% if (projectType == 'fe') { %>
"gulp-twig": "^v1.1.1",<% } %>
"gulp-uglify": "^2.0.0",
"lodash": "^4.17.4",
"multipipe": "^1.0.2",
"gulp-twig": "^v1.2.0",<% } %>
"gulp-uglify": "^3.0.0",
"lodash": "^4.17.5",
"multipipe": "^2.0.3",
"pre-commit": "^1.2.2",
"prettier": "1.8.2",
"prettier": "1.11.1",
"through2": "^2.0.3",
"vinyl-named": "^1.1.0",
"webpack": "^3.8.1",
"webpack-stream": "^4.0.0"
"webpack": "^3.11.0",
"webpack-stream": "^4.0.2"
},
"dependencies": {<% if (has_jquery) { %>
"jquery": "^3.2.1",<% } %>
"normalize-scss": "^7.0.0"
"jquery": "^3.3.1",<% } %>
"normalize-scss": "^7.0.1"
},
"engines": {
"node": ">=6"
Expand Down

0 comments on commit d2e9154

Please sign in to comment.