0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

791 Commits

Author SHA1 Message Date
XhmikosR
7491b14f03 Bump bundlesize limits 2019-02-20 22:05:45 +02:00
XhmikosR
25bba7bd68 remove --compress typeofs=false from terser.
This was needed for IE
2019-02-20 22:05:45 +02:00
Johann-S
83cea3bafa fix(build): remove jquery in our build 2019-02-20 22:05:45 +02:00
XhmikosR
ececf644f4
Replace uglify-js with terser. (#27813) 2019-02-19 15:51:50 +02:00
XhmikosR
e4ec9dfe9c
Use npm-run-all for the release script. (#28307)
It's shorter.
2019-02-19 14:35:19 +02:00
XhmikosR
4c87843d2d Update karma to ^4.0.0. 2019-02-19 12:23:37 +02:00
XhmikosR
a4f260d0a8 Drop Node.js < 8 support.
Node.js 6 goes EOL on April 2019.
2019-02-19 12:23:37 +02:00
XhmikosR
be380572fb
Replace broken-link-checker with linkinator. (#28291)
Much lighter, more modern and cleaner codebase.
2019-02-19 11:36:34 +02:00
XhmikosR
e04f393237 Update devDependencies. (#28292) 2019-02-19 11:00:11 +02:00
XhmikosR
25ce91adc0
Update devDependencies. (#28271) 2019-02-15 15:38:24 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. (#28252) 2019-02-13 18:01:40 +02:00
XhmikosR
dae20da750
Remove unneeded glob. (#28249)
Typo from 10b97f6.
2019-02-13 15:21:04 +02:00
XhmikosR
10b97f6ed9 Fix npm package contents 2019-02-13 08:32:15 +02:00
Johann-S
7bc4d2e0bc Add sanitize template option for tooltip/popover plugins. 2019-02-13 08:32:15 +02:00
Mark Otto
1ded0d6a4e
Release v4.3.0 (#28228)
* Prep for v4.3.0

* More updates for v4.3.0.

* rerun to build docs source map
2019-02-11 11:15:34 -08:00
XhmikosR
94acdee691
Revert "Silence mkdir. (#28184)" (#28209)
This reverts commit 6ea000d2bc.

Unfortunately, it doesn't seem to work.
2019-02-09 13:20:02 +02:00
XhmikosR
52e6ce4512
Update devDependencies. (#28175) 2019-02-08 09:39:03 +02:00
XhmikosR
6ea000d2bc
Silence mkdir. (#28184)
This can fail if run in parallel.
2019-02-06 12:22:49 +02:00
XhmikosR
1139f62ca2 Adjust bundlesize limits. 2019-02-05 10:24:49 +02:00
XhmikosR
3723613875
Update devDependencies and gems. (#28094) 2019-01-24 21:25:49 +02:00
XhmikosR
0828b88563
Fix js-main script. (#28057) 2019-01-15 17:30:21 +02:00
XhmikosR
746a057f0c
Update devDependencies. (#28016) 2019-01-10 15:56:54 +02:00
XhmikosR
ff4c35f566
Tighten bundlesize limits. (#28012) 2019-01-10 09:03:16 +02:00
XhmikosR
b23241480a Enable cache for stylelint. 2019-01-07 19:15:06 +02:00
XhmikosR
1213d06b2f Enable cache for ESLint. 2019-01-07 19:15:06 +02:00
XhmikosR
cdece35bde
Update devDependencies and gems. (#27981) 2019-01-07 18:57:52 +02:00
Mark Otto
e6b1eefc73 Add horizontal list group modifier (#27970)
Alternate take to #27683 that builds the modifier class based on min-width, such that list groups are stacked until the class's breakpoint is reached. This is less verbose, matches our primary responsive approach, and prevents an extra class. Unfortunately, I believe supporting flush list groups is too much code here, so I've skipped that and made a note in the docs.

Also added examples generate from our breakpoints data file with a protip for how to do equal width items.
2019-01-07 03:01:36 +02:00
XhmikosR
d1067d7c35
Switch to our Stylelint config. (#27974) 2019-01-05 20:59:44 +02:00
XhmikosR
fcb034828f stylelint: no need to specify syntax.
This speeds things up a bit because we don't spawn a new instance.
2019-01-05 20:02:00 +02:00
Martijn Cuppens
75ec03c2ab Run linters in parallel
This should speed up things a bit
2019-01-05 20:02:00 +02:00
XhmikosR
47610b0f8b Update postcss-cli to v6.1.1. 2019-01-05 00:36:31 +02:00
XhmikosR
d4b5b4b78c Update devDependencies and gems. 2019-01-04 14:22:23 +02:00
XhmikosR
2dda0a22e4 Update devDependencies and gems. 2018-12-21 21:07:48 -08:00
Mark Otto
15be9d3277
Add variable for dropdown-divider-margin-y (#27857)
* Add variable for dropdown-divider-margin-y

For us to reassign the nav-divider-margin-y variable here, we have to rearrange some of the variables.

Fixes #26660.

* bump bundlesize
2018-12-21 20:59:40 -08:00
Mark Otto
9e4e94747b
Bump to v4.2.1 (#27892) 2018-12-21 10:55:28 -08:00
Mark Otto
eda851ee76 Prep for v4.2.0 release
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00
Johann-S
af60644d2f integration test to be sure bootstrap can be bundled 2018-12-14 02:08:18 +02:00
XhmikosR
385ce1c961
Update devDependencies. (#27806) 2018-12-10 10:34:30 +02:00
XhmikosR
947f749e23
Update devDependencies. (#27764) 2018-12-06 08:34:35 +02:00
XhmikosR
fdc5c1f49a Update devDependencies. 2018-11-25 11:46:37 +02:00
XhmikosR
0c60257114 Revert "Replace anchor.js with jekyll-anchor-headings."
This reverts commit b04f97f60b.
2018-11-23 15:28:39 +02:00
XhmikosR
8a7ed6047b Update devDependencies. 2018-11-22 11:15:21 +02:00
XhmikosR
2b9af5e38c Remove holder.js. 2018-11-20 21:31:28 +02:00
XhmikosR
b04f97f60b Replace anchor.js with jekyll-anchor-headings.
This allows us to generate the anchor links on build time.

https://github.com/allejo/jekyll-anchor-headings
2018-11-20 11:47:10 +02:00
XhmikosR
53d279b934 Update devDependencies and gems. 2018-11-16 08:59:37 +02:00
Johann-S
16cf76ff1a Create toast JS plugin, add unit tests. 2018-11-13 08:47:32 +02:00
XhmikosR
5afc708961 Bump bootstrap.min.css bundle size. 2018-11-13 08:21:57 +02:00
XhmikosR
5c03f23f85 Reorganize npm scripts. 2018-11-05 19:06:39 +02:00
XhmikosR
e3abb8e4dd
Remove htmllint. (#27603)
We use the official HTML validator for HTML validation, and we don't really use any of the htmllint features.
2018-11-05 18:42:05 +02:00
XhmikosR
15fa1566cd Update devDependencies and gems. 2018-11-04 16:02:35 +02:00
XhmikosR
497766a3a6 Travis: stop using a separate stage for Browser tests.
This should be faster.
2018-11-04 15:40:09 +02:00
XhmikosR
ca47a21b70 broken-link-checker: force follow links.
After 3256a2c, blc honored robots.txt thus it didn't crawl anything.
Ignore robots.txt to work around the issue.
2018-11-04 15:32:59 +02:00
XhmikosR
bb0d6bf178 Update devDependencies and gems. 2018-10-29 15:40:20 +02:00
XhmikosR
9ed0b318b9 Update devDependencies and gems. 2018-10-21 19:11:20 +03:00
XhmikosR
79db264910 package.json: add version_short and use it in the npm scripts. 2018-10-20 21:17:50 +03:00
Mark Otto
5bf37eba53 Remove service worker 2018-10-20 16:00:28 +03:00
Johann-S
735c374e9c use pointer events if available 2018-10-20 15:32:09 +03:00
Johann-S
c08652cfe8 swipe left/right without hammerjs 2018-10-20 15:32:09 +03:00
Johann-S
caefd70463 Add touch support in our carousel with HammerJS. 2018-10-20 15:32:09 +03:00
XhmikosR
43bf268248
Rename docs production script to production and use JEKYLL_ENV. (#27410) 2018-10-18 10:45:49 +03:00
XhmikosR
99e0e30402 Move lint scripts outside of the main scripts.
This allows us to run `npm run dist` without tests.
2018-10-18 10:05:19 +03:00
XhmikosR
f6a39e39c8 npm release-zip: remove the folder before zipping. 2018-10-18 10:05:19 +03:00
XhmikosR
29f849879b Move docs .eslintrc in site/. 2018-10-15 16:03:16 +03:00
XhmikosR
18ff70c248 Update devDependencies and gems. 2018-10-15 14:52:22 +03:00
XhmikosR
3574af5231 Include css-copy in the css script. 2018-10-15 14:31:42 +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
f59c2d946c Update devDependencies and gems. 2018-10-07 08:20:24 +03:00
XhmikosR
9d63deb954 Rename script. 2018-10-07 08:20:24 +03:00
XhmikosR
252e538985 Make release-zip include the root folder.
Also, now it should work cross-platform assuming `zip` is present.
2018-09-20 12:54:34 +03:00
Johann-S
75f83da539 use bsCustomFileInput in our documentation (#27264) 2018-09-18 16:52:10 +03:00
XhmikosR
47107d4647 Switch to find-unused-sass-variables for finding unused Sass variables. 2018-09-17 19:34:15 +03:00
Johann-S
8cd485fcc8 speed up browser tests 2018-09-15 08:50:13 +03:00
Johann-S
9efed82522 refactor karma config in one file 2018-09-13 21:59:37 +02:00
XhmikosR
83006463c9 Update devDependencies. 2018-09-09 19:05:03 +03:00
Johann-S
54d86e6249 move away from sauce labs to browserstack 2018-08-30 22:17:15 +02:00
XhmikosR
b5ad6129a2 Update devDependencies. 2018-08-28 21:48:38 +03:00
XhmikosR
da717b03e6 Update devDependencies and gems. 2018-08-20 10:49:49 +03:00
XhmikosR
5fed73d409 Update deps. 2018-08-13 19:20:17 +03:00
XhmikosR
107a8da550 Update bundlesize limits. 2018-08-13 10:10:52 +03:00
Johann-S
c0b40745e0 add babel plugin proposal object rest spread to our dev deps 2018-08-12 23:34:25 +02:00
XhmikosR
34199be5ec Revert "broken link checker: check external links too."
This reverts commit 9e5ec00d50.

Unfortunately, we are getting too many timeouts.
2018-08-12 23:42:01 +03:00
XhmikosR
9e5ec00d50 broken link checker: check external links too.
It's slower, but since it runs only on Travis, we better be safe.
2018-08-12 21:15:55 +03:00
XhmikosR
208f22c8d7 Run all css tasks in dist script. 2018-08-12 21:15:55 +03:00
XhmikosR
b5af1c6eaf Fix paths. 2018-08-12 21:15:55 +03:00
XhmikosR
4317d4fb2d Update devDependencies and gems.
Also, enforce LF in clean-css.
2018-08-12 20:52:35 +03:00
XhmikosR
81f1249e9c Update package.json
Fix paths to docs.
2018-08-02 09:25:06 +02:00
XhmikosR
5570f1c161 package.json: be more explicit with the files we include. 2018-08-02 09:40:02 +03:00
XhmikosR
c73b4a705e Update devDependencies and gems. 2018-07-29 14:07:38 -07:00
Mark Otto
f803fb9903
Add margin utils to the grid for fully functional grid control (#26957)
* Add margin utils to the grid for fully functional grid control

* bump the max filesize
2018-07-28 21:34:27 -07:00
Mark Otto
3b55873438 Ship v4.1.3 2018-07-24 08:54:34 -07:00
Johann-S
eb81c39f2c feat(plugins): allow to import separate plugins 2018-07-19 19:59:45 +02:00
XhmikosR
6cf8700fd9 Move the browserslist config to a separate file. 2018-07-16 21:34:53 +03:00
Mark Otto
c4ccfbe04e Ship v4.1.2 2018-07-12 09:27:14 -07:00
XhmikosR
a49f5cab6f Clean up npm scripts a bit more.
`docs-serve` was duplicated. Also, extend the existent `docs-serve` script for `docs-github-serve`.
2018-07-12 00:06:12 -07:00
XhmikosR
6589408a4b Update scripts. 2018-07-11 23:30:46 -07:00
Mark Otto
aedd700768 change dist to only affect main since docs css isn't distributed 2018-07-11 23:30:46 -07:00
Mark Otto
4518288c7c Move copy tasks back to css-main and js-compile so docs-github task runs properly 2018-07-11 23:30:46 -07:00
Mark Otto
159aebc274 Update watch scripts to properly copy JS files
- Updates nodemon scripts to watch specific directories instead of ignoring several
- Split watch tasks for CSS and JS into main and docs
- Add docs-watch script to serve the docs instead of just build
- Add new start script so that instead of two tabs, one for docs-watch and one for watch, we just run npm start
2018-07-11 23:30:46 -07: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
cfc9c85b32 Update devDependencies.
Only bundlesize is kept back for Node.js 10.x compatibility.
2018-07-06 12:39:13 +03:00
XhmikosR
13b8b9f03a .browserslistrc: add not dead. 2018-07-01 09:56:22 +03:00
XhmikosR
4112df4125 Add broken-link-checker. 2018-06-25 16:54:06 +03:00
XhmikosR
29bff9fdd0 Change karma tests to run sequential.
I was getting port in use errors.
2018-06-21 18:02:20 +03:00
XhmikosR
71a37425c9 Update all devDependencies apart from bundlesize and babel.
Newer bundlesize versions still don't work with node.js 10.x.

babel has some bugs that we need to be fixed.
2018-06-21 18:02:20 +03:00
Johann-S
96cbb58cb3 chore(bundlesize): increase bootstrap.js max size 2018-06-01 10:30:11 +02:00
XhmikosR
976aad0059
Remove the unused docs upload preview stuff. (#26599) 2018-05-27 11:44:29 +03:00
XhmikosR
c2b13b9c78 Run coveralls only on Travis and only once. 2018-05-23 13:54:51 +03:00
Johann-S
31cf1fdd8d Add coverall to follow our coverage 2018-05-23 10:03:09 +02:00
XhmikosR
c3da2c8f31 Update again. 2018-05-22 17:26:21 +03:00
Johann-S
0338b61eb6 chore(deps): update qunit and karma-qunit 2018-05-22 17:26:21 +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
Mark Otto
779ad9f174 Bump version to v4.1.1 2018-04-30 09:04:33 -07:00
XhmikosR
6199871d15
Update devDependencies. (#26322) 2018-04-17 15:32:08 +03:00
XhmikosR
b88f073806
Update devDependencies. (#26309) 2018-04-16 13:15:56 +03:00
XhmikosR
ee91fdbf14
Update dependencies and gems (#26234) 2018-04-10 15:35:18 +03:00
Mark Otto
8f7bd41993
Ship v4.1.0 (#26218)
* update docs path from docs/4.0/ to docs/4.1/

* bump version to 4.1.0

* Update redirects to work for 4.1 docs move

* Update docs version switcher to include latest and link to 4.0 docs

* re-run dist

* Update package-lock.json

* Update docs-navbar.html
2018-04-09 09:00:23 -07:00
XhmikosR
10c64bdae8 Fix broken URI fragments and redirects. 2018-04-02 19:19:09 +03:00
Johann-S
fd57d371f8 fix bundle and run test against it 2018-03-29 21:21:31 -07:00
XhmikosR
e0ab096bac Update all devDependencies.
Kept back karma-qunit and qunitjs because tests fail.
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
1a40784ab8 Update dependencies. 2018-03-21 12:15:47 +02:00
Johann-S
4d5c5923fa Add Sinon to do better unit test 2018-03-13 15:37:11 +01:00
Johann-S
e43f97304e add code coverage 2018-03-05 10:04:54 +01:00
XhmikosR
b7a549c8c3
Update devDependencies and gems. (#25708) 2018-03-05 09:14:58 +02:00
XhmikosR
9057d8da16
Update devDependencies and gems. (#25551) 2018-02-05 20:12:51 +02:00
XhmikosR
e559034d36
Update devDependencies and gems. (#25502) 2018-01-30 10:17:35 +02:00
XhmikosR
96a9e98e49
Update devDependencies. (#25371) 2018-01-22 14:40:50 +02:00
Mark Otto
572d00ac7e Bump version to 4.0.0 2018-01-18 10:24:51 -08: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
bfceedc84a
Update devDependencies and gems. (#25192) 2018-01-11 10:48:46 +02:00
XhmikosR
bf0e753517
Update devDependencies and gems. (#25083) 2017-12-31 02:03:22 +02:00
XhmikosR
06d8e58e9f
Add docs-github-serve script for local serving the github target. (#25139) 2017-12-31 01:54:42 +02:00
Mark Otto
ced70da441 Update version to 4.0.0-beta.3 2017-12-28 09:50:04 -08:00
XhmikosR
8b8999b07a
Update our browserslist. (#24919)
Update our browserslist.

* Add `last 1 major version` and `>= 1%`.
* Add Firefox.

Firefox v38 is older than the ESR, so basically replace ESR with v38.
2017-12-23 10:09:10 +02:00
XhmikosR
5cede31469
Update devDependencies and gems. (#25023) 2017-12-22 10:37:59 +02:00
XhmikosR
3a0f8d73df
Update devDependencies and gems. (#24940) 2017-12-05 01:02:29 +02:00
XhmikosR
c2c0eebd43
Update devDependencies and gems. (#24876) 2017-11-28 12:26:50 +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
3de46286b2
Update package.json. (#24582)
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
2017-11-25 02:02:25 +02:00
XhmikosR
68ca2946f7 Run karma tests in parallel. 2017-11-23 10:41:56 +02:00
Johann-S
e8ba37139f Allow us to run our unit test on differents jquery version 2017-11-23 10:41:56 +02:00
XhmikosR
cdab56d940
Add a simple script to generate SRI hashes for our assets. (#24814) 2017-11-23 10:22:54 +02:00
XhmikosR
0f17d53770 Update devDependencies. (#24829) 2017-11-20 09:47:39 +01:00
XhmikosR
e29398ee20 Remove unused file and bundle ie-emulation-modes-warning.js with docs.min.js (#24825)
* Remove the unused assets/js/ie10-viewport-bug-workaround.js.

* Combine ie-emulation-modes-warning.js with docs.min.js.
2017-11-19 13:30:10 +01:00
XhmikosR
81cf6c4968
Don't run postcss for dist/css/*.min.css files. (#24676) 2017-11-16 14:48:08 +02:00
XhmikosR
0ff7231faa
Update popper.js to v1.12.9. (#24797) 2017-11-16 12:53:11 +02:00
XhmikosR
1354a929f9 Update devDependencies. (#24762) 2017-11-13 11:11:55 +01:00
Johann-S
75bdc6d962 Update devDependencies (#24722) 2017-11-09 07:43:55 +02:00
Johann-S
83fd91cdf8 Update to babel beta 5 2017-11-08 01:04:31 +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
XhmikosR
96110893af npm scripts: fix duplicate runs. (#24532)
`js-compile` and `js-minify` tasks already call their "children" tasks.
2017-10-24 14:48:17 +03:00
XhmikosR
0d71a8a738 Update popper.js to v1.12.6 and package-lock.json. (#24512) 2017-10-23 10:21:38 +03:00
Mark Otto
dbf5405cfd fix version number 2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e new version number 2017-10-19 12:23:29 -07:00
XhmikosR
d763d019ad Make 1.9.1 the minimum jQuery version again. (#24434) 2017-10-19 09:02:27 -07:00
Vohmyanin Sergey Vasilevich
dc5a096e03 Enable sourcemaps for bundles and include sourcemap for plugins in npm package. (#24303) 2017-10-19 09:01:26 +03:00
XhmikosR
fac70149b3 Update package-lock.json. (#24386)
Also, lock babel deps to 7.0.0-beta.2 so that we are on the safe side.
2017-10-17 16:27:07 +03:00
XhmikosR
64567de6d0 package.json: Change repo URL to git+https. (#24305) 2017-10-09 14:34:32 +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
3edc03f4ee Update devDependencies. (#24298) 2017-10-09 10:44:10 +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
5462404226 npm scripts: quote globs. 2017-10-04 13:01:15 +03:00
XhmikosR
7b766e1ad5 Switch to stylelint. (#23572) 2017-10-02 20:34:56 -07:00
XhmikosR
49ce5f3a64 Tweak bundlesize's targets. (#24203)
Separate CSS targets and tighten a couple others targets.
2017-10-02 22:03:12 +03:00
XhmikosR
44dcc8d719 Make Node.js 6 the minimum version.
Also, be consistent with Node.js' name.
2017-10-01 12:01:27 -07:00
XhmikosR
a143f82ccd Add bundlesize. 2017-10-01 12:01:27 -07:00
XhmikosR
202cd09407 Tweak npm scripts. (#24146)
* make `css` and `js` "super" scripts which will run both main and docs scripts
* make `js-minify` run all js minify tasks
* use parallel in more places
2017-10-01 11:09:45 +03:00
Johann-S
54d4507281 Use sauce_browsers.json. 2017-09-29 19:39:25 +03:00
XhmikosR
2244d03b34 Remove grunt-saucelabs and Grunt. 2017-09-29 19:39:25 +03:00
Johann-S
b23ff97a85 Specify Travis job ID. 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
e8d9a034d0 Add eslint-plugin-compat.
We can check for browser compatibility on lint time now.
2017-09-26 17:16:27 +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
2e2ea74254 Move the workbox build to a postdocs-compile script. (#24106)
This way, it's run for us automatically after `docs-compile`.
2017-09-26 13:08:02 +03:00
XhmikosR
eb2a6f2efd Update package-lock.json. (#23975) 2017-09-17 20:27:30 +03:00
Johann-S
2dcce4ec30 Use cross-env to allow folks to build our js on their OS 2017-09-17 09:12:01 +02: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
XhmikosR
0705ee8070 Update babel-eslint to v8.0.0 and all devDependencies and gems. 2017-09-15 14:57:41 +02:00
Michael
5951508898 Pre-cache key assets with Workboxjs. (#23533) 2017-09-15 13:37:34 +03:00
vsn4ik
c82110d021 Fix jquery version 2017-09-05 21:49:29 +03:00
Tanguy Krotoff
c770e68836 Drop Bower support (#23568) 2017-09-04 15:29:05 -07:00
Johann-S
a20f614fe4 js-minify task should just minify our dist files not our docs.min.js 2017-09-04 16:15:47 +02: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
XhmikosR
e60c451e8b Run all lint targets in test script. (#23685) 2017-08-26 14:57:50 +03:00
XhmikosR
8876334b7f Fix npm run docs-github script. (#23688)
`$npm_config_tmp` is a non-existent variable.
Also, use double quotes since single ones don't work.
Finally, git ignore the temp file.
2017-08-26 12:59:04 +03:00
Johann-S
a416d32521 Update Popper.js to 1.12.3 2017-08-23 10:43:57 +03:00
Johann-S
b72489a851 Update which required jQuery release folks should use 2017-08-23 09:55:09 +03:00
Albert Willemsen
f822307694 fixed package.json jspm section. 2017-08-20 11:40:21 -07:00
XhmikosR
20abbc3c16 Register a service worker. 2017-08-15 14:35:36 +03:00
Arthur Franco
6d6d42b56a Adding Gemfile to package.json
Gemfile was missing. Couldn't compile documentation when using npm.
2017-08-14 14:03:06 -07:00
Tom Scholz
012224386c Moved watch task up to match the rest of the package.json (#22756) 2017-08-13 14:59:44 -07:00
Johann-S
7b0a0b246c Add a README.md badge to track our dependencies and require jQuery >=3.0.0. (#23125) 2017-08-10 22:57:05 -07:00
Mark Otto
35f80bb12e bump to beta 2017-08-10 20:56:35 -07:00
XhmikosR
f2304e74bd Update devDependencies. (#23264) 2017-08-10 05:41:05 +03:00
Mark Otto
b21fc944b4 Move from dependencies to peerDependencies 2017-08-09 08:32:14 -07:00
XhmikosR
0cb7a1687c Fix sourcemaps for node-sass too.
Specify `--source-map-contents true` for node-sass and `source-map-inline-sources` for clean-css.

Without this, the sourcemaps weren't found.
2017-08-09 08:31:25 -07:00
Johann-S
f4f63d8623 Update Popper.js to 1.11.0 (#23162) 2017-07-28 09:34:53 +03:00
Bardi Harborow
a83a0181f9 Errata from #23094. 2017-07-16 15:07:28 +10:00
Bardi Harborow
bde16528d2 Switch to using NPM lock files. 2017-07-16 13:51:16 +10:00
Bardi Harborow
d35020cee8 Update dependencies. 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
477ea0c81b add css-docs task to the dist build 2017-06-30 13:35:58 -07: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
11a5ca8ff3 Add back js-lint when we try to build our js 2017-06-16 10:57:13 +02:00
Johann-S
8f431fc5b8 Update Popper.js 1.10.1 2017-06-14 21:13:42 +02:00
Mark Otto
332d882cdb Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-31 20:46:29 -07:00
Brian Ng
4119023482 Use correct version of babel-preset-es2015
The 7.x-alpha preset won't work with 6.x core.

An alternative would be to bump babel-cli to 7.x-alpha (if you'd like to help us test :D)
2017-05-31 20:32:25 -07:00
Mark Otto
2fd192968d Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-30 23:31:40 -07:00
CDAGaming
ccd86bdc96 Update Dependencies (REUPLOAD) (#22594)
* Update Dependencies (REUPLOAD)

Uglify-JS: 2.8.22 > 3.0.3
QUnitJS: 2.3.1 > 2.3.2
PostCSS-CLI: 3.1.1 > 4.0.0
Clean-CSS-CLI: 4.0.12 > 4.1.0
Babel-Eslint: 7.2.2 > 7.2.3
AutoPrefixer: 6.7.7 > 7.0.1

* Updates More Dependencies

Autoprefixer: v7.0.1 > v7.1.1
Clean-CSS-CLI: v4.1.0 > v4.1.3
Node-Sass: v4.5.2 > v4.5.3
PostCSS-FlexBugs-Fixes: v2.1.1 > v3.0.0
Uglify-JS: v3.0.3 > v3.0.11
Signed-off-by: CDAGaming <cstack2011@yahoo.com>

* Update Gem Bundler Dependency

Signed-off-by: CDAGaming <cstack2011@yahoo.com>

* Update Gemfile.lock Dependency

Signed-off-by: CDAGaming <cstack2011@yahoo.com>

* Update QUnit

Signed-off-by: CDAGaming <cstack2011@yahoo.com>

* Update Uglify-JS to v3.0.13

Signed-off-by: CDAGaming <cstack2011@yahoo.com>
2017-05-30 21:11:56 -07: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
Mark Otto
7c9efe786a move .scss-lint.yml to route dir instead of symlink (which didn't work) 2017-05-27 17:54:23 -07:00
Mark Otto
793e84400c Add docs-clean task to watch scripts
Without this, the CSS and JS files don't get copied over to the `docs/dist/` folder during development. I imagine we can simplify this and not run it twice, and instead run it once? Unsure.

/cc @johann-s
2017-05-27 15:28:41 -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
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
Johann-S
c4b4d534a4 Remove Tether from package.json + Update Popper 2017-05-14 11:41:19 +02:00
Johann-S
954f482f4a Remove log from WEBrick during js-test-cloud 2017-05-02 15:26:45 +02:00
Johann-S
dbe8e554bb Add watch-css and watch-js + a global watch command 2017-04-29 16:43:51 +02:00
Mark Otto
482052585e don't prefix docs css, it generates .map files and mucks it all up 2017-04-29 16:43:51 +02:00
Mark Otto
03c26407aa watch task docs + css 2017-04-29 16:43:51 +02:00
Johann-S
ebf0c3104e Run js-test locally before js-test-cloud 2017-04-27 23:20:29 +02:00
Johann-S
d336adfafd Fix build by installing grunt dependencies before js-test-cloud 2017-04-27 23:03:17 +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
Mark Otto
eae1d38733 Package grunt (#22396)
Remove docs files and Gruntfile from package managers
2017-04-10 21:12:24 -07:00
Bardi Harborow
09fb2b9af3 Update dependencies. 2017-03-20 17:37:05 +11:00
Bardi Harborow
348c770a6c Update dependencies. 2017-03-12 14:41:41 +11:00
Bardi Harborow
db23b1f32e Move Jekyll to npm script. 2017-02-25 17:44:26 +11:00
Bardi Harborow
cb87eebcbb Update dependencies. 2017-02-05 23:50:06 +11:00
Bardi Harborow
c5a9ebf576 Move htmllint to npm script. 2017-01-23 20:53:17 +11:00
Mark Otto
4fa7749442 Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css

* Nuke the old comment, consolidate to a single line and number as appropriate

* Bring over styles for HTML element from Normalize to Reboot

* Move margin override for body element from Normalize to Reboot

* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support

* Building on previous commit, do the same thing for figure, figcaption, and main

* Remove IE9- display from Normalize given our browser support

* Drop IE8 figure margin because we're IE10+

* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already

* Drop Safari 6 b and strong normalization because we're Safari 8+

* Remove mark styles for IE9- from Normalize

* Remove old iOS audio fixes from Normalize

* Remove IE9- display for progress from Normalize

* Remove more IE9- rules from Normalize

* One more IE9- display removal for canvas element

* Move pre overrides from Normalize to Reboot

* Move over some link resets to Reboot, drop others

- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links

* Move over more code element resets, consolidate with pre overrides, too

* Move over sub and sup wholesale

* Move over img normalization to Reboot

* Move over SVG override too

* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary

* Remove bulk of @viewport comment

* edit down that code comment

* consolidate html-based normalizations

* update comments

* Consolidate abbr styles

* move over more type elements

* move over hr changes

* move over form controls and more

* move over button resets

* move over firefox button changes

* move over search changes and more

* we nuke all these styles for fieldsets anyway, so outright remove them

* no need for those, we override them

* move over legend, fieldset, progress

* line break

* delete normalize file

* linting

* update comment

* clarify docs mentions of normalize and reboot

* remove normalize excludes from linter

* remove normalize excludes from cli task

* linting

* callout license since we forked part of normalize

* Improve comments, move table background reset to .table class instead of in reboot

* trailing space
2017-01-21 14:14:25 -08:00
Bardi Harborow
cdf73209df Fix incorrect docs.min.js bundle source. 2017-01-08 12:14:05 +11:00
Mark Otto
045888fa38 version bump 2017-01-06 08:38:04 -08:00
Bardi Harborow
0ac7eb4fe0 Update dependencies. 2017-01-05 14:39:18 +11:00
Bardi Harborow
450ef91b7d Move node-sass to npm script and drop Ruby Sass. 2017-01-04 12:28:06 +11:00
Bardi Harborow
a8100e1f01 Extend ESLint to cover all JS files and drop JSCS. 2016-12-31 16:49:15 +11:00
Mark Otto
a34cdc0638 bump jquery and grunt-sass
plus shx? 🤷
2016-12-27 14:14:18 -08:00