mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E API Tests with external source of truth / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Dev Environment Test With Custom Base Port / restart-dev-and-test-with-custom-base-port (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
59 lines
4.7 KiB
JSON
59 lines
4.7 KiB
JSON
{
|
|
"name": "@stackframe/init-stack",
|
|
"version": "2.8.54",
|
|
"description": "The setup wizard for Stack. https://stack-auth.com",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"bin": "./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": "STACK_INIT_API_BASE_URL=http://localhost:${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}02 STACK_NEXT_INSTALL_PACKAGE_NAME_OVERRIDE=../../stack STACK_JS_INSTALL_PACKAGE_NAME_OVERRIDE=../../js STACK_REACT_INSTALL_PACKAGE_NAME_OVERRIDE=../../react 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 .. && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --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 .. && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --server --npm --no-browser",
|
|
"test-run-js:manual": "rimraf test-run-output && pnpx -y sv create test-run-output --no-install && pnpm run init-stack:local test-run-output",
|
|
"test-run-js": "rimraf test-run-output && pnpx -y sv create test-run-output --template minimal --types ts --no-add-ons --no-install && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --client --npm --no-browser",
|
|
"test-run-next:manual": "rimraf test-run-output && pnpx -y create-next-app@latest test-run-output && pnpm run init-stack:local test-run-output",
|
|
"test-run-next": "rimraf test-run-output && pnpx -y create-next-app@latest test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --no-browser",
|
|
"test-run-keys-next": "rimraf test-run-output && pnpx -y create-next-app@latest test-run-output --app --ts --no-src-dir --tailwind --use-npm --eslint --import-alias '##@#/*' --turbopack && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --project-id my-project-id --publishable-client-key my-publishable-client-key",
|
|
"test-run-keys-js": "rimraf test-run-output && pnpx -y sv create test-run-output --template minimal --types ts --no-add-ons --no-install && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --js --client --npm --project-id my-project-id --publishable-client-key my-publishable-client-key",
|
|
"test-run-react": "rimraf test-run-output && pnpx -y create-vite@latest test-run-output --template react-ts && pnpm run init-stack:local test-run-output --on-question error --no-warn-uncommitted-changes --no-browser --npm",
|
|
"test-run-react:manual": "rimraf test-run-output && pnpx -y create-vite@latest test-run-output --template react-ts && pnpm run init-stack:local test-run-output --react"
|
|
},
|
|
"files": [
|
|
"README.md",
|
|
"dist",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"homepage": "https://stack-auth.com",
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@stackframe/stack-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"
|
|
},
|
|
"packageManager": "pnpm@10.23.0"
|
|
}
|