@tinacms/cli 2.5.5 → 2.6.0

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/bin/tinacms CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const version = process.version.slice(1);
4
- const [major, minor] = version.split('.');
5
- if (major < 14 || (major == 14 && minor < 18)) {
4
+ const [major] = version.split('.');
5
+ if (major < 18) {
6
6
  console.error(
7
- 'ERROR: Node.js version lower than 14.18 is not supported in tinacms, please update to the latest LTS version. See https://nodejs.org/en/download/ for more details'
7
+ 'ERROR: Node.js version lower than 18 is not supported in tinacms, please update to the latest LTS version. See https://nodejs.org/en/download/ for more details'
8
8
  );
9
9
  } else {
10
10
  const [node, app, ...args] = process.argv;
@@ -38,62 +38,62 @@ declare const forestryFieldWithoutField: z.ZodObject<{
38
38
  options?: string[];
39
39
  max?: number;
40
40
  min?: number;
41
- use_select?: boolean;
42
- date_format?: string;
43
- time_format?: string;
44
41
  source?: {
45
42
  type?: string;
46
43
  section?: string;
47
44
  };
45
+ use_select?: boolean;
46
+ date_format?: string;
47
+ time_format?: string;
48
48
  }, {
49
49
  required?: boolean;
50
50
  options?: string[];
51
51
  max?: number;
52
52
  min?: number;
53
- use_select?: boolean;
54
- date_format?: string;
55
- time_format?: string;
56
53
  source?: {
57
54
  type?: string;
58
55
  section?: string;
59
56
  };
57
+ use_select?: boolean;
58
+ date_format?: string;
59
+ time_format?: string;
60
60
  }>>;
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  default?: any;
63
- name?: string;
64
63
  config?: {
65
64
  required?: boolean;
66
65
  options?: string[];
67
66
  max?: number;
68
67
  min?: number;
69
- use_select?: boolean;
70
- date_format?: string;
71
- time_format?: string;
72
68
  source?: {
73
69
  type?: string;
74
70
  section?: string;
75
71
  };
72
+ use_select?: boolean;
73
+ date_format?: string;
74
+ time_format?: string;
76
75
  };
76
+ name?: string;
77
77
  label?: string;
78
78
  type?: "number" | "boolean" | "text" | "file" | "color" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
79
79
  template?: string;
80
80
  template_types?: string[];
81
81
  }, {
82
82
  default?: any;
83
- name?: string;
84
83
  config?: {
85
84
  required?: boolean;
86
85
  options?: string[];
87
86
  max?: number;
88
87
  min?: number;
89
- use_select?: boolean;
90
- date_format?: string;
91
- time_format?: string;
92
88
  source?: {
93
89
  type?: string;
94
90
  section?: string;
95
91
  };
92
+ use_select?: boolean;
93
+ date_format?: string;
94
+ time_format?: string;
96
95
  };
96
+ name?: string;
97
97
  label?: string;
98
98
  type?: "number" | "boolean" | "text" | "file" | "color" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
99
99
  template?: string;