Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .changeset/deprecate-clerk-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
'@clerk/backend': patch
'@clerk/chrome-extension': patch
'@clerk/clerk-js': patch
'@clerk/elements': patch
'@clerk/themes': patch
'@clerk/vue': patch
---
Expand Down
1 change: 0 additions & 1 deletion .changeset/strong-bars-learn.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
'@clerk/chrome-extension': patch
'@clerk/elements': patch
'@clerk/expo': patch
'@clerk/nextjs': patch
'@clerk/react-router': patch
Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/monorepo.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Core Package Categories
- **Backend**: `@clerk/backend` - Server-side utilities and JWT verification
- **Shared Utilities**: `@clerk/shared`, `@clerk/types` - Common utilities and TypeScript types
- **Developer Tools**: `@clerk/testing`, `@clerk/dev-cli`, `@clerk/upgrade`
- **UI Libraries**: `@clerk/elements` - Unstyled UI primitives, `@clerk/themes` - Pre-built themes
- **UI Libraries**: `@clerk/themes` - Pre-built themes
- **Specialized**: `@clerk/agent-toolkit` - AI agent integration tools

Directory Structure
Expand Down
3 changes: 0 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ chrome-extension:
clerk-js:
- packages/clerk-js/**

elements:
- packages/elements/**

expo:
- packages/expo/**

Expand Down
106 changes: 53 additions & 53 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
# Check triggering actor permissions to prevent PRs from forks accessing secrets by default, preventing them from exfiltrating secrets for malicious purposes
check-permissions:
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
defaults:
run:
shell: bash
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
needs: [check-permissions]
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
name: Formatting | Dedupe | Changeset
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
defaults:
run:
shell: bash
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
needs: [check-permissions]
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
name: Build Packages
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
permissions:
contents: read
defaults:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
turbo-token: ${{ secrets.TURBO_TOKEN }}

- name: Turbo Build
run: pnpm turbo build $TURBO_ARGS --only --filter=!@clerk/elements
run: pnpm turbo build $TURBO_ARGS --only

- name: Upload Turbo Summary
uses: actions/upload-artifact@v4
Expand All @@ -135,7 +135,7 @@ jobs:
permissions:
contents: read
actions: write # needed for actions/upload-artifact
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
defaults:
run:
shell: bash
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
permissions:
contents: read
actions: write # needed for actions/upload-artifact
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
defaults:
run:
shell: bash
Expand All @@ -210,13 +210,13 @@ jobs:
matrix:
include:
- node-version: 22
test-filter: '**'
clerk-use-rq: 'false'
filter-label: '**'
test-filter: "**"
clerk-use-rq: "false"
filter-label: "**"
- node-version: 22
test-filter: '--filter=@clerk/shared --filter=@clerk/clerk-js'
clerk-use-rq: 'true'
filter-label: 'shared, clerk-js'
test-filter: "--filter=@clerk/shared --filter=@clerk/clerk-js"
clerk-use-rq: "true"
filter-label: "shared, clerk-js"

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
permissions:
contents: read
actions: write # needed for actions/upload-artifact
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
defaults:
run:
shell: bash
Expand All @@ -297,47 +297,47 @@ jobs:
matrix:
test-name:
[
'generic',
'express',
'ap-flows',
'localhost',
'sessions',
'sessions:staging',
'handshake',
'handshake:staging',
'astro',
'tanstack-react-start',
'vue',
'nuxt',
'react-router',
'machine',
'custom',
"generic",
"express",
"ap-flows",
"localhost",
"sessions",
"sessions:staging",
"handshake",
"handshake:staging",
"astro",
"tanstack-react-start",
"vue",
"nuxt",
"react-router",
"machine",
"custom",
]
test-project: ['chrome']
test-project: ["chrome"]
include:
# - test-name: "billing"
# test-project: "chrome"
# clerk-use-rq: "false"
# - test-name: "billing"
# test-project: "chrome"
# clerk-use-rq: "true"
- test-name: 'nextjs'
test-project: 'chrome'
next-version: '15'
clerk-use-rq: 'false'
- test-name: 'nextjs'
test-project: 'chrome'
next-version: '15'
clerk-use-rq: 'true'
- test-name: 'nextjs'
test-project: 'chrome'
next-version: '16'
- test-name: 'quickstart'
test-project: 'chrome'
next-version: '15'
- test-name: 'quickstart'
test-project: 'chrome'
next-version: '16'
- test-name: "nextjs"
test-project: "chrome"
next-version: "15"
clerk-use-rq: "false"
- test-name: "nextjs"
test-project: "chrome"
next-version: "15"
clerk-use-rq: "true"
- test-name: "nextjs"
test-project: "chrome"
next-version: "16"
- test-name: "quickstart"
test-project: "chrome"
next-version: "15"
- test-name: "quickstart"
test-project: "chrome"
next-version: "16"

steps:
- name: Checkout Repo
Expand Down Expand Up @@ -369,8 +369,8 @@ jobs:
env:
E2E_APP_CLERK_JS_DIR: ${{runner.temp}}
E2E_APP_CLERK_UI_DIR: ${{runner.temp}}
E2E_CLERK_JS_VERSION: 'latest'
E2E_CLERK_UI_VERSION: 'latest'
E2E_CLERK_JS_VERSION: "latest"
E2E_CLERK_UI_VERSION: "latest"
E2E_NEXTJS_VERSION: ${{ matrix.next-version }}
E2E_PROJECT: ${{ matrix.test-project }}
INTEGRATION_INSTANCE_KEYS: ${{ secrets.INTEGRATION_INSTANCE_KEYS }}
Expand Down Expand Up @@ -444,8 +444,8 @@ jobs:
if: ${{ steps.task-status.outputs.affected == '1' }}
uses: actions/github-script@v7
env:
INTEGRATION_CERTS: '${{secrets.INTEGRATION_CERTS}}'
INTEGRATION_ROOT_CA: '${{secrets.INTEGRATION_ROOT_CA}}'
INTEGRATION_CERTS: "${{secrets.INTEGRATION_CERTS}}"
INTEGRATION_ROOT_CA: "${{secrets.INTEGRATION_ROOT_CA}}"
with:
script: |
const fs = require('fs');
Expand All @@ -471,8 +471,8 @@ jobs:
env:
E2E_APP_CLERK_JS_DIR: ${{runner.temp}}
E2E_APP_CLERK_UI_DIR: ${{runner.temp}}
E2E_CLERK_JS_VERSION: 'latest'
E2E_CLERK_UI_VERSION: 'latest'
E2E_CLERK_JS_VERSION: "latest"
E2E_CLERK_UI_VERSION: "latest"
E2E_NEXTJS_VERSION: ${{ matrix.next-version }}
E2E_PROJECT: ${{ matrix.test-project }}
E2E_CLERK_ENCRYPTION_KEY: ${{ matrix.clerk-encryption-key }}
Expand All @@ -493,7 +493,7 @@ jobs:
name: Publish with pkg-pr-new
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
needs: [check-permissions, build-packages]
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
runs-on: "blacksmith-8vcpu-ubuntu-2204"
defaults:
run:
shell: bash
Expand Down
22 changes: 0 additions & 22 deletions integration/presets/elements.ts

This file was deleted.

2 changes: 0 additions & 2 deletions integration/presets/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { astro } from './astro';
import { customFlows } from './custom-flows';
import { elements } from './elements';
import { envs, instanceKeys } from './envs';
import { expo } from './expo';
import { express } from './express';
Expand All @@ -19,7 +18,6 @@ export const appConfigs = {
longRunningApps: createLongRunningApps(),
next,
react,
elements,
expo,
astro,
tanstack,
Expand Down
2 changes: 0 additions & 2 deletions integration/presets/longRunningApps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { LongRunningApplication } from '../models/longRunningApplication';
import { longRunningApplication } from '../models/longRunningApplication';
import { astro } from './astro';
import { elements } from './elements';
import { envs } from './envs';
import { expo } from './expo';
import { express } from './express';
Expand Down Expand Up @@ -75,7 +74,6 @@ export const createLongRunningApps = () => {
{ id: 'nuxt.node', config: nuxt.node, env: envs.withCustomRoles },
{ id: 'react-router.node', config: reactRouter.reactRouterNode, env: envs.withEmailCodes },
{ id: 'express.vite.withEmailCodes', config: express.vite, env: envs.withEmailCodes },
{ id: 'elements.next.appRouter', config: elements.nextAppRouter, env: envs.withEmailCodes },
] as const;

const apps = configs.map(longRunningApplication);
Expand Down
37 changes: 0 additions & 37 deletions integration/templates/elements-next/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions integration/templates/elements-next/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions integration/templates/elements-next/next.config.js

This file was deleted.

Loading