@aura-stack/next 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/LICENSE +21 -0
- package/README.md +128 -0
- package/dist/@types/index.cjs +0 -0
- package/dist/@types/index.d.ts +3 -0
- package/dist/@types/index.js +1 -0
- package/dist/_core/cookies.cjs +1 -0
- package/dist/_core/cookies.d.ts +1 -0
- package/dist/_core/cookies.js +1 -0
- package/dist/_core/crypto.cjs +1 -0
- package/dist/_core/crypto.d.ts +1 -0
- package/dist/_core/crypto.js +1 -0
- package/dist/_core/identity.cjs +1 -0
- package/dist/_core/identity.d.ts +1 -0
- package/dist/_core/identity.js +1 -0
- package/dist/_core/shared.cjs +1 -0
- package/dist/_core/shared.d.ts +1 -0
- package/dist/_core/shared.js +1 -0
- package/dist/client.cjs +1 -0
- package/dist/client.d.ts +24 -0
- package/dist/client.js +1 -0
- package/dist/core-BDwHYePg.d.ts +3 -0
- package/dist/index-B0R6c-K9.d.ts +45 -0
- package/dist/index-eKek4f4_.d.ts +10973 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.js +1 -0
- package/dist/oauth/atlassian.cjs +1 -0
- package/dist/oauth/atlassian.d.ts +1 -0
- package/dist/oauth/atlassian.js +1 -0
- package/dist/oauth/bitbucket.cjs +1 -0
- package/dist/oauth/bitbucket.d.ts +1 -0
- package/dist/oauth/bitbucket.js +1 -0
- package/dist/oauth/click-up.cjs +1 -0
- package/dist/oauth/click-up.d.ts +1 -0
- package/dist/oauth/click-up.js +1 -0
- package/dist/oauth/discord.cjs +1 -0
- package/dist/oauth/discord.d.ts +1 -0
- package/dist/oauth/discord.js +1 -0
- package/dist/oauth/dribbble.cjs +1 -0
- package/dist/oauth/dribbble.d.ts +1 -0
- package/dist/oauth/dribbble.js +1 -0
- package/dist/oauth/dropbox.cjs +1 -0
- package/dist/oauth/dropbox.d.ts +1 -0
- package/dist/oauth/dropbox.js +1 -0
- package/dist/oauth/figma.cjs +1 -0
- package/dist/oauth/figma.d.ts +1 -0
- package/dist/oauth/figma.js +1 -0
- package/dist/oauth/github.cjs +1 -0
- package/dist/oauth/github.d.ts +1 -0
- package/dist/oauth/github.js +1 -0
- package/dist/oauth/gitlab.cjs +1 -0
- package/dist/oauth/gitlab.d.ts +1 -0
- package/dist/oauth/gitlab.js +1 -0
- package/dist/oauth/index.cjs +1 -0
- package/dist/oauth/index.d.ts +1 -0
- package/dist/oauth/index.js +1 -0
- package/dist/oauth/mailchimp.cjs +1 -0
- package/dist/oauth/mailchimp.d.ts +1 -0
- package/dist/oauth/mailchimp.js +1 -0
- package/dist/oauth/notion.cjs +1 -0
- package/dist/oauth/notion.d.ts +1 -0
- package/dist/oauth/notion.js +1 -0
- package/dist/oauth/pinterest.cjs +1 -0
- package/dist/oauth/pinterest.d.ts +1 -0
- package/dist/oauth/pinterest.js +1 -0
- package/dist/oauth/spotify.cjs +1 -0
- package/dist/oauth/spotify.d.ts +1 -0
- package/dist/oauth/spotify.js +1 -0
- package/dist/oauth/strava.cjs +1 -0
- package/dist/oauth/strava.d.ts +1 -0
- package/dist/oauth/strava.js +1 -0
- package/dist/oauth/twitch.cjs +1 -0
- package/dist/oauth/twitch.d.ts +1 -0
- package/dist/oauth/twitch.js +1 -0
- package/dist/oauth/x.cjs +1 -0
- package/dist/oauth/x.d.ts +1 -0
- package/dist/oauth/x.js +1 -0
- package/dist/pages/index.cjs +1 -0
- package/dist/pages/index.d.ts +346 -0
- package/dist/pages/index.js +1 -0
- package/package.json +143 -0
package/package.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aura-stack/next",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Authentication integration for Next.js applications. Supports App Router, Server Components, Route Handlers and client-side authentication powered by Aura Auth.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/aura-stack-ts/auth"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"require": "./dist/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./client": {
|
|
22
|
+
"types": "./dist/client.d.ts",
|
|
23
|
+
"import": "./dist/client.js",
|
|
24
|
+
"require": "./dist/client.cjs"
|
|
25
|
+
},
|
|
26
|
+
"./context": {
|
|
27
|
+
"types": "./dist/context.d.ts",
|
|
28
|
+
"import": "./dist/context.js",
|
|
29
|
+
"require": "./dist/context.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./oauth": {
|
|
32
|
+
"types": "./dist/oauth/index.d.ts",
|
|
33
|
+
"import": "./dist/oauth/index.js",
|
|
34
|
+
"require": "./dist/oauth/index.cjs"
|
|
35
|
+
},
|
|
36
|
+
"./oauth/*": {
|
|
37
|
+
"types": "./dist/oauth/*.d.ts",
|
|
38
|
+
"import": "./dist/oauth/*.js",
|
|
39
|
+
"require": "./dist/oauth/*.cjs"
|
|
40
|
+
},
|
|
41
|
+
"./identity": {
|
|
42
|
+
"types": "./dist/_core/identity.d.ts",
|
|
43
|
+
"import": "./dist/_core/identity.js",
|
|
44
|
+
"require": "./dist/_core/identity.cjs"
|
|
45
|
+
},
|
|
46
|
+
"./crypto": {
|
|
47
|
+
"types": "./dist/_core/crypto.d.ts",
|
|
48
|
+
"import": "./dist/_core/crypto.js",
|
|
49
|
+
"require": "./dist/_core/crypto.cjs"
|
|
50
|
+
},
|
|
51
|
+
"./shared": {
|
|
52
|
+
"types": "./dist/_core/shared.d.ts",
|
|
53
|
+
"import": "./dist/_core/shared.js",
|
|
54
|
+
"require": "./dist/_core/shared.cjs"
|
|
55
|
+
},
|
|
56
|
+
"./cookies": {
|
|
57
|
+
"types": "./dist/_core/cookies.d.ts",
|
|
58
|
+
"import": "./dist/_core/cookies.js",
|
|
59
|
+
"require": "./dist/_core/cookies.cjs"
|
|
60
|
+
},
|
|
61
|
+
"./pages": {
|
|
62
|
+
"types": "./dist/pages/index.d.ts",
|
|
63
|
+
"import": "./dist/pages/index.js",
|
|
64
|
+
"require": "./dist/pages/index.cjs"
|
|
65
|
+
},
|
|
66
|
+
"./pages/client": {
|
|
67
|
+
"types": "./dist/pages/client.d.ts",
|
|
68
|
+
"import": "./dist/pages/client.js",
|
|
69
|
+
"require": "./dist/pages/client.cjs"
|
|
70
|
+
},
|
|
71
|
+
"./pages/context": {
|
|
72
|
+
"types": "./dist/pages/context.d.ts",
|
|
73
|
+
"import": "./dist/pages/context.js",
|
|
74
|
+
"require": "./dist/pages/context.cjs"
|
|
75
|
+
},
|
|
76
|
+
"./types": "./dist/@types/index.d.ts"
|
|
77
|
+
},
|
|
78
|
+
"keywords": [
|
|
79
|
+
"auth",
|
|
80
|
+
"oauth",
|
|
81
|
+
"oauth2",
|
|
82
|
+
"security",
|
|
83
|
+
"session",
|
|
84
|
+
"authentication",
|
|
85
|
+
"authorization",
|
|
86
|
+
"nextjs",
|
|
87
|
+
"next.js",
|
|
88
|
+
"server components",
|
|
89
|
+
"client components",
|
|
90
|
+
"server actions",
|
|
91
|
+
"server-side rendering",
|
|
92
|
+
"client-side rendering",
|
|
93
|
+
"react",
|
|
94
|
+
"typescript",
|
|
95
|
+
"javascript",
|
|
96
|
+
"web-api",
|
|
97
|
+
"aura-stack",
|
|
98
|
+
"aura-stack-ts",
|
|
99
|
+
"aura auth",
|
|
100
|
+
"aura-auth"
|
|
101
|
+
],
|
|
102
|
+
"author": "Aura Stack <aurastackjs@gmail.com> | Hernan Alvarado <halvaradop.dev@gmail.com>",
|
|
103
|
+
"homepage": "https://aura-stack-auth.vercel.app",
|
|
104
|
+
"bugs": {
|
|
105
|
+
"url": "https://github.com/aura-stack-ts/auth/issues"
|
|
106
|
+
},
|
|
107
|
+
"license": "MIT",
|
|
108
|
+
"dependencies": {
|
|
109
|
+
"@aura-stack/react": "0.1.0"
|
|
110
|
+
},
|
|
111
|
+
"devDependencies": {
|
|
112
|
+
"@testing-library/dom": "^10.4.1",
|
|
113
|
+
"@testing-library/react": "^16.3.2",
|
|
114
|
+
"@types/react": "^19.2.7",
|
|
115
|
+
"@types/react-dom": "^19.2.3",
|
|
116
|
+
"next": "^16.1.6",
|
|
117
|
+
"node-mocks-http": "^1.17.2",
|
|
118
|
+
"react": "^19.2.3",
|
|
119
|
+
"react-dom": "^19.2.3",
|
|
120
|
+
"@aura-stack/tsdown-config": "0.0.0",
|
|
121
|
+
"@aura-stack/tsconfig": "0.0.0"
|
|
122
|
+
},
|
|
123
|
+
"peerDependencies": {
|
|
124
|
+
"next": ">=16.0.0",
|
|
125
|
+
"react": ">=19.0.0",
|
|
126
|
+
"react-dom": ">=19.0.0"
|
|
127
|
+
},
|
|
128
|
+
"scripts": {
|
|
129
|
+
"dev": "tsdown --watch",
|
|
130
|
+
"build": "pnpm sync:modules && tsdown",
|
|
131
|
+
"lint": "oxlint",
|
|
132
|
+
"lint:fix": "oxlint --fix",
|
|
133
|
+
"format": "oxfmt",
|
|
134
|
+
"format:check": "oxfmt --check",
|
|
135
|
+
"test": "vitest --run",
|
|
136
|
+
"test:watch": "vitest",
|
|
137
|
+
"test:coverage": "vitest --run --coverage",
|
|
138
|
+
"type-check": "tsc --noEmit",
|
|
139
|
+
"clean": "rm -rf dist src/_core src/oauth",
|
|
140
|
+
"clean:cts": "[ -d dist ] && find dist -type f -name \"*.cts\" -delete || true",
|
|
141
|
+
"sync:modules": "node ../shared/scripts/modules.js --from react"
|
|
142
|
+
}
|
|
143
|
+
}
|