Commit b7a51c33 authored by Jonathan Hunt's avatar Jonathan Hunt

Update Bootstrap to 7.x-3.26.

parent 324679b9
{
"adjoining-classes": false,
"box-sizing": true,
"box-model": false,
"bulletproof-font-face": true,
"compatible-vendor-prefixes": true,
"display-property-grouping": false,
"duplicate-background-images": true,
"duplicate-properties": true,
"empty-rules": true,
"errors": true,
"fallback-colors": false,
"floats": false,
"font-sizes": true,
"font-faces": true,
"gradients": true,
"ids": false,
"import": true,
"important": false,
"known-properties": true,
"outline-none": false,
"order-alphabetical": false,
"overqualified-elements": false,
"qualified-headings": false,
"regex-selectors": true,
"rules-count": true,
"selector-max": true,
"selector-max-approaching": true,
"shorthand": true,
"star-property-hack": true,
"text-indent": true,
"underscore-property-hack": true,
"unique-headings": false,
"universal-selector": true,
"unqualified-attributes": true,
"vendor-prefix": false,
"zero-units": true
}
var exec = require('sync-exec');
var exit = 0;
var glob = require("glob");
var globOptions = {
ignore: [
'bower_components/**/*',
'node_modules/**/*'
]
};
var pkg = require('../../package');
// Change to \{{ hook }} once that variable is available.
// @see https://github.com/wecodemore/grunt-githooks/pull/40
var hooks = pkg.githooks && pkg.githooks['{{ task }}'];
if (hooks) {
var ret, hook, files, commands, staged, matchAll;
var filesMatched = [];
// Iterate over all hook definitions.
for (var h in hooks) {
hook = hooks[h];
commands = hook.commands || [];
staged = hook.staged === void 0 ? false : !!hook.staged;
matchAll = hook.matchAll === void 0 ? true : !!hook.matchAll;
// Iterate over all files in a hook definition.
if (hook.files) {
// Expand all file paths using glob (for pattern matching).
if (typeof hook.files === 'string') {
files = glob.sync(hook.files, globOptions) || [];
}
if (Array.isArray(hook.files)) {
files = [];
for (var f = 0; f < hook.files.length; f++) {
files = [].concat(files, glob.sync(hook.files[f], globOptions) || []);
}
}
// All files must either be staged or modified for the entire
// hook definition command(s) to be executed.
for (f in files) {
var file = files[f];
if (file) {
// Only continue if file has been staged or modified.
ret = exec((staged ? 'git diff --name-only --cached ' + file : 'git diff HEAD@{1} --stat -- ' + file));
exit = ret.status;
if (exit === 0 && ret.stdout !== '') {
filesMatched.push(file);
}
else if (matchAll && (exit > 0 || ret.stdout === '')) {
console.log(ret.stdout);
filesMatched = [];
break;
}
}
}
}
// Iterate over all commands that should be executed for matched files.
if (filesMatched.length) {
if (typeof commands === 'string') {
commands = [commands];
}
for (var c in commands) {
var command = commands[c];
console.log("\033[4;35mgit: {{ task }}\033[0;35m\n>> " + command + "\033[0m\n");
ret = exec(command);
console.log(ret.stdout);
exit = ret.status;
if (exit > 0) {
break;
}
}
}
// Display any errors.
if (exit > 0 && ret && ret.stderr) {
console.log(ret.stderr);
}
}
}
process.exit(exit);
var path = require('path');
module.exports = function (grunt) {
// Record grunt task execution times. Must be first.
require('time-grunt')(grunt);
// Register the "default" task.
grunt.registerTask('default', ['compile']);
// Register the "install" task.
grunt.registerTask('install', 'Installs or re-installs this grunt project. Read more in: docs/project/grunt.md.', ['githooks', 'sync', 'clean-vendor-dirs']);
// Load custom tasks.
grunt.task.loadTasks('grunt');
// Load npm installed 'grunt-*' tasks and configurations.
require('load-grunt-config')(grunt, {
configPath: path.join(process.cwd(), 'grunt', 'config')
});
};
......@@ -15,14 +15,14 @@ This base theme bridges the gap between Drupal and the [Bootstrap Framework].
- Extensive integration and template/preprocessor overrides for most of the
[Bootstrap Framework] CSS, Components and JavaScript
- Theme settings to further enhance the Drupal Bootstrap integration:
- [Breadcrumbs](https://getbootstrap.com/docs/3.3/components/#breadcrumbs)
- [Navbar](https://getbootstrap.com/docs/3.3/components/#navbar)
- [Popovers](https://getbootstrap.com/docs/3.3/javascript/#popovers)
- [Tooltips](https://getbootstrap.com/docs/3.3/javascript/#tooltips)
- [Wells](https://getbootstrap.com/docs/3.3/components/#wells) (per region)
- [Breadcrumbs](https://getbootstrap.com/docs/3.4/components/#breadcrumbs)
- [Navbar](https://getbootstrap.com/docs/3.4/components/#navbar)
- [Popovers](https://getbootstrap.com/docs/3.4/javascript/#popovers)
- [Tooltips](https://getbootstrap.com/docs/3.4/javascript/#tooltips)
- [Wells](https://getbootstrap.com/docs/3.4/components/#wells) (per region)
### Documentation
Visit the project's [official documentation site](https://drupal-bootstrap.org)
or the markdown files inside the `./docs` folder.
[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/
[Bootstrap Framework]: https://getbootstrap.com/docs/3.4/
......@@ -125,11 +125,11 @@ settings[bootstrap_tooltip_container] = 'body'
; Advanced
; --------------
settings[bootstrap_cdn_provider] = 'jsdelivr'
settings[bootstrap_cdn_custom_css] = 'https://cdn.jsdelivr.net/bootstrap/3.3.7/css/bootstrap.css'
settings[bootstrap_cdn_custom_css_min] = 'https://cdn.jsdelivr.net/bootstrap/3.3.7/css/bootstrap.min.css'
settings[bootstrap_cdn_custom_js] = 'https://cdn.jsdelivr.net/bootstrap/3.3.7/js/bootstrap.js'
settings[bootstrap_cdn_custom_js_min] = 'https://cdn.jsdelivr.net/bootstrap/3.3.7/js/bootstrap.min.js'
settings[bootstrap_cdn_jsdelivr_version] = '3.3.7'
settings[bootstrap_cdn_custom_css] = 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.css'
settings[bootstrap_cdn_custom_css_min] = 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css'
settings[bootstrap_cdn_custom_js] = 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.js'
settings[bootstrap_cdn_custom_js_min] = 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js'
settings[bootstrap_cdn_jsdelivr_version] = '3.4.1'
settings[bootstrap_cdn_jsdelivr_theme] = 'bootstrap'
; Global
......@@ -209,8 +209,8 @@ multipliers[screen-md-max][] = 2x
multipliers[screen-lg-min][] = 1.5x
multipliers[screen-lg-min][] = 2x
; Information added by Drupal.org packaging script on 2018-11-12
version = "7.x-3.22"
; Information added by Drupal.org packaging script on 2019-06-20
version = "7.x-3.26"
core = "7.x"
project = "bootstrap"
datestamp = "1542005892"
datestamp = "1561051701"
core = 7.x
api = 2
libraries[bootstrap][download][type] = "get"
libraries[bootstrap][download][url] = "https://github.com/twbs/bootstrap/archive/v3.1.1.zip"
libraries[bootstrap][directory_name] = "bootstrap"
libraries[bootstrap][destination] = "themes/bootstrap"
libraries[bootstrap][overwrite] = TRUE
{
"name": "drupal-bootstrap",
"version": "7.3.x-dev",
"license": "GPL+2",
"homepage": "https://www.drupal.org/project/bootstrap",
"private": true
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.