@tinacms/cli 1.12.3 → 1.12.5
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/index.js +3 -3
- package/dist/next/codegen/index.d.ts +3 -9
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
35
35
|
var import_clipanion8 = require("clipanion");
|
|
36
36
|
|
|
37
37
|
// package.json
|
|
38
|
-
var version = "1.12.
|
|
38
|
+
var version = "1.12.5";
|
|
39
39
|
|
|
40
40
|
// src/next/commands/dev-command/index.ts
|
|
41
41
|
var import_path7 = __toESM(require("path"));
|
|
@@ -4499,7 +4499,7 @@ var import_path13 = __toESM(require("path"));
|
|
|
4499
4499
|
var import_fs_extra10 = __toESM(require("fs-extra"));
|
|
4500
4500
|
var import_path11 = __toESM(require("path"));
|
|
4501
4501
|
var import_js_yaml2 = __toESM(require("js-yaml"));
|
|
4502
|
-
var import_minimatch =
|
|
4502
|
+
var import_minimatch = require("minimatch");
|
|
4503
4503
|
var import_graphql16 = require("@tinacms/graphql");
|
|
4504
4504
|
var import_schema_tools3 = require("@tinacms/schema-tools");
|
|
4505
4505
|
|
|
@@ -5081,7 +5081,7 @@ var generateCollectionFromForestrySection = (args) => {
|
|
|
5081
5081
|
glob = section.path + "/" + section.match;
|
|
5082
5082
|
}
|
|
5083
5083
|
if (pages.some((page) => {
|
|
5084
|
-
return (0, import_minimatch.
|
|
5084
|
+
return (0, import_minimatch.minimatch)(page, glob);
|
|
5085
5085
|
})) {
|
|
5086
5086
|
forestryTemplates.push(templateKey);
|
|
5087
5087
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@types/prompts": "^2.4.9",
|
|
43
43
|
"@types/yup": "^0.32.0",
|
|
44
44
|
"jest": "^29.7.0",
|
|
45
|
-
"@tinacms/scripts": "1.4.
|
|
45
|
+
"@tinacms/scripts": "1.4.1"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@graphql-codegen/core": "^2.6.8",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
"vite": "^4.5.9",
|
|
91
91
|
"yup": "^1.6.1",
|
|
92
92
|
"zod": "^3.24.2",
|
|
93
|
-
"@tinacms/app": "2.3.
|
|
94
|
-
"@tinacms/graphql": "1.6.1",
|
|
93
|
+
"@tinacms/app": "2.3.10",
|
|
95
94
|
"@tinacms/metrics": "1.1.0",
|
|
96
|
-
"@tinacms/schema-tools": "1.
|
|
97
|
-
"@tinacms/
|
|
98
|
-
"tinacms": "
|
|
95
|
+
"@tinacms/schema-tools": "1.10.0",
|
|
96
|
+
"@tinacms/graphql": "1.6.2",
|
|
97
|
+
"@tinacms/search": "1.1.2",
|
|
98
|
+
"tinacms": "2.10.0"
|
|
99
99
|
},
|
|
100
100
|
"publishConfig": {
|
|
101
101
|
"registry": "https://registry.npmjs.org"
|