@tinacms/cli 0.0.0-e27c017-20250619233313 → 0.0.0-e48ff80-20251203000400

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.
@@ -1,4 +1,4 @@
1
- import type { TypeDefinitionNode, GraphQLSchema } from 'graphql';
1
+ import type { GraphQLSchema, DocumentNode } from 'graphql';
2
2
  import { ConfigManager } from '../config-manager';
3
3
  import type { TinaSchema } from '@tinacms/schema-tools';
4
4
  export declare const TINA_HOST = "content.tinajs.io";
@@ -12,10 +12,7 @@ export declare class Codegen {
12
12
  apiURL: string;
13
13
  localUrl: string;
14
14
  productionUrl: string;
15
- graphqlSchemaDoc: {
16
- kind: 'Document';
17
- definitions: TypeDefinitionNode[];
18
- };
15
+ graphqlSchemaDoc: DocumentNode;
19
16
  tinaSchema: TinaSchema;
20
17
  lookup: any;
21
18
  noClientBuildCache: boolean;
@@ -25,10 +22,7 @@ export declare class Codegen {
25
22
  queryDoc: string;
26
23
  fragDoc: string;
27
24
  isLocal: boolean;
28
- graphqlSchemaDoc: {
29
- kind: 'Document';
30
- definitions: TypeDefinitionNode[];
31
- };
25
+ graphqlSchemaDoc: DocumentNode;
32
26
  tinaSchema: TinaSchema;
33
27
  lookup: any;
34
28
  noClientBuildCache: boolean;
@@ -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 import("http").IncomingMessage, typeof import("http").ServerResponse>>;
5
+ export declare const gqlServer: (database: any, verbose: boolean) => Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>>;
@@ -0,0 +1,3 @@
1
+ /** Removes trailing slash from path. Separator to remove is chosen based on
2
+ * operating system. */
3
+ export declare function stripNativeTrailingSlash(p: string): string;
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
- "version": "0.0.0-e27c017-20250619233313",
3
+ "type": "module",
4
+ "version": "0.0.0-e48ff80-20251203000400",
4
5
  "main": "dist/index.js",
5
6
  "typings": "dist/index.d.ts",
6
7
  "files": [
@@ -37,11 +38,11 @@
37
38
  "@types/listr": "0.14.2",
38
39
  "@types/log4js": "^2.3.5",
39
40
  "@types/multer": "^1.4.12",
41
+ "@types/node": "^22.13.1",
40
42
  "@types/progress": "^2.0.7",
41
43
  "@types/prompts": "^2.4.9",
42
- "@types/yup": "^0.32.0",
43
44
  "jest": "^29.7.0",
44
- "@tinacms/scripts": "1.3.5"
45
+ "@tinacms/scripts": "1.4.1"
45
46
  },
46
47
  "dependencies": {
47
48
  "@graphql-codegen/core": "^2.6.8",
@@ -89,12 +90,12 @@
89
90
  "vite": "^4.5.9",
90
91
  "yup": "^1.6.1",
91
92
  "zod": "^3.24.2",
92
- "@tinacms/app": "0.0.0-e27c017-20250619233313",
93
- "@tinacms/metrics": "1.0.9",
94
- "@tinacms/graphql": "0.0.0-e27c017-20250619233313",
95
- "@tinacms/schema-tools": "0.0.0-e27c017-20250619233313",
96
- "@tinacms/search": "0.0.0-e27c017-20250619233313",
97
- "tinacms": "0.0.0-e27c017-20250619233313"
93
+ "@tinacms/app": "0.0.0-e48ff80-20251203000400",
94
+ "@tinacms/schema-tools": "2.0.0",
95
+ "@tinacms/metrics": "2.0.0",
96
+ "@tinacms/graphql": "2.0.0",
97
+ "tinacms": "0.0.0-e48ff80-20251203000400",
98
+ "@tinacms/search": "1.1.4"
98
99
  },
99
100
  "publishConfig": {
100
101
  "registry": "https://registry.npmjs.org"