186 Commits

Author SHA1 Message Date
Conor
b4bab3b403
Print next step recommendation to console (#229)
* print next step recommendation to console

* update messages

* add check for collect only argument

* remove whitespace
2020-04-27 17:38:59 +01:00
Renée Kooi
9f1e90ff09
Tweak node argument check (#230) 2020-04-23 13:18:13 +02:00
DylanC
922408d267
Update package.json 2020-04-08 16:43:21 +01:00
Renée Kooi
52b05d35f8
Merge tag 'v5.0.1' 2020-03-31 10:54:18 +02:00
Renée Kooi
ef220bdcb4
5.0.1 v5.0.1 2020-03-31 10:34:02 +02:00
greenkeeper[bot]
73bd2dc2e7
Update rand-token to the latest version 🚀 (#225)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-31 10:15:25 +02:00
Renée Kooi
baa240fbb9
ci: update macos image (#216) 2020-03-31 10:15:25 +02:00
Snyk bot
48a8946694
[Snyk] Fix for 1 vulnerabilities (#206)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOTPROP-543489
2020-03-31 10:15:25 +02:00
Renée Kooi
b53c8e2d98
Update tar-fs. 2020-03-31 10:15:25 +02:00
Dan Levy
a0bff20e31
Added undocumented CLI Argument (#200)
* Add missing --open option

* Update clinic-doctor.txt

* Update clinic-flame.txt

* Update clinic-bubbleprof.txt

* Update clinic-flame.txt
2020-03-31 10:15:25 +02:00
DylanC
e6db361ead
Pass collectDelay arg to Clinic Doctor/Flame (#208)
* Pass timeoutDelay arg to Clinic Doctor

* Update -t arg to --on-timeout

* Change timeout parameter to collectDelay

* Validate usage of the on-port flag

* Run linter

* Update path for collect_timeout_feature branches

* Update arg to match collect-delay in 0x

* Add the collect-delay flag

* Update docs with collect-delay arg

* Add DS_Store to the ignore list

* Bubbleprof doesn't have a matching branch
2020-03-26 14:55:20 +00:00
greenkeeper[bot]
b72bdf0687
Update rand-token to the latest version 🚀 (#225)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-26 10:22:16 +01:00
greenkeeper[bot]
07e97c8183
Update tempy to the latest version 🚀 (#221)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-09 10:10:47 +01:00
Renée Kooi
3d16464a62
ci: update macos image (#216) 2020-03-07 16:40:54 +01:00
Dylan
20a3a93512 Fix minor typo for checkArgs 2020-02-21 12:46:55 +00:00
greenkeeper[bot]
2754ff4c10
Update tempy to the latest version 🚀 (#212) 2020-02-12 14:05:07 +01:00
Renée Kooi
40c0b7a582
Drop support for Node.js < 10.12.0 (#211) 2020-02-11 14:17:47 +01:00
DylanC
974ed78a5c
Fix all tests for terminal links (#210)
* Fixed test for bubbleprof full

* Fix for bubbleprof visualize test

* Fix for doctor full test

* Another fix for bubbleprof visualize

* Fix for doctor visualize test

* Fixes for flame full and doctor visualize tests

* Fix for flame visualize test - all tests passing
2020-02-11 12:48:55 +00:00
Snyk bot
425e1afbe7
[Snyk] Fix for 1 vulnerabilities (#206)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-DOTPROP-543489
2020-02-11 11:15:01 +01:00
DylanC
4708a5a97d
Add absolute path for file to the terminal output (#209)
* Add absolute path for file to the terminal output

* Fix generation of the file path regarding the url

* Remove usage of resolve here
2020-02-11 09:55:41 +00:00
Dylan Coakley
52125ec149 Remove change from master 2020-02-03 12:01:23 +00:00
Dylan Coakley
c93d18ecfa Merge branch 'master' of github.com:nearform/node-clinic 2020-02-03 11:59:19 +00:00
Dylan Coakley
533e791420 Remove change from master 2020-02-03 11:58:32 +00:00
Dylan Coakley
21077ed562 Get timeout flag and set the delay 2020-02-03 11:34:46 +00:00
DylanC
da080da68c
Check if npm start passed (#204)
* Check if npm start passed, exit process and show doctor help

* Add checkArgs fn to doctor, bubbleprof and flame

* Add spaces between args

The other functions have spaces in front of the opening (. I can change these if you like.

Co-Authored-By: James M Snell <jasnell@gmail.com>

* Fix coding style issues

Co-authored-by: James M Snell <jasnell@gmail.com>
2020-01-31 11:13:19 +00:00
Renée Kooi
57cc283dbe
Update tar-fs. 2019-12-03 16:05:00 +01:00
Dan Levy
3d437312c8 Added undocumented CLI Argument (#200)
* Add missing --open option

* Update clinic-doctor.txt

* Update clinic-flame.txt

* Update clinic-bubbleprof.txt

* Update clinic-flame.txt
2019-11-30 13:22:33 +01:00
Renée Kooi
1abe2a7335
5.0.0 v5.0.0 2019-10-31 16:25:00 +01:00
greenkeeper[bot]
a0828c6e4a Update ora to the latest version 🚀 (#187) 2019-10-31 16:23:10 +01:00
Renée Kooi
e3c1dc265b
Update @nearform/doctor. 2019-10-31 13:44:01 +01:00
greenkeeper[bot]
9516002943 Update @nearform/bubbleprof to the latest version 🚀 (#196) 2019-10-29 18:02:09 +01:00
greenkeeper[bot]
fdc335eaf7 Update @nearform/flame to the latest version 🚀 (#195) 2019-10-29 16:38:58 +01:00
Renée Kooi
ac8b4a4fbc
Upgrade standard. 2019-10-24 11:59:45 +02:00
Renée Kooi
0d24755d4a
4.2.1 v4.2.1 2019-10-24 11:52:51 +02:00
Renée Kooi
4b4396520d
ci: add node 13 (#193)
* ci: try node 13

* add node.js 12 and 13 to package.json `engines`
2019-10-24 11:52:18 +02:00
Renée Kooi
261c9b30da
Add --upload to --help documentation 2019-10-17 16:39:04 +02:00
Renée Kooi
6beb8a9924
4.2.0 v4.2.0 2019-10-17 15:00:55 +02:00
greenkeeper[bot]
a9cc2bf55a Update open to the latest version 🚀 (#192)
* fix(package): update open to version 7.0.0

* use the new `url` option
2019-10-17 15:00:03 +02:00
Renée Kooi
19131a3fd3
Automatically privately upload profiles using `clinic $tool --up… (#180)
* Promisify command handlers

* Implement --upload

* tweak UI, delete files after upload

* Revert to previous phrasing so i dont have to update a million tests

* lint fix

* add --upload test

* lint fix
2019-10-15 16:47:50 +02:00
Renée Kooi
7d902cb448
Print authentication URL if browser is not available (#178)
* Print URL if open() failed

* Detect SSH sessions (so we dont silently start elinks in the background)

* Fix tests

* Add ssh auth test
2019-10-15 16:47:30 +02:00
Renée Kooi
7958aa21b3
Test backslash-escaping $NOT_ENV_VARS in --autocannon URL (#134)
* Add tests for autocannon CLI passthrough

* Remove console.logs
2019-09-19 13:34:46 +02:00
greenkeeper[bot]
3ddfecf94f fix(package): update inquirer to version 7.0.0 (#184) 2019-08-23 11:00:47 +02:00
greenkeeper[bot]
f3e8231db6 fix(package): update rimraf to version 3.0.0 (#182) 2019-08-20 16:43:15 +02:00
Renée Kooi
1bba02a828
Switch opn to open (#177)
* Switch `opn` to `open`

`opn` is no longer maintained and moved to the `open` package name.

* Fix lint
2019-07-16 12:09:55 +02:00
greenkeeper[bot]
48f3666c57 Update dargs to the latest version 🚀 (#170) 2019-07-16 11:24:02 +02:00
Renée Kooi
843a62ac7f
Increase cli-clean-full run time to avoid flakiness, closes #173 (#174)
* Increase cli-clean-full run time to avoid flakiness, closes #173

* more time increases
2019-07-16 11:05:44 +02:00
greenkeeper[bot]
c4e6fcb284 Update standard to the latest version 🚀 (#175)
* chore(package): update standard to version 13.0.1

* standard --fix
2019-07-12 09:48:37 +02:00
Renée Kooi
d6ab39801c
ci: add node 12 (#169) 2019-06-28 14:49:02 +02:00
greenkeeper[bot]
5e380c55d8 Update tap to the latest version 🚀 (#158)
* chore(package): update tap to version 13.0.0

* tap 13.1

* distinct error message if clinic process exits with signal

* Update expected error messages

* Revert "Update expected error messages"

This reverts commit 781975cad4d02506922598ed21aeab48f375423b.

* Revert "distinct error message if clinic process exits with signal"

This reverts commit 4ee03da4cac246f70a949e5a0aaa1a3a640c7da9.

* fix exit code expectations for clinic doctor

* show dependencies in build output

* tap 14

* Set tap to -j1

* disable coverage on node 8 because 0x doesnt work with it
2019-06-13 15:39:13 +02:00
greenkeeper[bot]
c4e249336e Update pumpify to the latest version 🚀 (#168) 2019-06-13 12:04:51 +02:00