Commit Graph

13 Commits

Author SHA1 Message Date
Peter Hedenskog 3741366d45
Upgrade to eslint/unicorn 54 (#4213) 2024-07-08 08:19:41 +02:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog 8206cfd1ce
Move tests to Ava (#3637)
* Move tests to Ava
2022-04-25 22:18:29 +02:00
Peter Hedenskog 1e9bea8bf0
Update to latest prettier/eslint setup (#3478) 2021-10-11 18:44:59 +02:00
Peter Hedenskog eb20768e2f
Prepare for using options down to result storage (#3058) 2020-06-23 13:59:35 +02:00
Peter Hedenskog 8bd8c67033
use official dayjs utc #2365 (#2370) 2019-03-10 21:12:22 +01:00
Peter Hedenskog 471458b4fa
use extended dayjs until dayjs supports utc (#2233) 2018-12-19 21:06:03 +01:00
Peter Hedenskog 8703133374
Use dayjs instead of moment (#2200) 2018-11-05 06:12:46 +01:00
Tobias Lidskog d1b376e2ca
Split out code that’s never accessed from plugins. (#1762) 2017-10-29 09:54:22 +01:00
Tobias Lidskog 3debfec0b4 Format code using the Prettier formatter. (#1677) 2017-07-20 21:24:12 +02:00
Tobias Lidskog d5a301309a Fix crash in result url generation + lots of tests 2017-03-28 23:21:23 +02:00
Tobias Lidskog 29fbcaa2db Refactor result storage/url handling, and tweak S3 (#1552)
* Allow S3 upload even when using custom outputFolder.
* Add new s3.path option, to override the default storage path in the S3 bucket.
* Change the default storage path in the S3 bucket to no longer include the prefix 'sitespeed-result’.
* Remove broken/not useful progress load for S3 upload (was producing 100000+ log lines.
* Extract result url building into separate module that’s made available to plugins via context.resultUrls.
2017-03-28 15:12:30 +02:00
Tobias Lidskog 643479acd8 Correct way of creating relative urls in html site
- rename relativePathFromUrl to pathFromRootToPageDir to make it more obvious what it does.
- join relative url path with / instead of using the path module (should make paths work on all OSes).
- remove path parameter for url run pages, since it wasn't used.
- make StorageManager constructor signature follow node conventions (options last) and add some StorageManager tests.
2016-07-26 08:43:33 +02:00