mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 12:51:52 +02:00
Update dependencies.
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -1,7 +1,7 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem 'jekyll', '~> 3.4.0'
|
gem 'jekyll', '~> 3.4.2'
|
||||||
gem 'jekyll-redirect-from', '~> 0.12.1'
|
gem 'jekyll-redirect-from', '~> 0.12.1'
|
||||||
gem 'jekyll-sitemap', '~> 1.0.0'
|
gem 'jekyll-sitemap', '~> 1.0.0'
|
||||||
gem 'scss_lint', '~> 0.52.0'
|
gem 'scss_lint', '~> 0.52.0'
|
||||||
|
@@ -4,9 +4,9 @@ GEM
|
|||||||
addressable (2.5.0)
|
addressable (2.5.0)
|
||||||
public_suffix (~> 2.0, >= 2.0.2)
|
public_suffix (~> 2.0, >= 2.0.2)
|
||||||
colorator (1.1.0)
|
colorator (1.1.0)
|
||||||
ffi (1.9.17)
|
ffi (1.9.18)
|
||||||
forwardable-extended (2.6.0)
|
forwardable-extended (2.6.0)
|
||||||
jekyll (3.4.0)
|
jekyll (3.4.2)
|
||||||
addressable (~> 2.4)
|
addressable (~> 2.4)
|
||||||
colorator (~> 1.0)
|
colorator (~> 1.0)
|
||||||
jekyll-sass-converter (~> 1.0)
|
jekyll-sass-converter (~> 1.0)
|
||||||
@@ -49,10 +49,10 @@ PLATFORMS
|
|||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
jekyll (~> 3.4.0)
|
jekyll (~> 3.4.2)
|
||||||
jekyll-redirect-from (~> 0.12.1)
|
jekyll-redirect-from (~> 0.12.1)
|
||||||
jekyll-sitemap (~> 1.0.0)
|
jekyll-sitemap (~> 1.0.0)
|
||||||
scss_lint (~> 0.52.0)
|
scss_lint (~> 0.52.0)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.13.6
|
1.14.6
|
||||||
|
4
docs/assets/js/vendor/clipboard.min.js
vendored
4
docs/assets/js/vendor/clipboard.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/assets/js/vendor/jekyll-search.min.js
vendored
2
docs/assets/js/vendor/jekyll-search.min.js
vendored
File diff suppressed because one or more lines are too long
665
grunt/npm-shrinkwrap.json
generated
665
grunt/npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
41
grunt/postcss.config.js
Normal file
41
grunt/postcss.config.js
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
module.exports = (ctx) => ({
|
||||||
|
map: ctx.file.dirname.startsWith('docs') ? false : {
|
||||||
|
inline: false,
|
||||||
|
annotation: true,
|
||||||
|
sourcesContent: true
|
||||||
|
},
|
||||||
|
plugins: {
|
||||||
|
autoprefixer: {
|
||||||
|
browsers: [
|
||||||
|
//
|
||||||
|
// Official browser support policy:
|
||||||
|
// https://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#supported-browsers
|
||||||
|
//
|
||||||
|
'Chrome >= 35', // Exact version number here is kinda arbitrary
|
||||||
|
// Rather than using Autoprefixer's native "Firefox ESR" version specifier string,
|
||||||
|
// we deliberately hardcode the number. This is to avoid unwittingly severely breaking the previous ESR in the event that:
|
||||||
|
// (a) we happen to ship a new Bootstrap release soon after the release of a new ESR,
|
||||||
|
// such that folks haven't yet had a reasonable amount of time to upgrade; and
|
||||||
|
// (b) the new ESR has unprefixed CSS properties/values whose absence would severely break webpages
|
||||||
|
// (e.g. `box-sizing`, as opposed to `background: linear-gradient(...)`).
|
||||||
|
// Since they've been unprefixed, Autoprefixer will stop prefixing them,
|
||||||
|
// thus causing them to not work in the previous ESR (where the prefixes were required).
|
||||||
|
'Firefox >= 38', // Current Firefox Extended Support Release (ESR); https://www.mozilla.org/en-US/firefox/organizations/faq/
|
||||||
|
// Note: Edge versions in Autoprefixer & Can I Use refer to the EdgeHTML rendering engine version,
|
||||||
|
// NOT the Edge app version shown in Edge's "About" screen.
|
||||||
|
// For example, at the time of writing, Edge 20 on an up-to-date system uses EdgeHTML 12.
|
||||||
|
// See also https://github.com/Fyrd/caniuse/issues/1928
|
||||||
|
'Edge >= 12',
|
||||||
|
'Explorer >= 10',
|
||||||
|
// Out of leniency, we prefix these 1 version further back than the official policy.
|
||||||
|
'iOS >= 8',
|
||||||
|
'Safari >= 8',
|
||||||
|
// The following remain NOT officially supported, but we're lenient and include their prefixes to avoid severely breaking in them.
|
||||||
|
'Android 2.3',
|
||||||
|
'Android >= 4',
|
||||||
|
'Opera >= 12'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
'postcss-flexbugs-fixes': {}
|
||||||
|
}
|
||||||
|
})
|
@@ -1,42 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
use: [
|
|
||||||
'postcss-flexbugs-fixes',
|
|
||||||
'autoprefixer'
|
|
||||||
],
|
|
||||||
map: {
|
|
||||||
inline: false,
|
|
||||||
annotation: true,
|
|
||||||
sourcesContent: true
|
|
||||||
},
|
|
||||||
autoprefixer: {
|
|
||||||
browsers: [
|
|
||||||
//
|
|
||||||
// Official browser support policy:
|
|
||||||
// https://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#supported-browsers
|
|
||||||
//
|
|
||||||
'Chrome >= 35', // Exact version number here is kinda arbitrary
|
|
||||||
// Rather than using Autoprefixer's native "Firefox ESR" version specifier string,
|
|
||||||
// we deliberately hardcode the number. This is to avoid unwittingly severely breaking the previous ESR in the event that:
|
|
||||||
// (a) we happen to ship a new Bootstrap release soon after the release of a new ESR,
|
|
||||||
// such that folks haven't yet had a reasonable amount of time to upgrade; and
|
|
||||||
// (b) the new ESR has unprefixed CSS properties/values whose absence would severely break webpages
|
|
||||||
// (e.g. `box-sizing`, as opposed to `background: linear-gradient(...)`).
|
|
||||||
// Since they've been unprefixed, Autoprefixer will stop prefixing them,
|
|
||||||
// thus causing them to not work in the previous ESR (where the prefixes were required).
|
|
||||||
'Firefox >= 38', // Current Firefox Extended Support Release (ESR); https://www.mozilla.org/en-US/firefox/organizations/faq/
|
|
||||||
// Note: Edge versions in Autoprefixer & Can I Use refer to the EdgeHTML rendering engine version,
|
|
||||||
// NOT the Edge app version shown in Edge's "About" screen.
|
|
||||||
// For example, at the time of writing, Edge 20 on an up-to-date system uses EdgeHTML 12.
|
|
||||||
// See also https://github.com/Fyrd/caniuse/issues/1928
|
|
||||||
'Edge >= 12',
|
|
||||||
'Explorer >= 10',
|
|
||||||
// Out of leniency, we prefix these 1 version further back than the official policy.
|
|
||||||
'iOS >= 8',
|
|
||||||
'Safari >= 8',
|
|
||||||
// The following remain NOT officially supported, but we're lenient and include their prefixes to avoid severely breaking in them.
|
|
||||||
'Android 2.3',
|
|
||||||
'Android >= 4',
|
|
||||||
'Opera >= 12'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
20
package.json
20
package.json
@@ -25,8 +25,8 @@
|
|||||||
"htmllint": "htmllint --rc docs/.htmllintrc _gh_pages/**/*.html js/tests/visual/*.html",
|
"htmllint": "htmllint --rc docs/.htmllintrc _gh_pages/**/*.html js/tests/visual/*.html",
|
||||||
"jekyll": "bundle exec jekyll build",
|
"jekyll": "bundle exec jekyll build",
|
||||||
"jekyll-github": "shx echo 'github: true' > $npm_config_tmp/twbsjekyll.yml && npm run jekyll -- --config _config.yml,$npm_config_tmp/twbsjekyll.yml && shx rm $npm_config_tmp/twbsjekyll.yml",
|
"jekyll-github": "shx echo 'github: true' > $npm_config_tmp/twbsjekyll.yml && npm run jekyll -- --config _config.yml,$npm_config_tmp/twbsjekyll.yml && shx rm $npm_config_tmp/twbsjekyll.yml",
|
||||||
"postcss": "postcss --config grunt/postcss.js --replace dist/css/*.css",
|
"postcss": "postcss --config grunt/ --replace dist/css/*.css",
|
||||||
"postcss-docs": "postcss --config grunt/postcss.js --no-map --replace docs/assets/css/docs.min.css && postcss --config grunt/postcss.js --no-map --replace docs/examples/**/*.css",
|
"postcss-docs": "postcss --config grunt/ --replace docs/assets/css/docs.min.css && postcss --config grunt/ --replace docs/examples/**/*.css",
|
||||||
"sass": "node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css",
|
"sass": "node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css",
|
||||||
"sass-docs": "node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css",
|
"sass-docs": "node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css",
|
||||||
"scss-lint": "bundle exec scss-lint --config scss/.scss-lint.yml scss/*.scss",
|
"scss-lint": "bundle exec scss-lint --config scss/.scss-lint.yml scss/*.scss",
|
||||||
@@ -52,12 +52,12 @@
|
|||||||
"tether": "^1.4.0"
|
"tether": "^1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^6.7.2",
|
"autoprefixer": "^6.7.7",
|
||||||
"babel-eslint": "^7.1.1",
|
"babel-eslint": "^7.1.1",
|
||||||
"babel-plugin-transform-es2015-modules-strip": "^0.1.0",
|
"babel-plugin-transform-es2015-modules-strip": "^0.1.0",
|
||||||
"babel-preset-es2015": "^6.22.0",
|
"babel-preset-es2015": "^6.22.0",
|
||||||
"clean-css-cli": "^4.0.0",
|
"clean-css-cli": "^4.0.8",
|
||||||
"eslint": "^3.15.0",
|
"eslint": "^3.17.1",
|
||||||
"grunt": "^1.0.1",
|
"grunt": "^1.0.1",
|
||||||
"grunt-babel": "^6.0.0",
|
"grunt-babel": "^6.0.0",
|
||||||
"grunt-build-control": "^0.7.1",
|
"grunt-build-control": "^0.7.1",
|
||||||
@@ -66,9 +66,9 @@
|
|||||||
"grunt-contrib-concat": "^1.0.1",
|
"grunt-contrib-concat": "^1.0.1",
|
||||||
"grunt-contrib-connect": "^1.0.2",
|
"grunt-contrib-connect": "^1.0.2",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-qunit": "^1.2.0",
|
"grunt-contrib-qunit": "^1.3.0",
|
||||||
"grunt-contrib-watch": "^1.0.0",
|
"grunt-contrib-watch": "^1.0.0",
|
||||||
"grunt-exec": "^1.0.1",
|
"grunt-exec": "^2.0.0",
|
||||||
"grunt-saucelabs": "^9.0.0",
|
"grunt-saucelabs": "^9.0.0",
|
||||||
"grunt-stamp": "^0.3.0",
|
"grunt-stamp": "^0.3.0",
|
||||||
"htmlhint": "^0.9.13",
|
"htmlhint": "^0.9.13",
|
||||||
@@ -76,12 +76,12 @@
|
|||||||
"is-travis": "^1.0.0",
|
"is-travis": "^1.0.0",
|
||||||
"load-grunt-tasks": "^3.5.2",
|
"load-grunt-tasks": "^3.5.2",
|
||||||
"node-sass": "^4.5.0",
|
"node-sass": "^4.5.0",
|
||||||
"postcss-cli": "^2.6.0",
|
"postcss-cli": "^3.0.0-beta",
|
||||||
"postcss-flexbugs-fixes": "^2.1.0",
|
"postcss-flexbugs-fixes": "^2.1.0",
|
||||||
"shelljs": "^0.7.6",
|
"shelljs": "^0.7.7",
|
||||||
"shx": "^0.2.2",
|
"shx": "^0.2.2",
|
||||||
"time-grunt": "^1.4.0",
|
"time-grunt": "^1.4.0",
|
||||||
"uglify-js": "^2.7.5"
|
"uglify-js": "^2.8.12"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
|
Reference in New Issue
Block a user