Skip to content

Commit 439485b

Browse files
authored
[Apps] login (#6295)
1 parent 5c2da5f commit 439485b

Some content is hidden

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

55 files changed

+2486
-913
lines changed

.changeset/config.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
"access": "public",
1111
"baseBranch": "main",
1212
"updateInternalDependencies": "patch",
13-
"ignore": ["playground-web", "thirdweb-dashboard", "wallet-ui", "portal"],
13+
"ignore": [
14+
"playground-web",
15+
"thirdweb-dashboard",
16+
"wallet-ui",
17+
"portal",
18+
"thirdweb-login"
19+
],
1420
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
1521
"updateInternalDependents": "always",
1622
"onlyUpdatePeerDependentsWhenOutOfRange": true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
22
<br />
33
<a href="https://thirdweb.com">
4-
<img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
4+
<img src="https://thirdweb.com/brand/thirdweb-icon.svg" width="200" alt=""/></a>
55
<br />
66
</p>
77

@@ -31,12 +31,12 @@
3131

3232
## Library Comparison
3333

34-
| | thirdweb | Wagmi + Viem | Ethers@6 |
34+
| | thirdweb | Wagmi + Viem | Ethers@6 |
3535
| ----------------------------------------- | -------- | ------------------ | -------- |
3636
| Type safe contract API ||||
3737
| Type safe wallet API ||||
3838
| EVM utils ||||
39-
| RPC for any EVM | ✅  | ⚠️ public RPC only ||
39+
| RPC for any EVM | ✅  | ⚠️ public RPC only ||
4040
| Automatic ABI Resolution ||||
4141
| IPFS Upload/Download ||||
4242
| Embedded wallet (email/ social login) || ⚠️ via 3rd party ||

apps/login/CHANGELOG.md

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

apps/login/components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "default",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "app/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

apps/login/eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { dirname } from "node:path";
2-
import { fileURLToPath } from "node:url";
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
33
import { FlatCompat } from "@eslint/eslintrc";
44

55
const __filename = fileURLToPath(import.meta.url);

apps/login/knip.json

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

apps/login/next.config.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,6 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
/* config options here */
5-
async headers() {
6-
return [
7-
{
8-
source: "/api/:path*",
9-
headers: [
10-
{
11-
key: "Access-Control-Allow-Origin",
12-
value: "*", // Set your origin
13-
},
14-
{
15-
key: "Access-Control-Allow-Methods",
16-
value: "GET, POST, PUT, DELETE, OPTIONS",
17-
},
18-
{
19-
key: "Access-Control-Allow-Headers",
20-
value: "Content-Type, Authorization",
21-
},
22-
],
23-
},
24-
];
25-
},
265
};
276

287
export default nextConfig;

apps/login/package.json

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,38 @@
11
{
22
"name": "thirdweb-login",
3-
"version": "0.1.10",
3+
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"preinstall": "npx only-allow pnpm",
76
"dev": "next dev --turbopack",
87
"build": "next build",
98
"start": "next start",
109
"format": "biome format ./src --write",
11-
"lint": "biome check ./src && knip && eslint ./src",
12-
"fix": "biome check ./src --fix && eslint ./src --fix",
13-
"typecheck": "tsc --noEmit",
14-
"knip": "knip"
10+
"prelint": "biome check ./src",
11+
"lint": "eslint ./src",
12+
"prefix": "biome check ./src --fix",
13+
"fix": "eslint ./src --fix",
14+
"typecheck": "tsc --noEmit"
1515
},
1616
"dependencies": {
17+
"@radix-ui/react-dropdown-menu": "^2.1.5",
18+
"@radix-ui/react-label": "^2.1.1",
19+
"@radix-ui/react-select": "^2.1.5",
20+
"@radix-ui/react-separator": "^1.1.1",
21+
"@radix-ui/react-slot": "^1.1.1",
22+
"@radix-ui/react-switch": "^1.1.2",
23+
"@radix-ui/react-tooltip": "1.1.7",
24+
"class-variance-authority": "^0.7.1",
25+
"clsx": "^2.1.1",
26+
"jose": "^5.10.0",
27+
"lucide-react": "0.474.0",
1728
"next": "15.1.6",
29+
"next-themes": "^0.4.4",
1830
"react": "19.0.0",
1931
"react-dom": "19.0.0",
2032
"server-only": "^0.0.1",
33+
"sonner": "^1.7.4",
34+
"tailwind-merge": "^2.6.0",
35+
"tailwindcss-animate": "^1.0.7",
2136
"thirdweb": "workspace:*"
2237
},
2338
"devDependencies": {
@@ -27,9 +42,7 @@
2742
"@types/react-dom": "19.0.3",
2843
"eslint": "^9",
2944
"eslint-config-next": "15.1.6",
30-
"knip": "5.43.6",
3145
"postcss": "8.5.1",
32-
"postcss-load-config": "^6.0.1",
3346
"tailwindcss": "3.4.17",
3447
"typescript": "5.7.3"
3548
}

apps/login/public/logo.svg

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

apps/login/public/placeholder.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)