nextjs-hasura-auth 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/APOLLO.md +148 -0
- package/GENERATOR.md +671 -0
- package/README.md +154 -0
- package/dist/lib/apollo.d.ts +45 -0
- package/dist/lib/apollo.js +206 -0
- package/dist/lib/debug.d.ts +12 -0
- package/dist/lib/debug.js +24 -0
- package/dist/lib/generator.d.ts +33 -0
- package/dist/lib/generator.js +548 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.js +20 -0
- package/dist/lib/jwt.d.ts +67 -0
- package/dist/lib/jwt.js +195 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +8 -0
- package/dist/package.json +113 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/package.json +116 -0
package/package.json
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
{
|
2
|
+
"name": "nextjs-hasura-auth",
|
3
|
+
"shortName": "nha",
|
4
|
+
"version": "0.1.0",
|
5
|
+
"engines": {
|
6
|
+
"node": "22.14"
|
7
|
+
},
|
8
|
+
"repository": {
|
9
|
+
"type": "git",
|
10
|
+
"url": "https://github.com/ivansglazunov/nextjs-hasura-auth.git"
|
11
|
+
},
|
12
|
+
"scripts": {
|
13
|
+
"dev": "next dev --turbopack",
|
14
|
+
"build": "next build && npm run build:lib",
|
15
|
+
"build:lib": "tsc -p tsconfig.lib.json",
|
16
|
+
"build:next": "next build --turbopack",
|
17
|
+
"start": "next start --turbopack",
|
18
|
+
"lint": "next lint --turbopack",
|
19
|
+
"test": "jest",
|
20
|
+
"test:build": "jest build.test.ts",
|
21
|
+
"postinstall": "npm run ws -- -y",
|
22
|
+
"ws": "npx --yes next-ws-cli@latest patch"
|
23
|
+
},
|
24
|
+
"main": "dist/lib/index.js",
|
25
|
+
"types": "dist/lib/index.d.ts",
|
26
|
+
"files": [
|
27
|
+
"dist",
|
28
|
+
"README.md",
|
29
|
+
"GENERATOR.md",
|
30
|
+
"APOLLO.md"
|
31
|
+
],
|
32
|
+
"dependencies": {
|
33
|
+
"@apollo/client": "^3.13.8",
|
34
|
+
"@auth/core": "^0.38.0",
|
35
|
+
"@auth/hasura-adapter": "^1.8.0",
|
36
|
+
"@hookform/resolvers": "^5.0.1",
|
37
|
+
"@radix-ui/react-accordion": "^1.2.4",
|
38
|
+
"@radix-ui/react-alert-dialog": "^1.1.7",
|
39
|
+
"@radix-ui/react-aspect-ratio": "^1.1.3",
|
40
|
+
"@radix-ui/react-avatar": "^1.1.4",
|
41
|
+
"@radix-ui/react-checkbox": "^1.1.5",
|
42
|
+
"@radix-ui/react-collapsible": "^1.1.4",
|
43
|
+
"@radix-ui/react-context-menu": "^2.2.7",
|
44
|
+
"@radix-ui/react-dialog": "^1.1.7",
|
45
|
+
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
46
|
+
"@radix-ui/react-hover-card": "^1.1.7",
|
47
|
+
"@radix-ui/react-label": "^2.1.3",
|
48
|
+
"@radix-ui/react-menubar": "^1.1.7",
|
49
|
+
"@radix-ui/react-navigation-menu": "^1.2.6",
|
50
|
+
"@radix-ui/react-popover": "^1.1.7",
|
51
|
+
"@radix-ui/react-progress": "^1.1.3",
|
52
|
+
"@radix-ui/react-radio-group": "^1.2.4",
|
53
|
+
"@radix-ui/react-scroll-area": "^1.2.4",
|
54
|
+
"@radix-ui/react-select": "^2.1.7",
|
55
|
+
"@radix-ui/react-separator": "^1.1.3",
|
56
|
+
"@radix-ui/react-slider": "^1.2.4",
|
57
|
+
"@radix-ui/react-slot": "^1.2.0",
|
58
|
+
"@radix-ui/react-switch": "^1.1.4",
|
59
|
+
"@radix-ui/react-tabs": "^1.1.4",
|
60
|
+
"@radix-ui/react-toggle": "^1.1.3",
|
61
|
+
"@radix-ui/react-toggle-group": "^1.1.3",
|
62
|
+
"@radix-ui/react-tooltip": "^1.2.0",
|
63
|
+
"@types/debug": "^4.1.12",
|
64
|
+
"class-variance-authority": "^0.7.1",
|
65
|
+
"clsx": "^2.1.1",
|
66
|
+
"cmdk": "^1.1.1",
|
67
|
+
"cross-fetch": "^4.1.0",
|
68
|
+
"date-fns": "^4.1.0",
|
69
|
+
"debug": "^4.4.0",
|
70
|
+
"dotenv": "^16.5.0",
|
71
|
+
"embla-carousel-react": "^8.6.0",
|
72
|
+
"graphql": "^16.10.0",
|
73
|
+
"graphql-ws": "^5.16.2",
|
74
|
+
"input-otp": "^1.4.2",
|
75
|
+
"jest": "^29.7.0",
|
76
|
+
"jose": "^5.10.0",
|
77
|
+
"lucide-react": "^0.488.0",
|
78
|
+
"next": "15.3.1",
|
79
|
+
"next-auth": "^4.24.11",
|
80
|
+
"next-themes": "^0.4.6",
|
81
|
+
"next-ws": "^2.0.6",
|
82
|
+
"react": "^19.0.0",
|
83
|
+
"react-day-picker": "^8.10.1",
|
84
|
+
"react-dom": "^19.0.0",
|
85
|
+
"react-hook-form": "^7.55.0",
|
86
|
+
"react-resizable-panels": "^2.1.7",
|
87
|
+
"recharts": "^2.15.3",
|
88
|
+
"sonner": "^2.0.3",
|
89
|
+
"tailwind-merge": "^3.2.0",
|
90
|
+
"tw-animate-css": "^1.2.5",
|
91
|
+
"vaul": "^1.1.2",
|
92
|
+
"zod": "^3.24.3"
|
93
|
+
},
|
94
|
+
"devDependencies": {
|
95
|
+
"@babel/core": "^7.26.10",
|
96
|
+
"@babel/preset-env": "^7.26.9",
|
97
|
+
"@babel/preset-react": "^7.26.3",
|
98
|
+
"@babel/preset-typescript": "^7.27.0",
|
99
|
+
"@jest/globals": "^29.7.0",
|
100
|
+
"@tailwindcss/postcss": "^4",
|
101
|
+
"@testing-library/jest-dom": "^6.4.0",
|
102
|
+
"@testing-library/react": "^15.0.0",
|
103
|
+
"@testing-library/react-hooks": "^8.0.1",
|
104
|
+
"@types/jest": "^29.5.12",
|
105
|
+
"@types/node": "^20.17.30",
|
106
|
+
"@types/react": "^19",
|
107
|
+
"@types/react-dom": "^19",
|
108
|
+
"@types/ws": "^8.18.1",
|
109
|
+
"babel-jest": "^29.7.0",
|
110
|
+
"jest": "^29.7.0",
|
111
|
+
"jest-environment-jsdom": "^29.7.0",
|
112
|
+
"tailwindcss": "^4",
|
113
|
+
"ts-jest": "^29.1.2",
|
114
|
+
"typescript": "^5"
|
115
|
+
}
|
116
|
+
}
|