aboutsummaryrefslogtreecommitdiff
path: root/build/generate-sri.js
AgeCommit message (Collapse)AuthorFilesLines
2021-01-13Backport #32737XhmikosR1-1/+1
package.json: move `version_short` variable under the `config` object This is so that it works on npm 7.x too.
2021-01-08Backport #32713XhmikosR1-2/+2
Bump copyright year to 2021
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-09-10Comply to the new rulesXhmikosR1-1/+1
2020-06-24Update links to point to v4-dev or main branchesXhmikosR1-1/+1
2020-01-02Bump copyright year to 2020. (#29944)XhmikosR1-2/+2
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.XhmikosR1-2/+2
2018-12-14Make use of the package.json `version_short` property more.XhmikosR1-1/+3
2018-11-28Revert "build/*.js: set `sourceType` to module."XhmikosR1-0/+2
This reverts commit b442ce3130808dc28fe897f610bef1e9ab9c792f.
2018-10-20swipe left/right without hammerjsJohann-S1-4/+0
2018-10-20Add touch support in our carousel with HammerJS.Johann-S1-0/+4
2018-10-14build/generate-sri.js: add popperjs.XhmikosR1-0/+4
2018-10-14docs: fix bundle SRI hash.XhmikosR1-2/+2
Also, remove popper.js from this script since it's not present in the repo.
2018-10-14Remove sri-toolbox dependency.XhmikosR1-4/+4
We can achieve the same very easily.
2018-08-12build/*.js: set `sourceType` to module.XhmikosR1-2/+0
2018-07-11Reorganize docs for easier deploysMark Otto1-2/+2
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-01-14Update copyright for 2k18 (#25303)Mark Otto1-2/+2
* Update copyright range to include 2018 * Extend copyright date range on new files from 2017 to include 2018
2018-01-11Comply to the new rules.XhmikosR1-1/+1
2017-11-28Combine path and remove variable used in one place. (#24873)XhmikosR1-3/+2
2017-11-23Add a simple script to generate SRI hashes for our assets. (#24814)XhmikosR1-0/+61