Skip to content

Commit 6688d44

Browse files
authored
chore(repo): Drop @clerk/types (#7110)
1 parent 5e1f028 commit 6688d44

File tree

284 files changed

+542
-4567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+542
-4567
lines changed

.changeset/cyan-dancers-chew.md

Lines changed: 2 additions & 0 deletions

.changeset/deprecate-clerk-types.md

Lines changed: 0 additions & 1 deletion

.changeset/fuzzy-chefs-stand.md

Lines changed: 0 additions & 1 deletion

.github/labeler.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ testing:
4848
themes:
4949
- packages/themes/**
5050

51-
types:
52-
- packages/types/**
53-
5451
vue:
5552
- packages/vue/**
5653

docs/CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion

integration/presets/astro.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const astroNode = applicationConfig()
1111
.addScript('build', 'pnpm build')
1212
.addScript('serve', 'pnpm preview')
1313
.addDependency('@clerk/astro', linkPackage('astro'))
14-
.addDependency('@clerk/types', linkPackage('types'))
1514
.addDependency('@clerk/localizations', linkPackage('localizations'));
1615

1716
const astroStatic = astroNode.clone().setName('astro-hybrid').useTemplate(templates['astro-hybrid']);

integration/presets/next.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ const appRouter = applicationConfig()
1515
.addDependency('react', constants.E2E_REACT_VERSION)
1616
.addDependency('react-dom', constants.E2E_REACT_DOM_VERSION)
1717
.addDependency('@clerk/nextjs', constants.E2E_CLERK_VERSION || linkPackage('nextjs'))
18-
.addDependency('@clerk/shared', linkPackage('shared'))
19-
.addDependency('@clerk/types', linkPackage('types'));
18+
.addDependency('@clerk/shared', linkPackage('shared'));
2019

2120
const appRouterTurbo = appRouter.clone().setName('next-app-router-turbopack').addScript('dev', 'pnpm dev');
2221

integration/templates/next-app-router/src/app/(reverification)/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use server';
22

33
import { auth, reverificationError } from '@clerk/nextjs/server';
4-
import { ReverificationConfig } from '@clerk/types';
4+
import type { ReverificationConfig } from '@clerk/shared/types';
55
const logUserIdActionReverification = async () => {
66
const { userId, has } = await auth.protect();
77

integration/tests/last-authentication-strategy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import type { LastAuthenticationStrategy } from '@clerk/shared/types';
12
import type { Page } from '@playwright/test';
23
import { expect, test } from '@playwright/test';
34

4-
import type { LastAuthenticationStrategy } from '../../packages/types';
55
import { appConfigs } from '../presets';
66
import { createTestUtils, testAgainstRunningApps } from '../testUtils';
77

integration/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Clerk } from '@clerk/types';
1+
import type { Clerk } from '@clerk/clerk-js';
22

33
declare global {
44
interface Window {

0 commit comments

Comments
 (0)