Skip to content

Conversation

@dstaley
Copy link
Member

@dstaley dstaley commented Aug 15, 2024

Description

This PR adds more error messages to clerk-dev to notify the user of invalid configurations. It now warns in the following instances:

  • Running clerk-dev init with an existing configuration file
  • Running clerk-dev setup or clerk-dev watch with a null root configuration
  • Running clerk-dev setup with an invalid publishableKey or secretKey

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Aug 15, 2024

🦋 Changeset detected

Latest commit: dd8c397

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/dev-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dstaley dstaley force-pushed the ds.feat/clerk-dev-warn-invalid-config branch from 18a9bb1 to dd8c397 Compare August 15, 2024 19:40
@dstaley dstaley merged commit 219aaab into main Aug 15, 2024
@dstaley dstaley deleted the ds.feat/clerk-dev-warn-invalid-config branch August 15, 2024 21:52
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.

3 participants