aboutsummaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2021-09-15Update devDependenciesXhmikosR1-1/+5
* @babel/cli ^7.14.8 → ^7.15.5 * @babel/core ^7.14.8 → ^7.15.4 * @babel/preset-env ^7.14.8 → ^7.15.6 * @rollup/plugin-commonjs ^19.0.1 → ^20.0.0 * @rollup/plugin-node-resolve ^13.0.2 → ^13.0.4 * autoprefixer ^10.3.1 → ^10.3.4 * clean-css-cli ^5.3.0 → ^5.3.3 * eslint ^7.31.0 → ^7.32.0 * eslint-config-xo ^0.37.0 → ^0.38.0 * eslint-plugin-import ^2.23.4 → ^2.24.2 * eslint-plugin-unicorn ^34.0.1 → ^36.0.0 * hugo-bin ^0.74.0 → ^0.76.1 * qunit ^2.16.0 → ^2.17.1 * postcss ^8.3.5 → ^8.3.6 * rollup ^2.53.3 → ^2.56.3 * vnu-jar 21.6.11 → 21.9.2
2021-07-21Manually backport #34075 and #34279XhmikosR1-13/+4
Improve and clean up vnu-jar.js
2021-04-05Improve change-version.js (#33148)XhmikosR1-72/+43
* switch to async/await * remove shelljs * switch to globby; supports .gitignore out of the box * don't write any files to the disk if they are indentical * add two more cmd switches: --dry and --verbose * strip leading "v" from version arguments so that we don't end up with duplicate `v`s
2021-04-05Delete the unused build/ship.sh (#33326)XhmikosR1-55/+0
2021-03-02Rename _gh_pages to _site. (#33129)XhmikosR4-4/+4
2021-02-17vnu-jar.js: quote vnu path (#33016)XhmikosR1-1/+1
Should work now with folders with spaces
2021-02-17change-version: remove vendor, add resources (#32917)XhmikosR1-1/+1
2021-01-15Backport #32469 and #32799XhmikosR1-21/+47
Improve zip-examples.js by only including the assets we need
2021-01-13Backport #32737XhmikosR2-5/+4
package.json: move `version_short` variable under the `config` object This is so that it works on npm 7.x too.
2021-01-08Backport #32713XhmikosR5-9/+9
Bump copyright year to 2021
2021-01-08build-plugins: switch to "bundled" for babel helpers (#32312)XhmikosR1-2/+2
2020-11-24postcss.config.js: remove arrow return (#32235)XhmikosR1-10/+14
2020-11-24Improve build/generate-sri.js regex (#29753)Noah Rosenzweig1-1/+1
When using single-quotes in config.yml, the previous regular expression in build/generate-cli.js wasn't working correctly, it was replacing ALL string values with hashes. Now both double- and single-quotes can be used in config.yml, and the RegExp will work as expected. Also, allow trailing whitespaces and empty ("") values to be matched. Co-authored-by: XhmikosR <[email protected]>
2020-11-19Switch to HugoXhmikosR1-3/+3
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
2020-11-01Move js/src/index.js one folder up (#32001)XhmikosR1-1/+1
2020-09-10Comply to the new rulesXhmikosR5-9/+14
2020-09-10Switch to xo and remove babel-eslintXhmikosR1-6/+1
2020-07-09Update dependencies, gems and regenerate package-lock.json (#31261)XhmikosR1-2/+2
* @rollup/plugin-node-resolve 8.1.0 * popper.js 1.16.1 * qunit 2.10.1 * rollup 2.21.0
2020-06-24Update links to point to v4-dev or main branchesXhmikosR6-6/+6
2020-06-04Backport #30742XhmikosR3-30/+15
Update to `@rollup/plugin-babel`
2020-05-12Improve build/zip-examples.js (#30759)XhmikosR1-12/+20
* remove favicons meta tags * copy the two brand images we use in the examples * copy dist and brand images into an assets folder
2020-05-12Minor lint tweaks and rules cleanupXhmikosR2-3/+2
2020-05-12build-plugins.js: add missing shebang (#30743)XhmikosR1-0/+2
2020-05-07ensure build plugins can exit in error (#30744)Johann-S1-15/+24
Co-authored-by: XhmikosR <[email protected]>
2020-05-07Backport #30723XhmikosR3-18/+23
Move babel whitelist helpers to a common file
2020-05-02Backport #30130XhmikosR1-0/+55
Add a script to zip the built examples
2020-03-31Bump devDependencies and gems.XhmikosR2-0/+2
2020-03-09Drop Node.js < 10 support and update all devDependencies.XhmikosR1-1/+1
* sinon 8.x doesn't work with IE, so leave it at 7.x.
2020-03-09build/ship.sh: shellcheck fixes. (#30197)XhmikosR1-16/+19
Also add `set -e` so that if a command fails the whole script fails too.
2020-02-17change-version.js: Remove nuspec files (#30161)XhmikosR1-1/+0
The version in the nuspec files is updated automatically from package.json through MyGet.ps1
2020-02-17Use regex.test() when we want to check for a Boolean. (#29969)XhmikosR1-1/+1
2020-01-02Bump copyright year to 2020. (#29944)XhmikosR4-8/+8
2019-11-26Update change-version.js (#29736)XhmikosR1-0/+1
Add `.nuspec` to the extensions list
2019-08-27change-version.js: Add _gh_pages folder in ignores. (#29270)XhmikosR1-0/+1
2019-07-31Update svgo.yml. (#29089)XhmikosR1-0/+3
2019-07-17updated babelJohann-S2-2/+2
2019-05-30vnu.jar: Update ignores. (#28817)XhmikosR1-3/+3
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
2019-05-02Update devDependencies including jQuery to v3.4.1.XhmikosR1-1/+1
2019-01-29generate-sri.js: move object.XhmikosR1-4/+4
2019-01-08Bump copyright year to 2019.XhmikosR4-8/+8
2018-12-14Remove the unused gcp-key.json.enc file.XhmikosR1-0/+0
2018-12-14Make use of the package.json `version_short` property more.XhmikosR2-4/+5
2018-12-13SVG accessibility fixes (#27826)Patrick H. Lauke1-2/+7
* SVG accessibility fixes - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle - completely hide decorative SVGs using `aria-hidden="true"` - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label` - simplify placeholder default title * Simplify usage of placeholder.svg in the docs - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly) - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class) * Simplify example.html rewriting of <svg> to <img> code sample - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the placeholder.svg itself * Change svgo configuration to retain role attribute and add/force focusable=false - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-11-28Revert "build/*.js: set `sourceType` to module."XhmikosR8-1/+15
This reverts commit b442ce3130808dc28fe897f610bef1e9ab9c792f.
2018-11-25ship.sh: add missing period.XhmikosR1-1/+1
2018-11-20Remove holder.js.XhmikosR1-3/+0
2018-11-13Create toast JS plugin, add unit tests.Johann-S1-0/+1
2018-11-05Remove htmllint. (#27603)XhmikosR1-44/+0
We use the official HTML validator for HTML validation, and we don't really use any of the htmllint features.
2018-10-20Remove service workerMark Otto2-64/+0
2018-10-20swipe left/right without hammerjsJohann-S3-27/+14