Update dependencies

This commit is contained in:
lostinlight 2022-02-17 19:01:12 +03:00
parent 247851671b
commit 2e3fa5b92a
4 changed files with 19307 additions and 9731 deletions

View file

@ -2,7 +2,7 @@
pipeline:
# Build step: generates the files for Hexo site
build:
image: node:12.22.1
image: node:16.14.0
commands:
- npm install gulp -g
- npm install hexo-cli -g

28994
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -23,32 +23,31 @@
"hexo-generator-index": "^2.0.0",
"hexo-generator-index-i18n": "^0.2.1",
"hexo-generator-tag": "^1.0.0",
"hexo-pagination": "^1.0.0",
"hexo-pagination": "^2.0.0",
"hexo-processor-static": "^1.1.0",
"hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-markdown-it": "^5.0.0",
"hexo-server": "^2.0.0",
"hexo-yam": "^4.2.0"
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-markdown-it": "^6.0.1",
"hexo-server": "^3.0.0",
"hexo-yam": "^6.0.0"
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@babel/preset-env": "^7.13.15",
"@babel/core": "^7.17.4",
"@babel/preset-env": "^7.16.11",
"babel-eslint": "^10.1.0",
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-autoprefixer": "^8.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-eslint": "^6.0.0",
"gulp-notify": "^3.2.0",
"gulp-notify": "^4.0.0",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-sass": "^4.1.0",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-stylelint": "^13.0.0",
"gulp-uglify": "^3.0.2",
"stylelint": "^13.12.0",
"webpack-stream": "^6.1.2"
"sass": "^1.49.7",
"webpack-stream": "^7.0.0"
}
}

View file

@ -10,9 +10,8 @@
notify = require('../../node_modules/gulp-notify'),
plumber = require('../../node_modules/gulp-plumber'),
rename = require('../../node_modules/gulp-rename'),
sass = require('../../node_modules/gulp-sass'),
sass = require('../../node_modules/gulp-sass')(require('../../node_modules/sass')),
sourcemaps = require('../../node_modules/gulp-sourcemaps'),
stylelint = require('../../node_modules/gulp-stylelint'),
uglify = require('../../node_modules/gulp-uglify'),
webpack = require('../../node_modules/webpack-stream');
@ -25,18 +24,6 @@
});
}
// Styles
gulp.task('styles:lint', function() {
return gulp.src('source/assets/scss/**/*.scss')
.pipe(customPlumber('Ouch! Error Running StyleLint'))
.pipe(stylelint({
failAfterError: false,
reporters: [
{formatter: 'verbose', console: true}
]
}));
});
gulp.task('styles:serve', function() {
return gulp.src('source/assets/scss/main.scss')
.pipe(sourcemaps.init())
@ -104,7 +91,7 @@
});
// Development Mode
gulp.task('default', gulp.series('styles:lint', 'styles:serve', 'webpack', 'scripts:serve', 'watch'));
gulp.task('default', gulp.series('styles:serve', 'webpack', 'scripts:serve', 'watch'));
// Production Mode
gulp.task('build', gulp.series('clean', gulp.parallel('styles:build', 'webpack', 'scripts:build')));