@tinacms/cli 1.9.7 → 1.9.8

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.
@@ -20,8 +20,11 @@ export declare class BuildCommand extends BaseCommand {
20
20
  catch(error: any): Promise<void>;
21
21
  execute(): Promise<number | void>;
22
22
  checkClientInfo(configManager: ConfigManager, apiURL: string, previewBaseBranch?: string): Promise<{
23
+ branchKnown: boolean;
23
24
  hasUpstream: boolean;
24
25
  timestamp: number;
26
+ detectedBotBranch: boolean;
27
+ defaultBranch: string | undefined;
25
28
  }>;
26
29
  syncProject(configManager: ConfigManager, apiURL: string, options?: {
27
30
  upstreamBranch?: string;
@@ -2,4 +2,4 @@
2
2
 
3
3
  */
4
4
  import http from 'node:http';
5
- export declare const gqlServer: (database: any, verbose: boolean) => Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>>;
5
+ export declare const gqlServer: (database: any, verbose: boolean) => Promise<http.Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>>;
@@ -1,3 +1,4 @@
1
+ export declare function timeout(ms: any): Promise<void>;
1
2
  export declare function sleepAndCallFunc<T>({ fn, ms, }: {
2
3
  fn: () => Promise<T>;
3
4
  ms: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
- "version": "1.9.7",
3
+ "version": "1.9.8",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "@types/prompts": "^2.4.9",
42
42
  "@types/yup": "^0.32.0",
43
43
  "jest": "^29.7.0",
44
- "@tinacms/scripts": "1.3.4"
44
+ "@tinacms/scripts": "1.3.5"
45
45
  },
46
46
  "dependencies": {
47
47
  "@graphql-codegen/core": "^2.6.8",
@@ -89,12 +89,12 @@
89
89
  "vite": "^4.5.9",
90
90
  "yup": "^1.6.1",
91
91
  "zod": "^3.24.2",
92
- "@tinacms/app": "2.2.7",
93
- "@tinacms/graphql": "1.5.17",
92
+ "@tinacms/app": "2.2.8",
93
+ "@tinacms/graphql": "1.5.18",
94
94
  "@tinacms/metrics": "1.0.9",
95
- "@tinacms/search": "1.0.44",
96
- "@tinacms/schema-tools": "1.7.3",
97
- "tinacms": "2.7.7"
95
+ "@tinacms/schema-tools": "1.7.4",
96
+ "@tinacms/search": "1.0.45",
97
+ "tinacms": "2.7.8"
98
98
  },
99
99
  "publishConfig": {
100
100
  "registry": "https://registry.npmjs.org"