Commit Graph

24 Commits

Author SHA1 Message Date
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
tcbyrd
c126fda67d Probot CLI should use compiled output 2018-02-19 12:14:00 -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
Olivier Combe
5546e5c4fc working typescript setup (#375) 2017-12-30 23:14:26 -05:00
Brandon Keepers
6aa3a2f7b2 feat: Add support for experimental webhook proxy (#359)
Usage:

    $ WEBHOOK_PROXY_URL=http://github-webhook-proxy.herokuapp.com/abcxyz npm start
2017-12-07 12:30:18 -06:00
Jamie Jones
a7596e24d2 General cleanup (#350)
* re-order args for `bin/probot-run.js`
 - Local tunnel/internal properties are grouped together and appear first
  - GitHub App args are now grouped together and come second

* standardize on block comment spacing in `lib/robot.js`
  - open comment is flush
  - all subsequent lines are indented by 1-space
2017-11-26 21:42:04 -05:00
Brandon Keepers
b5d05b3913 fix: Improve log messages for localtunnel (#349) 2017-11-25 22:03:31 -06:00
Brandon Keepers
dda5df88d8 Refactor app loading (#284)
BREAKING CHANGE: `probot run` without any arguments will no longer autoload apps named `probot-*`.
2017-10-14 05:25:02 -07:00
Brandon Keepers
672ebd7915 Add ENV variable to disable tunnel 2017-09-20 12:23:09 +02:00
Brandon Keepers
771bbbab91 Merge remote-tracking branch 'origin/master' into plugin-to-app
* origin/master:
  maximize cat gifage
  create new error instead of eslint disable
  confirmed my localdev is is 😵
  tetsing if a standard error fails on CI
  STANDARD LINT ALL OF THE THINGS
  update plugin usage
  Add support for update-docs and new-issue-welcome
2017-08-24 08:24:26 -05:00
Bex Warner
6d37ad80da STANDARD LINT ALL OF THE THINGS 2017-08-22 20:06:31 -07:00
Brandon Keepers
34e8bddfdd Merge remote-tracking branch 'origin/master' into plugin-to-app
* origin/master:
  The Slack chat channel on the Internet machine
  Clean up link to slack channel
  Add link to slack channel
  Adds a line break
  add test to ensure deprecation occurs
  add version for deprecation to console.warn and inline comment
  it's on the same tab
  annoying space 💢
  bot -> app
  0 -> 1 silly markdown
  Create CONTRIBUTING.md
  Add linter extend to package.json
  clarify REST API
  use settings.yml
  Update development.md
  Fix urls to example apps
  Fix link to example GitHub profile
  Bumps webhook dep and adds webhookPath config
2017-08-22 18:29:44 -05:00
Brandon Keepers
675b99a32d Fix overzealous find/replace 2017-08-21 14:43:05 -05:00
Brandon Keepers
9dabb532ca Rename plugin => app in docs 2017-08-20 10:42:51 -05:00
anglinb
d8b42674fd Bumps webhook dep and adds webhookPath config 2017-08-13 19:31:58 -07:00
Jamie Jones
828deba2e8 remove deprecated integration id
Integration id was set to be removed in 0.7. We're past that version, so cleaning up the deprecated option.
2017-08-05 13:45:05 -04:00
Brandon Keepers
0078c31523 Move default secret so it works for programatic uses 2017-06-27 12:50:21 -04:00
Katrina Owen
fe2ad5da12 Fix typo in deprecation warning
The deprecation warning boiled down to: APP_ID is deprecated, set APP_ID instead.
The deprecated environment variable is named INTEGRATION_ID.
2017-06-19 06:00:21 -06:00
Brandon Keepers
98887fb148 Test localtunnel and retry if it failed 2017-06-11 01:06:53 -05:00
Brandon Keepers
d680401279 Move tunnel code into a separate file 2017-06-11 00:22:24 -05:00
Brandon Keepers
fdcc2e949f Fix env var name for deprecated INTEGRATION_ID 2017-06-09 16:45:35 -05:00
Brandon Keepers
fdfbaeafac Update name from "GitHub Integrations" to "GitHub Apps" 2017-06-05 21:11:08 -05:00
Brandon Keepers
3cdc44e462 Find private key if it is not set
Commander only calls the function if an argument is provided.
2017-04-29 07:50:59 -05:00
Christopher Hiller
a422599f51 add .js ext to files in bin/; closes #129
- add missing `semver` dependency
- lint files in `bin/`
- ignore `localtunnel` issue for now
2017-04-26 14:51:23 -07:00