@somewhere-cloud/cli 0.38.127 → 0.38.129

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.
@@ -65,6 +65,11 @@ export interface OpenOptions {
65
65
  * signUp/signIn/verify/data do it for the page they get. */
66
66
  preview?: boolean | string;
67
67
  }
68
+ /** Changed files split into the app's own and the package manifests (a note, not a refusal). */
69
+ export declare function splitManifests(changed: string[]): {
70
+ app: string[];
71
+ manifests: string[];
72
+ };
68
73
  /** Published files of this folder that differ from what it last deployed (or, for `preview`, last
69
74
  * saved to its open preview), or null when unknown. */
70
75
  export declare function undeployedChanges(root: string, projectId: string, preview?: boolean): {
@@ -124,7 +129,7 @@ export declare class AppTest {
124
129
  * check that has several steps. `somewhere test --failed` reruns the whole script. */
125
130
  check(label: string, work: (at: MarkStep) => unknown | Promise<unknown>, options?: CheckOptions): Promise<boolean>;
126
131
  /** Confirm the release did not change, delete this script's sign-up accounts by exact id, write
127
- * the result once, print one summary, and set a non-zero exit code if anything failed. */
132
+ * the result once, print one summary, and set a non-zero exit code if anything failed or was skipped. */
128
133
  finish(): Promise<{
129
134
  passed: number;
130
135
  failed: number;
@@ -1,5 +1,5 @@
1
1
  import type { Locator, Page } from '@playwright/test';
2
- import { type TestControl } from './test-control.js';
2
+ import type { TestControl } from './test-control.js';
3
3
  /** An ordinary account made through the app's own sign-up form. `verified` is true once its
4
4
  * address was verified with a captured code (verify(), or a project that requires email codes). */
5
5
  export interface Person {
@@ -33,9 +33,6 @@ export interface TestControl {
33
33
  createManagedUser?(): Promise<ManagedUser>;
34
34
  deleteManagedUser?(id: string): Promise<string | null>;
35
35
  }
36
- export declare class TestInboxNeedsClaim extends Error {
37
- constructor();
38
- }
39
36
  export declare function productionControl(client: ApiClient, target: TestTarget): TestControl;
40
37
  /** The production control the runner and fixtures always used: your sign-in, the live release. */
41
38
  export declare function openProductionControl(projectId: string, target?: TestTarget): Promise<TestControl>;
@@ -2,8 +2,6 @@
2
2
  * with no global install (the starter pins @somewhere-cloud/cli). */
3
3
  export declare const DEPLOY_COMMAND = "npx @somewhere-cloud/cli deploy";
4
4
  export declare const TEST_COMMAND = "npx @somewhere-cloud/cli test";
5
- export declare const TEST_INBOX_CLAIM_REASON = "needs a claimed app: run somewhere claim";
6
- export declare const TEST_INBOX_CLAIM_NEXT = "Next: run somewhere claim, open its link, then run somewhere test again.";
7
5
  export interface CheckFailure {
8
6
  expected: string;
9
7
  happened: string;
@@ -13,7 +11,7 @@ export interface CheckFailure {
13
11
  export interface ReportCheck {
14
12
  name: string;
15
13
  ok: boolean;
16
- skipped?: 'after-failure' | 'needs-claim' | 'prerequisite';
14
+ skipped?: 'after-failure' | 'prerequisite';
17
15
  error?: string;
18
16
  failure?: CheckFailure;
19
17
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@somewhere-cloud/cli",
3
- "version": "0.38.127",
3
+ "version": "0.38.129",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@somewhere-cloud/cli",
9
- "version": "0.38.127",
9
+ "version": "0.38.129",
10
10
  "license": "MIT",
11
11
  "bin": {
12
12
  "cli": "bin/somewhere.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@somewhere-cloud/cli",
3
- "version": "0.38.127",
3
+ "version": "0.38.129",
4
4
  "description": "CLI for somewhere.cloud — auth, projects, deploy, pull, promote, db, logs, env, MCP bridge.",
5
5
  "keywords": [
6
6
  "somewhere",
@@ -67,5 +67,5 @@
67
67
  },
68
68
  "bundleDependencies": [],
69
69
  "bundledDependencies": [],
70
- "gitHead": "384e655a48f97e932f97024c79f6c3e1dfb80bee"
70
+ "gitHead": "2a4bc4c4e573e82f5ac933597035bcadd2fe1ebf"
71
71
  }