@capgo/cli 7.93.4 → 7.94.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.93.4",
4
+ "version": "7.94.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
8
- "homepage": "https://github.com/Cap-go/CLI#readme",
8
+ "homepage": "https://github.com/Cap-go/capgo/tree/main/cli#readme",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/Cap-go/CLI.git"
11
+ "url": "git+https://github.com/Cap-go/capgo.git",
12
+ "directory": "cli"
12
13
  },
13
14
  "bugs": {
14
- "url": "https://github.com/Cap-go/CLI/issues"
15
+ "url": "https://github.com/Cap-go/capgo/issues"
15
16
  },
16
17
  "keywords": [
17
18
  "appflow alternative",
@@ -56,9 +57,10 @@
56
57
  "no-debug": "node dist/index.js",
57
58
  "dev-build": "SUPA_DB=development ncc build",
58
59
  "pack": "pkg",
59
- "types": "npx --yes supabase gen types typescript --project-id=xvwzpoazmxkqosrdewyv > src/types/supabase.types.ts",
60
+ "types": "bunx --bun supabase gen types typescript --project-id=xvwzpoazmxkqosrdewyv > src/types/supabase.types.ts",
60
61
  "typecheck": "tsc --noEmit",
61
- "lint": "eslint \"src/**/*.ts\" --fix",
62
+ "lint": "eslint \"src/**/*.ts\"",
63
+ "lint:fix": "eslint \"src/**/*.ts\" --fix",
62
64
  "check-posix-paths": "node test/check-posix-paths.js",
63
65
  "generate-docs": "node dist/index.js generate-docs README.md",
64
66
  "test:bundle": "bun test/test-bundle.mjs",
@@ -83,7 +85,7 @@
83
85
  "test:version-detection:setup": "./test/fixtures/setup-test-projects.sh",
84
86
  "test:platform-paths": "bun test/test-platform-paths.mjs",
85
87
  "test:payload-split": "bun test/test-payload-split.mjs",
86
- "test": "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:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:onboarding-recovery && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && 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"
88
+ "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:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:onboarding-recovery && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && 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"
87
89
  },
88
90
  "devDependencies": {
89
91
  "@antfu/eslint-config": "^7.0.0",
@@ -3,6 +3,8 @@ import type { Database } from '../types/supabase.types';
3
3
  interface CheckVersionOptions {
4
4
  silent?: boolean;
5
5
  autoUnlink?: boolean;
6
+ channelName?: string;
7
+ requireMatch?: boolean;
6
8
  }
7
9
  export declare function checkVersionNotUsedInChannel(supabase: SupabaseClient<Database>, appid: string, versionData: Database['public']['Tables']['app_versions']['Row'], options?: CheckVersionOptions): Promise<void>;
8
10
  interface FindUnknownOptions {
@@ -3,7 +3,7 @@ import type { OptionsUpload } from './upload_interface';
3
3
  import { createSupabaseClient } from '../utils';
4
4
  type SupabaseType = Awaited<ReturnType<typeof createSupabaseClient>>;
5
5
  export type { UploadBundleResult };
6
- export declare function getDefaultUploadChannel(appId: string, supabase: SupabaseType, hostWeb: string): Promise<string | null>;
6
+ export declare function getDefaultUploadChannel(appId: string, supabase: SupabaseType, hostWeb: string): Promise<string>;
7
7
  export declare function uploadBundleInternal(preAppid: string, options: OptionsUpload, silent?: boolean): Promise<UploadBundleResult>;
8
8
  export declare function uploadBundle(appid: string, options: OptionsUpload): Promise<{
9
9
  success: boolean;