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

466 Commits

Author SHA1 Message Date
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
Bardi Harborow
effb2fb4b4 Move uglifyjs to npm script. 2016-12-24 00:34:27 +11:00
Bardi Harborow
6993595341 Move clean-css to npm scripts. 2016-12-23 16:51:36 +11:00
Bardi Harborow
ba86c314a4 Move scss-lint to npm scripts. 2016-12-23 14:26:04 +11:00
Bardi Harborow
26c16743fc Refactor ESLint configuration. 2016-11-24 11:59:55 +11:00
Mark Otto
8ff7edaab4 version bump to alpha 5 2016-10-19 08:27:41 -07:00
Bardi Harborow
d57d5a606b Update dependencies, including Babel to v6 and zeroUnits fix. 2016-10-09 12:15:17 +11:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Mark Otto
5495a4b3d3 versions 2016-09-05 12:41:44 -07:00
Mark Otto
b821c57278 Follow up to #20394: remove ignore for file that no longer exists 2016-08-21 17:50:34 -07:00
Mark Otto
75715d9d3c Merge pull request #20394 from TrigenSoftware/v4-dev
Fix package.json
2016-08-21 17:49:46 -07:00
Mark Otto
1efcbc81f2 Fixes #20385
Recursive glob action
2016-07-30 10:44:19 -07:00
Onoshko Dan
1885bfe533 Fix package.json
For example, `resolve` npm module can't resolve path to bootstrap.
2016-07-28 23:55:10 +07:00
Mark Otto
24e992a6ff bump versions 2016-07-27 09:31:24 -07:00
Chris Rebert
1a4e48e329 Rename shrinkwrap-related npm script (#20311)
To avoid infinite recursion in newer npm versions, which added a lifecycle script for `npm shrinkwrap`.
Refs https://github.com/npm/npm/issues/13253
Refs https://github.com/npm/npm/pull/12814

[ci skip]
2016-07-16 14:12:49 -07:00
Chris Rebert
0cf5204a48 Add HTMLHint to the build; fixes #20297 (#20301)
[skip sauce]
2016-07-14 16:22:56 -07:00
XhmikosR
1e01721717 Bump devDependencies. 2016-07-11 02:44:58 +03:00
XhmikosR
e727ca9654 Update devDepedencies. 2016-07-04 12:35:52 +03:00
XhmikosR
a0f10e6dcb Merge pull request #20202 from twbs/windows-doesnt-know-how-to-shot-glob
Avoid globbing in jscs npm script for Windows compatibility
2016-06-29 09:30:44 +03:00
Chris Rebert
5d33891c32 Avoid globbing in jscs npm script for Windows compatibility
Fixes #20197

[skip sauce]
[skip validator]
2016-06-28 23:25:55 -07:00
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
XhmikosR
dec2695d7e Use shx so that the npm scripts work everywhere the same. 2016-06-28 19:03:19 +03: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
143eca3ba9 package.json: engines: Require Node.js >= 4 (#20141)
Refs #17652
2016-06-19 22:09:29 -07:00
Chris Rebert
10c9be114b Bump shelljs to ^0.7.0 (#20073)
[skip sauce]
[skip validator]
2016-06-04 21:45:59 -07:00