aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/build
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/build')
-rw-r--r--vendor/twbs/bootstrap/build/build-plugins.js2
-rw-r--r--vendor/twbs/bootstrap/build/change-version.js2
-rw-r--r--vendor/twbs/bootstrap/build/generate-sri.js2
-rw-r--r--vendor/twbs/bootstrap/build/rollup.config.js2
-rw-r--r--vendor/twbs/bootstrap/build/svgo.yml3
-rw-r--r--vendor/twbs/bootstrap/build/vnu-jar.js6
6 files changed, 11 insertions, 6 deletions
diff --git a/vendor/twbs/bootstrap/build/build-plugins.js b/vendor/twbs/bootstrap/build/build-plugins.js
index abcbc5e2f..877621636 100644
--- a/vendor/twbs/bootstrap/build/build-plugins.js
+++ b/vendor/twbs/bootstrap/build/build-plugins.js
@@ -21,7 +21,7 @@ const plugins = [
'createClass',
'inheritsLoose',
'defineProperty',
- 'objectSpread'
+ 'objectSpread2'
]
})
]
diff --git a/vendor/twbs/bootstrap/build/change-version.js b/vendor/twbs/bootstrap/build/change-version.js
index f1b4f747a..f068e2a70 100644
--- a/vendor/twbs/bootstrap/build/change-version.js
+++ b/vendor/twbs/bootstrap/build/change-version.js
@@ -83,6 +83,7 @@ function main(args) {
const newVersion = args[1]
const EXCLUDED_DIRS = new Set([
'.git',
+ '_gh_pages',
'node_modules',
'vendor'
])
@@ -94,6 +95,7 @@ function main(args) {
'.js',
'.json',
'.md',
+ '.nuspec',
'.scss',
'.txt',
'.yml'
diff --git a/vendor/twbs/bootstrap/build/generate-sri.js b/vendor/twbs/bootstrap/build/generate-sri.js
index a93f3e538..66544d4ad 100644
--- a/vendor/twbs/bootstrap/build/generate-sri.js
+++ b/vendor/twbs/bootstrap/build/generate-sri.js
@@ -40,7 +40,7 @@ const files = [
configPropertyName: 'js_bundle_hash'
},
{
- file: `site/docs/${pkg.version_short}/assets/js/vendor/jquery-slim.min.js`,
+ file: `site/docs/${pkg.version_short}/assets/js/vendor/jquery.slim.min.js`,
configPropertyName: 'jquery_hash'
},
{
diff --git a/vendor/twbs/bootstrap/build/rollup.config.js b/vendor/twbs/bootstrap/build/rollup.config.js
index e81a07ef5..0dfa5d48a 100644
--- a/vendor/twbs/bootstrap/build/rollup.config.js
+++ b/vendor/twbs/bootstrap/build/rollup.config.js
@@ -17,7 +17,7 @@ const plugins = [
'createClass',
'inheritsLoose',
'defineProperty',
- 'objectSpread'
+ 'objectSpread2'
]
})
]
diff --git a/vendor/twbs/bootstrap/build/svgo.yml b/vendor/twbs/bootstrap/build/svgo.yml
index 047e6947f..1b592f00f 100644
--- a/vendor/twbs/bootstrap/build/svgo.yml
+++ b/vendor/twbs/bootstrap/build/svgo.yml
@@ -35,6 +35,9 @@ plugins:
- minifyStyles: true
- moveElemsAttrsToGroup: true
- moveGroupAttrsToElems: true
+ - removeAttrs:
+ attrs:
+ - "data-name"
- removeComments: true
- removeDesc: true
- removeDoctype: true
diff --git a/vendor/twbs/bootstrap/build/vnu-jar.js b/vendor/twbs/bootstrap/build/vnu-jar.js
index 7d549cb01..8567ba89d 100644
--- a/vendor/twbs/bootstrap/build/vnu-jar.js
+++ b/vendor/twbs/bootstrap/build/vnu-jar.js
@@ -36,9 +36,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
'The “time” input type is not supported in all browsers.*',
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
// Explicit role="main" is redundant for other modern browsers, but still valid.
- 'The “main” role is unnecessary for element “main”.',
- // Ignore the wrong lanuage code warnings for now; they happen randomly.
- 'This document appears to be written in.*'
+ 'The “main” role is unnecessary for element “main”.'
].join('|')
const args = [
@@ -46,6 +44,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
vnu,
'--asciiquotes',
'--skip-non-html',
+ // Ignore the language code warnings
+ '--no-langdetect',
'--Werror',
`--filterpattern "${ignores}"`,
'_gh_pages/',