Commit Graph

1060 Commits

Author SHA1 Message Date
tcbyrd
920d5b67f6 Merging master into typescript-init
Reverts https://github.com/probot/probot/pull/397/files

fix(package): update @octokit/rest to version 15.1.7
Name the Logger export

Make object types optional

Merge branch 'master' into typescript-init

Bump deps for standard and octokit

Bump ts dependency

Made the option optional. 😉
2018-03-08 15:54:37 -05:00
tcbyrd
b78b6cda5d Merge remote-tracking branch 'origin/master' 2018-03-08 14:58:57 -05:00
greenkeeper[bot]
74de2ce443 fix(package): update @octokit/rest to version 15.1.7 2018-03-08 16:50:57 +00:00
Jason Etcovitch
22a1a8bc8d docs(README): typo (#449) 2018-03-03 18:45:46 +00:00
Jason Etcovitch
f94ef2b5ed docs: Add Summer of Code section to the README (#448)
* Add summer-of-code section

* RailsGirls -> Rails Girls
2018-03-03 13:43:33 -05:00
Tommy Byrd
881675f868 Adding sudo to try a more performant container
Troubleshooting the build with Travis, they suggested requiring sudo to get a VM instead of a container.
https://docs.travis-ci.com/user/reference/overview/#sts=Virtualization%20environments
2018-03-02 17:55:24 -05:00
Brandon Keepers
ce4727596f Update node-github => octokit/rest.js in docs (#445) 2018-02-28 09:29:47 -06:00
greenkeeper[bot]
0060098fd7 chore(package): Update standard to the latest version 🚀 (#436) 2018-02-28 10:09:40 -05:00
Brandon Keepers
bff87ef7d0 Lock to specific version of express-async-errors (#432) (#444)
https://github.com/davidbanham/express-async-errors/pull/4 is the cause
for https://github.com/gr2m/wip-bot/issues/42
2018-02-28 08:25:15 -06:00
tcbyrd
30af8747c2 Refactor imports and exports and fix tests
Convert the rest of the files in `/src` and disable allowJs

Move everything to named exports

Update bin to use named exports

Make all tests js and use named exports
2018-02-25 20:42:25 -05:00
Jason Etcovitch
3e597aabf7 docs: Summer of Code doc (#435) 2018-02-25 12:20:13 -05:00
tcbyrd
906ea9b071 Don't install typescript in travis. Should be in devDependencies 2018-02-19 17:26:13 -05:00
tcbyrd
389ddab64e Works on my machine! 2018-02-19 15:41:17 -05:00
tcbyrd
17d582a208 Add forceExit to jest 2018-02-19 14:37:40 -05:00
tcbyrd
c22844f813 Move build step before test script 2018-02-19 12:15:23 -05:00
tcbyrd
c126fda67d Probot CLI should use compiled output 2018-02-19 12:14:00 -05:00
tcbyrd
2039382194 Add ts build step to travis 2018-02-19 11:42:02 -05:00
tcbyrd
ea633516c9 5.0.1 hotfix
lock to 2.1.1 of express-async-errors
2018-02-19 11:24:28 -05:00
tcbyrd
60e88b392e remove yarn lock 2018-02-19 08:42:14 -05:00
tcbyrd
12ca826ef3 Merge branch 'master' into typescript-init 2018-02-19 08:41:19 -05:00
tcbyrd
f3792a4c4b Merge remote-tracking branch 'origin/master' 2018-02-19 08:36:24 -05:00
greenkeeper[bot]
b820949216 fix(package): update @octokit/rest to version 14.0.9 2018-02-18 23:36:17 +00:00
tcbyrd
4a1f2742db Auto stash before merge of "master" and "origin/master" 2018-02-18 11:07:22 -05:00
tcbyrd
aed1a7b95d Merge remote-tracking branch 'origin-auth/master' into typescript-init
Not sure why this isn't being ignored
2018-02-18 11:01:34 -05:00
tcbyrd
a4c8e77c82 Fixup serializer test by converting it to TS 2018-02-17 23:55:56 -05:00
tcbyrd
2974f67e3a Override explicit definition 2018-02-17 23:55:37 -05:00
tcbyrd
f2266abb5f Convert all the things!
Most of this is pulled over from @philschatz:
https://github.com/probot/probot/compare/master...philschatz:typescript

Some of the async tests are still failing, but lots of forward progress
to get all the core files converted to TS.
2018-02-17 23:23:17 -05:00
Rahmeen Habib
9394ca1db3 Update docs about glitch deployment (#421)
* Update deployment.md to clarify what the webhook URL is supposed to look like
2018-02-07 23:57:29 -08:00
Brandon Keepers
72d6911a79 fix: Re-throw errors from octokit (#418) 2018-02-05 10:28:02 -05:00
greenkeeper[bot]
2f3f434ab8 fix(package): Update bottleneck to the latest version 🚀 (#397) 2018-02-03 15:55:50 -05:00
Brandon Keepers
c8231b5b2c Use npx, document yarn (#417) 2018-02-03 15:51:53 -05:00
Jamie Strusz
0b1a875108 doc: Add .env.example template info (#414) 2018-02-03 15:01:55 -05:00
Thomas Wood
e8fde06df0 Further explicit note on yml config for target repos (#416)
Follow-up to #415
2018-02-03 14:57:13 -05:00
greenkeeper[bot]
7d932b8fcc fix(package): update dotenv to version 5.0.0 (#412) 2018-02-01 11:42:56 -06:00
Victor
d3a47ababa Payload object explanation in documentation (#411)
* Payload object explanation

* Little precision about event-name for probot simulate
2018-02-01 11:40:32 -06:00
Daniel Pritchett ⚡
b85d6f372e More explicit notes on yml config for target repos (#415) 2018-02-01 11:16:10 -06:00
greenkeeper[bot]
c0844e00f8 fix(package): update @octokit/rest to version 14.0.8 2018-01-30 17:36:48 -08:00
Gregor
0ebea0eaee refactor: github -> @octokit/rest 2018-01-29 11:07:17 -08:00
Gregor
7f0b0d10c8 chore(console): github is now octokit 2018-01-29 11:07:17 -08:00
Gregor
5bf1c315c7 test: adapt for @octokit/rest
Turns out that the `per_page` & `page` params are missing in [routes.json](https://github.com/octokit/rest.js/blob/master/lib/routes.json#L1682-L1687), which means, with the previous implementations, they have been ignored!

The new implementation automatically passes all remaining options as query parameter (for `GET` requests) so it works anyway.

So tl;dr: the new release actually fixed a bug, getting the stats will be more performant now, as it gets 100 results instead of 30
2018-01-29 11:07:17 -08:00
Gregor
3872ec6c6e fix(package): -github, +@octokit/rest 2018-01-29 11:07:17 -08:00
Brandon Keepers
0a4b297757 Allow setting logger name to separate components (#355) 2018-01-29 08:26:33 -06:00
tcbyrd
1b6e24edd7 Converting logger to typescript 2018-01-28 23:48:38 -05:00
Jason Etcovitch
8a5ad67123 Improve docs on probot simulate command (#405) 2018-01-28 22:48:04 -06:00
tcbyrd
a17ef2f610 Remove javascript version of logging middleware 2018-01-28 17:49:58 -05:00
tcbyrd
310d799e27 Add types for logging middleware 2018-01-27 18:26:21 -05:00
tcbyrd
eabdfbec5b Placeholder any type 2018-01-27 18:26:06 -05:00
tcbyrd
044bb742e4 Merge async error handler 2018-01-27 18:25:52 -05:00
tcbyrd
6763956669 Merge branch 'master' into typescript-init
Merge changes from 5.0

Remove merge markers
2018-01-27 18:24:46 -05:00
Jason Etcovitch
5e9c0b67ea docs: Add "next" front matter (#406) 2018-01-26 16:01:35 -05:00