@tinacms/cli 1.12.4 → 1.12.6

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 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.4";
38
+ var version = "1.12.6";
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 = __toESM(require("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.default)(page, glob);
5084
+ return (0, import_minimatch.minimatch)(page, glob);
5085
5085
  })) {
5086
5086
  forestryTemplates.push(templateKey);
5087
5087
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
- "version": "1.12.4",
3
+ "version": "1.12.6",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -40,9 +40,8 @@
40
40
  "@types/node": "^22.13.1",
41
41
  "@types/progress": "^2.0.7",
42
42
  "@types/prompts": "^2.4.9",
43
- "@types/yup": "^0.32.0",
44
43
  "jest": "^29.7.0",
45
- "@tinacms/scripts": "1.4.0"
44
+ "@tinacms/scripts": "1.4.1"
46
45
  },
47
46
  "dependencies": {
48
47
  "@graphql-codegen/core": "^2.6.8",
@@ -90,12 +89,12 @@
90
89
  "vite": "^4.5.9",
91
90
  "yup": "^1.6.1",
92
91
  "zod": "^3.24.2",
93
- "@tinacms/app": "2.3.9",
92
+ "@tinacms/app": "2.3.11",
93
+ "@tinacms/graphql": "1.6.3",
94
94
  "@tinacms/metrics": "1.1.0",
95
- "@tinacms/graphql": "1.6.1",
96
- "@tinacms/search": "1.1.1",
97
- "tinacms": "2.9.5",
98
- "@tinacms/schema-tools": "1.9.1"
95
+ "@tinacms/schema-tools": "1.10.1",
96
+ "@tinacms/search": "1.1.3",
97
+ "tinacms": "2.10.1"
99
98
  },
100
99
  "publishConfig": {
101
100
  "registry": "https://registry.npmjs.org"