Skip to content

feat: add version check functionality and update documentation - #11

Closed
Shubhdeep12 wants to merge 2 commits into
mainfrom
develop
Closed

feat: add version check functionality and update documentation#11
Shubhdeep12 wants to merge 2 commits into
mainfrom
develop

Conversation

@Shubhdeep12

Copy link
Copy Markdown
Owner
  • Implemented a version check for the CLI that notifies users of available updates.
  • Added environment variable support to disable version checks.
  • Updated README.md with instructions for updating the CLI and managing version checks.
  • Introduced a new property in the configuration schema to track the last version check timestamp.
  • Adjusted test setup to disable version checks during testing for consistent output.

Description

PR guidelines

CI will run the following. Please ensure they pass locally before requesting review:

  • Lintpnpm lint
  • Typecheckpnpm typecheck
  • Testspnpm test
  • Coveragepnpm test:coverage (must meet thresholds)
  • Changesetpnpm changeset (for user-facing changes only)

If you added or changed a command, run pnpm docs:generate and commit the updated docs/COMMANDS.md.

- Implemented a version check for the CLI that notifies users of available updates.
- Added environment variable support to disable version checks.
- Updated README.md with instructions for updating the CLI and managing version checks.
- Introduced a new property in the configuration schema to track the last version check timestamp.
- Adjusted test setup to disable version checks during testing for consistent output.
- Updated test utility to assign the mocked fetch implementation to global fetch, ensuring compatibility with all HTTP clients, including the Resend SDK.
- Added comments for clarity on the purpose of the change and to address linting concerns.
@Shubhdeep12
Shubhdeep12 deleted the develop branch February 28, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant