From 305b030a89604a422cd52c0813ce3e59e37e1085 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 23:37:53 +0000 Subject: [PATCH] chore: release --- .changeset/green-items-write.md | 50 ---------------------------- .changeset/neat-toys-wonder.md | 7 ---- packages/cli-hooks/CHANGELOG.md | 58 +++++++++++++++++++++++++++++++++ packages/cli-hooks/package.json | 2 +- 4 files changed, 59 insertions(+), 58 deletions(-) delete mode 100644 .changeset/green-items-write.md delete mode 100644 .changeset/neat-toys-wonder.md create mode 100644 packages/cli-hooks/CHANGELOG.md diff --git a/.changeset/green-items-write.md b/.changeset/green-items-write.md deleted file mode 100644 index d38009434..000000000 --- a/.changeset/green-items-write.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -"@slack/cli-hooks": minor ---- - -feat(cli-hooks): add default app and manifest watch config - -This package now provides default watch configurations for automatic file watching during [`slack run`](https://docs.slack.dev/tools/slack-cli/reference/commands/slack_platform_run). The CLI will restart your app server when source files change and reinstall your app when the manifest changes. - -**Requirements:** These features require Slack CLI v3.12.0+ with [file watching support](https://github.com/slackapi/slack-cli/pull/310). - -### Default Configuration - -The following watch settings are provided automatically when using this package: - -```json -{ - "config": { - "watch": { - "app": { - "filter-regex": "\\.js$", - "paths": ["."] - }, - "manifest": { - "paths": ["manifest.json"] - } - } - } -} -``` - -- **app**: Watches for JavaScript file changes to restart the app server -- **manifest**: Watches the manifest file for changes to reinstall the app - -**Note:** Manifest watching requires a local manifest source in your `.slack/config.json` file. Remote manifests will not be updated on file changes. - -```json -{ - "manifest": { - "source": "local" - } -} -``` - -### Custom Configurations - -You can override these defaults in your `.slack/hooks.json` file to reduce the paths searched or change the file patterns. Read [Watch Configurations](https://docs.slack.dev/tools/slack-cli/reference/hooks/#watch-configurations) for more options. - -### TypeScript Development - -TypeScript developers should run `tsc --watch` in a separate terminal during development. This compiles `.ts` files to `.js` on changes, and the default watch configuration will detect changes to the compiled `dist/*.js` files and restart the app server. This approach works best with the default settings. diff --git a/.changeset/neat-toys-wonder.md b/.changeset/neat-toys-wonder.md deleted file mode 100644 index 0178fee9b..000000000 --- a/.changeset/neat-toys-wonder.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@slack/cli-hooks": patch ---- - -fix(cli-hooks): stop app process if the start hook exits - -Fixes a CLI [issue](https://github.com/slackapi/slack-cli/issues/128) where daemon app processes were spawned if the CLI was exited without being interrupted. diff --git a/packages/cli-hooks/CHANGELOG.md b/packages/cli-hooks/CHANGELOG.md new file mode 100644 index 000000000..9bd825452 --- /dev/null +++ b/packages/cli-hooks/CHANGELOG.md @@ -0,0 +1,58 @@ +# @slack/cli-hooks + +## 1.3.0 + +### Minor Changes + +- 0abdc91: feat(cli-hooks): add default app and manifest watch config + + This package now provides default watch configurations for automatic file watching during [`slack run`](https://docs.slack.dev/tools/slack-cli/reference/commands/slack_platform_run). The CLI will restart your app server when source files change and reinstall your app when the manifest changes. + + **Requirements:** These features require Slack CLI v3.12.0+ with [file watching support](https://github.com/slackapi/slack-cli/pull/310). + + ### Default Configuration + + The following watch settings are provided automatically when using this package: + + ```json + { + "config": { + "watch": { + "app": { + "filter-regex": "\\.js$", + "paths": ["."] + }, + "manifest": { + "paths": ["manifest.json"] + } + } + } + } + ``` + + - **app**: Watches for JavaScript file changes to restart the app server + - **manifest**: Watches the manifest file for changes to reinstall the app + + **Note:** Manifest watching requires a local manifest source in your `.slack/config.json` file. Remote manifests will not be updated on file changes. + + ```json + { + "manifest": { + "source": "local" + } + } + ``` + + ### Custom Configurations + + You can override these defaults in your `.slack/hooks.json` file to reduce the paths searched or change the file patterns. Read [Watch Configurations](https://docs.slack.dev/tools/slack-cli/reference/hooks/#watch-configurations) for more options. + + ### TypeScript Development + + TypeScript developers should run `tsc --watch` in a separate terminal during development. This compiles `.ts` files to `.js` on changes, and the default watch configuration will detect changes to the compiled `dist/*.js` files and restart the app server. This approach works best with the default settings. + +### Patch Changes + +- 8962739: fix(cli-hooks): stop app process if the start hook exits + + Fixes a CLI [issue](https://github.com/slackapi/slack-cli/issues/128) where daemon app processes were spawned if the CLI was exited without being interrupted. diff --git a/packages/cli-hooks/package.json b/packages/cli-hooks/package.json index f3bc22cc0..4e809ae8b 100644 --- a/packages/cli-hooks/package.json +++ b/packages/cli-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@slack/cli-hooks", - "version": "1.2.1", + "version": "1.3.0", "description": "Node implementation of the contract between the Slack CLI and Bolt for JavaScript", "author": "Slack Technologies, LLC", "license": "MIT",