Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(elements): Add & refactor inspectors #3424

Merged
merged 6 commits into from
May 23, 2024
Merged

Conversation

tmilewski
Copy link
Member

Description

  • Adds Stately's Browser Inspector in development builds for easier tracing/debugging.
    • npm run app:dev:debug:ui (from packages/elements) or using
    • NEXT_PUBLIC_CLERK_ELEMENTS_DEBUG_UI=true
  • Moves @statelyai/inspect from dependencies to devDependencies.
  • Removes all inspector-related code from the production builds, slimming down the builds.

Fixes SDK-1763
Fixes SDK-1764

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:

@tmilewski tmilewski self-assigned this May 22, 2024
Copy link

changeset-bot bot commented May 22, 2024

🦋 Changeset detected

Latest commit: e018bd2

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

This PR includes changesets to release 1 package
Name Type
@clerk/elements Minor

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

@tmilewski
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @tmilewski - the snapshot version command generated the following package versions:

Package Version
@clerk/backend 1.2.1-snapshot.vfb2ebe7
@clerk/chrome-extension 1.0.14-snapshot.vfb2ebe7
@clerk/clerk-js 5.5.1-snapshot.vfb2ebe7
@clerk/elements 0.5.0-snapshot.vfb2ebe7
@clerk/clerk-expo 1.1.6-snapshot.vfb2ebe7
@clerk/express 0.0.10-snapshot.vfb2ebe7
@clerk/fastify 1.0.11-snapshot.vfb2ebe7
gatsby-plugin-clerk 5.0.0-beta.45
@clerk/nextjs 5.1.1-snapshot.vfb2ebe7
@clerk/clerk-react 5.2.1-snapshot.vfb2ebe7
@clerk/remix 4.0.12-snapshot.vfb2ebe7
@clerk/clerk-sdk-node 5.0.9-snapshot.vfb2ebe7
@clerk/shared 2.2.1-snapshot.vfb2ebe7
@clerk/testing 1.1.4-snapshot.vfb2ebe7

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/backend

npm i @clerk/backend@1.2.1-snapshot.vfb2ebe7 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.0.14-snapshot.vfb2ebe7 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.5.1-snapshot.vfb2ebe7 --save-exact

@clerk/elements

npm i @clerk/elements@0.5.0-snapshot.vfb2ebe7 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@1.1.6-snapshot.vfb2ebe7 --save-exact

@clerk/express

npm i @clerk/express@0.0.10-snapshot.vfb2ebe7 --save-exact

@clerk/fastify

npm i @clerk/fastify@1.0.11-snapshot.vfb2ebe7 --save-exact

gatsby-plugin-clerk

npm i gatsby-plugin-clerk@5.0.0-beta.45 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@5.1.1-snapshot.vfb2ebe7 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.2.1-snapshot.vfb2ebe7 --save-exact

@clerk/remix

npm i @clerk/remix@4.0.12-snapshot.vfb2ebe7 --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.9-snapshot.vfb2ebe7 --save-exact

@clerk/shared

npm i @clerk/shared@2.2.1-snapshot.vfb2ebe7 --save-exact

@clerk/testing

npm i @clerk/testing@1.1.4-snapshot.vfb2ebe7 --save-exact

@clerk clerk deleted a comment from clerk-cookie May 22, 2024
@LekoArts LekoArts disabled auto-merge May 23, 2024 07:23
@tmilewski tmilewski enabled auto-merge (squash) May 23, 2024 15:17
@tmilewski
Copy link
Member Author

Pushing through as integration tests are having issues unrelated to this PR.

@tmilewski tmilewski disabled auto-merge May 23, 2024 19:56
@tmilewski tmilewski merged commit e7ab237 into main May 23, 2024
9 of 10 checks passed
@tmilewski tmilewski deleted the elements/inspector branch May 23, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants