Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
dalechyn committed Jun 5, 2024
1 parent 7a912ef commit 34af32d
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 3 deletions.
2 changes: 2 additions & 0 deletions apps/relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
"dotenv": "^16.4.5",
"ethers": "^6.12.1",
"fastify": "^4.27.0",
"hono": "^4.4.3",
"hono-rate-limiter": "^0.3.0",
"ioredis": "^5.4.1",
"siwe": "^2.3.2",
"undici": "^6.18.0",
Expand Down
1 change: 1 addition & 0 deletions apps/relay/src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const { baseUrl, authKey } = getConfig()

export const channel = new Hono().use(
rateLimiter({
keyGenerator: () => crypto.randomUUID(),
limit: 1000,
}),
channelMiddleware,
Expand Down
2 changes: 1 addition & 1 deletion examples/frontend-only/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": ["//"],
"pipeline": {
"build": {
"dependsOn": ["@fc-auth/core#build"],
"dependsOn": ["@fc-auth/core#build", "@fc-auth/react#build"],
"inputs": [
"src/**",
"vite.config.ts",
Expand Down
1 change: 1 addition & 0 deletions examples/with-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@fc-auth/core": "workspace:*",
"@fc-auth/react": "workspace:*",
"@tanstack/react-query": "^5.37.1",
"ethers": "^6.12.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-auth/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": ["//"],
"pipeline": {
"build": {
"dependsOn": ["@fc-auth/core#build"],
"dependsOn": ["@fc-auth/core#build", "@fc-auth/react#build"],
"inputs": [
"src/**",
"vite.config.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.build.json",
"include": ["src/**/*.ts", "src/**/*.tsx", "test/**/*.ts"],
"exclude": []
"exclude": ["vite.config.ts"]
}
22 changes: 22 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 34af32d

Please sign in to comment.