Commit Graph

1020 Commits

Author SHA1 Message Date
Brandon Keepers
b9eb512562 Switch GitHub client tests to typescript 2018-04-22 20:12:16 -05:00
Brandon Keepers
f3d0595e87 Target es6 2018-04-22 20:11:32 -05:00
Brandon Keepers
f432b95133 Fix typescript linting (#494) 2018-04-22 21:10:31 -04:00
Brandon Keepers
c5d884b32e Refactor createProbot function into a class (#493) 2018-04-22 17:05:39 -04:00
Brandon Keepers
ada906f3f9 Explicitly list files to be included in package (#502) 2018-04-17 11:22:49 -05:00
Brandon Keepers
1bbf88cc77 Enable typescript diagnostics in ts-jest (#495) 2018-04-14 09:01:37 -05:00
Tommy Byrd
093f7ff7e7 Add type declaration 2018-04-09 19:07:25 -04:00
Brandon Keepers
a9e7162d11 Merge remote-tracking branch 'origin/master' into typescript-init
* origin/master:
  correct featured apps link (#490)
  chore: Add icon to title of probot (#483)
  docs: Recommend using `npm run dev` to start with nodemon (#487)
2018-04-09 17:46:48 -05:00
Tommy Byrd
088e223213 correct featured apps link (#490) 2018-04-06 09:38:10 -04:00
Kautilya Tripathi
72d0d81bf8 chore: Add icon to title of probot (#483) 2018-04-05 13:59:44 -05:00
Zeke Sikelianos
b00a6f1bb7 docs: Recommend using npm run dev to start with nodemon (#487) 2018-04-02 17:11:42 -05:00
tcbyrd
d06388b4e3 Allow empty object. See #479
Change default log level to debug. See #478
2018-04-01 21:06:58 -04:00
tcbyrd
522c6dff9f Merge branch 'master' into typescript-init 2018-04-01 20:42:04 -04:00
tcbyrd
cbd92a2aa2 Merge remote-tracking branch 'origin/master' 2018-04-01 20:37:39 -04:00
tcbyrd
a488ef07ac Updating types and adjustments after running all tests
Import EventEmitter type

Adding more types for Octokit

Add Probot interface

Bringing over feature to disable stats
2018-04-01 20:33:43 -04:00
tcbyrd
5b1dd99ed1 Updating testMatchers
This exposed some test that weren't running
2018-04-01 20:29:57 -04:00
Brandon Keepers
215d9e97be chore: relax version for express-async-errors (#481) 2018-03-26 15:58:04 -05:00
tcbyrd
daddec4e47 this is gone 2018-03-23 08:49:17 -04:00
tcbyrd
a89a61af1d Ignore lib/ 2018-03-23 08:48:47 -04:00
tcbyrd
bbb56d0eb4 Add tslint
tslint all the things
2018-03-22 23:58:24 -04:00
tcbyrd
c173c55128 adding webhook and graphql types 2018-03-22 23:06:23 -04:00
Brandon Keepers
c6696be05d chore: Add twitter badge (#482) 2018-03-22 21:08:36 -05:00
Shelley Vohr
c2b8aea327 fix: move webhook event logs to debug level (#478) 2018-03-22 18:01:20 -05:00
Brandon Keepers
6e60927dba fix: allow initializing the GitHub client without options (#479) 2018-03-22 17:33:38 -05:00
Brandon Keepers
71d94bda1a chore: Remove github-webhook-handler (#477) 2018-03-22 11:23:41 -05:00
tcbyrd
d474fe3539 TS version of #470 (Refactor GitHub client extensions) 2018-03-22 11:12:41 -04:00
tcbyrd
effb3f5f3c Merge tag 'v6.1.0'
Conflicts:
	docs/development.md
	lib/github.js
	lib/github/pagination.js
	lib/index.js
	package.json
	src/github.ts
	src/index.ts

Coverted all lib/github javascript files to ts
2018-03-22 10:01:05 -04:00
Abhijeet Singh
05e063f02a docs: Replaced myapp.yml with config.yml (#471) v6.1.0 2018-03-21 21:36:22 -05:00
Brandon Keepers
3503b1f611 Add GraphQL support (#472) 2018-03-21 21:33:16 -05:00
Brandon Keepers
9f324c79e3 chore: Minimal changes to get @octokit/webhooks working (#462) 2018-03-21 13:23:51 -04:00
Jason Etcovitch
2fc8fd8f45 feat: Better error messages (#434) 2018-03-21 01:33:58 -04:00
tcbyrd
5dbfe7c178 Bump octokit to 15.2.4 to fix Option types 2018-03-19 19:21:15 -04:00
tcbyrd
e4cf83e299 Make this look more interface-y 2018-03-19 19:12:28 -04:00
Aditya Agarwal
b0f69c307f docs: a list of events can also be passed to robot.on() (#474) 2018-03-19 08:58:17 -05:00
Brandon Keepers
6757148003 chore: Refactor GitHub client extensions (#470) 2018-03-18 18:05:14 -05:00
Brandon Keepers
ecfdce2caf chore: Remove scripts that are no longer used (#468) 2018-03-18 18:03:45 -05:00
Abhijeet Singh
19a06c898d Updated Node.js minimum version required to 8.3.0 (#464)
Updated Node.js Minimum version required from 7.6 to 8.3.0.
The is because Probot now uses object rest/spread properties, e.g., the rest spread operator: `{ foo, bar, ..., rest } = myObject`
This is available in version 8.3.0 (ES2018). See: [NodeJS ES2018 object rest/spread properties](http://node.green/#ES2018-features-object-rest-spread-properties)
2018-03-17 08:13:22 -05:00
tcbyrd
4689f6efb4 don't install tsc globally 2018-03-15 23:51:57 -04:00
tcbyrd
e9f7bab049 Merge remote-tracking branch 'origin-auth/typescript-init' into typescript-init 2018-03-15 23:49:30 -04:00
tcbyrd
647711ab5a Cleaning up some code and fixing ts errors
Remove --forceExit

Clean up unused code

assign this.id

sync changes from origin
2018-03-15 23:48:21 -04:00
tcbyrd
6eb8cd6dca Merge branch 'master' of https://github.com/probot/probot 2018-03-15 18:48:12 -04:00
tcbyrd
d7b89e1a97 bump octokit 2018-03-15 18:46:43 -04:00
tcbyrd
b7346b9bf0 Export Robot and Context from index 2018-03-15 18:46:08 -04:00
Brandon Keepers
7d4d031600 Remove commented out code 2018-03-15 17:27:25 -05:00
Brandon Keepers
0cb4cb8af7 Merge remote-tracking branch 'origin/master' into probot-typescript-init
* origin/master:
  fix(package): update @octokit/rest to version 15.2.0 (#457)
  chore(package): update semver to version 5.5.0 (#461)
  chore(package): update nock to version 9.2.0 (#460)
  chore(package): update raven to version 2.4.2 (#459)
  chore(package): update bottleneck to version 2.2.0 (#458)
  Docs: encourage people to add their app to the website (#454)
  fix(package): update @octokit/rest to version 15.1.9
  chore(package): update semantic-release to version 15.0.0 (#452)
  chore(package): update eslint to version 4.18.2 (#455)
  Docs: Add error tracking to contents (#453)
  Update config.yml (#431)
  Raise an error if there are several .pem files (#441)
2018-03-15 17:14:35 -05:00
Brandon Keepers
ffadfa907b Switch name back to probot to prep for release 2018-03-15 17:12:33 -05:00
Brandon Keepers
a0f84205f8 Move details on development dependencies to development docs (#463)
* Move details on development dependencies to development docs

* Link to node website to install
2018-03-15 13:29:41 -05:00
greenkeeper[bot]
5898da7f50 fix(package): update @octokit/rest to version 15.2.0 (#457) 2018-03-15 00:00:22 -05:00
Brandon Keepers
24aec79be5 chore(package): update semver to version 5.5.0 (#461) 2018-03-14 23:31:02 -05:00
Brandon Keepers
71ad002471 chore(package): update nock to version 9.2.0 (#460) 2018-03-14 23:26:33 -05:00