Skip to content

Commit 8538249

Browse files
feat: improve type safety in command helpers
Improved the type safety of the `pollForToken` function in `src/utils/command-helpers.ts` by removing the `@ts-expect-error` and adding a type guard to safely handle the error object. Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com>
1 parent 98fdf72 commit 8538249

21 files changed

Lines changed: 1213 additions & 1215 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Deno
5151
uses: denoland/setup-deno@v1
5252
with:
53-
deno-version: 2.6.6
53+
deno-version: 2.5.6
5454

5555
- name: Install core dependencies
5656
run: npm ci --no-audit

CHANGELOG.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99

1010

11-
## [23.14.0](https://github.com/netlify/cli/compare/v23.13.5...v23.14.0) (2026-01-28)
12-
13-
14-
### Features
15-
16-
* ai gateway disabled check ([#7891](https://github.com/netlify/cli/issues/7891)) ([4a57375](https://github.com/netlify/cli/commit/4a57375d570e0f2565a9c9b779ddcb12e1521731))
17-
* **init:** mention detected framework when presenting build settings ([#7828](https://github.com/netlify/cli/issues/7828)) ([f5b3588](https://github.com/netlify/cli/commit/f5b3588cb18c9ed57893f8b16530cc0b4f3b6351))
18-
19-
20-
### Bug Fixes
21-
22-
* address flaky integration tests ([#7890](https://github.com/netlify/cli/issues/7890)) ([a329330](https://github.com/netlify/cli/commit/a329330982b3808baacb16a94e61527787adfe17))
23-
* **deps:** bump tar from 7.5.3 to 7.5.6 ([#7883](https://github.com/netlify/cli/issues/7883)) ([d563fac](https://github.com/netlify/cli/commit/d563fac9d31435f5d5f234f17e75c1342dbf0b63))
24-
* **deps:** update dependency @netlify/edge-functions to v3.0.3 ([#7860](https://github.com/netlify/cli/issues/7860)) ([803c6ae](https://github.com/netlify/cli/commit/803c6ae26e10f957ce4a20ee7ae02786dc6cb947))
25-
* **deps:** update dependency lodash to v4.17.23 [security] ([#7885](https://github.com/netlify/cli/issues/7885)) ([e0fe8dc](https://github.com/netlify/cli/commit/e0fe8dc520e78e0ba0b4eab333c2eff9529f9099))
26-
* **deps:** update netlify packages ([#7895](https://github.com/netlify/cli/issues/7895)) ([63e1eea](https://github.com/netlify/cli/commit/63e1eea463ca86fe4e9f9ea5f4000cdaca2c21fe))
27-
* refactor image handling to use `@netlify/images` ([#7584](https://github.com/netlify/cli/issues/7584)) ([321170d](https://github.com/netlify/cli/commit/321170d8588d9b90459784ebed079e416e13f6c6))
28-
2911
## [23.13.5](https://github.com/netlify/cli/compare/v23.13.4...v23.13.5) (2026-01-20)
3012

3113

docs/commands/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ netlify deploy
2929
**Flags**
3030

3131
- `alias` (*string*) - Specifies the alias for deployment, the string at the beginning of the deploy subdomain. Useful for creating predictable deployment URLs. Avoid setting an alias string to the same value as a deployed branch. `alias` doesn’t create a branch deploy and can’t be used in conjunction with the branch subdomain feature. Maximum 37 characters.
32-
- `context` (*string*) - Specify a deploy context for environment variables read during the build ("production", "deploy-preview", "branch-deploy", "dev") or `branch:your-branch` where `your-branch` is the name of a branch (default: dev)
32+
- `context` (*string*) - Specify a deploy context for environment variables read during the build (production”, ”deploy-preview”, ”branch-deploy”, ”dev) or `branch:your-branch` where `your-branch` is the name of a branch (default: dev)
3333
- `create-site` (*string*) - Create a new site and deploy to it. Optionally specify a name, otherwise a random name will be generated. Requires --team flag if you have multiple teams.
3434
- `dir` (*string*) - Specify a folder to deploy
3535
- `filter` (*string*) - For monorepos, specify the name of the application to run the command in

0 commit comments

Comments
 (0)