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

380 Commits

Author SHA1 Message Date
XhmikosR
7f6fd5be76 Update devDependencies.
Only grunt-saucelabs is left in order to update grunt to v1.x.
2016-06-29 09:00:07 +03:00
Chris Rebert
ed3ba47425 Support jQuery v3 in Bootstrap v4 (#20191)
* bower.json, package.json: Extend jQuery version ranges to include v3
* NuGet: Bump jQuery to v3.0.0.1
* Docs+Examples: Update jQuery to v3.0.0
* Use jQuery v3.0.0 for JS unit tests
* Update jqueryVersionCheck to allow jQuery v3.x.x
2016-06-28 22:19:46 -07:00
Chris Rebert
e95e9fed09 Allow PRs to be previewed at http://preview.twbsapps.com (#20179) 2016-06-27 14:19:10 -07:00
Chris Rebert
ead5ed6d73 Fix docs asset file paths in /grunt/configBridge.json (#20178)
Previously, when running the docs locally, the site, rooted at:
    http://localhost:9001/
would reference docs assets using relative URLs such as:
    /../assets/js/vendor/anchor.min.js
which is equivalent to:
    http://localhost:9001/../assets/js/vendor/anchor.min.js
which is nonsense, since the root directory has no parent directory.
Apparently browsers silently ignore this extra '..', hence why this wasn't noticed until now.
But if you adjust Jekyll's `baseurl` setting, this mistake causes incorrect URLs to get generated.

This commit corrects the problem by removing the extra '../' from the paths.

These paths are also referenced in the Gruntfile, where the fix actually allows us to simplify the code.
Previously, in the Gruntfile, we were doing, e.g.:
    path.join('./docs/assets', '../assets/js/vendor/anchor.min.js')
which calculates to:
    ./docs/assets/../assets/js/vendor/anchor.min.js
which can be simplified to:
    ./docs/assets/js/vendor/anchor.min.js
So we can remove the '/assets' suffix from the left argument
and the '../' prefix from the right argument
and still obtain the same result.
2016-06-26 16:42:13 -07:00
Chris Rebert
a358fc9dc1 Replace grunt-postcss with postcss-cli (#20140)
Refs #19990
Continues the degruntification process.

Also removes mq4-hover-shim for now,
since it doesn't yet implement the standard PostCSS plugin interface.
2016-06-20 16:18:21 -07:00
Chris Rebert
ce2e944aa6 Strip out UMD & CJS in favor of ES6 modules (#20072) 2016-06-10 09:28:03 -07:00
Chris Rebert
36f2261b6f Remove unused exec:npmUpdate Grunt task (#20074)
[skip sauce]
[skip validator]
2016-06-04 21:55:28 -07:00
Chris Rebert
0c4abb69e3 Kill the grunt-jscs middleman; use JSCS directly instead (#20069)
Refs #19990

[skip sauce]
[skip validator]
2016-06-04 17:46:36 -07:00
Chris Rebert
ef948ece79 Integrate postcss-flexbugs-fixes into build; fixes #18569 2016-06-04 13:00:37 -07:00
Chris Rebert
f77d8c91a9 Killed the grunt-eslint middleman; Long live ESLint.
Refs #19908

[skip sauce]
[skip validator]
2016-05-30 22:16:32 -07:00
Chris Rebert
a90b36918f Add "The Bootstrap Authors" to copyright notices (#19936)
❤️❤️❤️ https://github.com/twbs/bootstrap/graphs/contributors
2016-05-20 09:04:31 -07:00
XhmikosR
ed0c12fd71 Nuke grunt-line-remover.
Use concat's process function instead.
2016-04-02 10:03:04 +03:00
Chris Rebert
768dac2e87 Use vanilla npm shrinkwrap instead of uber/npm-shrinkwrap; fixes #18559 2016-03-23 23:20:38 -07:00
XhmikosR
ae4d774fa5 Remove the now unused glob. 2016-03-15 21:09:10 +02:00
XhmikosR
c6c2958385 Update grunt-html to v6.0.0.
Also remove the workaround for the old validator version.

[skip sauce]
2016-02-19 11:26:54 +02:00
vsn4ik
f29f0ffd22 Remove unused .csscomb.json 2016-02-10 00:34:47 +03:00
Mark Otto
f25f9bceb1 Remove csscomb (soon replace it with something else) because scsslint has most of it covered already 2016-02-06 18:08:54 -08:00
Chris Rebert
71443c5034 HTML validation: Ignore spurious errors about script[integrity]
Workaround for https://github.com/jzaefferer/grunt-html/issues/86
2016-01-10 23:55:10 -08:00
Chris Rebert
3d5b340217 Add comprehensive .form-control example(/testcase) to docs
Put all the textual input types right next to each other for easy visual comparison.
Refs #17308, #18763

[skip sauce]
2016-01-06 15:57:19 -08:00
Chris Rebert
c06cb8e320 Ignore HTML validator warning about <input type="datetime-local">
Erratum from #18778
[skip sauce]
2016-01-06 14:47:07 -08:00
Chris Rebert
02c47cb0e9 Grunt: Extract lint-docs-css task
[skip sauce]
2016-01-04 00:22:04 -08:00
Mark Otto
a95f55fc38 dont scsslint the main file because of the built-in copyright banner 2016-01-03 18:12:26 -08:00
Mark Otto
4198d61bb5 enable scsslinting for docs scss 2016-01-03 18:09:09 -08:00
Chris Rebert
e9192f6de0 Update copyright years to 2016
[ci skip]
2016-01-01 12:31:38 -08:00
Chris Rebert
b0ab6bbf05 Un-nest Autoprefixer settings in module object
[skip sauce]
[skip validator]
2015-12-24 21:32:54 -07:00
Bass Jobsen
4445c4f0f3 Move Autoprefixer settings out of Gruntfile.js and into a separate file
Refs #18584
Closes #18659

[skip sauce]
[skip validator]
2015-12-24 19:49:26 -07:00
Chris Rebert
771cb5a0a1 v4's Gruntfile doesn't currently use htmlmin
[ci skip]
2015-12-08 18:26:43 -08:00
Mark Otto
bd5d25da44 fixes #18281 2015-12-07 21:51:04 -08:00
Chris Rebert
451265bb76 Grunt: Factor out new docs-github task
Ports #18445 to v4.

[skip sauce]
[skip validator]
2015-12-06 12:11:10 -08:00
Chris Rebert
c7ea145df6 Merge pull request #18402 from twbs/fix-18338
s/grunt-sed/npm script/
2015-12-05 01:11:09 -08:00
Chris Rebert
7d211536bb Bump Safari to v8 in Autoprefixer settings
The latest OS X Safari version is 9.0.1
Our prefixing policy dictates that we prefix 1 version back from the latest version.
9.0.1 - 1_major_version = 8.0

[skip validator]
2015-12-05 11:04:55 +02:00
Chris Rebert
e95ab5c36e s/grunt-sed/npm script/ ; fixes #18338
[skip sauce]
[skip validator]
2015-12-05 01:03:52 -08:00
XhmikosR
458899dacb Merge pull request #18379 from twbs/prefix-ios-8
Bump iOS to v8 in Autoprefixer settings
2015-12-05 10:38:29 +02:00
XhmikosR
713e53f105 Add back grunt-contrib-compress.
Should automate the release process.

[ci skip]
2015-12-03 08:41:44 +02:00
Chris Rebert
6bfd7081ac Bump iOS to v8 in Autoprefixer settings
The latest iOS version is 9.1
Our prefixing policy dictates that we prefix 1 version back from the latest version.
9.1 - 1_major_version = 8.0

[skip validator]
2015-11-29 23:54:36 -08:00
Chris Rebert
5482e2cc96 Gruntfile: Add comments explaining CSS prefixing policy
[skip sauce]
2015-11-24 05:05:11 -08:00
Chris Rebert
7d2ee3c24c Check HTML validity of JS visual tests too
[skip sauce]
2015-11-19 01:49:16 -08:00
XhmikosR
1b645ef686 Update devDependencies.
Adapt uglify for the new version.
2015-11-16 10:01:34 +02:00
Chris Rebert
2a8b0ba1b2 Check for jQuery >= 3.
Reword jQuery version mismatch error message since jQuery v3 isn't supported.
2015-11-16 09:53:23 +02:00
XhmikosR
add3ce38f7 Revert "Make jQuery 2.0 the minimum supported version."
This partially reverts commit 9eded912a0.
2015-11-16 09:28:28 +02:00
Bass Jobsen
50c43bc55a Replace grunt-autoprefixer with grunt-postcss + autoprefixer
Closes #18068
2015-11-13 01:27:43 -08:00
Chris Rebert
5c1aa6a555 Add MS Edge to Autoprefixer config
[skip sauce]
[skip validator]
2015-10-29 17:52:18 -07:00
XhmikosR
608dead1fe Update to Jekyll v3.0.0.
[skip sauce]
2015-10-29 08:12:33 +02:00
XhmikosR
9eded912a0 Make jQuery 2.0 the minimum supported version. 2015-10-24 19:09:33 +03:00
nextgenthemes
f80fdf2da5 add dash to .scsslint.yml 2015-09-30 00:48:56 +02:00
Chris Rebert
74cc05c032 Only run htmllint on Travis
So as to avoid any dependence on Java for normal users of the Gruntfile.

[skip sauce]
2015-09-25 15:34:31 -07:00
Chris Rebert
f22f7beead Move {test-infra=>grunt}/npm-shrinkwrap.json 2015-09-23 23:26:23 -07:00
XhmikosR
f14113133d Remove gem install scss_lint from Travis.
Instead, use `bundleExec: true` for grunt-scss-lint.
2015-09-06 12:28:35 +03:00
XhmikosR
a3d0a2c045 Update htmllint rules for the new version. 2015-09-05 08:13:43 +03:00
Xavier Gallardo
750656fc9c Add a license header to bootstrap.scss 2015-09-02 15:08:21 -04:00