Development environment setup#6
Open
DealPatrol wants to merge 9 commits into
Open
Conversation
- Add @neondatabase/serverless to package.json (was imported but missing) - Add @stack-auth/nextjs local stub for auth mock in local dev - Add pg Pool-based 'db' export to lib/db.ts (used by API routes) - Make 'sql' export use pg Pool for local PostgreSQL compatibility Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
- Add @stack-auth/nextjs stub module with server/client exports - Add ESLint flat config (eslint.config.mjs) with basic rules - Add AGENTS.md with Cursor Cloud specific instructions - Add next-env.d.ts (auto-generated by Next.js) - Update tsconfig.json (auto-updated by Next.js) Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
Standalone CLI tool that scans codebases for env vars, API routes, and service dependencies. Also published as its own repo at: https://github.com/DealPatrol/env-agent-finder Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Scanner now captures actual values from .env files - Also reads live process.env values at scan time - --show-values shows masked values (first 4 + last 4 chars visible) - --unmask reveals full raw values - Values section and source file shown in all formats (terminal, json, md) - Default mode unchanged (summary table, no values) Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
New provisioner module that: - Scans project to discover all needed env vars from code + dependencies - Auto-generates secrets (NEXTAUTH_SECRET, JWT_SECRET, etc.) - Auto-generates local database URLs (PostgreSQL, MySQL, MongoDB, Redis) - Auto-generates app URLs for local dev - Preserves existing .env values (never overwrites) - Interactive mode (--setup): walks through each service with step-by-step signup instructions and prompts for API keys - Non-interactive mode (--auto): auto-generates only, skips prompts - Writes final grouped .env.local with service-labeled sections - Supports 17+ services with signup guides (Stripe, OpenAI, etc.) Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
- Node.js http server (zero deps) on port 4800 - Single-page dark-themed app (app.html) - Scan any project by entering its path - Visual display of env vars, services, API routes - Auto-fill secrets button generates values in-browser - Download .env.local or save directly to project - New 'npm start' / 'npm run app' script to launch Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
- public/index.html: client-side scanner with file upload + GitHub URL modes - vercel.json: static site deploy config - Works entirely in browser, no server needed Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
- --grab mode: opens real browser for each service, navigates to API keys page, extracts values or guides user through getting them - Grabbers for: Stripe, OpenAI, Anthropic, Supabase, Vercel, Clerk - License key system: --generate-key, --activate, --deactivate, --license - Grab mode is Pro-only (requires license), scan/setup remain free - Puppeteer as optional dependency (only needed for --grab) Co-authored-by: DealPatrol <DealPatrol@users.noreply.github.com>
Owner
Author
|
@copilot resolve the merge conflicts in this pull request |
Co-authored-by: DealPatrol <118781133+DealPatrol@users.noreply.github.com>
Contributor
Resolved and pushed in commit Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set up the TaskFlow development environment and integrate the new
env-agent-finderCLI tool.The TaskFlow app's local development environment required several fixes, including creating a local stub for
@stack-auth/nextjs, adaptinglib/db.tsto work with local PostgreSQL, and resolving build issues related toneon()API changes anddbvssqlexports. Theenv-agent-finderCLI tool was created as a standalone utility to scan codebases for environment variables, API endpoints, and service dependencies, and is included in this project while also being published to a separate GitHub repository.