UNPKG

@capgo/cli

Version:
177 lines (176 loc) • 9.04 kB
{ "name": "@capgo/cli", "type": "module", "version": "7.122.4", "description": "A CLI to upload to capgo servers", "author": "Martin martin@capgo.app", "license": "Apache 2.0", "homepage": "https://github.com/Cap-go/capgo/tree/main/cli#readme", "repository": { "type": "git", "url": "git+https://github.com/Cap-go/capgo.git", "directory": "cli" }, "bugs": { "url": "https://github.com/Cap-go/capgo/issues" }, "keywords": [ "appflow alternative", "ionic", "capacitor", "auto update", "live update", "capgo", "cli", "upload", "capgo-cli", "sdk", "tanstack-intent" ], "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js" }, "./sdk": { "types": "./dist/src/sdk.d.ts", "import": "./dist/src/sdk.js" } }, "main": "dist/index.js", "types": "dist/src/index.d.ts", "bin": { "capgo": "dist/index.js" }, "files": [ "!skills/_artifacts", "dist", "skills" ], "engines": { "npm": ">=8.0.0", "node": ">=20.0.0" }, "scripts": { "build": "tsc && bun build.mjs", "dev": "NODE_ENV=development ncc build", "no-debug": "node dist/index.js", "dev-build": "SUPA_DB=development ncc build", "pack": "pkg", "types": "bunx --bun supabase gen types typescript --project-id=xvwzpoazmxkqosrdewyv > src/types/supabase.types.ts", "typecheck": "tsgo --project tsconfig.tsgo.json --noEmit", "lint": "bun run lint:ox", "lint:ox": "oxlint --config ../.oxlintrc.json src", "lint:fix": "oxlint --config ../.oxlintrc.json --fix src", "check-posix-paths": "node test/check-posix-paths.js", "generate-docs": "node dist/index.js generate-docs README.md", "test:bundle": "bun test/test-bundle.mjs", "test:functional": "bun test/test-functional.mjs", "test:semver": "bun test/test-semver-validation.mjs", "test:version-edge-cases": "bun test/test-version-validation.mjs", "test:regex": "bun test/test-regex-validation.mjs", "test:upload": "bun test/test-upload-validation.mjs", "test:fail-on-incompatible": "bun test/test-fail-on-incompatible.mjs", "test:credentials": "bun test/test-credentials.mjs", "test:credentials-validation": "bun test/test-credentials-validation.mjs", "test:android-service-account-validation": "bun test/test-android-service-account-validation.mjs", "test:build-zip-filter": "bun test/test-build-zip-filter.mjs", "test:checksum": "bun test/test-checksum-algorithm.mjs", "test:build-needed": "bun test/test-build-needed.mjs", "test:ci-prompts": "bun test/test-ci-prompts.mjs", "test:ci-secrets": "bun test/test-ci-secrets.mjs", "test:android-onboarding-progress": "bun test/test-android-onboarding-progress.mjs", "test:onboarding-telemetry": "bun test/test-onboarding-telemetry.mjs", "test:v2-event-migration": "bun test/test-v2-event-migration.mjs", "test:analytics": "bun test/test-analytics.mjs", "test:analytics-error-category": "bun test/test-analytics-error-category.mjs", "test:analytics-org-resolver": "bun test/test-analytics-org-resolver.mjs", "test:supabase-perf": "bun test/test-supabase-perf.mjs", "test:mcp-analytics": "bun test/test-mcp-analytics.mjs", "test:app-created-source": "bun test/test-app-created-source.mjs", "test:doctor-analytics": "bun test/test-doctor-analytics.mjs", "test:posthog-exception": "bun test/test-posthog-exception.mjs", "test:onboarding-recovery": "bun test/test-onboarding-recovery.mjs", "test:onboarding-progress": "bun test/test-onboarding-progress.mjs", "test:onboarding-run-targets": "bun test/test-onboarding-run-targets.mjs", "test:run-device-command": "bun test/test-run-device-command.mjs", "test:init-app-conflict": "bun test/test-init-app-conflict.mjs", "test:init-guardrails": "bun test/test-init-guardrails.mjs", "test:prompt-preferences": "bun test/test-prompt-preferences.mjs", "test:esm-sdk": "node test/test-sdk-esm.mjs", "test:mcp": "node test/test-mcp.mjs", "test:version-detection": "node test/test-get-installed-version.mjs", "test:version-detection:setup": "./test/fixtures/setup-test-projects.sh", "test:platform-paths": "bun test/test-platform-paths.mjs", "test:payload-split": "bun test/test-payload-split.mjs", "test:macos-signing": "bun test/test-macos-signing.mjs", "test:apple-api-import-helpers": "bun test/test-apple-api-import-helpers.mjs", "test:manifest-path-encoding": "bun test/test-manifest-path-encoding.mjs", "test": "bun run build && bun run test:version-detection:setup && bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:fail-on-incompatible && bun run test:credentials && bun run test:credentials-validation && bun run test:android-service-account-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:build-needed && bun run test:ci-prompts && bun run test:ci-secrets && bun run test:android-onboarding-progress && bun run test:onboarding-telemetry && bun run test:v2-event-migration && bun run test:analytics && bun run test:analytics-error-category && bun run test:analytics-org-resolver && bun run test:supabase-perf && bun run test:mcp-analytics && bun run test:app-created-source && bun run test:doctor-analytics && bun run test:posthog-exception && bun run test:build-platform-selection && bun run test:onboarding-recovery && bun run test:onboarding-progress && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && bun run test:init-guardrails && bun run test:prompt-preferences && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split && bun run test:manifest-path-encoding && bun run test:macos-signing && bun run test:apple-api-import-helpers && bun run test:ai-log-capture && bun run test:ai-analyze-flow && bun run test:ai-render-markdown && bun run test:ai-onboarding-mode && bun run test:ai-fit && bun run test:platform-layout && bun run test:frame-fit && bun run test:onboarding-min-size && bun run test:min-size-gate && bun run test:shell-size-gate && bun run test:build-log-sanitize && bun run test:build-output-viewport && bun run test:diff-viewer-viewport && bun run test:build-complete-exit", "test:build-platform-selection": "bun test/test-build-platform-selection.mjs", "test:ai-log-capture": "bun test/test-ai-log-capture.mjs", "test:ai-analyze-flow": "bun test/test-ai-analyze-flow.mjs", "test:ai-render-markdown": "bun test/test-ai-render-markdown.mjs", "test:ai-onboarding-mode": "bun test/test-ai-onboarding-mode.mjs", "test:ai-fit": "bun test/test-ai-fit.mjs", "test:platform-layout": "bun test/test-platform-layout.mjs", "test:frame-fit": "bun test/run-frame-fit.mjs", "test:onboarding-min-size": "bun test/test-onboarding-min-size.mjs", "test:min-size-gate": "bun test/test-min-size-gate.mjs", "test:shell-size-gate": "bun test/test-shell-size-gate.mjs", "test:build-log-sanitize": "bun test/test-build-log-sanitize.mjs", "test:build-output-viewport": "bun test/test-build-output-viewport.mjs", "test:diff-viewer-viewport": "bun test/test-diff-viewer-viewport.mjs", "test:build-complete-exit": "bun test/test-build-complete-exit.mjs" }, "dependencies": { "@inkjs/ui": "^2.0.0", "ink": "^7.0.4", "ink-spinner": "^5.0.0", "jsonwebtoken": "^9.0.3", "node-forge": "^1.4.0", "qrcode": "^1.5.4", "react": "^19.2.6" }, "devDependencies": { "@antfu/eslint-config": "^9.0.0", "@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client@0.9.6", "@capacitor/cli": "^8.3.4", "@capgo/find-package-manager": "^0.0.18", "@clack/prompts": "^1.4.0", "@modelcontextprotocol/sdk": "^1.29.0", "@sauber/table": "npm:@jsr/sauber__table", "@std/semver": "npm:@jsr/std__semver@1.0.8", "@supabase/supabase-js": "^2.106.2", "@tanstack/intent": "^0.0.41", "@types/adm-zip": "^0.5.8", "@types/jsonwebtoken": "^9.0.10", "@types/node": "^25.9.1", "@types/node-forge": "^1.3.14", "@types/prettyjson": "^0.0.33", "@types/qrcode": "^1.5.6", "@types/react": "^19.2.15", "@types/tmp": "^0.2.6", "@types/ws": "^8.18.1", "@typescript/native-preview": "7.0.0-dev.20260526.1", "@vercel/ncc": "^0.38.4", "@xterm/headless": "^6.0.0", "adm-zip": "^0.5.17", "ci-info": "^4.4.0", "commander": "^14.0.3", "eslint": "^10.4.0", "git-format-staged": "4.0.1", "husky": "^9.1.7", "is-wsl": "^3.1.1", "micromatch": "^4.0.8", "open": "^11.0.0", "oxlint": "^1.67.0", "partysocket": "^1.1.19", "prettyjson": "^1.2.5", "tmp": "^0.2.6", "tus-js-client": "^4.3.1", "typescript": "^6.0.3", "ws": "^8.21.0", "zod": "^4.4.3" } }