diff --git a/.cspell.json b/.cspell.json index 330b5397cc..b33752869e 100644 --- a/.cspell.json +++ b/.cspell.json @@ -13,15 +13,8 @@ ], "language": "en,en-GB,en-US", "allowCompoundWords": true, - "files": [ - "**/*.md" - ], - "ignoreRegExpList": [ - "\\_\\w+", - "\\#\\w+" - ], - "ignorePaths": [ - ".cspell.json" - ], + "files": ["**/*.md"], + "ignoreRegExpList": ["\\_\\w+", "\\#\\w+"], + "ignorePaths": [".cspell.json"], "useGitignore": true } diff --git a/.eslintrc.js b/.eslintrc.js index c16a8348ef..8ede1dfc17 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,17 +3,17 @@ module.exports = { browser: true, es6: true, mocha: true, - node : true + node: true, }, plugins: ['mocha'], extends: 'eslint:recommended', parserOptions: { - 'ecmaVersion': 2020, - 'sourceType': 'module' + ecmaVersion: 2020, + sourceType: 'module', }, rules: { indent: ['error', 2], quotes: ['error', 'single'], - semi: ['error', 'always'] - } + semi: ['error', 'always'], + }, }; diff --git a/.gitattributes b/.gitattributes index b6858178f8..476bf56dbc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,6 +16,8 @@ *.js text eol=lf *.json text eol=lf *.md text eol=lf +*.mjs text eol=lf *.sh text eol=lf *.txt text eol=lf *.xml text eol=lf +*.yml text eol=lf diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 1da7cda569..3950322d67 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a3c666cd9d..883a5b27a3 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -12,7 +12,6 @@ the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features. - ## Using the issue tracker The [issue tracker](https://github.com/h5bp/html5-boilerplate/issues) is @@ -20,20 +19,14 @@ the preferred channel for [bug reports](#bugs), [features requests](#features) and [submitting pull requests](#pull-requests), but please respect the following restrictions: -* Please **do not** use the issue tracker for personal support requests (use +- Please **do not** use the issue tracker for personal support requests (use [Stack Overflow](https://stackoverflow.com/questions/tagged/html5boilerplate)). -* Please **do not** derail or troll issues. Keep the discussion on topic and +- Please **do not** derail or troll issues. Keep the discussion on topic and respect the opinions of others. -* Please **do not** open issues or pull requests regarding the code in - [`.htaccess`](https://github.com/h5bp/server-configs-apache), - [`Modernizr`](https://github.com/Modernizr/Modernizr) or - [`Normalize.css`](https://github.com/necolas/normalize.css) (open them in - their respective repositories). - - + ## Bug reports A bug is a _demonstrable problem_ that is caused by the code in the repository. @@ -74,17 +67,17 @@ Example: > causing the bug, and potential solutions (and your opinions on their > merits). - + ## Feature requests Feature requests are welcome. But take a moment to find out whether your idea -fits with the scope and aims of the project. It's up to *you* to make a strong +fits with the scope and aims of the project. It's up to _you_ to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible. - + ## Pull requests Good pull requests - patches, improvements, new features - are a fantastic @@ -128,25 +121,50 @@ included in the project: git checkout -b ``` -4. Commit your changes in logical chunks. Please adhere to these [git commit +4. Install locked dependencies: + + ```bash + npm ci + ``` + + Ensure that your `node` and `npm` versions are compatible with the `engines` + specification in `package.json`. + +5. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) or your code is unlikely be merged into the main project. Use Git's [interactive rebase](https://help.github.com/articles/about-git-rebase/) feature to tidy up your commits before making them public. -5. Locally merge (or rebase) the upstream development branch into your topic branch: +6. Locally merge (or rebase) the upstream development branch into your topic branch: ```bash git pull [--rebase] upstream main ``` -6. Push your topic branch up to your fork: +7. Update any applicable test cases and run tests: + + ```bash + npm run test + ``` + + Tests must cover changes and pass to be accepted. + +8. Run build and commit changes to dist: + + ```bash + npm run build + git add dist/ + git commit + ``` + +9. Push your topic branch up to your fork: ```bash git push origin ``` -7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) +10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description. **IMPORTANT**: By submitting a patch, you agree to allow the project diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 95747f7c2e..0000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,72 +0,0 @@ -**I'm submitting a ...** - -- [ ] bug report -- [ ] feature request -- [ ] other (Please do not submit support requests here (below)) - -## Notes: - -* Please **do not** use the issue tracker for personal support requests (use - [Stack Overflow](https://stackoverflow.com/questions/tagged/html5boilerplate)). - -* Please **do not** derail or troll issues. Keep the discussion on topic and - respect the opinions of others. - -* Please **do not** open issues or pull requests regarding the code in - [`Modernizr`](https://github.com/Modernizr/Modernizr) or - [`Normalize.css`](https://github.com/necolas/normalize.css) (open them in - their respective repositories). - -## Bug reports - -A bug is a _demonstrable problem_ that is caused by the code in the repository. -Good bug reports are extremely helpful - thank you! - -Guidelines for bug reports: - -1. **Use the GitHub issue search** — check if the issue has already been - reported. - - We have a long history of sometimes _very_ detailed discussion of every line of code - in the project. We want discussion, so it might still warrant an issue. It - just helps to get the (sometimes extensive) context. - -2. **Check if the issue has been fixed** — try to reproduce it using the - latest `main` or development branch in the repository. - -3. **Isolate the problem** — ideally create a [reduced test - case](https://css-tricks.com/reduced-test-cases/) and a live example. - -A good bug report shouldn't leave others needing to chase you up for more -information. Please try to be as detailed as possible in your report. What is -your environment? What steps will reproduce the issue? What browser(s) and OS -experience the problem? What would you expect to be the outcome? All these -details will help people to fix any potential bugs. - -Example: - -> Short and descriptive example bug report title -> -> A summary of the issue and the browser/OS environment in which it occurs. If -> suitable, include the steps required to reproduce the bug. -> -> 1. This is the first step -> 2. This is the second step -> 3. Further steps, etc. -> -> `` - a link to the reduced test case -> -> Any other information you want to share that is relevant to the issue being -> reported. This might include the lines of code that you have identified as -> causing the bug, and potential solutions (and your opinions on their -> merits). - - -## Feature requests - -Feature requests are welcome. But take a moment to find out whether your idea -fits with the scope and aims of the project. It's up to *you* to make a strong -case to convince the project's developers of the merits of this feature. Please -provide as much detail and context as possible. - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..8777020a11 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,61 @@ +name: Report a bug +description: Tell us about a bug or issue you may have identified in HTML5 Boilerplate. +title: "Provide a general summary of the issue" +labels: [bug] +assignees: "-" +body: + - type: checkboxes + attributes: + label: Prerequisites + description: Take a couple minutes to help our maintainers work faster. + options: + - label: I have [searched](https://github.com/h5bp/html5-boilerplate/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues + required: true + - label: I have read the [contributing guidelines](https://github.com/h5bp/html5-boilerplate/blob/main/.github/CONTRIBUTING.md) + required: true + - type: textarea + id: what-happened + attributes: + label: Describe the issue + description: Provide a summary of the issue and what you expected to happen, including specific steps to reproduce. + validations: + required: true + - type: textarea + id: reduced-test-case + attributes: + label: Reduced test cases + description: Include links [reduced test case](https://css-tricks.com/reduced-test-cases/) links. + validations: + required: false + - type: dropdown + id: os + attributes: + label: What operating system(s) are you seeing the problem on? + multiple: true + options: + - Windows + - macOS + - Android + - iOS + - Linux + validations: + required: true + - type: dropdown + id: browser + attributes: + label: What browser(s) are you seeing the problem on? + multiple: true + options: + - Chrome + - Safari + - Firefox + - Microsoft Edge + - Opera + - Development Environment + - type: input + id: version + attributes: + label: What version of HTML% Boilerplate are you using? + placeholder: "e.g., v8.0.0 or v7.1.0" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..1674bdfcb0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Ask the community + url: https://github.com/h5bp/html5-boilerplate/discussions/new + about: Ask and discuss questions with other HTML5 Boilerplate community members. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000..f5a2dc7c0d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,29 @@ +name: Feature request +description: Suggest new or updated features to include in HTML5 Boilerplate. +title: "Suggest a new feature" +labels: [feature] +assignees: [] +body: + - type: checkboxes + attributes: + label: Prerequisites + description: Take a couple minutes to help our maintainers work faster. + options: + - label: I have [searched](https://github.com/h5bp/html5-boilerplate/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues + required: true + - label: I have read the [contributing guidelines](https://github.com/h5bp/html5-boilerplate/blob/main/.github/CONTRIBUTING.md) + required: true + - type: textarea + id: proposal + attributes: + label: Proposal + description: Provide detailed information for what we should add, including relevant links to prior art, screenshots, or live demos whenever possible. + validations: + required: true + - type: textarea + id: motivation + attributes: + label: Motivation and context + description: Tell us why this change is needed or helpful, and what problems it may help solve. + validations: + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a80f071931..196744a003 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,12 +1,16 @@ ## Types of changes + + - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: + + - [ ] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index 6bbe6d8a1a..315a2ff0d9 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -1,9 +1,5 @@ # Support For personal support requests with HTML5 Boilerplate please use Stack Overflow -([`html5boilerplate`](https://stackoverflow.com/questions/tagged/html5boilerplate) tag). - -Please check the respective repository/website for support regarding the code in - [`.htaccess`](https://github.com/h5bp/server-configs-apache), - [`Modernizr`](https://modernizr.com/) or - [`Normalize.css`](https://github.com/necolas/normalize.css). +([`html5boilerplate`](https://stackoverflow.com/questions/tagged/html5boilerplate) +tag). diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8e8b60bc1f..7c01dee800 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,4 +14,3 @@ updates: directory: "/" schedule: interval: monthly - diff --git a/.github/workflows/build-dist.yaml b/.github/workflows/build-dist.yaml deleted file mode 100644 index a66f73b89d..0000000000 --- a/.github/workflows/build-dist.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build dist - -# Controls when the workflow will run -on: - # Triggers the workflow on push or pull request events but only for the main branch - push: - branches: [ main ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -permissions: - contents: read - -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - permissions: - contents: write # for stefanzweifel/git-auto-commit-action to push code in repo - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - with: - ref: main - - # Runs a single command using the runners shell - - name: build - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm run build - - name: commit - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: "[Bot] Update dist" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2a4309b1fb..824eb0076f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,6 +9,7 @@ on: branches: - main - "!dependabot/**" + workflow_dispatch: jobs: analyze: @@ -20,13 +21,14 @@ jobs: security-events: write steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v4 - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: 'javascript' + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: "javascript" + queries: +security-and-quality - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index a25de591ba..8caf799d12 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,4 +1,4 @@ -name: 'Dependency Review' +name: "Dependency Review" on: [pull_request] permissions: @@ -8,7 +8,7 @@ jobs: dependency-review: runs-on: ubuntu-latest steps: - - name: 'Checkout Repository' - uses: actions/checkout@v3 - - name: 'Dependency Review' - uses: actions/dependency-review-action@v2 + - name: "Checkout Repository" + uses: actions/checkout@v4 + - name: "Dependency Review" + uses: actions/dependency-review-action@v4 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yml similarity index 83% rename from .github/workflows/publish.yaml rename to .github/workflows/publish.yml index 0193d5dceb..132f06c4f2 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yml @@ -1,9 +1,9 @@ -name: publish +name: Publish on: push: tags: - - 'v*' + - "v*" permissions: contents: read @@ -11,15 +11,15 @@ permissions: jobs: build: permissions: - contents: write # for actions/create-release to create a release + contents: write # for actions/create-release to create a release name: Upload Release Asset runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get tag id: get_version - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo VERSION=$(echo $GITHUB_REF | cut -d / -f 3) >> "$GITHUB_OUTPUT" - name: Create Zip Folder working-directory: dist run: zip -r ../html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip ./ @@ -44,9 +44,9 @@ jobs: asset_name: html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip asset_content_type: application/zip - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - name: publish npm run: npm publish diff --git a/.github/workflows/push-to-template.yaml b/.github/workflows/push-to-template.yml similarity index 68% rename from .github/workflows/push-to-template.yaml rename to .github/workflows/push-to-template.yml index c6f06cb783..b79aaf38da 100644 --- a/.github/workflows/push-to-template.yaml +++ b/.github/workflows/push-to-template.yml @@ -2,7 +2,7 @@ name: Push to template repository on: push: - branches: [ main ] + branches: [main] permissions: contents: read @@ -14,31 +14,30 @@ jobs: - name: Get npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" - uses: actions/cache@v3 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 'lts/*' + node-version: "lts/*" - name: Install dependencies run: npm ci - name: Build - run: npm run build + run: npm run build - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: - source-directory: 'dist' - destination-github-username: 'h5bp' - destination-repository-name: 'html5-boilerplate-template' - user-name: 'roblarsen' + source-directory: "dist" + destination-github-username: "h5bp" + destination-repository-name: "html5-boilerplate-template" + user-name: "roblarsen" user-email: rob@htmlcssjavascript.com commit-message: "The latest and greatest from HTML5 Boilerplate" - diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 6f68fee18e..7ee7bdcb86 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -1,4 +1,4 @@ -name: 'Check spelling' +name: "Check spelling" on: # rebuild any PRs and main branch changes push: branches-ignore: @@ -12,8 +12,8 @@ jobs: spellcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: streetsidesoftware/cspell-action@v2 + - uses: actions/checkout@v4 + - uses: streetsidesoftware/cspell-action@v7 with: inline: warning strict: false diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yml similarity index 68% rename from .github/workflows/test.yaml rename to .github/workflows/test.yml index 3531f7a018..fc3d1921ea 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yml @@ -5,30 +5,36 @@ on: branches: [main] pull_request: branches: [main] + workflow_dispatch: permissions: contents: read jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [14.x, 16.x] + node-version: + - 20 + - 22 + - 24 + os: [ubuntu-latest, windows-latest] + steps: - name: Get npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" - uses: actions/cache@v3 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run tests ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..4e2ca93e6e --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +lockfile-version = 3 +registry = "https://registry.npmjs.org/" diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000000..849ddff3b7 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +dist/ diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000000..3d124d4e67 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,13 @@ +{ + "bracketSameLine": true, + "embeddedLanguageFormatting": "off", + "singleQuote": true, + "overrides": [ + { + "files": "**/*.yml", + "options": { + "singleQuote": false + } + } + ] +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..cb8f0e3f1c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint", + "editorconfig.editorconfig", + "esbenp.prettier-vscode", + "streetsidesoftware.code-spell-checker" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..63b7864976 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "[javascript][typescript][json][jsonc][markdown][yaml]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true + }, + "[javascript][typescript]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + } + }, + "eslint.validate": ["javascript", "typescript"], + "editor.formatOnSave": true, + "editor.renderWhitespace": "all", + "files.trimTrailingWhitespace": true +} diff --git a/CHANGELOG.md b/CHANGELOG.md index d6ebf4149a..003a40c44f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,378 +1,403 @@ # Changelog -## 9.0.0 (TBD) - -* Rename CSS file [#2342](https://github.com/h5bp/html5-boilerplate/pull/2342) and JS file [#2341](https://github.com/h5bp/html5-boilerplate/pull/2341) +## 9.0.1 (April 11, 2024) + +- Fixed tests on Windows, adds Windows Testing Action [#3110](https://github.com/h5bp/html5-boilerplate/pull/3110) +- Add og:image:alt for accessibility [#3066](https://github.com/h5bp/html5-boilerplate/pull/3066) +- Upgrade to Gulp 5 [#3100](https://github.com/h5bp/html5-boilerplate/pull/3100) [#3105](https://github.com/h5bp/html5-boilerplate/pull/3105) +- ci: Use GITHUB_OUTPUT envvar instead of set-output command [#3068](https://github.com/h5bp/html5-boilerplate/pull/3068) +- Readme and Changelog updates [#3055](https://github.com/h5bp/html5-boilerplate/pull/3055) [#3057](https://github.com/h5bp/html5-boilerplate/pull/3057) [#3064](https://github.com/h5bp/html5-boilerplate/pull/3064) + +## 9.0.0 (December 6, 2023) + +- Removing tile images [#3023](https://github.com/h5bp/html5-boilerplate/pull/3023) +- Add Prettier [#3011](https://github.com/h5bp/html5-boilerplate/pull/3011) +- Remove Modernizr [#3002](https://github.com/h5bp/html5-boilerplate/issues/3002) +- Drop Normalize.css [#2960](https://github.com/h5bp/html5-boilerplate/pull/2960) +- Create WebPack build to ship with the project [#2650](https://github.com/h5bp/html5-boilerplate/issues/2650) +- Sets package to private by default [#2888](https://github.com/h5bp/html5-boilerplate/pull/2888) +- Removes Babel and upgrades our gulpfile to use ES Modules [#2831](https://github.com/h5bp/html5-boilerplate/pull/2831) +- Farewell Internet Explorer! [#2773](https://github.com/h5bp/html5-boilerplate/issues/2773) +- Remove apache-server-configs/.htaccess [#2779](https://github.com/h5bp/html5-boilerplate/pull/2779) +- Moving docs out of src and dist [#2655](https://github.com/h5bp/html5-boilerplate/pull/2655) +- Replace Parcel with Webpack [#2641](https://github.com/h5bp/html5-boilerplate/pull/2641) +- Add SVG Favicon [#2554](https://github.com/h5bp/html5-boilerplate/issues/2554) +- Remove Google Analytics [#2547](https://github.com/h5bp/html5-boilerplate/issues/2547) +- Rename master branch to main [#2583](https://github.com/h5bp/html5-boilerplate/issues/2583) +- Remove humans.txt [#2584](https://github.com/h5bp/html5-boilerplate/pull/2584) +- Add a template repository [#2391](https://github.com/h5bp/html5-boilerplate/pull/2391) +- Remove plugins js [#2346](https://github.com/h5bp/html5-boilerplate/pull/2346) +- Rename CSS file [#2342](https://github.com/h5bp/html5-boilerplate/pull/2342) and JS file [#2341](https://github.com/h5bp/html5-boilerplate/pull/2341) ## 8.0.0 (June 04, 2020) -* Add a sample package.json with basic Parcel commands ([#2227](https://github.com/h5bp/html5-boilerplate/pull/2229)), ([231e047](https://github.com/h5bp/html5-boilerplate/commit/231e047d270316b454156dc261e6e04da660e2a2)) -* Add sample Open Graph metadata ([#2235](https://github.com/h5bp/html5-boilerplate/pull/2235)) -* Update Modernizr to 3.11.2 ([84ae9cc](https://github.com/h5bp/html5-boilerplate/commit/84ae9cc91188bea4edb8ec91e2a25a2a7f7837a6)) -* Remove jQuery ([#2225](https://github.com/h5bp/html5-boilerplate/pull/2225)) -* Set anonymizeIp to true in Google Analytics snippet ([#2219](https://github.com/h5bp/html5-boilerplate/pull/2219)) -* Update main.css to 2.1.0 ([#2234](https://github.com/h5bp/html5-boilerplate/pull/2234)) -* Remove Browser Upgrade Prompt ([23c4112](https://github.com/h5bp/html5-boilerplate/commit/23c4112db067262c715ebad861ec892c29c3cdaa)) -* Create new publish action ([#2260](https://github.com/h5bp/html5-boilerplate/pull/2260)), ([#2241](https://github.com/h5bp/html5-boilerplate/pull/2241)) -* Docs updates ([#2251](https://github.com/h5bp/html5-boilerplate/pull/2251)), ([#2253](https://github.com/h5bp/html5-boilerplate/pull/2253)), ([#2245](https://github.com/h5bp/html5-boilerplate/pull/2245)), ([#2220](https://github.com/h5bp/html5-boilerplate/pull/2220)), ([#2263](https://github.com/h5bp/html5-boilerplate/pull/2263)), ([#2262](https://github.com/h5bp/html5-boilerplate/pull/2262)) +- Add a sample package.json with basic Parcel commands ([#2227](https://github.com/h5bp/html5-boilerplate/pull/2229)), ([231e047](https://github.com/h5bp/html5-boilerplate/commit/231e047d270316b454156dc261e6e04da660e2a2)) +- Add sample Open Graph metadata ([#2235](https://github.com/h5bp/html5-boilerplate/pull/2235)) +- Update Modernizr to 3.11.2 ([84ae9cc](https://github.com/h5bp/html5-boilerplate/commit/84ae9cc91188bea4edb8ec91e2a25a2a7f7837a6)) +- Remove jQuery ([#2225](https://github.com/h5bp/html5-boilerplate/pull/2225)) +- Set anonymizeIp to true in Google Analytics snippet ([#2219](https://github.com/h5bp/html5-boilerplate/pull/2219)) +- Update main.css to 2.1.0 ([#2234](https://github.com/h5bp/html5-boilerplate/pull/2234)) +- Remove Browser Upgrade Prompt ([23c4112](https://github.com/h5bp/html5-boilerplate/commit/23c4112db067262c715ebad861ec892c29c3cdaa)) +- Create new publish action ([#2260](https://github.com/h5bp/html5-boilerplate/pull/2260)), ([#2241](https://github.com/h5bp/html5-boilerplate/pull/2241)) +- Docs updates ([#2251](https://github.com/h5bp/html5-boilerplate/pull/2251)), ([#2253](https://github.com/h5bp/html5-boilerplate/pull/2253)), ([#2245](https://github.com/h5bp/html5-boilerplate/pull/2245)), ([#2220](https://github.com/h5bp/html5-boilerplate/pull/2220)), ([#2263](https://github.com/h5bp/html5-boilerplate/pull/2263)), ([#2262](https://github.com/h5bp/html5-boilerplate/pull/2262)) ## 7.3.0 (November 19, 2019) -* Update Modernizr to 3.8 ([2b2bb45](https://github.com/h5bp/html5-boilerplate/commit/2b2bb453916b4b09a6f0929340290dc2505f7ce9)) -* Update to Gulp 4 ([#2151](https://github.com/h5bp/html5-boilerplate/pull/2151)) -* Update package.json ([#2162](https://github.com/h5bp/html5-boilerplate/pull/#2162)) and enable package-lock.json ([abe2087](https://github.com/h5bp/html5-boilerplate/commit/abe20877fdb569c84aa0a1f8ae12c51c51e41250)),([#2145](https://github.com/h5bp/html5-boilerplate/pull/#2145)) -* Remove redundant rules from .editorconfig ([#2157](https://github.com/h5bp/html5-boilerplate/pull/2157)) -* Small docs maintenance updates ([#2155](https://github.com/h5bp/html5-boilerplate/pull/2155)), ([#2164](https://github.com/h5bp/html5-boilerplate/pull/2164)), ([#2165](https://github.com/h5bp/html5-boilerplate/pull/2165)), ([#2167](https://github.com/h5bp/html5-boilerplate/pull/2167)) & ([#2168](https://github.com/h5bp/html5-boilerplate/pull/2168)) -* Bump lowest supported version of node to 8.x ([#2142](https://github.com/h5bp/html5-boilerplate/pull/2142)) -* Remove .jscsrc config and remove gulp-jscs from package.json ([#2153](https://github.com/h5bp/html5-boilerplate/pull/2153)) +- Update Modernizr to 3.8 ([2b2bb45](https://github.com/h5bp/html5-boilerplate/commit/2b2bb453916b4b09a6f0929340290dc2505f7ce9)) +- Update to Gulp 4 ([#2151](https://github.com/h5bp/html5-boilerplate/pull/2151)) +- Update package.json ([#2162](https://github.com/h5bp/html5-boilerplate/pull/#2162)) and enable package-lock.json ([abe2087](https://github.com/h5bp/html5-boilerplate/commit/abe20877fdb569c84aa0a1f8ae12c51c51e41250)),([#2145](https://github.com/h5bp/html5-boilerplate/pull/#2145)) +- Remove redundant rules from .editorconfig ([#2157](https://github.com/h5bp/html5-boilerplate/pull/2157)) +- Small docs maintenance updates ([#2155](https://github.com/h5bp/html5-boilerplate/pull/2155)), ([#2164](https://github.com/h5bp/html5-boilerplate/pull/2164)), ([#2165](https://github.com/h5bp/html5-boilerplate/pull/2165)), ([#2167](https://github.com/h5bp/html5-boilerplate/pull/2167)) & ([#2168](https://github.com/h5bp/html5-boilerplate/pull/2168)) +- Bump lowest supported version of node to 8.x ([#2142](https://github.com/h5bp/html5-boilerplate/pull/2142)) +- Remove .jscsrc config and remove gulp-jscs from package.json ([#2153](https://github.com/h5bp/html5-boilerplate/pull/2153)) ## 7.2.0 (June 4, 2019) -* Remove `defer` from Google Analytics snippet ([#2132](https://github.com/h5bp/html5-boilerplate/pull/2132)) -* Update jQuery to v3.4.1 ([#2126](https://github.com/h5bp/html5-boilerplate/pull/2126)) -* Update Apache Server Configs to 3.2.1 ([#2128](https://github.com/h5bp/html5-boilerplate/pull/2128)) -* Update main.css to v2.0.0 ([#2135](https://github.com/h5bp/html5-boilerplate/pull/2135)) -* Docs updates ([#2122](https://github.com/h5bp/html5-boilerplate/pull/2122)), ([#2125](https://github.com/h5bp/html5-boilerplate/pull/2125)), ([#2134](https://github.com/h5bp/html5-boilerplate/pull/2134)), ([#2137](https://github.com/h5bp/html5-boilerplate/pull/2137)), ([#2138](https://github.com/h5bp/html5-boilerplate/pull/2138)) +- Remove `defer` from Google Analytics snippet ([#2132](https://github.com/h5bp/html5-boilerplate/pull/2132)) +- Update jQuery to v3.4.1 ([#2126](https://github.com/h5bp/html5-boilerplate/pull/2126)) +- Update Apache Server Configs to 3.2.1 ([#2128](https://github.com/h5bp/html5-boilerplate/pull/2128)) +- Update main.css to v2.0.0 ([#2135](https://github.com/h5bp/html5-boilerplate/pull/2135)) +- Docs updates ([#2122](https://github.com/h5bp/html5-boilerplate/pull/2122)), ([#2125](https://github.com/h5bp/html5-boilerplate/pull/2125)), ([#2134](https://github.com/h5bp/html5-boilerplate/pull/2134)), ([#2137](https://github.com/h5bp/html5-boilerplate/pull/2137)), ([#2138](https://github.com/h5bp/html5-boilerplate/pull/2138)) ## 7.1.0 (March 18, 2019) -* Update Modernizr to 3.7.1 ([#2121](https://github.com/h5bp/html5-boilerplate/pull/2121)) -* Update Analytics docs and snippet ([#2118](https://github.com/h5bp/html5-boilerplate/pull/2118)) -* Minor docs updates ([#2115](https://github.com/h5bp/html5-boilerplate/pull/2115)) -* Minor devdeps updates ([#2114](https://github.com/h5bp/html5-boilerplate/pull/2114)) -* More succinct way of writing the IE conditional statement ([#2113](https://github.com/h5bp/html5-boilerplate/pull/2113)) +- Update Modernizr to 3.7.1 ([#2121](https://github.com/h5bp/html5-boilerplate/pull/2121)) +- Update Analytics docs and snippet ([#2118](https://github.com/h5bp/html5-boilerplate/pull/2118)) +- Minor docs updates ([#2115](https://github.com/h5bp/html5-boilerplate/pull/2115)) +- Minor devdeps updates ([#2114](https://github.com/h5bp/html5-boilerplate/pull/2114)) +- More succinct way of writing the IE conditional statement ([#2113](https://github.com/h5bp/html5-boilerplate/pull/2113)) ## 7.0.1 (February 11, 2019) -* Bumps main.css to current version ([#2112](https://github.com/h5bp/html5-boilerplate/pull/2112)) +- Bumps main.css to current version ([#2112](https://github.com/h5bp/html5-boilerplate/pull/2112)) ## 7.0.0 (February 8, 2019) -* Drop support for IE9/IE10 (usage of these versions is tiny and Microsoft officially ended support back in 2016. ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2074)) -* Move the CSS to a separate repo ([#2066](https://github.com/h5bp/html5-boilerplate/pull/2066)) -* Add theme-color meta tag to index.html ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2074)) -* Add 'install with yarn' steps to README ([#2063](https://github.com/h5bp/html5-boilerplate/pull/2063)) -* Improved Webmanifest ([#2060](https://github.com/h5bp/html5-boilerplate/pull/2060)) -* Upgrade Normalize to 8.0.1 ([#2104](https://github.com/h5bp/html5-boilerplate/pull/2104)) -* Update .htaccess ([#2110](https://github.com/h5bp/html5-boilerplate/pull/2110)) -* Remove instances of `shrink-to-fit=no` ([#2103](https://github.com/h5bp/html5-boilerplate/pull/2103)) -* Removes "display": "standalone" from manifest ([#2096](https://github.com/h5bp/html5-boilerplate/pull/2096)) -* Big Docs update - Fixed links, removed IE9/IE10 specific info, made touch icons section more concise, add details on security.txt and more tidying up ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2031), [#2065](https://github.com/h5bp/html5-boilerplate/pull/2065), [#2062](https://github.com/h5bp/html5-boilerplate/pull/2062)) +- Drop support for IE9/IE10 (usage of these versions is tiny and Microsoft officially ended support back in 2016). ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2074)) +- Move the CSS to a separate repo ([#2066](https://github.com/h5bp/html5-boilerplate/pull/2066)) +- Add theme-color meta tag to index.html ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2074)) +- Add 'install with yarn' steps to README ([#2063](https://github.com/h5bp/html5-boilerplate/pull/2063)) +- Improved Webmanifest ([#2060](https://github.com/h5bp/html5-boilerplate/pull/2060)) +- Upgrade Normalize to 8.0.1 ([#2104](https://github.com/h5bp/html5-boilerplate/pull/2104)) +- Update .htaccess ([#2110](https://github.com/h5bp/html5-boilerplate/pull/2110)) +- Remove instances of `shrink-to-fit=no` ([#2103](https://github.com/h5bp/html5-boilerplate/pull/2103)) +- Removes "display": "standalone" from manifest ([#2096](https://github.com/h5bp/html5-boilerplate/pull/2096)) +- Big Docs update - Fixed links, removed IE9/IE10 specific info, made touch icons section more concise, add details on security.txt and more tidying up ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2031), [#2065](https://github.com/h5bp/html5-boilerplate/pull/2065), [#2062](https://github.com/h5bp/html5-boilerplate/pull/2062)) ## 6.1.0 (May 1, 2018) -* [Update Apache Server Configs to `v3.0.0`.](https://github.com/h5bp/html5-boilerplate/pull/2042) -* Migrate to eslint ([#2037](https://github.com/h5bp/html5-boilerplate/pull/2037)) -* Update to jQuery 3.3.1 ([#2018](https://github.com/h5bp/html5-boilerplate/pull/2018)) -* Update to Modernizr v3.6 and Normalize v8 ([#2028](https://github.com/h5bp/html5-boilerplate/pull/2028)) -* Update Dev Dependencies ([#2032](https://github.com/h5bp/html5-boilerplate/pull/2032)) ([#2017](https://github.com/h5bp/html5-boilerplate/pull/2017)) ([#2010](https://github.com/h5bp/html5-boilerplate/pull/2010)) ([#2009](https://github.com/h5bp/html5-boilerplate/pull/2009)) -* Replace 'node-sri' with 'ssri' ([#2031](https://github.com/h5bp/html5-boilerplate/pull/2031)) -* Add .babelrc and .prettierrc to .gitattributes ([#2030](https://github.com/h5bp/html5-boilerplate/pull/2030)) -* Update .htaccess ([#2003](https://github.com/h5bp/html5-boilerplate/pull/2003)) -* Fixed JSHint errors ([#1994](https://github.com/h5bp/html5-boilerplate/pull/1994)) -* Add CODE_OF_CONDUCT.md ([#2011](https://github.com/h5bp/html5-boilerplate/pull/2011)) -* Update Documentation ([#2029](https://github.com/h5bp/html5-boilerplate/pull/2029)) ([#2015](https://github.com/h5bp/html5-boilerplate/pull/2015)) ([#2007](https://github.com/h5bp/html5-boilerplate/pull/2007)) ([#2006](https://github.com/h5bp/html5-boilerplate/pull/2006)) ([#1996](https://github.com/h5bp/html5-boilerplate/pull/1996)) +- [Update Apache Server Configs to `v3.0.0`.](https://github.com/h5bp/html5-boilerplate/pull/2042) +- Migrate to eslint ([#2037](https://github.com/h5bp/html5-boilerplate/pull/2037)) +- Update to jQuery 3.3.1 ([#2018](https://github.com/h5bp/html5-boilerplate/pull/2018)) +- Update to Modernizr v3.6 and Normalize v8 ([#2028](https://github.com/h5bp/html5-boilerplate/pull/2028)) +- Update Dev Dependencies ([#2032](https://github.com/h5bp/html5-boilerplate/pull/2032)) ([#2017](https://github.com/h5bp/html5-boilerplate/pull/2017)) ([#2010](https://github.com/h5bp/html5-boilerplate/pull/2010)) ([#2009](https://github.com/h5bp/html5-boilerplate/pull/2009)) +- Replace 'node-sri' with 'ssri' ([#2031](https://github.com/h5bp/html5-boilerplate/pull/2031)) +- Add .babelrc and .prettierrc to .gitattributes ([#2030](https://github.com/h5bp/html5-boilerplate/pull/2030)) +- Update .htaccess ([#2003](https://github.com/h5bp/html5-boilerplate/pull/2003)) +- Fixed JSHint errors ([#1994](https://github.com/h5bp/html5-boilerplate/pull/1994)) +- Add CODE_OF_CONDUCT.md ([#2011](https://github.com/h5bp/html5-boilerplate/pull/2011)) +- Update Documentation ([#2029](https://github.com/h5bp/html5-boilerplate/pull/2029)) ([#2015](https://github.com/h5bp/html5-boilerplate/pull/2015)) ([#2007](https://github.com/h5bp/html5-boilerplate/pull/2007)) ([#2006](https://github.com/h5bp/html5-boilerplate/pull/2006)) ([#1996](https://github.com/h5bp/html5-boilerplate/pull/1996)) ## 6.0.1 (August 20, 2017) -* Reverts .visuallyhidden (see [#1985](https://github.com/h5bp/html5-boilerplate/issues/1985)) +- Reverts .visuallyhidden (see [#1985](https://github.com/h5bp/html5-boilerplate/issues/1985)) ## 6.0.0 (August 17, 2017) -* Fix Bug: .visuallyhidden on macOS VO fixes #1985 ([#1989](https://github.com/h5bp/html5-boilerplate/pull/1989)) -* Adds web app manifest file ([#1963](https://github.com/h5bp/html5-boilerplate/pull/1963)) -* Update to jQuery 3.2.1 ([#1942](https://github.com/h5bp/html5-boilerplate/pull/1942)) -* Improve ::selection documentation which became confusing after c7057be ([#1955](https://github.com/h5bp/html5-boilerplate/pull/1955)) -* refactor(html): update browsehappy to https instead of http ([#1952](https://github.com/h5bp/html5-boilerplate/pull/1952)) -* Fix links to CONTRIBUTING.md ([#1951](https://github.com/h5bp/html5-boilerplate/pull/1951)) -* Adds .github folder and contents Fixes ([#1948](https://github.com/h5bp/html5-boilerplate/pull/1948)) -* Modernizr 3, modernizr.config and ([#1940](https://github.com/h5bp/html5-boilerplate/pull/1940)) -* Housekeeping by @coliff (#1968 #1969 #1965 #1964 #1958 #1957 #1956) -* Update .gitattributes for Web Projects ([#1935](https://github.com/h5bp/html5-boilerplate/pull/1935)) -* Add the link for useful .gitignore templates ([#1936](https://github.com/h5bp/html5-boilerplate/pull/1936)) -* Node plumbing updated ([#1925](https://github.com/h5bp/html5-boilerplate/pull/1925)) ([#1928](https://github.com/h5bp/html5-boilerplate/pull/1928)) ([#1931](https://github.com/h5bp/html5-boilerplate/pull/1931)) -* Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788)) -* Scope :first-letter selector for print styles ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904)) -* Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904)) -* Update .jshintrc ([#1903](https://github.com/h5bp/html5-boilerplate/pull/1903)) -* Improve accessibility with visuallyhidden content ([#1900](https://github.com/h5bp/html5-boilerplate/pull/1900)) -* Tell users that IE 8 and 9 are outdated +- Fix Bug: .visuallyhidden on macOS VO fixes #1985 ([#1989](https://github.com/h5bp/html5-boilerplate/pull/1989)) +- Adds web app manifest file ([#1963](https://github.com/h5bp/html5-boilerplate/pull/1963)) +- Update to jQuery 3.2.1 ([#1942](https://github.com/h5bp/html5-boilerplate/pull/1942)) +- Improve ::selection documentation which became confusing after c7057be ([#1955](https://github.com/h5bp/html5-boilerplate/pull/1955)) +- refactor(html): update browsehappy to https instead of http ([#1952](https://github.com/h5bp/html5-boilerplate/pull/1952)) +- Fix links to CONTRIBUTING.md ([#1951](https://github.com/h5bp/html5-boilerplate/pull/1951)) +- Adds .github folder and contents Fixes ([#1948](https://github.com/h5bp/html5-boilerplate/pull/1948)) +- Modernizr 3, modernizr.config and ([#1940](https://github.com/h5bp/html5-boilerplate/pull/1940)) +- Housekeeping by @coliff (#1968 #1969 #1965 #1964 #1958 #1957 #1956) +- Update .gitattributes for Web Projects ([#1935](https://github.com/h5bp/html5-boilerplate/pull/1935)) +- Add the link for useful .gitignore templates ([#1936](https://github.com/h5bp/html5-boilerplate/pull/1936)) +- Node plumbing updated ([#1925](https://github.com/h5bp/html5-boilerplate/pull/1925)) ([#1928](https://github.com/h5bp/html5-boilerplate/pull/1928)) ([#1931](https://github.com/h5bp/html5-boilerplate/pull/1931)) +- Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788)) +- Scope :first-letter selector for print styles ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904)) +- Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904)) +- Update .jshintrc ([#1903](https://github.com/h5bp/html5-boilerplate/pull/1903)) +- Improve accessibility with visuallyhidden content ([#1900](https://github.com/h5bp/html5-boilerplate/pull/1900)) +- Tell users that IE 8 and 9 are outdated ([#1747](https://github.com/h5bp/html5-boilerplate/issues/1747)). -* Removed IE8 Support (upgrades jQuery and normalize.css to latest) +- Removed IE8 Support (upgrades jQuery and normalize.css to latest) ([#1524](https://github.com/h5bp/html5-boilerplate/issues/1524)). -* Fix print styles for Internet Explorer 11 +- Fix print styles for Internet Explorer 11 ([#1799](https://github.com/h5bp/html5-boilerplate/issues/1799)). -* Update doc links to https +- Update doc links to https ([#1889](https://github.com/h5bp/html5-boilerplate/issues/1889)). -* Delete crossdomain.xml +- Delete crossdomain.xml ([#1881](https://github.com/h5bp/html5-boilerplate/issues/1881)). -* Adds pre-wrap to PRE +- Adds pre-wrap to PRE ([#1742](https://github.com/h5bp/html5-boilerplate/issues/1742)). -* Change license format to SPDX format +- Change license format to SPDX format ([#1814](https://github.com/h5bp/html5-boilerplate/pull/1814)). -* Simplify the Google Analytics snippet using `async` & `defer` ([#1660](https://github.com/h5bp/html5-boilerplate/pull/1660#issuecomment-89285678)). +- Simplify the Google Analytics snippet using `async` & `defer` ([#1660](https://github.com/h5bp/html5-boilerplate/pull/1660#issuecomment-89285678)). ## 5.3.0 (January 12, 2016) -* Update jQuery to `v1.12.0`. -* Fetch `jQuery` from jQuery's CDN instead of Google's +- Update jQuery to `v1.12.0`. +- Fetch `jQuery` from jQuery's CDN instead of Google's ([#1737](https://github.com/h5bp/html5-boilerplate/issues/1737), [#1739](https://github.com/h5bp/html5-boilerplate/issues/1739)). -* Change print color for `:first-letter` and `:first-line` +- Change print color for `:first-letter` and `:first-line` pseudo-elements ([#1715](https://github.com/h5bp/html5-boilerplate/pull/1715)). ## 5.2.0 (May 1, 2015) -* Update jQuery to `v1.11.3` +- Update jQuery to `v1.11.3` ([#1699](https://github.com/h5bp/html5-boilerplate/issues/1699)). -* Deprecate protocol-relative URLs +- Deprecate protocol-relative URLs ([#1694](https://github.com/h5bp/html5-boilerplate/issues/1694)). -* Update high resolution media query +- Update high resolution media query ([#1474](https://github.com/h5bp/html5-boilerplate/issues/1474)). -* Update Apache Server Configs to `v2.14.0`. +- Update Apache Server Configs to `v2.14.0`. ## 5.1.0 (April 1, 2015) -* Update Normalize.css to `v3.0.3`. -* Use `https://` in the Google Universal Analytics snippet +- Update Normalize.css to `v3.0.3`. +- Use `https://` in the Google Universal Analytics snippet ([eee759b](https://github.com/h5bp/html5-boilerplate/commit/eee759bfe175e850bbc8e4ad0682ec4fe4bd05d6)). -* Remove the `visibility: hidden` declaration from `.hidden` +- Remove the `visibility: hidden` declaration from `.hidden` ([#1663](https://github.com/h5bp/html5-boilerplate/issues/1663)). -* Use ``
+- Use ``
instead of `` ([#1656](https://github.com/h5bp/html5-boilerplate/issues/1656)). -* Update Apache Server Configs to `v2.13.0`. +- Update Apache Server Configs to `v2.13.0`. ## 5.0.0 (February 1, 2015) -* Update to jQuery 1.11.2. -* Update Apache Server Configs to v2.11.0. -* Rename Apple touch icon to `apple-touch-icon.png` and add +- Update to jQuery 1.11.2. +- Update Apache Server Configs to v2.11.0. +- Rename Apple touch icon to `apple-touch-icon.png` and add `` in `index.html` ([#1622](https://github.com/h5bp/html5-boilerplate/issues/1622)). -* Add vertical centering for `iframe` +- Add vertical centering for `iframe` ([#1613](https://github.com/h5bp/html5-boilerplate/issues/1613)). -* Change the outdated browser prompt classname to `browserupgrade` +- Change the outdated browser prompt classname to `browserupgrade` ([#1608](https://github.com/h5bp/html5-boilerplate/issues/1608)). -* Update to Normalize.css 3.0.2. +- Update to Normalize.css 3.0.2. ([#1050](https://github.com/h5bp/html5-boilerplate/issues/1050)). -* Update `apple-touch-icon-precomposed.png` and the _"Apple touch +- Update `apple-touch-icon-precomposed.png` and the _"Apple touch icons"_ related documentation ([#1599](https://github.com/h5bp/html5-boilerplate/pull/1599)). -* Add pseudo-elements to universal selector in print media query +- Add pseudo-elements to universal selector in print media query ([#1585](https://github.com/h5bp/html5-boilerplate/pull/1585)). -* Update to Modernizr 2.8.3. -* Remove need to readjust margins in `404.html` +- Update to Modernizr 2.8.3. +- Remove need to readjust margins in `404.html` ([#1567](https://github.com/h5bp/html5-boilerplate/pull/1567)). -* Add `/.editorconfig` file +- Add `/.editorconfig` file ([#1561](https://github.com/h5bp/html5-boilerplate/issues/1561), [#1564](https://github.com/h5bp/html5-boilerplate/issues/1564)). -* Add `auto` to the Google Universal Analytics tracker create method +- Add `auto` to the Google Universal Analytics tracker create method ([#1562](https://github.com/h5bp/html5-boilerplate/issues/1562)). -* Add `timeline` and `timelineEnd` to the list of `console` methods +- Add `timeline` and `timelineEnd` to the list of `console` methods ([#1559](https://github.com/h5bp/html5-boilerplate/issues/1559)). -* Add `lang=""` to `` +- Add `lang=""` to `` ([#1542](https://github.com/h5bp/html5-boilerplate/issues/1542)). -* Use `` instead of `` +- Use `` instead of `` ([#1522](https://github.com/h5bp/html5-boilerplate/issues/1522)). -* Add `/browserconfig.xml` file and tile images +- Add `/browserconfig.xml` file and tile images ([#1481](https://github.com/h5bp/html5-boilerplate/issues/1481)). -* Add `Disallow:` to `robots.txt` +- Add `Disallow:` to `robots.txt` ([#1487](https://github.com/h5bp/html5-boilerplate/issues/1487)). -* Remove default foreground color from form elements +- Remove default foreground color from form elements ([#1390](https://github.com/h5bp/html5-boilerplate/issues/1390)). -* Remove default margin from print styles +- Remove default margin from print styles ([#1477](https://github.com/h5bp/html5-boilerplate/issues/1477)). -* Remove image replacement helper class `.ir` +- Remove image replacement helper class `.ir` ([#1472](https://github.com/h5bp/html5-boilerplate/issues/1472), [#1475](https://github.com/h5bp/html5-boilerplate/issues/1475)). -* Add vertical centering for `svg` +- Add vertical centering for `svg` ([#1453](https://github.com/h5bp/html5-boilerplate/issues/1453)). -* Redesign 404 page +- Redesign 404 page ([#1443](https://github.com/h5bp/html5-boilerplate/pull/1443)). -* Remove IE 6/7 hacks from `main.css` +- Remove IE 6/7 hacks from `main.css` ([#1050](https://github.com/h5bp/html5-boilerplate/issues/1050)). -* Remove IE conditional classes +- Remove IE conditional classes ([#1187](https://github.com/h5bp/html5-boilerplate/issues/1187), [#1290](https://github.com/h5bp/html5-boilerplate/issues/1290)). ## 4.3.0 (September 10, 2013) -* Use one `apple-touch-icon` instead of six +- Use one `apple-touch-icon` instead of six ([#1367](https://github.com/h5bp/html5-boilerplate/issues/1367)). -* Move font-related declarations from `body` to `html` +- Move font-related declarations from `body` to `html` ([#1411](https://github.com/h5bp/html5-boilerplate/issues/1411)). -* Update to Apache Server Configs 1.1.0. -* Add `initial-scale=1` to the viewport `meta` +- Update to Apache Server Configs 1.1.0. +- Add `initial-scale=1` to the viewport `meta` ([#1398](https://github.com/h5bp/html5-boilerplate/pull/1398)). -* Vertical centering for audio, canvas and video-tags +- Vertical centering for audio, canvas and video-tags ([#1326](https://github.com/h5bp/html5-boilerplate/issues/1326)). -* Remove Google Chrome Frame related code +- Remove Google Chrome Frame related code ([#1379](https://github.com/h5bp/html5-boilerplate/pull/1379), [#1396](https://github.com/h5bp/html5-boilerplate/pull/1396)). -* Update to Google Universal Analytics +- Update to Google Universal Analytics ([#1347](https://github.com/h5bp/html5-boilerplate/issues/1347)). -* Update to jQuery 1.10.2. -* Update to Normalize.css 1.1.3. +- Update to jQuery 1.10.2. +- Update to Normalize.css 1.1.3. ## 4.2.0 (April 8, 2013) -* Remove Google Analytics protocol check +- Remove Google Analytics protocol check ([#1319](https://github.com/h5bp/html5-boilerplate/pull/1319)). -* Update to Normalize.css 1.1.1. -* Update Apache configurations to include the latest changes in the +- Update to Normalize.css 1.1.1. +- Update Apache configurations to include the latest changes in the canonical [`.htaccess`](https://github.com/h5bp/server-configs-apache) file. -* Use a protocol relative URL for the 404 template script. -* Update to jQuery 1.9.1. +- Use a protocol relative URL for the 404 template script. +- Update to jQuery 1.9.1. ## 4.1.0 (January 21, 2013) -* Update to Normalize.css 1.1.0. -* Update to jQuery 1.9.0. +- Update to Normalize.css 1.1.0. +- Update to jQuery 1.9.0. ## 4.0.3 (January 12, 2013) -* Use 32x32 favicon.ico +- Use 32x32 favicon.ico ([#1286](https://github.com/h5bp/html5-boilerplate/pull/1286)). -* Remove named function expression in plugins.js +- Remove named function expression in plugins.js ([#1280](https://github.com/h5bp/html5-boilerplate/pull/1280)). -* Adjust CSS image-replacement code +- Adjust CSS image-replacement code ([#1239](https://github.com/h5bp/html5-boilerplate/issues/1239)). -* Update HiDPI example media query +- Update HiDPI example media query ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)). ## 4.0.2 (December 9, 2012) -* Update placeholder icons. -* Update to Normalize.css 1.0.2. -* Update to jQuery 1.8.3. +- Update placeholder icons. +- Update to Normalize.css 1.0.2. +- Update to jQuery 1.8.3. ## 4.0.1 (October 20, 2012) -* Further improvements to `console` method stubbing +- Further improvements to `console` method stubbing ([#1206](https://github.com/h5bp/html5-boilerplate/issues/1206), [#1229](https://github.com/h5bp/html5-boilerplate/pull/1229)). -* Update to jQuery 1.8.2. -* Update to Modernizr 2.6.2. -* Minor additions to the documentation. +- Update to jQuery 1.8.2. +- Update to Modernizr 2.6.2. +- Minor additions to the documentation. ## 4.0.0 (August 28, 2012) -* Improve the Apache compression configuration +- Improve the Apache compression configuration ([#1012](https://github.com/h5bp/html5-boilerplate/issues/1012), [#1173](https://github.com/h5bp/html5-boilerplate/issues/1173)). -* Add a HiDPI example media query +- Add a HiDPI example media query ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)). -* Add bundled docs +- Add bundled docs ([#1154](https://github.com/h5bp/html5-boilerplate/issues/1154)). -* Add MIT license +- Add MIT license ([#1139](https://github.com/h5bp/html5-boilerplate/issues/1139)). -* Update to Normalize.css 1.0.1. -* Separate Normalize.css from the rest of the CSS +- Update to Normalize.css 1.0.1. +- Separate Normalize.css from the rest of the CSS ([#1160](https://github.com/h5bp/html5-boilerplate/issues/1160)). -* Improve `console.log` protection +- Improve `console.log` protection ([#1107](https://github.com/h5bp/html5-boilerplate/issues/1107)). -* Replace hot pink text selection color with a neutral color. -* Change image replacement technique +- Replace hot pink text selection color with a neutral color. +- Change image replacement technique ([#1149](https://github.com/h5bp/html5-boilerplate/issues/1149)). -* Code format and consistency changes +- Code format and consistency changes ([#1112](https://github.com/h5bp/html5-boilerplate/issues/1112)). -* Rename CSS file and rename JS files and subdirectories. -* Update to jQuery 1.8 +- Rename CSS file and rename JS files and subdirectories. +- Update to jQuery 1.8 ([#1161](https://github.com/h5bp/html5-boilerplate/issues/1161)). -* Update to Modernizr 2.6.1 +- Update to Modernizr 2.6.1 ([#1086](https://github.com/h5bp/html5-boilerplate/issues/1086)). -* Remove uncompressed jQuery +- Remove uncompressed jQuery ([#1153](https://github.com/h5bp/html5-boilerplate/issues/1153)). -* Remove superfluous inline comments +- Remove superfluous inline comments ([#1150](https://github.com/h5bp/html5-boilerplate/issues/1150)). ## 3.0.2 (February 19, 2012) -* Update to Modernizr 2.5.3. +- Update to Modernizr 2.5.3. ## 3.0.1 (February 08, 2012) -* Update to Modernizr 2.5.2 (includes html5shiv 3.3). +- Update to Modernizr 2.5.2 (includes html5shiv 3.3). ## 3.0.0 (February 06, 2012) -* Improvements to `.htaccess`. -* Improve 404 design. -* Simplify JS folder structure. -* Change `html` IE class names changed to target ranges rather than +- Improvements to `.htaccess`. +- Improve 404 design. +- Simplify JS folder structure. +- Change `html` IE class names changed to target ranges rather than specific versions of IE. -* Update CSS to include latest normalize.css changes and better +- Update CSS to include latest normalize.css changes and better typographic defaults ([#825](https://github.com/h5bp/html5-boilerplate/issues/825)). -* Update to Modernizr 2.5 (includes yepnope 1.5 and html5shiv 3.2). -* Update to jQuery 1.7.1. -* Revert to async snippet for the Google Analytics script. -* Remove the ant build script +- Update to Modernizr 2.5 (includes yepnope 1.5 and html5shiv 3.2). +- Update to jQuery 1.7.1. +- Revert to async snippet for the Google Analytics script. +- Remove the ant build script ([#826](https://github.com/h5bp/html5-boilerplate/issues/826)). -* Remove Respond.js +- Remove Respond.js ([#816](https://github.com/h5bp/html5-boilerplate/issues/816)). -* Remove the `demo/` directory +- Remove the `demo/` directory ([#808](https://github.com/h5bp/html5-boilerplate/issues/808)). -* Remove the `test/` directory +- Remove the `test/` directory ([#808](https://github.com/h5bp/html5-boilerplate/issues/808)). -* Remove Google Chrome Frame script for IE6 users; replace with links +- Remove Google Chrome Frame script for IE6 users; replace with links to Chrome Frame and options for alternative browsers. -* Remove `initial-scale=1` from the viewport `meta` +- Remove `initial-scale=1` from the viewport `meta` ([#824](https://github.com/h5bp/html5-boilerplate/issues/824)). -* Remove `defer` from all scripts to avoid legacy IE bugs. -* Remove explicit Site Speed tracking for Google Analytics. It's now +- Remove `defer` from all scripts to avoid legacy IE bugs. +- Remove explicit Site Speed tracking for Google Analytics. It's now enabled by default. ## 2.0.0 (August 10, 2011) -* Change starting CSS to be based on normalize.css instead of reset.css +- Change starting CSS to be based on normalize.css instead of reset.css ([#500](https://github.com/h5bp/html5-boilerplate/issues/500)). -* Add Respond.js media query polyfill. -* Add Google Chrome Frame script prompt for IE6 users. -* Simplify the `html` conditional comments for modern browsers and add +- Add Respond.js media query polyfill. +- Add Google Chrome Frame script prompt for IE6 users. +- Simplify the `html` conditional comments for modern browsers and add an `oldie` class. -* Update clearfix to use "micro clearfix". -* Add placeholder CSS MQs for mobile-first approach. -* Add `textarea { resize: vertical; }` to only allow vertical resizing. -* Add `img { max-width: 100%; }` to the print styles; prevents images +- Update clearfix to use "micro clearfix". +- Add placeholder CSS MQs for mobile-first approach. +- Add `textarea { resize: vertical; }` to only allow vertical resizing. +- Add `img { max-width: 100%; }` to the print styles; prevents images being truncated. -* Add Site Speed tracking for Google Analytics. -* Update to jQuery 1.6.2 (and use minified by default). -* Update to Modernizr 2.0 Complete, Production minified (includes +- Add Site Speed tracking for Google Analytics. +- Update to jQuery 1.6.2 (and use minified by default). +- Update to Modernizr 2.0 Complete, Production minified (includes yepnope, html5shiv, and Respond.js). -* Use `Modernizr.load()` to load the Google Analytics script. -* Much faster build process. -* Add build script options for CSSLint, JSLint, JSHint tools. -* Build script now compresses all images in subfolders. -* Build script now versions files by SHA hash. -* Many `.htaccess` improvements including: disable directory browsing, +- Use `Modernizr.load()` to load the Google Analytics script. +- Much faster build process. +- Add build script options for CSSLint, JSLint, JSHint tools. +- Build script now compresses all images in subfolders. +- Build script now versions files by SHA hash. +- Many `.htaccess` improvements including: disable directory browsing, improved support for all versions of Apache, more robust and extensive HTTP compression rules. -* Remove `handheld.css` as it has very poor device support. -* Remove touch-icon `link` elements from the HTML and include improved +- Remove `handheld.css` as it has very poor device support. +- Remove touch-icon `link` elements from the HTML and include improved touch-icon support. -* Remove the cache-busting query parameters from files references in +- Remove the cache-busting query parameters from files references in the HTML. -* Remove IE6 PNGFix. +- Remove IE6 PNGFix. ## 1.0.0 (March 21, 2011) -* Rewrite build script to make it more customizable and flexible. -* Add a humans.txt. -* Numerous `.htaccess` improvements (including inline documentation). -* Move the alternative server configurations to the H5BP server configs +- Rewrite build script to make it more customizable and flexible. +- Add a humans.txt. +- Numerous `.htaccess` improvements (including inline documentation). +- Move the alternative server configurations to the H5BP server configs repo. -* Use a protocol-relative url to reference jQuery and prevent mixed +- Use a protocol-relative url to reference jQuery and prevent mixed content warnings. -* Optimize the Google Analytics snippet. -* Use Eric Meyer's recent CSS reset update and the HTML5 Doctor reset. -* More robust `sub`/`sup` CSS styles. -* Add keyboard `.focusable` helper class that extends `.visuallyhidden`. -* Print styles no longer print hash or JavaScript links. -* Add a print reset for IE's proprietary filters. -* Remove IE9-specific conditional class on the `html` element. -* Remove margins from lists within `nav` elements. -* Remove YUI profiling. +- Optimize the Google Analytics snippet. +- Use Eric Meyer's recent CSS reset update and the HTML5 Doctor reset. +- More robust `sub`/`sup` CSS styles. +- Add keyboard `.focusable` helper class that extends `.visuallyhidden`. +- Print styles no longer print hash or JavaScript links. +- Add a print reset for IE's proprietary filters. +- Remove IE9-specific conditional class on the `html` element. +- Remove margins from lists within `nav` elements. +- Remove YUI profiling. diff --git a/README.md b/README.md index 48005e7d5a..5ef73c5e64 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,8 @@ community knowledge. It does not impose a specific development philosophy or framework, so you're free to architect your code in the way that you want. -* Homepage: [https://html5boilerplate.com/](https://html5boilerplate.com/) -* Source: [https://github.com/h5bp/html5-boilerplate](https://github.com/h5bp/html5-boilerplate) -* Twitter: [@h5bp](https://twitter.com/h5bp) +- [Homepage](https://html5boilerplate.com/) +- [Source Code](https://github.com/h5bp/html5-boilerplate) ## About This Repository @@ -32,17 +31,17 @@ Think of it this way, in the same way that you don't clone [vuejs/core](https:// to create a Vue.js app, you don't need to clone this repository to start a new site or app based on HTML5 Boilerplate. -So, if you're looking for a quick start template to build a web site or +So, if you're looking for a quick start template to build a website or application, look at the options in the -[Quick Start section of this document](https://github.com/h5bp/html5-boilerplate#quick-start) +[Quick Start](https://github.com/h5bp/html5-boilerplate#quick-start) section of this document. If you want to help us _improve_ HTML5 Boilerplate then you can start with the documentation [here](.github/CONTRIBUTING.md), which includes steps to clone this repo in order to get it set up for development. -## Quick start +## Quick Start Choose one of the following options: -* Using the [create-html5-boilerplate](https://github.com/h5bp/create-html5-boilerplate) +- Using the [create-html5-boilerplate](https://github.com/h5bp/create-html5-boilerplate) script, instantly fetch the latest npm published package (or any version available on npm) with `npx`, `npm init` or `yarn create` without having to install any dependencies. Running the following `npx` command installs the @@ -55,23 +54,22 @@ Choose one of the following options: npm run start ``` -* Using our new [Template Repository](https://github.com/h5bp/html5-boilerplate-template) +- Using our new [Template Repository](https://github.com/h5bp/html5-boilerplate-template) create a new GitHub repository based on the latest code from the main branch of HTML5 Boilerplate. -* Install with [npm](https://www.npmjs.com/): `npm install html5-boilerplate` +- Install with [npm](https://www.npmjs.com/): `npm install html5-boilerplate` or [yarn](https://yarnpkg.com/): `yarn add html5-boilerplate`. The resulting `node_modules/html5-boilerplate/dist` folder represents the latest version of the project for end users. Depending on what you want to use and how you want to use it, you may have to copy and paste the contents of that folder into your project directory. - -* Download the latest stable release from - [html5boilerplate.com](https://html5boilerplate.com/). This zip file is a +- Download the latest stable release from + [here](https://github.com/h5bp/html5-boilerplate/releases/download/v9.0.0/html5-boilerplate_v9.0.0.zip). This zip file is a snapshot of the `dist` folder. On Windows, Mac and from the file manager on Linux unzipping this folder will output to a folder named something like - `html5-boilerplate_v7.3.0`. From the command-line will need to create a + `html5-boilerplate_v9.0.0`. From the command-line, you will need to create a folder and unzip the contents into that folder. ```bash @@ -81,44 +79,25 @@ Choose one of the following options: ## Features -* A finely-tuned starter template. Reap the benefits of 10 years of analysis, +- A finely-tuned starter template: Reap the benefits of 10 years of analysis, research and experimentation by over 200 contributors. -* Designed with progressive enhancement in mind. -* Includes: - * [`Normalize.css`](https://necolas.github.io/normalize.css/) - for CSS normalizations and common bug fixes - * A custom build of [`Modernizr`](https://modernizr.com/) for feature - detection - * [`Apache Server Configs`](https://github.com/h5bp/server-configs-apache) - that improve the web site's performance and security -* Placeholder Open Graph elements and attributes. -* An example package.json file with [WebPack](https://webpack.js.org/) commands - built in to jumpstart application development -* Placeholder CSS Media Queries. -* Useful CSS helper classes. -* Default print styles, performance optimized. -* Protection against any stray `console` statements causing JavaScript - errors in older browsers. -* "Delete-key friendly." Easy to strip out parts you don't need. -* Extensive documentation. - -## Browser support - -HTML5-Boilerplate supports the latest, stable releases of all major browsers. - -You can find our range of supported browsers in our [package.json](https://github.com/h5bp/html5-boilerplate/blob/main/package.json#L55-L59) At present we alter the [browserlist default](https://github.com/browserslist/browserslist#full-list) by dropping IE 11. - -```json - "browserslist": [ - "> 0.5%", - "last 2 versions", - "Firefox ESR", - "not dead", - "not IE 11" - ], -``` - -[That configuration translates to this full list of browsers.](https://browserslist.dev/?q=ID4gMC41JSwgICAgIGxhc3QgMiB2ZXJzaW9ucywgICAgIEZpcmVmb3ggRVNSLCAgICBub3QgZGVhZCwgICAgIG5vdCBJRSAxMQ) +- Designed with progressive enhancement in mind. +- Includes: + - Placeholder Open Graph elements and attributes. + - An example package.json file with [WebPack](https://webpack.js.org/) commands + built in to jumpstart application development. + - Placeholder CSS Media Queries. + - Useful CSS helper classes. + - Default print styles, performance optimized. + - "Delete-key friendly." Easy to strip out parts you don't need. + - Extensive documentation. + +## Browser Support + +HTML5-Boilerplate supports the latest, stable releases of all major browsers. + +Check the `default` configuration from [Browserslist](https://browsersl.ist/#q=defaults) +for more details on browsers and versions covered. ## Documentation @@ -130,12 +109,12 @@ write about your project. ## Contributing Hundreds of developers have helped to make the HTML5 Boilerplate. Anyone is -welcome to [contribute](.github/CONTRIBUTING.md), however, if you decide to get +welcome to [contribute](.github/CONTRIBUTING.md). However, if you decide to get involved, please take a moment to review the [guidelines](.github/CONTRIBUTING.md): -* [Bug reports](.github/CONTRIBUTING.md#bugs) -* [Feature requests](.github/CONTRIBUTING.md#features) -* [Pull requests](.github/CONTRIBUTING.md#pull-requests) +- [Bug reports](.github/CONTRIBUTING.md#bugs) +- [Feature requests](.github/CONTRIBUTING.md#features) +- [Pull requests](.github/CONTRIBUTING.md#pull-requests) ## License diff --git a/dist/.editorconfig b/dist/.editorconfig index 6cee539563..f29d257cc5 100644 --- a/dist/.editorconfig +++ b/dist/.editorconfig @@ -4,6 +4,7 @@ root = true [*] charset = utf-8 +end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true diff --git a/dist/css/normalize.css b/dist/css/normalize.css deleted file mode 100644 index 192eb9ce43..0000000000 --- a/dist/css/normalize.css +++ /dev/null @@ -1,349 +0,0 @@ -/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ - -/* Document - ========================================================================== */ - -/** - * 1. Correct the line height in all browsers. - * 2. Prevent adjustments of font size after orientation changes in iOS. - */ - -html { - line-height: 1.15; /* 1 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/* Sections - ========================================================================== */ - -/** - * Remove the margin in all browsers. - */ - -body { - margin: 0; -} - -/** - * Render the `main` element consistently in IE. - */ - -main { - display: block; -} - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/* Grouping content - ========================================================================== */ - -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ - -hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -pre { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/* Text-level semantics - ========================================================================== */ - -/** - * Remove the gray background on active links in IE 10. - */ - -a { - background-color: transparent; -} - -/** - * 1. Remove the bottom border in Chrome 57- - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ - -abbr[title] { - border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ - text-decoration: underline dotted; /* 2 */ -} - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ - -b, -strong { - font-weight: bolder; -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** - * Add the correct font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Remove the border on images inside links in IE 10. - */ - -img { - border-style: none; -} - -/* Forms - ========================================================================== */ - -/** - * 1. Change the font styles in all browsers. - * 2. Remove the margin in Firefox and Safari. - */ - -button, -input, -optgroup, -select, -textarea { - font-family: inherit; /* 1 */ - font-size: 100%; /* 1 */ - line-height: 1.15; /* 1 */ - margin: 0; /* 2 */ -} - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { /* 1 */ - overflow: visible; -} - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ - -button, -select { /* 1 */ - text-transform: none; -} - -/** - * Correct the inability to style clickable types in iOS and Safari. - */ - -button, -[type="button"], -[type="reset"], -[type="submit"] { - -webkit-appearance: button; -} - -/** - * Remove the inner border and padding in Firefox. - */ - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -/** - * Restore the focus styles unset by the previous rule. - */ - -button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -/** - * Correct the padding in Firefox. - */ - -fieldset { - padding: 0.35em 0.75em 0.625em; -} - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ - -legend { - box-sizing: border-box; /* 1 */ - color: inherit; /* 2 */ - display: table; /* 1 */ - max-width: 100%; /* 1 */ - padding: 0; /* 3 */ - white-space: normal; /* 1 */ -} - -/** - * Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ - -progress { - vertical-align: baseline; -} - -/** - * Remove the default vertical scrollbar in IE 10+. - */ - -textarea { - overflow: auto; -} - -/** - * 1. Add the correct box sizing in IE 10. - * 2. Remove the padding in IE 10. - */ - -[type="checkbox"], -[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ - -[type="search"] { - -webkit-appearance: textfield; /* 1 */ - outline-offset: -2px; /* 2 */ -} - -/** - * Remove the inner padding in Chrome and Safari on macOS. - */ - -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ - -::-webkit-file-upload-button { - -webkit-appearance: button; /* 1 */ - font: inherit; /* 2 */ -} - -/* Interactive - ========================================================================== */ - -/* - * Add the correct display in Edge, IE 10+, and Firefox. - */ - -details { - display: block; -} - -/* - * Add the correct display in all browsers. - */ - -summary { - display: list-item; -} - -/* Misc - ========================================================================== */ - -/** - * Add the correct display in IE 10+. - */ - -template { - display: none; -} - -/** - * Add the correct display in IE 10. - */ - -[hidden] { - display: none; -} diff --git a/dist/css/style.css b/dist/css/style.css index 83721d387d..239dae50f0 100644 --- a/dist/css/style.css +++ b/dist/css/style.css @@ -1,4 +1,4 @@ -/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */ +/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */ /* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */ /* diff --git a/dist/img/.gitignore b/dist/img/.gitkeep similarity index 100% rename from dist/img/.gitignore rename to dist/img/.gitkeep diff --git a/dist/index.html b/dist/index.html index f2dd9fcbe8..f3add49d10 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,24 +1,23 @@ - + + + - + - - - @@ -27,7 +26,6 @@

Hello world! This is HTML5 Boilerplate.

- diff --git a/src/img/.gitignore b/dist/js/vendor/.gitkeep similarity index 100% rename from src/img/.gitignore rename to dist/js/vendor/.gitkeep diff --git a/dist/js/vendor/modernizr-3.12.0.min.js b/dist/js/vendor/modernizr-3.12.0.min.js deleted file mode 100644 index 5750449914..0000000000 --- a/dist/js/vendor/modernizr-3.12.0.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! modernizr 3.12.0 (Custom Build) | MIT * - * https://modernizr.com/download/?-addtest-domprefixes-hasevent-mq-prefixedcssvalue-prefixes-setclasses-testallprops-testprop-teststyles !*/ -!function(e,n,t,r){function o(e,n){return typeof e===n}function i(e){var n=b.className,t=Modernizr._config.classPrefix||"";if(x&&(n=n.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(r,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(e.length>0&&(n+=" "+t+e.join(" "+t)),x?b.className.baseVal=n:b.className=n)}function s(e,n){if("object"==typeof e)for(var t in e)N(e,t)&&s(t,e[t]);else{e=e.toLowerCase();var r=e.split("."),o=Modernizr[r[0]];if(2===r.length&&(o=o[r[1]]),void 0!==o)return Modernizr;n="function"==typeof n?n():n,1===r.length?Modernizr[r[0]]=n:(!Modernizr[r[0]]||Modernizr[r[0]]instanceof Boolean||(Modernizr[r[0]]=new Boolean(Modernizr[r[0]])),Modernizr[r[0]][r[1]]=n),i([(n&&!1!==n?"":"no-")+r.join("-")]),Modernizr._trigger(e,n)}return Modernizr}function l(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):x?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function a(){var e=t.body;return e||(e=l(x?"svg":"body"),e.fake=!0),e}function u(e,n,r,o){var i,s,u,f,c="modernizr",d=l("div"),p=a();if(parseInt(r,10))for(;r--;)u=l("div"),u.id=o?o[r]:c+(r+1),d.appendChild(u);return i=l("style"),i.type="text/css",i.id="s"+c,(p.fake?p:d).appendChild(i),p.appendChild(d),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(t.createTextNode(e)),d.id=c,p.fake&&(p.style.background="",p.style.overflow="hidden",f=b.style.overflow,b.style.overflow="hidden",b.appendChild(p)),s=n(d,e),p.fake&&p.parentNode?(p.parentNode.removeChild(p),b.style.overflow=f,b.offsetHeight):d.parentNode.removeChild(d),!!s}function f(e,t,r){var o;if("getComputedStyle"in n){o=getComputedStyle.call(n,e,t);var i=n.console;if(null!==o)r&&(o=o.getPropertyValue(r));else if(i){var s=i.error?"error":"log";i[s].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!t&&e.currentStyle&&e.currentStyle[r];return o}function c(e,n){return!!~(""+e).indexOf(n)}function d(e){return e.replace(/([A-Z])/g,function(e,n){return"-"+n.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(e,t){var o=e.length;if("CSS"in n&&"supports"in n.CSS){for(;o--;)if(n.CSS.supports(d(e[o]),t))return!0;return!1}if("CSSSupportsRule"in n){for(var i=[];o--;)i.push("("+d(e[o])+":"+t+")");return i=i.join(" or "),u("@supports ("+i+") { #modernizr { position: absolute; } }",function(e){return"absolute"===f(e,null,"position")})}return r}function v(e){return e.replace(/([a-z])-([a-z])/g,function(e,n,t){return n+t.toUpperCase()}).replace(/^-/,"")}function h(e,n,t,i){function s(){u&&(delete L.style,delete L.modElem)}if(i=!o(i,"undefined")&&i,!o(t,"undefined")){var a=p(e,t);if(!o(a,"undefined"))return a}for(var u,f,d,h,m,y=["modernizr","tspan","samp"];!L.style&&y.length;)u=!0,L.modElem=l(y.shift()),L.style=L.modElem.style;for(d=e.length,f=0;f