aboutsummaryrefslogtreecommitdiff
path: root/build/generate-sri.js
AgeCommit message (Collapse)AuthorFilesLines
2023-08-06Convert build scripts to ESM (#38984)XhmikosR1-63/+0
2023-05-17Rename config.yml to hugo.yml (#38582)Christian Oliff1-2/+2
hugo.yml is now recommended (over the generic sounding config.yml) as the default config based filename REF: https://gohugo.io/getting-started/configuration/#hugotoml-vs-configtoml Changing this may make it easier for code editors and build tools to identify this as a Hugo configuration file and project.
2023-04-09generate-sri.js: use destructuring (#38413)XhmikosR1-4/+4
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke1-1/+1
2022-12-20Update docs and package information to clarify licenseMark Otto1-1/+0
2022-09-20Update devDependencies (#37177)XhmikosR1-3/+3
2022-01-29Rename variablesXhmikosR1-3/+3
2022-01-03Bump copyright year to 2022 (#35639)XhmikosR1-2/+2
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR1-2/+2
2021-01-07Bump copyright year to 2021 (#32713)XhmikosR1-2/+2
2020-12-06Update to popper.js v2.xJohann-S1-1/+1
2020-12-04chore(RTL): add RTLCSSGaël Poupard1-0/+4
2020-11-21Improve 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-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-01-02Bump copyright year to 2020. (#29944)XhmikosR1-2/+2
2019-03-13Switch to Hugo.XhmikosR1-2/+2
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-11Comply to the new rules.XhmikosR1-1/+1
2019-02-20Remove jQuery from docs/repo.XhmikosR1-6/+0
Some of the snippets need to be updated later.
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