Skip to content

Commit

Permalink
chore: update turbo to 2.X (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
perkinsjr authored Sep 6, 2024
1 parent 3c5c029 commit cd15a9d
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 63 deletions.
74 changes: 37 additions & 37 deletions apps/api/src/routes/v1_keys_verifyKey.ratelimit_accuracy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,43 @@ const testCases: {
rps: number;
seconds: number;
}[] = [
{
limit: 200,
duration: 10_000,
rps: 100,
seconds: 60,
},
{
limit: 10,
duration: 10000,
rps: 15,
seconds: 120,
},
{
limit: 20,
duration: 5000,
rps: 50,
seconds: 60,
},
{
limit: 200,
duration: 10000,
rps: 20,
seconds: 20,
},
{
limit: 500,
duration: 10000,
rps: 100,
seconds: 30,
},
{
limit: 100,
duration: 5000,
rps: 200,
seconds: 120,
},
];
{
limit: 200,
duration: 10_000,
rps: 100,
seconds: 60,
},
{
limit: 10,
duration: 10000,
rps: 15,
seconds: 120,
},
{
limit: 20,
duration: 5000,
rps: 50,
seconds: 60,
},
{
limit: 200,
duration: 10000,
rps: 20,
seconds: 20,
},
{
limit: 500,
duration: 10000,
rps: 100,
seconds: 30,
},
{
limit: 100,
duration: 5000,
rps: 200,
seconds: 120,
},
];

for (const { limit, duration, rps, seconds } of testCases) {
const name = `[${limit} / ${duration / 1000}s], attacked with ${rps} rps for ${seconds}s`;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"knip": "^5.11.0",
"lint-staged": "^15.2.2",
"ts-node": "latest",
"turbo": "^1.13.3",
"turbo": "^2.0.14",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"tasks": {
"install": {
"outputs": ["node_modules/**", "pnpm-lock.yaml", "yarn.lock"]
},
"build": {
"dependsOn": ["fmt", "^build"],
"env": [
"NEXT_PUBLIC_*",
"!NEXT_PUBLIC_VERCEL_*",
"NEXT_PUBLIC_\\*",
"\\!NEXT_PUBLIC_VERCEL_\\*",
"AGENT_URL",
"AGENT_TOKEN",
"CLERK_WEBHOOK_SECRET",
"CLERK_SECRET_KEY",
"DATABASE_PASSWORD",
Expand All @@ -30,6 +32,7 @@
"TINYBIRD_TOKEN",
"UNKEY_API_ID",
"UNKEY_KEY_AUTH_ID",
"UNKEY_WEBHOOK_KEYS_API_ID",
"UNKEY_WORKSPACE_ID",
"VERCEL_INTEGRATION_CLIENT_ID",
"VERCEL_INTEGRATION_CLIENT_SECRET"
Expand Down

1 comment on commit cd15a9d

@vercel
Copy link

@vercel vercel bot commented on cd15a9d Sep 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

planetfall – ./apps/planetfall

planetfall-git-main-unkey.vercel.app
planetfall.unkey.dev
planetfall-unkey.vercel.app
planetfall-two.vercel.app

Please sign in to comment.