nextjs-hasura-auth 0.1.0 → 0.1.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nextjs-hasura-auth",
3
3
  "shortName": "nha",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "engines": {
6
6
  "node": "22.14"
7
7
  },
@@ -11,15 +11,19 @@
11
11
  },
12
12
  "scripts": {
13
13
  "dev": "next dev --turbopack",
14
- "build": "next build && npm run build:lib",
15
- "build:lib": "tsc -p tsconfig.lib.json",
14
+ "build": "npm run build:lib && next build",
15
+ "build:lib": "rm -rf dist && tsc -p tsconfig.lib.json",
16
16
  "build:next": "next build --turbopack",
17
17
  "start": "next start --turbopack",
18
18
  "lint": "next lint --turbopack",
19
19
  "test": "jest",
20
20
  "test:build": "jest build.test.ts",
21
21
  "postinstall": "npm run ws -- -y",
22
- "ws": "npx --yes next-ws-cli@latest patch"
22
+ "ws": "npx --yes next-ws-cli@latest patch",
23
+ "nha:migrate": "tsx ./migrations/nha/up.ts",
24
+ "nha:unmigrate": "tsx ./migrations/nha/down.ts",
25
+ "hasura:schema": "tsx ./lib/hasura-schema.ts",
26
+ "codegen": "graphql-codegen --config codegen.ts"
23
27
  },
24
28
  "main": "dist/lib/index.js",
25
29
  "types": "dist/lib/index.d.ts",
@@ -88,7 +92,9 @@
88
92
  "sonner": "^2.0.3",
89
93
  "tailwind-merge": "^3.2.0",
90
94
  "tw-animate-css": "^1.2.5",
95
+ "uuid": "^11.1.0",
91
96
  "vaul": "^1.1.2",
97
+ "zerobounce": "^0.3.0",
92
98
  "zod": "^3.24.3"
93
99
  },
94
100
  "devDependencies": {
@@ -96,7 +102,12 @@
96
102
  "@babel/preset-env": "^7.26.9",
97
103
  "@babel/preset-react": "^7.26.3",
98
104
  "@babel/preset-typescript": "^7.27.0",
105
+ "@deep-foundation/hasura": "^0.0.68",
106
+ "@graphql-codegen/cli": "^5.0.5",
107
+ "@graphql-codegen/typescript": "^4.1.6",
99
108
  "@jest/globals": "^29.7.0",
109
+ "@swc/core": "^1.11.21",
110
+ "@swc/jest": "^0.2.37",
100
111
  "@tailwindcss/postcss": "^4",
101
112
  "@testing-library/jest-dom": "^6.4.0",
102
113
  "@testing-library/react": "^15.0.0",
@@ -109,8 +120,11 @@
109
120
  "babel-jest": "^29.7.0",
110
121
  "jest": "^29.7.0",
111
122
  "jest-environment-jsdom": "^29.7.0",
123
+ "prettier": "^3.5.3",
112
124
  "tailwindcss": "^4",
113
125
  "ts-jest": "^29.1.2",
126
+ "ts-node": "^10.9.2",
127
+ "tsx": "^4.19.3",
114
128
  "typescript": "^5"
115
129
  }
116
130
  }