Commit Graph

24 Commits

Author SHA1 Message Date
XhmikosR 69c5dc8934 Bump copyright year to 2022 2022-01-04 09:50:53 +02:00
XhmikosR 2e8f70f5a1 Backport #32737
package.json: move `version_short` variable under the `config` object

This is so that it works on npm 7.x too.
2021-01-13 11:03:32 +02:00
XhmikosR 3768b6e5b6 Backport #32713
Bump copyright year to 2021
2021-01-08 12:04:37 +02:00
Noah Rosenzweig 631b5d4df1 Improve build/generate-sri.js regex (#29753)
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 <xhmikosr@gmail.com>
2020-11-24 08:40:11 +02:00
XhmikosR b46f05a948 Switch to Hugo
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-19 11:22:22 +02:00
XhmikosR 3be585990c Comply to the new rules 2020-09-10 12:06:30 +03:00
XhmikosR 3349eb6a41 Update links to point to v4-dev or main branches 2020-06-24 15:16:58 +03:00
XhmikosR 3c0cf9365b Bump copyright year to 2020. (#29944) 2020-01-02 12:11:56 +02:00
XhmikosR 27287a6884 Update devDependencies including jQuery to v3.4.1. 2019-05-02 16:59:49 +03:00
XhmikosR a93c71832b generate-sri.js: move object. 2019-01-29 17:21:11 +02:00
XhmikosR f11f56558b Bump copyright year to 2019. 2019-01-08 21:23:50 +02:00
XhmikosR a074cb66d7 Make use of the package.json `version_short` property more. 2018-12-14 00:34:38 +02:00
XhmikosR 05dfae3146 Revert "build/*.js: set `sourceType` to module."
This reverts commit b442ce3130.
2018-11-28 14:33:29 +02:00
Johann-S c08652cfe8 swipe left/right without hammerjs 2018-10-20 15:32:09 +03:00
Johann-S caefd70463 Add touch support in our carousel with HammerJS. 2018-10-20 15:32:09 +03:00
XhmikosR bcbf3f2ec6 build/generate-sri.js: add popperjs. 2018-10-14 08:17:40 +03:00
XhmikosR 449979decf docs: fix bundle SRI hash.
Also, remove popper.js from this script since it's not present in the repo.
2018-10-14 08:17:40 +03:00
XhmikosR 3fcddfa42e Remove sri-toolbox dependency.
We can achieve the same very easily.
2018-10-14 07:41:45 +03:00
XhmikosR b442ce3130 build/*.js: set `sourceType` to module. 2018-08-12 22:22:12 +03:00
Mark Otto 0e920ce3f4 Reorganize docs for easier deploys
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-07-11 23:30:46 -07:00
Mark Otto 0d110c8f91
Update copyright for 2k18 (#25303)
* Update copyright range to include 2018

* Extend copyright date range on new files from 2017 to include 2018
2018-01-14 20:08:58 -08:00
XhmikosR 80d0943b95 Comply to the new rules. 2018-01-11 18:48:46 +02:00
XhmikosR 6050d72a3a
Combine path and remove variable used in one place. (#24873) 2017-11-28 10:43:09 +02:00
XhmikosR cdab56d940
Add a simple script to generate SRI hashes for our assets. (#24814) 2017-11-23 10:22:54 +02:00