0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Commit Graph

207 Commits

Author SHA1 Message Date
XhmikosR
bcbf3f2ec6 build/generate-sri.js: add popperjs. 2018-10-14 08:17:40 +03:00
XhmikosR
449979decf docs: fix bundle SRI hash.
Also, remove popper.js from this script since it's not present in the repo.
2018-10-14 08:17:40 +03:00
XhmikosR
4ce091b87f Add a release npm script. 2018-10-14 07:51:40 +03:00
XhmikosR
3fcddfa42e Remove sri-toolbox dependency.
We can achieve the same very easily.
2018-10-14 07:41:45 +03:00
XhmikosR
19f70f9d4c Tweak build/build-plugins.js. 2018-09-26 17:04:33 +03:00
XhmikosR
02c4444f6c Remove unneeded path.resolve. 2018-09-26 15:53:44 +03:00
XhmikosR
59197765f4 Include the plugin's filename in the license header. 2018-09-26 15:53:44 +03:00
Helmut Granda
ebc220754b Add license headers in js/dist files
By implementing the same approach of rollup.config.js
and replicate it in build-plugins.js, individual plugins
will display license headers.
2018-09-26 15:53:44 +03:00
XhmikosR
47107d4647 Switch to find-unused-sass-variables for finding unused Sass variables. 2018-09-17 19:34:15 +03:00
XhmikosR
8bfecc7dc6 Update svgo.yml. 2018-09-16 18:06:24 +03:00
Johann-S
54d86e6249 move away from sauce labs to browserstack 2018-08-30 22:17:15 +02:00
XhmikosR
2f5f8ef755 build-plugins.js: Remove redundant space 2018-08-29 15:51:21 +03:00
XhmikosR
b442ce3130 build/*.js: set sourceType to module. 2018-08-12 22:22:12 +03:00
XhmikosR
ae53690ab4 Commit our svgo config. 2018-08-02 19:17:18 +03:00
Johann-S
eb81c39f2c feat(plugins): allow to import separate plugins 2018-07-19 19:59:45 +02:00
Mark Otto
0e920ce3f4 Reorganize docs for easier deploys
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-07-11 23:30:46 -07:00
XhmikosR
976aad0059
Remove the unused docs upload preview stuff. (#26599) 2018-05-27 11:44:29 +03:00
XhmikosR
0873ab71c7 Update devDependencies and gems.
Downgrade bundlesize until they make brotli optional since it doesn't work with node.js 10.x yet.

So, babel, qunit/karma-qunit and bundle-size aren't the latest versions.
2018-05-22 17:26:21 +03:00
Johann-S
ee382915be detect test exceeded maximum duration on Sauce Labs 2018-04-19 15:19:34 +02:00
XhmikosR
875ed0b975 Clean up globals.
Also, add a missing license header in build/workbox.js.
2018-04-09 22:44:22 +03:00
XhmikosR
91730a644f vnu.jar: Ignore all wrong language code warnings. 2018-04-08 14:17:20 -07:00
Johann-S
fd57d371f8 fix bundle and run test against it 2018-03-29 21:21:31 -07:00
Johann-S
012d4433c2 fix rollup config 2018-03-21 12:15:47 +02:00
XhmikosR
c8d7eecab3 Update workbox.js 2018-03-21 12:15:47 +02:00
Michael
7dc41e299b Update to workbox 3.0 & fix breaking changes 2018-03-21 12:15:47 +02:00
XhmikosR
a93830c9fd
saucelabs-unit-test.js: tweak failed tests message (#25836) 2018-03-13 14:08:56 +02:00
Léo Andrès
f4051abc12 Clean shell scripts (#25704) 2018-03-12 18:59:57 +02:00
Mark Otto
0d110c8f91
Update copyright for 2k18 (#25303)
* Update copyright range to include 2018

* Extend copyright date range on new files from 2017 to include 2018
2018-01-14 20:08:58 -08:00
XhmikosR
80d0943b95 Comply to the new rules. 2018-01-11 18:48:46 +02:00
XhmikosR
6d336502c7 Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00
XhmikosR
13be9aa00b Ignore the bogus lang vnu.jar error. 2018-01-11 10:16:12 +02:00
XhmikosR
bf0e753517
Update devDependencies and gems. (#25083) 2017-12-31 02:03:22 +02:00
Mark Otto
dd621e5511
Improve lint vars output messaging (#25049) 2017-12-28 10:24:08 -08:00
XhmikosR
6050d72a3a
Combine path and remove variable used in one place. (#24873) 2017-11-28 10:43:09 +02:00
XhmikosR
76295676a1
Replace lint-vars.sh with a Node.js script. (#24860)
Also, include it in the `css` npm script since it's instant.
2017-11-27 19:41:48 +02:00
XhmikosR
cdab56d940
Add a simple script to generate SRI hashes for our assets. (#24814) 2017-11-23 10:22:54 +02:00
Federico Zivolo
7fd265034c Use UMD and fix build to properly load deps (#24783) 2017-11-15 14:13:33 +01:00
Johann-S
9a0bba9afa
Object spread : less jQuery more ES6 (#24665) 2017-11-13 11:25:36 +01:00
XhmikosR
433bf30de7 Add svg files in workbox and remove jpg. 2017-11-03 14:12:47 +02:00
patrickhlauke
f9188de4af Fix invalid <nav ... role="tablist"> in docs. 2017-10-31 21:36:17 +02:00
patrickhlauke
fb4c9fae17 More wording tweaks 2017-10-31 21:36:17 +02:00
XhmikosR
2bbb9e0efc Shorten ignores - add more comments. 2017-10-31 21:36:17 +02:00
patrickhlauke
e80f61623b Remove datetime-local warning from vnu ignore list, change reboot example. 2017-10-31 21:36:17 +02:00
patrickhlauke
96a9fa1c82 Remove invalid example of title attribute in an SVG and related vnu error suppression 2017-10-31 21:36:17 +02:00
patrickhlauke
ce90b82b19 Add comments to clarify why we ignore a couple of vnu's errors.
* "autocomplete" attribute errors
* "legend" is not allowed as child of "div"
2017-10-31 21:36:17 +02:00
XhmikosR
dde280618c vnu-jar.js: pass -Xss512k for 32-bit Java to avoid a StackOverflowError error. 2017-10-31 21:36:17 +02:00
XhmikosR
930783cb24 Re-enable vnu-jar's warnings and suppress the ones we don't need now. 2017-10-31 21:36:17 +02:00
XhmikosR
271f5071a3
build/*.js: es6ify. (#24611) 2017-10-31 12:41:03 +02:00
XhmikosR
6b884dcd76 Clean up package.json scripts. (#24583)
* rename build/htmllint.js to build/vnu-jar.js
* remove the unused `bash` script
* split the `docs-lint` scripts
* fix watch-js script to run only the parent `js-compile` script
2017-10-29 16:28:52 -07:00
Johann-S
62fbb23ee6 Change Rollup config to wrap our dist files with jQuery instead of $ 2017-10-24 12:39:25 +02:00
XhmikosR
29d58fb758 Enable stylelint's function-comma-space-after. (#24501)
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
XhmikosR
c70eaa156f Set autoprefixer's cascade option to false. (#24459)
This saves a few bytes from the unminified dist files.
2017-10-22 15:23:23 +03:00
XhmikosR
2ef5b90136 Tighten htmllint's rules. (#24471) 2017-10-22 15:02:24 +03:00
Johann-S
da22bce2f0 Add information about failed tests 2017-10-10 12:58:41 +02:00
XhmikosR
d687ba5684 Remove unused code from postcss.config.js.
We actually want to generate a sourcemap for docs.min.css.
2017-10-09 11:20:05 +03:00
XhmikosR
a8fb64f3e3 Lint examples' CSS too. 2017-10-09 11:20:05 +03:00
XhmikosR
ecdaf0e34a Run autoprefixer for examples' CSS too. 2017-10-09 11:20:05 +03:00
XhmikosR
607f26d0a3 Add back htmlhint. 2017-10-08 19:08:16 +03:00
XhmikosR
ee4176c9c9 Move vnu-jar to devDependencies and remove completely htmlhint. 2017-10-08 19:08:16 +03:00
Bardi Harborow
258507b756 Move from htmllint to Travis-only vnu.jar. 2017-10-08 19:08:16 +03:00
XhmikosR
5e7a9afe35 Update saucelabs-unit-test.js (#24297)
Add license header and minor formatting tweaks.
2017-10-08 17:48:37 +03:00
XhmikosR
ebc82db8ef Enable stylelint's no-duplicate-selectors rule. 2017-10-07 00:11:40 +03:00
Mark Otto
a455a3e374 tweak output 2017-10-02 20:46:19 -07:00
Mark Otto
90da657546 initial pass at a build bash script for myself 2017-10-02 20:46:19 -07:00
XhmikosR
7b766e1ad5 Switch to stylelint. (#23572) 2017-10-02 20:34:56 -07:00
XhmikosR
7b514f48c7 Rename variables and remove unneeded return. 2017-09-29 19:39:25 +03:00
Johann-S
874fd5b952 Manage exceed maximum duration for our test 2017-09-29 19:39:25 +03:00
Johann-S
54d4507281 Use sauce_browsers.json. 2017-09-29 19:39:25 +03:00
Johann-S
b001118c98 Convert sauce_browser.yml to JSON. 2017-09-29 19:39:25 +03:00
Johann-S
b23ff97a85 Specify Travis job ID. 2017-09-29 19:39:25 +03:00
XhmikosR
bec0eb21d5 ES6-ify build/saucelabs-unit-test.js. 2017-09-29 19:39:25 +03:00
Johann-S
210bb221a8 Use jsunitsaucelabs to run our unit tests on Saucelabs 2017-09-29 19:39:25 +03:00
XhmikosR
502ac7ee4d Lint docs js too and use `strict consistently. (#24160) 2017-09-28 17:25:28 +03:00
XhmikosR
fe06814f3e Move uglify-js's config back to CLI. (#24147)
We need to pass different options and this seems cleaner at this point.

In order for docs.min.js to keeps all comments, we don't pass `compress`.
2017-09-28 15:35:23 +03:00
XhmikosR
f17443748d Move Autoprefixer's config in package.json.
This is so other plugins can use it too.
2017-09-26 17:16:27 +03:00
XhmikosR
3bc9402350 build/*.js: ES6-ify files. (#24112) 2017-09-26 15:14:52 +03:00
XhmikosR
4d96ad8dfc Tabs to spaces. (#24110) 2017-09-26 14:41:49 +03:00
Henry Zhu
f17b165f0f Babel 7 (#23966)
* use .babelrc.js, compile bundled/non-bundled with loose mode

* add back helper, exclude typeof transform
2017-09-17 08:40:48 +02:00
Michael
5951508898 Pre-cache key assets with Workboxjs. (#23533) 2017-09-15 13:37:34 +03:00
Johann-S
c3fe53cd42 Use rollup to add our copyright instead of a custom script 2017-08-31 19:12:32 +02:00
Johann-S
9936bf5944 Create a bundled release of Bootstrap with Popper.js inside 2017-08-31 18:43:04 +02:00
Herst
0165a620ec Adapt UglifyJS config for IE10
See mishoo/UglifyJS2#2198
2017-08-31 16:40:26 +02:00
Christian Oliff
78f29d2b3c Update URL for supported browsers 2017-08-27 18:19:57 +10:00
Johann-S
b72489a851 Update which required jQuery release folks should use 2017-08-23 09:55:09 +03:00
XhmikosR
7a9ab5bfe1 Disable attr-name-style.
Pretty useless, we need to switch to the official HTML validator ASAP.
2017-08-11 12:52:44 +03:00
Johann-S
7641da387e Add semicolon for our dist files in stamp.js (#23182) 2017-07-31 13:07:22 +03:00
Bardi Harborow
bde16528d2 Switch to using NPM lock files. 2017-07-16 13:51:16 +10:00
Johann-S
88b2e228c2 Use config file for UglifyJS to ensure same behavior on every environments (#22990) 2017-07-05 09:53:23 +02:00
Johann-S
2cbaefc244 Update Popper.js to 1.10.8 2017-07-04 10:37:44 +02:00
Mark Otto
c90cef019a Add bash script to lint our variables 2017-07-01 22:57:19 -07:00
Mark Otto
8b34a0e172 ios9 and up opera 2017-06-30 11:42:56 -07:00
Mark Otto
ba3fb3c98f narrow browser support in postcss 2017-06-30 11:42:56 -07:00
Johann-S
86dc1cba29 Fix accidental removing of babel-plugin-transform-es2015-modules-strip 2017-06-28 11:30:49 +02:00
Johann-S
4ae7d8170b Revert #22534 - Add grunt to our devDependencies (#22897) 2017-06-22 22:26:13 +02:00
Mark Otto
440af84c7a remove postcss-flexbugs-fixes from build process 2017-06-18 18:17:48 -07:00
Johann-S
8f431fc5b8 Update Popper.js 1.10.1 2017-06-14 21:13:42 +02:00
Mark Otto
4d2570d038 drop htmlhint given htmllint gives us most of the coverage we need here 2017-05-29 23:32:28 -07:00
Mark Otto
3e76d65656 Rearrange all the docs to allow for a docs/major.minor/ setup 2017-05-29 23:32:28 -07:00
Johann-S
cc303d5d26 Update Popper.js to 1.9.9 2017-05-24 14:57:40 +02:00
Johann-S
dd78950d0a Update Popper.js 1.9.4 2017-05-17 14:22:10 +02:00
Johann-S
21c3864134 Update Popper.js 1.9.3 2017-05-14 11:41:19 +02:00
Johann-S
3cfa5e8c05 Update Popper.js 1.9.1 + Update documentation about Dropdown placement 2017-05-14 11:41:19 +02:00
Bardi Harborow
65d0d9831a Update shrinkwrap. 2017-05-14 11:41:19 +02:00
Johann-S
458b3cc4a3 Update Popper.js 1.8.2 2017-05-14 11:41:19 +02:00
Johann-S
d5fabf8de5 Remove totaly Tether from documentation + dependencies 2017-05-14 11:41:19 +02:00
Bardi Harborow
2906b612d5 More minor build tweaks and docs updates. 2017-04-21 21:08:40 +10:00
Bardi Harborow
b4ac48fdec Build system overhaul. 2017-04-20 14:31:22 +10:00