{"_id":"@4good/init-iam","name":"@4good/init-iam","dist-tags":{"latest":"2.8.20"},"versions":{"2.8.20":{"name":"@4good/init-iam","version":"2.8.20","description":"The setup wizard for Stack. https://authentication.4gd.ai","main":"dist/index.js","type":"module","bin":{"init-iam":"dist/index.js"},"scripts":{"clean":"rimraf test-run-output && rimraf node_modules && rimraf dist","build":"tsup","dev":"tsup --watch","lint":"eslint --ext .tsx,.ts .","typecheck":"tsc --noEmit","init-stack":"node dist/index.js","init-stack:local":"IAM_NEXT_INSTALL_PACKAGE_NAME_OVERRIDE=../../stack IAM_JS_INSTALL_PACKAGE_NAME_OVERRIDE=../../js node dist/index.js","test-run":"pnpm run build && pnpm run test-run-js && pnpm run test-run-node && pnpm run test-run-next && pnpm run test-run-neon && pnpm run test-run-no-browser","test-run:manual":"pnpm run build && pnpm run test-run-js:manual && pnpm run test-run-node:manual && pnpm run test-run-next:manual && pnpm run test-run-neon:manual","ensure-neon":"grep -q '\"@neondatabase/serverless\"' ./test-run-output/package.json && echo 'Initialized Neon successfully!'","test-run-neon":"pnpm run test-run-node --neon && pnpm run ensure-neon","test-run-neon:manual":"pnpm run test-run-node:manual --neon && pnpm run ensure-neon","test-run-no-browser":"rimraf test-run-output && mkdir test-run-output && cd test-run-output && npm init --init-author-name example-author --init-license UNLICENSED --init-author-url http://example.com --init-module test-run-output --init-version 1.0.0 -y && cd .. && IAM_DISABLE_INTERACTIVE=true pnpm run init-stack:local test-run-output --js --server --npm --no-browser","test-run-node:manual":"rimraf test-run-output && mkdir test-run-output && cd test-run-output && npm init && cd .. && pnpm run init-stack:local test-run-output","test-run-node":"rimraf test-run-output && mkdir test-run-output && cd test-run-output && npm init --init-author-name example-author --init-license UNLICENSED --init-author-url http://example.com --init-module test-run-output --init-version 1.0.0 -y && cd .. && IAM_DISABLE_INTERACTIVE=true pnpm run init-stack:local test-run-output --js --server --npm","test-run-js:manual":"rimraf test-run-output && npx -y sv create test-run-output --no-install && pnpm run init-stack:local test-run-output","test-run-js":"rimraf test-run-output && npx -y sv create test-run-output --template minimal --types ts --no-add-ons --no-install && IAM_DISABLE_INTERACTIVE=true pnpm run init-stack:local test-run-output --js --client --npm","test-run-next:manual":"rimraf test-run-output && npx -y create-next-app@latest test-run-output && pnpm run init-stack:local test-run-output","test-run-next":"rimraf test-run-output && npx -y create-next-app@latest test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && IAM_DISABLE_INTERACTIVE=true pnpm run init-stack:local test-run-output"},"homepage":"https://authentication.4gd.ai","keywords":[],"author":"","license":"MIT","dependencies":{"@4good/iam-shared":"workspace:*","commander":"^13.1.0","inquirer":"^9.2.19","open":"^10.1.0","posthog-node":"^4.1.0"},"devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"20.17.6","rimraf":"^6.0.1","tsup":"^8.4.0","typescript":"5.3.3"},"_id":"@4good/init-iam@2.8.20","gitHead":"a3291cbfb83c93b731af6a64f05f1a1bcf01786b","types":"./dist/index.d.ts","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-rV0qw/qKtrQH4HTjh+HSh9QTN0aLYoBp82zh3WmZyYQxIvBKPnxXrOGs8kYVEMovb53PoS3LZFt6mM7VcY0I+w==","shasum":"f7b4c621dff0f07fdcd32a528d36bf06992749ea","tarball":"https://registry.npmjs.org/@4good/init-iam/-/init-iam-2.8.20.tgz","fileCount":7,"unpackedSize":104560,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCu3yBdxf1OKHmY31gwFB7fTVFaCVwfKr+hjyllhY+ngAIhAKss+vX5PCKjXayyuJ2y0h3V1Rq5rdo1/58ytELczR7B"}]},"_npmUser":{"name":"adityaharishch","email":"adithyah@4gd.ai"},"directories":{},"maintainers":[{"name":"adityaharishch","email":"adithyah@4gd.ai"},{"name":"builtforgood-4gd","email":"implementation@4gd.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/init-iam_2.8.20_1753173103858_0.7142827058504599"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-22T08:31:43.733Z","2.8.20":"2025-07-22T08:31:44.055Z","modified":"2025-07-22T08:31:44.288Z"},"maintainers":[{"name":"adityaharishch","email":"adithyah@4gd.ai"},{"name":"builtforgood-4gd","email":"implementation@4gd.ai"}],"description":"The setup wizard for Stack. https://authentication.4gd.ai","homepage":"https://authentication.4gd.ai","keywords":[],"license":"MIT","readme":"# 4good IAM Initialization Tool\n\nThis package provides a command-line tool to initialize 4good IAM in your project.\n\n## Usage\n\n```bash\nnpx init-stack [project-path] [options]\n```\n\n## Options\n\n- `--help`, `-h`: Show help message\n- `--dry-run`: Run without making any changes\n- `--neon`: Use Neon database\n- `--js`: Initialize for JavaScript project\n- `--next`: Initialize for Next.js project\n- `--npm`: Use npm as package manager\n- `--yarn`: Use yarn as package manager\n- `--pnpm`: Use pnpm as package manager\n- `--bun`: Use bun as package manager\n- `--client`: Initialize client-side only\n- `--server`: Initialize server-side only\n- `--no-browser`: Don't open browser for environment variable setup\n\n## Environment Variables\n\n- `IAM_DISABLE_INTERACTIVE`: Set to any value to disable interactive prompts. Useful for CI/CD environments.\n\n## Examples\n\nInitialize 4good IAM in a Next.js project without opening the browser:\n\n```bash\nnpx init-stack --next --no-browser\n```\n\nInitialize 4good IAM in a JavaScript project with npm:\n\n```bash\nnpx init-stack --js --npm\n```\n\nFor more information, please visit [4good IAM Documentation](https://docs.authentication.4gd.ai/getting-started/setup).\n","readmeFilename":"README.md","_rev":"1-466594e747c8aced8b0abf1b70bfea4b"}