| 1 | { |
| 2 | "name": "@alchemy.run/monorepo", |
| 3 | "version": "0.0.0", |
| 4 | "private": true, |
| 5 | "license": "Apache-2.0", |
| 6 | "repository": { |
| 7 | "type": "git", |
| 8 | "url": "https://github.com/alchemy-run/alchemy" |
| 9 | }, |
| 10 | "type": "module", |
| 11 | "scripts": { |
| 12 | "audit:service": "bun scripts/audit-service.ts", |
| 13 | "bench:containers": "cd benchmark/container && bun run bench", |
| 14 | "build": "bun tsc -b && pnpm --filter ./website --filter './packages/*' build && bun lint:providers", |
| 15 | "build:clean": "bun clean . && pnpm install && bun run build && bun download:env", |
| 16 | "build:clean:shallow": "bun clean:shallow . && bun run build", |
| 17 | "build:cloudflare-packages": "bun tsc -b submodules/distilled/packages/cloudflare/tsconfig.json && turbo run build --filter=@alchemy.run/cloudflare-runtime --filter=@alchemy.run/frontend-frameworks --filter=@alchemy.run/cloudflare-test-tools", |
| 18 | "build:packages": "bun tsc -b && pnpm --filter './packages/*' build", |
| 19 | "build:pkg": "turbo run build --filter=alchemy... --filter=@alchemy.run/better-auth --filter=@alchemy.run/cloudflare-runtime --filter=@alchemy.run/frontend-frameworks --filter=@alchemy.run/node-utils --filter=@alchemy.run/floci --filter=@alchemy.run/pkg", |
| 20 | "clean": "git clean -fqdx -e .env", |
| 21 | "clean:shallow": "rm -rf alchemy/*.tgz && bun tsc -b --clean", |
| 22 | "clear:state": "alchemy state unsafe nuke --config ./stacks/nuke.ts", |
| 23 | "deploy:github": "doppler run -c prod --project alchemy-v2 -- bun alchemy deploy ./stacks/github.ts --profile admin", |
| 24 | "deploy:otel": "doppler run -c dev --project alchemy-v2 -- bun alchemy deploy ./stacks/otel.ts", |
| 25 | "deploy:otel:prod": "bun deploy:otel --profile prod --stage prod", |
| 26 | "deploy:website": "cd ./website && bun run build:reference && bun alchemy deploy", |
| 27 | "deploy:website:prod": "bun deploy:website --stage prod --profile prod", |
| 28 | "destroy:github": "doppler run -c dev --project alchemy-v2 -- bun alchemy destroy ./stacks/github.ts --profile admin", |
| 29 | "destroy:otel": "doppler run -c dev --project alchemy-v2 -- bun alchemy destroy ./stacks/otel.ts --profile admin", |
| 30 | "destroy:otel:prod": "bun destroy:otel --profile prod --stage prod", |
| 31 | "destroy:website": "cd ./website && bun alchemy destroy", |
| 32 | "destroy:website:prod": "bun destroy:website --stage prod --profile prod", |
| 33 | "dev": "tsc -b -w & pnpm --filter alchemy dev", |
| 34 | "dev:website": "cd ./website && bun astro dev", |
| 35 | "docs:build": "pnpm --dir website docs:build", |
| 36 | "docs:check-jsdoc": "bun ./scripts/fix-api-jsdocs.ts --check", |
| 37 | "docs:check": "pnpm --dir website docs:check", |
| 38 | "docs:fix-jsdoc": "bun ./scripts/fix-api-jsdocs.ts", |
| 39 | "docs:gen": "bun ./scripts/generate-api-reference.ts", |
| 40 | "download:cfn": "bun scripts/generate-cfn-docs.ts", |
| 41 | "download:env": "doppler secrets download --project alchemy-v2 --config dev --no-file --format env > .env", |
| 42 | "download:external": "bun download:env && bun download:cfn && bun download:terraform", |
| 43 | "floci:build": "docker build -t floci:dev -f submodules/floci/docker/Dockerfile submodules/floci", |
| 44 | "floci:build:native": "docker build -t floci:dev -f submodules/floci/docker/Dockerfile.native submodules/floci", |
| 45 | "floci:dev": "cd submodules/floci && mvn quarkus:dev", |
| 46 | "format": "oxfmt ./packages ./website", |
| 47 | "format:check": "bun run format ./packages ./website -- --check", |
| 48 | "install:clean": "rm -rf node_modules examples/**/node_modules alchemy/node_modules && pnpm install", |
| 49 | "lint:providers": "bun scripts/lint-providers.ts", |
| 50 | "logs:otel": "doppler run -c dev --project alchemy-v2 -- bun alchemy logs ./stacks/otel.ts", |
| 51 | "logs:otel:prod": "bun logs:otel --profile prod --stage prod", |
| 52 | "nuke": "bash scripts/nuke.sh", |
| 53 | "nuke:gcp": "bash scripts/nuke-gcp.sh", |
| 54 | "nuke:local": "bash scripts/nuke-local.sh", |
| 55 | "prepare": "husky && effect-tsgo patch && bun build:cloudflare-packages", |
| 56 | "publish:packages": "pnpm publish --recursive --filter './packages/*' --access public", |
| 57 | "setup": "effect-tsgo patch && bun run download:external", |
| 58 | "sync:submodules": "git submodule sync --recursive && git submodule update --init --recursive", |
| 59 | "test": "cd ./packages/alchemy && bun alchemy-test", |
| 60 | "test:aws:floci": "bun scripts/test-aws-floci.ts", |
| 61 | "test:cloudflare-packages": "turbo run test --filter=@alchemy.run/cloudflare-runtime --filter=@alchemy.run/frontend-frameworks --filter='./packages/frontend-frameworks/fixtures/*'", |
| 62 | "test:cross-version": "bun run test/cross-version-test/run.ts", |
| 63 | "test:dev": "cd ./examples/dev-stress && bun test", |
| 64 | "test:examples": "bun scripts/test-examples.ts", |
| 65 | "typecheck:cloudflare-packages": "turbo run typecheck --filter=@alchemy.run/cloudflare-runtime --filter=@alchemy.run/frontend-frameworks --filter=@alchemy.run/cloudflare-test-tools", |
| 66 | "validate:publish-packages": "bun scripts/validate-publish-packages.ts" |
| 67 | }, |
| 68 | "devDependencies": { |
| 69 | "@alchemy.run/pkg": "workspace:*", |
| 70 | "@distilled.cloud/aws": "workspace:*", |
| 71 | "@effect/language-service": "catalog:", |
| 72 | "@effect/platform-bun": "catalog:", |
| 73 | "@effect/platform-node": "catalog:", |
| 74 | "@effect/tsgo": "catalog:", |
| 75 | "@types/bun": "catalog:", |
| 76 | "@types/node": "catalog:", |
| 77 | "alchemy": "workspace:*", |
| 78 | "changelogithub": "catalog:", |
| 79 | "effect": "catalog:", |
| 80 | "husky": "catalog:", |
| 81 | "oxfmt": "catalog:", |
| 82 | "oxlint": "catalog:", |
| 83 | "turbo": "catalog:", |
| 84 | "typescript": "catalog:", |
| 85 | "typescript-api": "catalog:" |
| 86 | }, |
| 87 | "packageManager": "pnpm@11.25.0", |
| 88 | "devEngines": { |
| 89 | "runtime": [ |
| 90 | { |
| 91 | "name": "bun", |
| 92 | "version": "1.3.13", |
| 93 | "onFail": "warn" |
| 94 | }, |
| 95 | { |
| 96 | "name": "node", |
| 97 | "version": "24", |
| 98 | "onFail": "warn" |
| 99 | } |
| 100 | ] |
| 101 | } |
| 102 | } |