aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/.github
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/.github')
-rw-r--r--vendor/twbs/bootstrap/.github/CONTRIBUTING.md26
-rw-r--r--vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug.md2
-rw-r--r--vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md2
-rw-r--r--vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature.md2
-rw-r--r--vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md2
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/test.yml76
6 files changed, 91 insertions, 19 deletions
diff --git a/vendor/twbs/bootstrap/.github/CONTRIBUTING.md b/vendor/twbs/bootstrap/.github/CONTRIBUTING.md
index f579111bd..6cd59b59b 100644
--- a/vendor/twbs/bootstrap/.github/CONTRIBUTING.md
+++ b/vendor/twbs/bootstrap/.github/CONTRIBUTING.md
@@ -19,7 +19,8 @@ and [submitting pull requests](#pull-requests), but please respect the following
restrictions:
* Please **do not** use the issue tracker for personal support requests. Stack
- Overflow ([`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4) tag), [Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](README.md#community) are better places to get help.
+ Overflow ([`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4) tag),
+ [Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](README.md#community) are better places to get help.
* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.
@@ -57,8 +58,7 @@ Good bug reports are extremely helpful, so thanks!
Guidelines for bug reports:
-0. **Validate and lint your code** — [validate your HTML](https://html5.validator.nu/)
- and [lint your HTML](https://github.com/twbs/bootlint) to ensure your
+0. **[validate your HTML](https://html5.validator.nu/)** to ensure your
problem isn't caused by a simple error in your own code.
1. **Use the GitHub issue search** — check if the issue has already been
@@ -109,10 +109,6 @@ When feasible, we aim to report such upstream bugs to the relevant browser vendo
| Google, Opera | Chrome, Chromium, Opera v15+ | Blink | https://bugs.chromium.org/p/chromium/issues/list | Click the "New issue" button. |
| Microsoft | Edge | EdgeHTML | https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/ | |
-### Issues bots
-
-[@twbs-lmvtfy](https://github.com/twbs-lmvtfy) is a Bootstrap bot that hangs out in our GitHub issue tracker and automatically checks for HTML validation errors in live examples (e.g. jsFiddles, JS Bins, Bootplys, Plunks, CodePens, etc.) posted in issue comments. If it finds any errors, it will post a follow-up comment on the issue and point out the errors. If this happens with an example you've posted, please fix the errors and post an updated live example. If you opened a bug report, please check whether the bug still occurs with your revised, valid live example. If the bug no longer occurs, it was probably due to your invalid HTML rather than something in Bootstrap and we'd appreciate it if you could close out the GitHub issue.
-
## Feature requests
@@ -140,11 +136,11 @@ project (indentation, accurate comments, etc.) and any other requirements
**Do not edit `bootstrap.css`, or `bootstrap.js`
directly!** Those files are automatically generated. You should edit the
source files in [`/bootstrap/scss/`](https://github.com/twbs/bootstrap/tree/master/scss)
-and/or [`/bootstrap/js/`](https://github.com/twbs/bootstrap/tree/master/js) instead.
+and/or [`/bootstrap/js/src/`](https://github.com/twbs/bootstrap/tree/master/js/src) instead.
Similarly, when contributing to Bootstrap's documentation, you should edit the
documentation source files in
-[the `/bootstrap/docs/` directory of the `master` branch](https://github.com/twbs/bootstrap/tree/master/docs).
+[the `/bootstrap/site/docs/` directory of the `master` branch](https://github.com/twbs/bootstrap/tree/master/site/docs).
**Do not edit the `gh-pages` branch.** That branch is generated from the
documentation source files and is managed separately by the Bootstrap Core Team.
@@ -199,9 +195,9 @@ included in the project:
with a clear title and description against the `master` branch.
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to
-license your work under the terms of the [MIT License](LICENSE) (if it
+license your work under the terms of the [MIT License](../LICENSE) (if it
includes code changes) and under the terms of the
-[Creative Commons Attribution 3.0 Unported License](docs/LICENSE)
+[Creative Commons Attribution 3.0 Unported License](https://creativecommons.org/licenses/by/3.0/)
(if it includes documentation changes).
@@ -209,7 +205,7 @@ includes code changes) and under the terms of the
### HTML
-[Adhere to the Code Guide.](http://codeguide.co/#html)
+[Adhere to the Code Guide.](https://codeguide.co/#html)
- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags).
- Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via `file://`.
@@ -217,7 +213,7 @@ includes code changes) and under the terms of the
### CSS
-[Adhere to the Code Guide.](http://codeguide.co/#css)
+[Adhere to the Code Guide.](https://codeguide.co/#css)
- When feasible, default color palettes should comply with [WCAG color contrast guidelines](https://www.w3.org/TR/WCAG20/#visual-audio-contrast).
- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](https://a11yproject.com/posts/never-remove-css-outlines/) for more details.
@@ -237,7 +233,7 @@ Run `npm run test` before committing to ensure your changes follow our coding st
## License
-By contributing your code, you agree to license your contribution under the [MIT License](LICENSE).
-By contributing to the documentation, you agree to license your contribution under the [Creative Commons Attribution 3.0 Unported License](docs/LICENSE).
+By contributing your code, you agree to license your contribution under the [MIT License](../LICENSE).
+By contributing to the documentation, you agree to license your contribution under the [Creative Commons Attribution 3.0 Unported License](https://creativecommons.org/licenses/by/3.0/).
Prior to v3.1.0, Bootstrap's code was released under the Apache License v2.0.
diff --git a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug.md b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug.md
index 8e1285515..8971d44ad 100644
--- a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug.md
+++ b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug.md
@@ -2,7 +2,7 @@ Before opening:
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
- [Validate](https://html5.validator.nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
-- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
+- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/.github/CONTRIBUTING.md)
Bug reports must include:
diff --git a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md
index ab363e0ca..2d77bb50e 100644
--- a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md
@@ -8,7 +8,7 @@ Before opening:
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
- [Validate](https://html5.validator.nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
-- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
+- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/.github/CONTRIBUTING.md)
Bug reports must include:
diff --git a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature.md b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature.md
index 4f866e214..4c13c86a5 100644
--- a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature.md
+++ b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature.md
@@ -1,7 +1,7 @@
Before opening:
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
-- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
+- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/.github/CONTRIBUTING.md)
Feature requests must include:
diff --git a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md
index 389bd4345..ed71d397d 100644
--- a/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/vendor/twbs/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md
@@ -7,7 +7,7 @@ about: Suggest an idea for a new feature in Bootstrap.
Before opening:
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
-- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
+- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/.github/CONTRIBUTING.md)
Feature requests must include:
diff --git a/vendor/twbs/bootstrap/.github/workflows/test.yml b/vendor/twbs/bootstrap/.github/workflows/test.yml
new file mode 100644
index 000000000..9f1b9fb57
--- /dev/null
+++ b/vendor/twbs/bootstrap/.github/workflows/test.yml
@@ -0,0 +1,76 @@
+name: Tests
+on: [push, pull_request]
+env:
+ CI: true
+
+jobs:
+ run:
+ name: Node ${{ matrix.node }}
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ node: [6, 8, 12]
+
+ steps:
+ - name: Clone repository
+ uses: actions/checkout@v1
+ with:
+ fetch-depth: 3
+
+ - name: Set Node.js version
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node }}
+
+ - name: Set up Ruby 2.4
+ uses: actions/setup-ruby@v1
+ with:
+ ruby-version: 2.4.x
+
+ - name: Disable gem docs
+ run: 'echo "gem: --no-document" > ~/.gemrc'
+
+ - name: Set up Bundler
+ run: gem install bundler -v "~> 1.17"
+
+ - run: ruby --version
+ - run: gem --version
+ - run: bundle --version
+ - run: node --version
+ - run: npm --version
+ - run: java -version
+
+ - name: Install npm dependencies
+ run: npm install
+
+ - name: Install bundler dependencies
+ run: bundle install --deployment --jobs=3 --retry=3 --clean
+
+ - name: Run tests
+ run: npm test
+
+ - name: Run bundlesize
+ run: npm run bundlesize
+ if: matrix.node == 8
+ env:
+ BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"
+
+ - name: Run BrowserStack tests
+ run: npm run js-test-cloud
+ if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
+ env:
+ BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}"
+ BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"
+
+ - name: Run Link Checker
+ run: npm run check-broken-links
+ if: matrix.node == 8
+
+ - name: Run Coveralls
+ uses: coverallsapp/github-action@master
+ if: matrix.node == 8
+ with:
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
+ path-to-lcov: "./js/coverage/lcov.info"