@tinacms/cli 0.0.0-e27c017-20250619233313 → 0.0.0-e2db315-20251216223244

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,5 +1,10 @@
1
- import log4js from 'log4js';
2
- export declare const logger: log4js.Logger;
1
+ export declare const logger: {
2
+ level: string;
3
+ info: (msg: string) => boolean;
4
+ warn: (msg: string) => boolean;
5
+ error: (msg: string) => boolean;
6
+ debug: (msg: string) => void;
7
+ };
3
8
  export declare const note: (message?: string, title?: string) => void;
4
9
  export declare const log: (message?: string) => void;
5
10
  export declare const warn: (message?: string, path?: string) => void;
@@ -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;
@@ -1,36 +1,16 @@
1
1
  /**
2
2
 
3
3
  */
4
- export declare const successText: import("chalk").Chalk & {
5
- supportsColor: import("chalk").ColorSupport;
6
- };
7
- export declare const focusText: import("chalk").Chalk & {
8
- supportsColor: import("chalk").ColorSupport;
9
- };
10
- export declare const dangerText: import("chalk").Chalk & {
11
- supportsColor: import("chalk").ColorSupport;
12
- };
13
- export declare const neutralText: import("chalk").Chalk & {
14
- supportsColor: import("chalk").ColorSupport;
15
- };
16
- export declare const linkText: import("chalk").Chalk & {
17
- supportsColor: import("chalk").ColorSupport;
18
- };
19
- export declare const labelText: import("chalk").Chalk & {
20
- supportsColor: import("chalk").ColorSupport;
21
- };
22
- export declare const cmdText: import("chalk").Chalk & {
23
- supportsColor: import("chalk").ColorSupport;
24
- };
4
+ export declare const successText: import("chalk").ChalkInstance;
5
+ export declare const focusText: import("chalk").ChalkInstance;
6
+ export declare const dangerText: import("chalk").ChalkInstance;
7
+ export declare const neutralText: import("chalk").ChalkInstance;
8
+ export declare const linkText: import("chalk").ChalkInstance;
9
+ export declare const labelText: import("chalk").ChalkInstance;
10
+ export declare const cmdText: import("chalk").ChalkInstance;
25
11
  export declare const indentedCmd: (str: any) => string;
26
12
  export declare const indentText: (str: any) => string;
27
- export declare const logText: import("chalk").Chalk & {
28
- supportsColor: import("chalk").ColorSupport;
29
- };
30
- export declare const warnText: import("chalk").Chalk & {
31
- supportsColor: import("chalk").ColorSupport;
32
- };
33
- export declare const titleText: import("chalk").Chalk & {
34
- supportsColor: import("chalk").ColorSupport;
35
- };
13
+ export declare const logText: import("chalk").ChalkInstance;
14
+ export declare const warnText: import("chalk").ChalkInstance;
15
+ export declare const titleText: import("chalk").ChalkInstance;
36
16
  export declare const CONFIRMATION_TEXT: 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-e2db315-20251216223244",
4
5
  "main": "dist/index.js",
5
6
  "typings": "dist/index.d.ts",
6
7
  "files": [
@@ -35,13 +36,12 @@
35
36
  "@types/jest": "26.0.4",
36
37
  "@types/js-yaml": "^4.0.9",
37
38
  "@types/listr": "0.14.2",
38
- "@types/log4js": "^2.3.5",
39
39
  "@types/multer": "^1.4.12",
40
+ "@types/node": "^22.13.1",
40
41
  "@types/progress": "^2.0.7",
41
42
  "@types/prompts": "^2.4.9",
42
- "@types/yup": "^0.32.0",
43
43
  "jest": "^29.7.0",
44
- "@tinacms/scripts": "1.3.5"
44
+ "@tinacms/scripts": "1.4.2"
45
45
  },
46
46
  "dependencies": {
47
47
  "@graphql-codegen/core": "^2.6.8",
@@ -63,7 +63,7 @@
63
63
  "auto-bind": "^4.0.0",
64
64
  "body-parser": "^1.20.3",
65
65
  "busboy": "^1.6.0",
66
- "chalk": "^2.4.2",
66
+ "chalk": "^5.4.1",
67
67
  "chokidar": "^3.6.0",
68
68
  "cli-spinner": "^0.2.10",
69
69
  "clipanion": "^3.2.1",
@@ -74,7 +74,6 @@
74
74
  "fs-extra": "^11.3.0",
75
75
  "graphql": "15.8.0",
76
76
  "js-yaml": "^4.1.0",
77
- "log4js": "^6.9.1",
78
77
  "many-level": "^2.0.0",
79
78
  "memory-level": "^1.0.0",
80
79
  "minimatch": "^5.1.6",
@@ -89,12 +88,12 @@
89
88
  "vite": "^4.5.9",
90
89
  "yup": "^1.6.1",
91
90
  "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"
91
+ "@tinacms/graphql": "2.0.2",
92
+ "@tinacms/metrics": "2.0.1",
93
+ "@tinacms/app": "0.0.0-e2db315-20251216223244",
94
+ "@tinacms/search": "1.1.6",
95
+ "tinacms": "0.0.0-e2db315-20251216223244",
96
+ "@tinacms/schema-tools": "2.1.0"
98
97
  },
99
98
  "publishConfig": {
100
99
  "registry": "https://registry.npmjs.org"