This PR includes a slack.json to get hooks from @slack/bolt to run the app and successfully clone the app using the CLI. These hooks are only present in a feature branch of @slack/bolt so npm link @slack/bolt is still necessary after cloning the app.
The manifest is also updated to include outgoing_domains to prevent an invalid manifest error when installing the app via CLI.
Reviewers
Experience the installation flow with these commands:
$ slack create bolts --template slack-samples/bolt-js-automation-template --branch cli-compatability
$ cd bolts
$ npm link @slack/bolt # After configuring a local copy for remote functions
$ cp .env.sample .env # Update with app and bot tokens
$ slack run
Requirements
[x] I’ve checked my submission against the Samples Checklist to ensure it complies with all standards
[x] I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
Type of change
Summary
This PR includes a
slack.json
to get hooks from@slack/bolt
to run the app and successfully clone the app using the CLI. These hooks are only present in a feature branch of@slack/bolt
sonpm link @slack/bolt
is still necessary after cloning the app.The manifest is also updated to include
outgoing_domains
to prevent aninvalid manifest
error when installing the app via CLI.Reviewers
Experience the installation flow with these commands:
Requirements