Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from paulirish:master #1

Merged
merged 122 commits into from
Jun 20, 2019
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 20, 2019

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

paulirish and others added 30 commits April 19, 2017 23:11
* Default to package.json

* Fix some tests
* fix for Cannot find module path/to/package.json exception

* docs stuff

* verify if cli provided url doesn't cause any Error

* improve test

* Revert fs function

* Normalize test structure

* add test for not passing parameter

* Update cli.js

Workaround yargs default option limitation. If the option has a default option it will always be set regardless of whether it has been called. Must test against undefined (flag not called from command line) and then if against the actual value, if no value set -> default to package.json (default parameter in the getConfigFromFile function)
Submitted issue yargs repo as yargs/yargs#875
* Create issue_template.md

* Update issue_template.md
Clarified config flag usage.
Adds chrome-launcher
Bumps lighthouse version to v2.1
Updates lighthouse's version to v2.1
Adds chrome-launcher entry
WIP still does not work.
Adds chrome-launcher typing to Pwmetrics.launcher property and methods for type correctness.
Save chrome-launcher auto-generated ports to utilize it when starting lighthouse.
denar90 and others added 28 commits April 18, 2018 02:29
…-for-charts

Ignore unrecorded timings when printing charts
* feat: showOutput option & log function

* logger class

* doc update
* updates for using lighthouse v3

* bump node support, improve travis

* bum LH to commit with _Crdp fix

* improve travis

* get back to old friends metrics

* improve gulp example, get rid of throwing if expectation error happened

* use logger for LH runner

* check expectations base on median results
docs: fix the metrics sample in readme.md
fix: display warnings even if no errors
* fix: exit code is 1 when expectations are not fulfilled

* feat: add the --fail-on-error/failOnError flag
* refactor: outputData as a proper PWMetrics method

* feat: use micro-promisify in writeToDisk
This allows to require metrics easier than before by doing:
```
const metrics = require('pwmetrics/lib/metrics');

// {
//     TTFCP: "firstContentfulPaint",
//     TTFMP: "firstMeaningfulPaint",
//     TTFCPUIDLE: "firstCPUIdle",
//     TTI: "interactive",
//     SI: "speedIndex"
// }
```

Contrary to the current way:
```
const metrics = require('pwmetrics/lib/metrics/metrics');

// {
//     METRICS: {
//         TTFCP: "firstContentfulPaint",
//         TTFMP: "firstMeaningfulPaint",
//         TTFCPUIDLE: "firstCPUIdle",
//         TTI: "interactive",
//         SI: "speedIndex"
//     }
// }
```

The `readme.md` and `gulpfile.js` files have been updated too.
feat(lib): exporting metrics by default
use a semi symbol (following ASI rules)
* Add option to upload median run to Google Sheets (#201)
@pull pull bot added the ⤵️ pull label Jun 20, 2019
@pull pull bot merged commit 29f3bd1 into kuldeepkeshwar:master Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.