2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Update devDependencies (#32852)

Pin karma and linkinator due to failures
This commit is contained in:
XhmikosR
2021-01-27 18:37:18 +02:00
committed by GitHub
parent 6ffb0b48e4
commit 17d8fba548
7 changed files with 197 additions and 174 deletions
+6 -9
View File
@@ -77,10 +77,9 @@ if (BUNDLE) {
)
conf.customLaunchers = customLaunchers
conf.detectBrowsers = detectBrowsers
files = files.concat([
files = [...files,
JQUERY_FILE,
'dist/js/bootstrap.js'
])
'dist/js/bootstrap.js']
} else if (BROWSERSTACK) {
conf.hostname = ip.address()
conf.browserStack = {
@@ -94,13 +93,12 @@ if (BUNDLE) {
conf.customLaunchers = browsers
conf.browsers = browsersKeys
reporters.push('BrowserStack')
files = files.concat([
files = [...files,
'node_modules/jquery/dist/jquery.slim.min.js',
'js/dist/util.js',
'js/dist/tooltip.js',
// include all of our js/dist files except util.js, index.js and tooltip.js
'js/dist/!(util|index|tooltip).js'
])
'js/dist/!(util|index|tooltip).js']
} else {
frameworks.push('detectBrowsers')
plugins.push(
@@ -108,13 +106,12 @@ if (BUNDLE) {
'karma-firefox-launcher',
'karma-detect-browsers'
)
files = files.concat([
files = [...files,
JQUERY_FILE,
'js/coverage/dist/util.js',
'js/coverage/dist/tooltip.js',
// include all of our js/dist files except util.js, index.js and tooltip.js
'js/coverage/dist/!(util|index|tooltip).js'
])
'js/coverage/dist/!(util|index|tooltip).js']
conf.customLaunchers = customLaunchers
conf.detectBrowsers = detectBrowsers
if (!USE_OLD_JQUERY) {
+2 -1
View File
@@ -25,7 +25,8 @@
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-rest-params": "off",
"prefer-template": "off",
"prefer-rest-params": "off"
"unicorn/prefer-spread": "off"
}
}