Skip to content

Commit 0a7c510

Browse files
authored
Merge pull request #7 from AdamWozniewski/auth0-samples-update-node-next-langchain
Update repos for async-auth
2 parents d816b6c + b3c510a commit 0a7c510

File tree

37 files changed

+26138
-5121
lines changed

37 files changed

+26138
-5121
lines changed

asynchronous-authorization/langchain-fastapi-py/frontend/bun.lock

Lines changed: 0 additions & 983 deletions
This file was deleted.

asynchronous-authorization/langchain-next-js/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ AUTH0_AUDIENCE="https://your.domain.us.langgraph.app"
1212
AUTH0_SCOPE="openid profile email"
1313

1414
# Database configuration
15-
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
15+
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ai_documents_db"
1616

1717
# LANGGRAPH
1818
LANGGRAPH_API_URL=http://localhost:54367
Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
11
{
2-
"extends": "next/core-web-vitals"
3-
}
2+
"root": true,
3+
"extends": [
4+
"next/core-web-vitals",
5+
"plugin:@typescript-eslint/recommended"
6+
],
7+
"parser": "@typescript-eslint/parser",
8+
"plugins": [
9+
"@typescript-eslint",
10+
"import"
11+
],
12+
"rules": {
13+
"@typescript-eslint/no-var-requires": "off",
14+
"import/no-commonjs": "off",
15+
"@typescript-eslint/no-explicit-any": "off",
16+
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
17+
"@typescript-eslint/no-require-imports": "off",
18+
"@typescript-eslint/no-unused-vars": "warn"
19+
},
20+
"overrides": [
21+
{
22+
"files": ["*.config.{js,cjs,mjs}", "scripts/**", "next.config.*", "postcss.config.js", "tailwind.config.*"],
23+
"rules": {
24+
"@typescript-eslint/no-var-requires": "off",
25+
"import/no-commonjs": "off"
26+
}
27+
},
28+
{
29+
"files": ["**/__tests__/**", "**/*.test.{ts,tsx}"],
30+
"env": { "jest": true }
31+
}
32+
]
33+
}

asynchronous-authorization/langchain-next-js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ It's Vercel's free-tier friendly too! Check out the [bundle size stats below](#-
8888
This package has [@next/bundle-analyzer](https://www.npmjs.com/package/@next/bundle-analyzer) set up by default - you can explore the bundle size interactively by running:
8989

9090
```bash
91-
$ ANALYZE=true bun run build
91+
$ ANALYZE=true bun run build # or $ ANALYZE=true npm run build
9292
```
9393

9494
## License

asynchronous-authorization/langchain-next-js/bun.lock

Lines changed: 0 additions & 1930 deletions
This file was deleted.

0 commit comments

Comments
 (0)