Update MM to 4.24.0 and update some deps (#1905)

* Update MM to 4.24.0 and update some deps

* Update package.json to MM 4.24.0

* Update package.json to MM 4.24.0

* Add dependabot config to auto-update packages
This commit is contained in:
lifehackerhansol 2021-08-26 23:14:51 -07:00 committed by GitHub
parent 469b61a6ea
commit 2ef8fdc16d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 18 deletions

12
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: bundler
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
.bundle .bundle
.DS_Store .DS_Store
.jekyll-metadata .jekyll-metadata
.jekyll-cache
.sass-cache .sass-cache
_asset_bundler_cache _asset_bundler_cache
_site _site

View File

@ -1,4 +1,6 @@
source "https://rubygems.org" source "https://rubygems.org"
gem 'jekyll-redirect-from' gem "jemoji", "~> 0.8"
gem 'kramdown-parser-gfm' gem "jekyll-redirect-from", "~>0.16"
gem "kramdown-parser-gfm", "~>1.1"
gem "webrick", "~>1.7"
gemspec gemspec

View File

@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll" spec.name = "minimal-mistakes-jekyll"
spec.version = "4.6.0" spec.version = "4.24.0"
spec.authors = ["Michael Rose"] spec.authors = ["Michael Rose"]
spec.summary = %q{A flexible two-column Jekyll theme.} spec.summary = %q{A flexible two-column Jekyll theme.}
@ -15,14 +15,13 @@ Gem::Specification.new do |spec|
f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
end end
spec.add_runtime_dependency "jekyll", "~> 3.5", ">= 3.5.1" spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.0" spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3"
spec.add_runtime_dependency "jekyll-gist", "~> 1.4" spec.add_runtime_dependency "jekyll-gist", "~> 1.5"
spec.add_runtime_dependency "jekyll-feed", "~> 0.9.2" spec.add_runtime_dependency "jekyll-feed", "~> 0.1"
spec.add_runtime_dependency "jekyll-data", "~> 1.0" spec.add_runtime_dependency "jekyll-include-cache", "~> 0.1"
spec.add_runtime_dependency "jemoji", "~> 0.8"
spec.add_development_dependency "bundler", "~> 1.15" spec.add_development_dependency "bundler"
spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rake", ">= 12.3.3"
end end

View File

@ -1,7 +1,8 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "4.6.0", "private": true,
"description": "Minimal Mistakes Jekyll theme npm build scripts", "version": "4.24.0",
"description": "Minimal Mistakes 2 column Jekyll theme.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/mmistakes/minimal-mistakes.git" "url": "git://github.com/mmistakes/minimal-mistakes.git"
@ -21,12 +22,12 @@
"node": ">= 0.10.0" "node": ">= 0.10.0"
}, },
"devDependencies": { "devDependencies": {
"npm-run-all": "^1.7.0", "npm-run-all": "^4.1.5",
"onchange": "^2.2.0", "onchange": "^7.1.0",
"uglify-js": "^2.6.1" "uglify-js": "^3.13.6"
}, },
"scripts": { "scripts": {
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.2.1.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js", "uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.5.1.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"add-banner": "node banner.js", "add-banner": "node banner.js",
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js", "watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
"build:js": "npm run uglify && npm run add-banner" "build:js": "npm run uglify && npm run add-banner"