Skip to content
Open
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
2 changes: 2 additions & 0 deletions .changeset/consolidate-overlapping-dev-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
10 changes: 5 additions & 5 deletions integration/testUtils/handshake.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { randomUUID } from 'node:crypto';

// @ts-ignore ignore types
import jwt from 'jsonwebtoken';
// @ts-ignore ignore types
import * as uuid from 'uuid';

const rsaPairs = {
a: {
Expand Down Expand Up @@ -77,10 +77,10 @@ t5o8u/dlwJ1fGGday48gs/hA4V/F9zDjecNkYWUB/wUwVStqZljn
const allConfigs: any = [];

export function generateConfig({ mode, matchedKeys = true }: { mode: 'test' | 'live'; matchedKeys?: boolean }) {
const ins_id = uuid.v4();
const pkHost = `clerk.${uuid.v4()}.com`;
const ins_id = randomUUID();
const pkHost = `clerk.${randomUUID()}.com`;
const pk = `pk_${mode}_${btoa(`${pkHost}$`)}`;
const sk = `sk_${mode}_${uuid.v4()}`;
const sk = `sk_${mode}_${randomUUID()}`;
const rsa = matchedKeys
? rsaPairs.a
: {
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.5",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.20.1",
"@types/proper-lockfile": "^4.1.4",
"@types/react": "catalog:react",
Expand All @@ -106,7 +105,6 @@
"citty": "^0.2.2",
"conventional-changelog-conventionalcommits": "^4.6.3",
"cpy-cli": "^5.0.0",
"cross-spawn": "^7.0.6",
"dotenv": "^16.6.1",
"eslint": "9.31.0",
"eslint-config-prettier": "10.1.8",
Expand Down Expand Up @@ -157,7 +155,6 @@
"typescript": "catalog:repo",
"typescript-eslint": "8.58.0",
"unrun": "0.3.1",
"uuid": "11.1.1",
"vitest": "5.0.0",
"zx": "catalog:repo"
},
Expand Down
5 changes: 2 additions & 3 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@
"lint": "eslint src",
"lint:attw": "attw --pack . --profile node16 --ignore-rules false-cjs",
"lint:publint": "publint",
"test": "run-s test:node test:edge-runtime",
"test": "pnpm test:node && pnpm test:edge-runtime",
"test:edge-runtime": "vitest run --environment edge-runtime",
"test:node": "vitest run --environment node",
"test:watch": "run-s test:watch:node test:watch:edge-runtime",
"test:watch": "pnpm test:watch:node && pnpm test:watch:edge-runtime",
"test:watch:edge-runtime": "vitest watch --environment edge-runtime",
"test:watch:node": "vitest watch --environment node"
},
Expand All @@ -125,7 +125,6 @@
"@edge-runtime/vm": "5.0.0",
"cookie": "1.1.1",
"msw": "2.15.0",
"npm-run-all": "^4.1.5",
"snakecase-keys": "9.0.2"
},
"engines": {
Expand Down
Loading
Loading