fenaura-auth-init 0.0.0-stage → 1.0.6

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +94 -2
  3. package/bin/init.js +253 -0
  4. package/package.json +29 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 agah enoch wesoamo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,95 @@
1
- # Temporary Holding Version
1
+ # fenaura-auth-init
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ One command that wires your frontend to Fenaura auth. Run it once per project, from your frontend folder, and it writes every proxy file your hosting setup needs. Run it again any time. It never duplicates anything, it just reports `wrote`, `kept`, or `fixed` for each file.
4
+
5
+ ## Contents
6
+
7
+ - [Why this exists](#why-this-exists)
8
+ - [Usage](#usage)
9
+ - [What it writes](#what-it-writes)
10
+ - [What to expect after running](#what-to-expect-after-running)
11
+ - [The companion SDK](#the-companion-sdk)
12
+ - [Troubleshooting](#troubleshooting)
13
+ - [License](#license)
14
+
15
+ ## Why this exists
16
+
17
+ Fenaura logs users in with `HttpOnly` session cookies, which is the secure choice, but browsers refuse cross-site cookies. So instead of calling the API across origins, your app calls `/fenaura/...` on its own domain, and your host forwards those calls to the Fenaura backend. No CORS config, no tokens in JavaScript, and the exact same code works on localhost and in production.
18
+
19
+ This package writes those forwarding rules for you, for every host and dev server that matters.
20
+
21
+ ## Usage
22
+
23
+ ```bash
24
+ npx fenaura-auth-init
25
+ ```
26
+
27
+ That points at the hosted Fenaura backend, which is where every developer builds. There is nothing to configure. (Running a command with `--api=` or `FENAURA_API` overrides the target, but that is only for the Fenaura host itself. As a developer building on Fenaura, you never need it.) You need Node 18 or newer, and you should run it where your frontend lives (a folder with a `package.json`). If there is no `package.json`, it asks you to confirm you are in the right place before touching anything.
28
+
29
+ ## What it writes
30
+
31
+ **1. `public/_redirects`** - one line mapping `/fenaura/*` to your API. Netlify and Cloudflare Pages read this file, so production proxying starts working on your next deploy with zero dashboard clicks.
32
+
33
+ **2. `vercel.json`** - the same mapping as a rewrite (`/fenaura/:path*` to your API). Vercel reads it, every other host ignores it, so it is safe to keep around regardless of where you deploy.
34
+
35
+ **3. Your dev server proxy**, picked by detection:
36
+ - Vite (`vite.config.*`): appends a `/fenaura` entry to `server.proxy`, or adds the whole block if there is none yet.
37
+ - Next (`next.config.*`): prints the `rewrites()` snippet for you to paste, because that file needs a real async function and no script should guess at it.
38
+ - SvelteKit, Astro, Nuxt: prints the Vite proxy snippet for dev (production is already covered by the `_redirects` file from step 1).
39
+ - Plain HTML with no framework: wires VS Code Live Server in `.vscode/settings.json` so the Go Live button proxies too.
40
+
41
+ **4. `jsconfig.json`** - only if you have neither `tsconfig.json` nor `jsconfig.json`. It just switches on SDK autocomplete for plain JavaScript projects.
42
+
43
+ **5. The SDK itself** - if `fenaura-sdk` is not in your dependencies yet, it runs `npm install fenaura-sdk` for you, so the one command really is the whole setup.
44
+
45
+ If a file already has the correct rule, you will see `kept ... (already present)`. If someone edited a rule to point elsewhere, you will see `fixed ... (corrected tampered ...)`. Both are fine to see. Only `wrote` means something new landed.
46
+
47
+ ## What to expect after running
48
+
49
+ Start your dev server (`npm run dev` for Vite or Next, Go Live for plain HTML), then try a login from your page:
50
+
51
+ ```js
52
+ const res = await fetch('/fenaura/auth/dp/login', {
53
+ method: 'POST',
54
+ headers: { 'Content-Type': 'application/json' },
55
+ credentials: 'include',
56
+ body: JSON.stringify({
57
+ email: 'jane@example.com',
58
+ password: 'secret123',
59
+ project_id: '<PROJECT_ID>',
60
+ }),
61
+ });
62
+ ```
63
+
64
+ Your project ID is the project UUID from your Fenaura dashboard. On success, open devtools, go to Application, then Cookies, and look for a `fenaura_eusid_*` cookie sitting on YOUR domain (localhost counts). That cookie on your domain is the whole point. It means the proxy works, the session was minted, and every later call with `credentials: 'include'` will be authenticated.
65
+
66
+ To prove production works the same way, forward your dev port publicly (VS Code Ports panel, set protocol to http) and open the tunnel link. Login there behaves identically, because the tunnel serves your app and the proxy together.
67
+
68
+ ## The companion SDK
69
+
70
+ Pair it with the client library:
71
+
72
+ ```bash
73
+ npm install fenaura-sdk
74
+ ```
75
+
76
+ ```js
77
+ import { createClient } from 'fenaura-sdk';
78
+
79
+ // cookie mode, after running the installer above
80
+ const fenaura = createClient('/fenaura', '<PROJECT_ID>');
81
+ await fenaura.auth.signIn({ email, password });
82
+ ```
83
+
84
+ Full database, auth, and storage docs live in [`fenaura-sdk`](https://www.npmjs.com/package/fenaura-sdk).
85
+
86
+ ## Troubleshooting
87
+
88
+ * **"Aborted, cd into your frontend folder first"** - you ran it outside an app folder. `cd` into the frontend and rerun.
89
+ * **Login works on localhost but not in production** - your host did not pick up the proxy file. Check that `public/_redirects` (or `vercel.json` on Vercel) actually deployed with your site.
90
+ * **Wrong backend after moving environments** - rerun with the right `--api=` value. The script corrects existing files instead of duplicating them.
91
+ * **Next.js proxy missing** - by design the script only prints the snippet for Next. Paste it into your `rewrites()` function.
92
+
93
+ ## License
94
+
95
+ MIT. See LICENSE.
package/bin/init.js ADDED
@@ -0,0 +1,253 @@
1
+ #!/usr/bin/env node
2
+ // npx fenaura-auth-init - run from your frontend folder.
3
+ // Writes the /fenaura/* proxy files your host needs. Idempotent.
4
+ const fs = require('fs');
5
+ const path = require('path');
6
+
7
+ const argv = process.argv.slice(2);
8
+ const apiFlag = argv.find((a) => a.startsWith('--api='));
9
+ const API = apiFlag ? apiFlag.split('=')[1] : (process.env.FENAURA_API || 'https://api.fenaura.dev');
10
+ const EDGE = process.env.FENAURA_EDGE || 'https://edge.fenaura.dev';
11
+ const FLEET_RULE_LINE = `/fenaura/fleet/* ${EDGE}/:splat 200`;
12
+ const RULE_LINE = `/fenaura/* ${API}/:splat 200`;
13
+ const cwd = process.cwd();
14
+
15
+ // Outside an app folder? Ask the user to confirm cwd is their frontend root.
16
+ async function confirmRoot() {
17
+ if (fs.existsSync(path.join(cwd, 'package.json'))) return;
18
+ const rl = require('readline').createInterface({ input: process.stdin, output: process.stdout });
19
+ const answer = await new Promise((resolve) => rl.question(`No package.json here. Is this your frontend root? (${cwd}) [Y/n] `, resolve));
20
+ rl.close();
21
+ if (!/^(y|yes)?\s*$/i.test(answer || '')) {
22
+ console.error('Aborted - cd into your frontend folder first, then re-run.');
23
+ process.exit(1);
24
+ }
25
+ }
26
+
27
+ async function main() {
28
+ await confirmRoot();
29
+ const report = [];
30
+ const has = (f) => fs.existsSync(path.join(cwd, f));
31
+ const hasRule = (f) => has(f) && fs.readFileSync(path.join(cwd, f), 'utf8').includes('/fenaura');
32
+
33
+ // 1. public/_redirects (Netlify + Cloudflare Pages read this)
34
+ const pubDir = path.join(cwd, 'public');
35
+ const redirectsFile = path.join(pubDir, '_redirects');
36
+ if (has('public/_redirects')) {
37
+ const cur = fs.readFileSync(redirectsFile, 'utf8');
38
+ let lines = cur.split('\n');
39
+ const fleetIdx = lines.findIndex(l => l.includes('/fenaura/fleet'));
40
+ if (fleetIdx === -1) {
41
+ const apiIdx = lines.findIndex(l => l.includes('/fenaura'));
42
+ if (apiIdx !== -1) lines.splice(apiIdx, 0, FLEET_RULE_LINE);
43
+ else lines.push(FLEET_RULE_LINE);
44
+ } else if (lines[fleetIdx].trim() !== FLEET_RULE_LINE) {
45
+ lines[fleetIdx] = FLEET_RULE_LINE;
46
+ }
47
+ const idx = lines.findIndex(l => l.includes('/fenaura/*'));
48
+ if (idx !== -1) {
49
+ if (lines[idx].trim() === RULE_LINE && fleetIdx !== -1) {
50
+ report.push('kept public/_redirects (rules already present)');
51
+ } else {
52
+ lines[idx] = RULE_LINE;
53
+ fs.writeFileSync(redirectsFile, lines.join('\n'));
54
+ report.push('updated public/_redirects');
55
+ }
56
+ } else {
57
+ lines.push(RULE_LINE);
58
+ fs.writeFileSync(redirectsFile, lines.join('\n') + '\n');
59
+ report.push('wrote public/_redirects');
60
+ }
61
+ } else {
62
+ fs.mkdirSync(pubDir, { recursive: true });
63
+ fs.writeFileSync(redirectsFile, FLEET_RULE_LINE + '\n' + RULE_LINE + '\n');
64
+ report.push('wrote public/_redirects');
65
+ }
66
+
67
+ // 2. vercel.json rewrites (Vercel only; ignored elsewhere)
68
+ const vercelPath = path.join(cwd, 'vercel.json');
69
+ const fleetRewrite = { source: '/fenaura/fleet/:path*', destination: `${EDGE}/:path*` };
70
+ const rewrite = { source: '/fenaura/:path*', destination: `${API}/:path*` };
71
+ let vercel = has('vercel.json') ? JSON.parse(fs.readFileSync(vercelPath, 'utf8')) : {};
72
+ vercel.rewrites = vercel.rewrites || [];
73
+ let vercelChanged = false;
74
+ const fleetExistingIdx = vercel.rewrites.findIndex((r) => r.source && r.source.startsWith('/fenaura/fleet'));
75
+ if (fleetExistingIdx === -1) {
76
+ const apiIdx = vercel.rewrites.findIndex((r) => r.source && r.source.startsWith('/fenaura'));
77
+ if (apiIdx !== -1) vercel.rewrites.splice(apiIdx, 0, fleetRewrite);
78
+ else vercel.rewrites.push(fleetRewrite);
79
+ vercelChanged = true;
80
+ } else if (vercel.rewrites[fleetExistingIdx].destination !== fleetRewrite.destination) {
81
+ vercel.rewrites[fleetExistingIdx].destination = fleetRewrite.destination;
82
+ vercelChanged = true;
83
+ }
84
+ const existingIdx = vercel.rewrites.findIndex((r) => r.source === '/fenaura/:path*');
85
+ if (existingIdx !== -1) {
86
+ if (vercel.rewrites[existingIdx].destination !== rewrite.destination) {
87
+ vercel.rewrites[existingIdx].destination = rewrite.destination;
88
+ vercelChanged = true;
89
+ }
90
+ } else {
91
+ vercel.rewrites.push(rewrite);
92
+ vercelChanged = true;
93
+ }
94
+ if (vercelChanged) {
95
+ fs.writeFileSync(vercelPath, JSON.stringify(vercel, null, 2) + '\n');
96
+ report.push('wrote vercel.json');
97
+ } else {
98
+ report.push('kept vercel.json (rules already present)');
99
+ }
100
+
101
+ // 3. Dev proxy: write it directly (Vite / Next / SvelteKit / Astro / Nuxt detected by config file)
102
+ const FLEET_PROXY_BLOCK = `'/fenaura/fleet': { target: '${EDGE}', changeOrigin: true, rewrite: (p) => p.replace(/^\\/fenaura\\/fleet/, '') }`;
103
+ const PROXY_BLOCK = `'/fenaura': { target: '${API}', changeOrigin: true, rewrite: (p) => p.replace(/^\\/fenaura/, '') }`;
104
+ const BOTH_PROXY_BLOCKS = `${FLEET_PROXY_BLOCK},\n ${PROXY_BLOCK}`;
105
+ const viteCfg = fs.readdirSync(cwd).find((f) => /^vite\.config\./.test(f));
106
+ const nextCfg = fs.readdirSync(cwd).find((f) => /^next\.config\./.test(f));
107
+ // Additional vite-based frameworks fallback: SvelteKit, Astro, Nuxt all use vite under the hood
108
+ const svelteCfg = !viteCfg && fs.existsSync(path.join(cwd, 'svelte.config.js')) ? 'svelte.config.js' : null;
109
+ const astroCfg = !viteCfg && fs.existsSync(path.join(cwd, 'astro.config.mjs')) ? 'astro.config.mjs' : null;
110
+ const nuxtCfg = !viteCfg && fs.existsSync(path.join(cwd, 'nuxt.config.ts')) ? 'nuxt.config.ts' : null;
111
+ const fallbackVite = svelteCfg || astroCfg || nuxtCfg;
112
+ if (viteCfg) {
113
+ const vp = path.join(cwd, viteCfg);
114
+ let src = fs.readFileSync(vp, 'utf8');
115
+ if (src.includes('/fenaura')) {
116
+ // already has proxy - correct it if API mismatched (tampered)
117
+ if (src.includes(API)) {
118
+ report.push(`kept ${viteCfg} (proxy already present)`);
119
+ } else {
120
+ // replace target URL inside the fenaura block
121
+ src = src.replace(/(['"]\/fenaura['"]\s*:\s*\{\s*target:\s*['"])[^'"]+(['"])/, `$1${API}$2`);
122
+ // also handle json-style source destination case (next) not here
123
+ fs.writeFileSync(vp, src);
124
+ report.push(`fixed ${viteCfg} (corrected tampered API target → ${API})`);
125
+ }
126
+ } else if (/server\s*:\s*\{[^}]*proxy\s*:/.test(src)) {
127
+ // server.proxy exists - append our entry inside it
128
+ src = src.replace(/(proxy\s*:\s*\{)/, `$1\n ${BOTH_PROXY_BLOCKS},`);
129
+ fs.writeFileSync(vp, src);
130
+ report.push(`wrote ${viteCfg} (appended to server.proxy)`);
131
+ } else if (/defineConfig\(\s*\{/.test(src)) {
132
+ // no server key - add one
133
+ src = src.replace(/(defineConfig\(\s*\{)/, `$1\n server: {\n proxy: {\n ${BOTH_PROXY_BLOCKS},\n },\n },`);
134
+ fs.writeFileSync(vp, src);
135
+ report.push(`wrote ${viteCfg} (added server.proxy)`);
136
+ } else {
137
+ report.push(`${viteCfg} has no defineConfig({...) - add manually:`);
138
+ report.push(` ${FLEET_PROXY_BLOCK}`);
139
+ report.push(` ${PROXY_BLOCK}`);
140
+ }
141
+ } else if (nextCfg) {
142
+ report.push('next detected - rewrites() needs an async function; add manually:');
143
+ report.push(` { source: '/fenaura/fleet/:path*', destination: '${EDGE}/:path*' },`);
144
+ report.push(` { source: '/fenaura/:path*', destination: '${API}/:path*' }`);
145
+ } else if (fallbackVite) {
146
+ // SvelteKit / Astro / Nuxt: they all proxy via vite underneath, but config shape varies
147
+ // For these, ensure public/_redirects covers prod and print the vite snippet for dev
148
+ report.push(`${fallbackVite} detected (vite-based) - add to vite server.proxy for dev:`);
149
+ report.push(` ${FLEET_PROXY_BLOCK}`);
150
+ report.push(` ${PROXY_BLOCK}`);
151
+ report.push(' (public/_redirects already covers prod)');
152
+ } else {
153
+ // No framework config (plain HTML/CSS/JS): wire VS Code Live Server proxy.
154
+ const vsDir = path.join(cwd, '.vscode');
155
+ const vsPath = path.join(vsDir, 'settings.json');
156
+ let settings = {};
157
+ if (fs.existsSync(vsPath)) {
158
+ try { settings = JSON.parse(fs.readFileSync(vsPath, 'utf8')); } catch { settings = {}; }
159
+ }
160
+ const proxy = (settings['liveServer.settings.proxy'] = settings['liveServer.settings.proxy'] || {});
161
+ const expectedUri = 'http://localhost:3000/fenaura';
162
+ if (proxy.baseUri === '/fenaura' && proxy.proxyUri === expectedUri) {
163
+ report.push('kept .vscode/settings.json (Live Server proxy already present)');
164
+ } else if (proxy.baseUri === '/fenaura') {
165
+ proxy.enable = true;
166
+ proxy.baseUri = '/fenaura';
167
+ proxy.proxyUri = expectedUri;
168
+ fs.mkdirSync(vsDir, { recursive: true });
169
+ fs.writeFileSync(vsPath, JSON.stringify(settings, null, 2) + '\n');
170
+ report.push('fixed .vscode/settings.json (corrected tampered proxyUri)');
171
+ } else {
172
+ proxy.enable = true;
173
+ proxy.baseUri = '/fenaura';
174
+ // Via local nginx (:3000), which strips /fenaura - Live Server can't rewrite paths itself.
175
+ proxy.proxyUri = 'http://localhost:3000/fenaura';
176
+ fs.mkdirSync(vsDir, { recursive: true });
177
+ fs.writeFileSync(vsPath, JSON.stringify(settings, null, 2) + '\n');
178
+ report.push('wrote .vscode/settings.json (Live Server proxies /fenaura to dev API)');
179
+ }
180
+ }
181
+
182
+ const wroteAny = report.some(r => r.startsWith('wrote') || r.startsWith('fixed'));
183
+ console.log('\n' + (wroteAny ? '✓ Fenaura auth proxy setup - done' : '✓ Fenaura auth proxy setup - already configured') + '\n' + report.map((r) => ' ' + r).join('\n'));
184
+ if (wroteAny) console.log('\n → You should see "wrote public/_redirects" and "wrote vercel.json" above (or "fixed …" if a tampered file was corrected). If you see "kept … (already present)" it was already configured - you are good to go.');
185
+ else console.log('\n → Nothing to write - proxy files were already present. You are good to go.');
186
+ console.log('\nFrontend calls (copy-paste, project ID from dashboard):');
187
+ console.log(" fetch('/fenaura/auth/dp/login', { method: 'POST', headers: { 'Content-Type': 'application/json' }, credentials: 'include', body: JSON.stringify({ email, password, project_id: '<PROJECT_ID>' }) })");
188
+
189
+ // 4. Ensure JS intellisense for SDK in plain JS projects
190
+ const hasTsConfig = fs.existsSync(path.join(cwd, 'tsconfig.json'));
191
+ const hasJsConfig = fs.existsSync(path.join(cwd, 'jsconfig.json'));
192
+ if (!hasTsConfig && !hasJsConfig) {
193
+ const jsconfig = {
194
+ compilerOptions: {
195
+ target: "ES2020",
196
+ module: "ESNext",
197
+ moduleResolution: "bundler",
198
+ allowJs: true,
199
+ checkJs: false,
200
+ jsx: "react-jsx",
201
+ noImplicitAny: false
202
+ },
203
+ include: ["src"]
204
+ };
205
+ try {
206
+ fs.writeFileSync(path.join(cwd, 'jsconfig.json'), JSON.stringify(jsconfig, null, 2) + '\n');
207
+ report.push('wrote jsconfig.json (enables SDK intellisense for JS)');
208
+ } catch {}
209
+ }
210
+
211
+ // 5. Ensure SDK is installed if run via npx (one-command experience)
212
+ try {
213
+ const pkg = JSON.parse(fs.readFileSync(path.join(cwd, 'package.json'), 'utf8'));
214
+ const deps = { ...(pkg.dependencies || {}), ...(pkg.devDependencies || {}) };
215
+ const hasSdk = deps['@fenaura/client'] || deps['@fenaura/sdk'] || deps['fenaura'] || deps['fenaura-sdk'];
216
+ if (!hasSdk) {
217
+ console.log('\n → SDK not in package.json - installing fenaura-sdk ...');
218
+ const { spawnSync } = require('child_process');
219
+ const res = spawnSync('npm', ['install', 'fenaura-sdk', '--save'], { stdio: 'inherit', cwd });
220
+ if (res.status !== 0) console.log(' (auto-install failed - run: npm install fenaura-sdk)');
221
+ else console.log(' ✓ fenaura-sdk installed');
222
+ }
223
+ } catch { /* no package.json or parse fail - skip auto-install */ }
224
+
225
+ // 6. Detect how the dev server is running + print next steps.
226
+ const net = require('net');
227
+ function portOpen(port) {
228
+ return new Promise((resolve) => {
229
+ const s = net.connect(port, '127.0.0.1');
230
+ s.on('connect', () => { s.end(); resolve(true); });
231
+ s.on('error', () => resolve(false));
232
+ setTimeout(() => { s.destroy(); resolve(false); }, 800);
233
+ });
234
+ }
235
+ (async () => {
236
+ const stack = viteCfg ? 'vite' : nextCfg ? 'next' : 'live-server';
237
+ const startCmd = stack === 'vite' || stack === 'next' ? 'npm run dev' : 'Go Live (VS Code status bar)';
238
+ const defaults = stack === 'vite' ? [5173] : stack === 'next' ? [3000] : [5500];
239
+ const open = [];
240
+ for (const p of [...defaults, 5173, 5174, 5199, 5500, 5501, 3000, 8080]) {
241
+ if (await portOpen(p)) open.push(p);
242
+ }
243
+ console.log('\nNext steps:');
244
+ console.log(` 1. Start dev: ${startCmd} (detected stack: ${stack})`);
245
+ console.log(` 2. Open the page (local ports answering now: ${open.length ? open.join(', ') : 'none yet - start the server first'})`);
246
+ console.log(' 3. Click login - expect session_minted + a fenaura_eusid_* cookie on YOUR domain (devtools → Application → Cookies).');
247
+ console.log(' 4. Public URL test: forward the dev port in VS Code (Ports → Public, protocol http) and open the tunnel link.');
248
+ console.log(' 5. Deploy: the _redirects/vercel.json files proxy /fenaura/* in prod - no code changes.\n');
249
+ })();
250
+
251
+ }
252
+
253
+ main().catch((e) => { console.error(e.message); process.exit(1); });
package/package.json CHANGED
@@ -1,6 +1,31 @@
1
1
  {
2
2
  "name": "fenaura-auth-init",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.6",
4
+ "description": "Set up Fenaura same-domain auth proxy in one command",
5
+ "keywords": [
6
+ "fenaura",
7
+ "baas",
8
+ "auth",
9
+ "proxy",
10
+ "init",
11
+ "vite",
12
+ "nextjs",
13
+ "vercel"
14
+ ],
15
+ "author": "agah enoch wesoamo <agahenock88@gmail.com>",
16
+ "bin": {
17
+ "fenaura-auth-init": "./bin/init.js"
18
+ },
19
+ "files": [
20
+ "bin/init.js",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "license": "MIT",
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "engines": {
29
+ "node": ">=18"
30
+ }
31
+ }