mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 12:51:52 +02:00
Drop Node.js < 10 support and update all devDependencies.
* sinon 8.x doesn't work with IE, so leave it at 7.x.
This commit is contained in:
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node: [6, 8, 12]
|
||||
node: [10, 12]
|
||||
ruby: [2.4.x]
|
||||
|
||||
steps:
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
- run: java -version
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Install bundler dependencies
|
||||
run: bundle install --deployment --jobs=3 --retry=3 --clean
|
||||
@@ -70,24 +70,24 @@ jobs:
|
||||
|
||||
- name: Run bundlesize
|
||||
run: npm run bundlesize
|
||||
if: matrix.node == 8
|
||||
if: matrix.node == 10
|
||||
env:
|
||||
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
|
||||
|
||||
- name: Run BrowserStack tests
|
||||
run: npm run js-test-cloud
|
||||
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
|
||||
env:
|
||||
BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
|
||||
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
|
||||
|
||||
- name: Run Link Checker
|
||||
run: npm run check-broken-links
|
||||
if: matrix.node == 8
|
||||
if: matrix.node == 10
|
||||
|
||||
- name: Run Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
if: matrix.node == 8
|
||||
if: matrix.node == 10
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
path-to-lcov: "./js/coverage/lcov.info"
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
const path = require('path')
|
||||
const babel = require('rollup-plugin-babel')
|
||||
const resolve = require('rollup-plugin-node-resolve')
|
||||
const resolve = require('@rollup/plugin-node-resolve')
|
||||
const banner = require('./banner.js')
|
||||
|
||||
const BUNDLE = process.env.BUNDLE === 'true'
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* eslint-env node */
|
||||
|
||||
const resolve = require('rollup-plugin-node-resolve')
|
||||
const commonjs = require('rollup-plugin-commonjs')
|
||||
const resolve = require('@rollup/plugin-node-resolve')
|
||||
const commonjs = require('@rollup/plugin-commonjs')
|
||||
const babel = require('rollup-plugin-babel')
|
||||
|
||||
module.exports = {
|
||||
|
3098
package-lock.json
generated
3098
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
@@ -72,7 +72,7 @@
|
||||
"docs-lint": "node build/vnu-jar.js",
|
||||
"docs-serve": "bundle exec jekyll serve",
|
||||
"docs-serve-only": "npm run docs-serve -- --skip-initial-build --no-watch",
|
||||
"update-deps": "ncu -u -x \"babel-plugin-istanbul,cross-env,eslint,find-unused-sass-variables,jquery,karma,karma-browserstack-launcher,karma-qunit,nodemon,postcss-cli,qunit,sinon,stylelint,stylelint-config-twbs-bootstrap\" && npm update && bundle update && cross-env-shell echo Manually update \\\"site/docs/$npm_package_version_short/assets/js/vendor/\\\"",
|
||||
"update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,qunit,sinon\" && npm update && bundle update && cross-env-shell echo Manually update \\\"site/docs/$npm_package_version_short/assets/js/vendor/\\\"",
|
||||
"release": "npm-run-all dist release-sri release-zip docs-production",
|
||||
"release-sri": "node build/generate-sri.js",
|
||||
"release-version": "node build/change-version.js",
|
||||
@@ -111,49 +111,46 @@
|
||||
"@babel/core": "^7.8.7",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
|
||||
"@babel/preset-env": "^7.8.7",
|
||||
"@rollup/plugin-commonjs": "^11.0.2",
|
||||
"@rollup/plugin-node-resolve": "^7.1.1",
|
||||
"autoprefixer": "^9.7.4",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-plugin-istanbul": "^5.2.0",
|
||||
"babel-plugin-istanbul": "^6.0.0",
|
||||
"broken-link-checker": "^0.7.8",
|
||||
"bundlesize": "^0.18.0",
|
||||
"clean-css-cli": "^4.3.0",
|
||||
"cross-env": "^5.2.1",
|
||||
"eslint": "^5.16.0",
|
||||
"find-unused-sass-variables": "^0.6.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"eslint": "^6.8.0",
|
||||
"find-unused-sass-variables": "^1.0.5",
|
||||
"glob": "^7.1.6",
|
||||
"hammer-simulator": "0.0.1",
|
||||
"http-server": "^0.12.1",
|
||||
"ip": "^1.1.5",
|
||||
"jquery": "^3.4.1",
|
||||
"karma": "^3.1.4",
|
||||
"karma": "^4.4.1",
|
||||
"karma-browserstack-launcher": "1.4.0",
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-coverage-istanbul-reporter": "^2.1.1",
|
||||
"karma-detect-browsers": "^2.3.3",
|
||||
"karma-firefox-launcher": "^1.3.0",
|
||||
"karma-qunit": "^3.1.3",
|
||||
"karma-qunit": "^4.0.0",
|
||||
"karma-sinon": "^1.0.5",
|
||||
"node-sass": "^4.13.1",
|
||||
"nodemon": "^1.19.4",
|
||||
"nodemon": "^2.0.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"popper.js": "^1.16.0",
|
||||
"postcss-cli": "^6.1.3",
|
||||
"postcss-cli": "^7.1.0",
|
||||
"qunit": "2.9.2",
|
||||
"rollup": "^1.32.1",
|
||||
"rollup": "^2.0.2",
|
||||
"rollup-plugin-babel": "^4.4.0",
|
||||
"rollup-plugin-commonjs": "^10.1.0",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"shelljs": "^0.8.3",
|
||||
"shx": "^0.3.2",
|
||||
"sinon": "^7.5.0",
|
||||
"stylelint": "^9.10.1",
|
||||
"stylelint-config-twbs-bootstrap": "^0.5.0",
|
||||
"stylelint": "^13.2.1",
|
||||
"stylelint-config-twbs-bootstrap": "^2.0.1",
|
||||
"uglify-js": "^3.8.0",
|
||||
"vnu-jar": "20.2.28"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"files": [
|
||||
"dist/{css,js}/*.{css,js,map}",
|
||||
"js/{src,dist}/**/*.{js,map}",
|
||||
|
Reference in New Issue
Block a user