@tinacms/cli 1.9.3 → 1.9.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/README.md +2 -2
- package/dist/cmds/forestry-migrate/util/index.d.ts +18 -18
- package/dist/cmds/init/prompts/authProvider.d.ts +1 -1
- package/dist/index.js +2106 -2119
- package/dist/next/commands/build-command/index.d.ts +1 -1
- package/dist/next/commands/dev-command/index.d.ts +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
The
|
|
1
|
+
The _TinaCloud CLI_ can be used to set up your project with TinaCloud configuration, and run a local version of the TinaCloud content-api (using your file system's content). For a real-world example of how this is being used checkout the [TinaCloud Starter](https://github.com/tinacms/tina-cloud-starter).
|
|
2
2
|
|
|
3
3
|
## Installation
|
|
4
4
|
|
|
@@ -30,7 +30,7 @@ Commands:
|
|
|
30
30
|
server:start [options] Start Filesystem Graphql Server
|
|
31
31
|
schema:compile [options] Compile schema into static files for the server
|
|
32
32
|
schema:types [options] Generate a GraphQL query for your site's schema, (and optionally Typescript types)
|
|
33
|
-
init [options] Add
|
|
33
|
+
init [options] Add TinaCloud to an existing project
|
|
34
34
|
audit [options] Audit your schema and the files to check for errors
|
|
35
35
|
help [command] display help for command
|
|
36
36
|
```
|
|
@@ -34,10 +34,10 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
34
34
|
section?: string;
|
|
35
35
|
}>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
min?: number;
|
|
38
|
-
max?: number;
|
|
39
|
-
options?: string[];
|
|
40
37
|
required?: boolean;
|
|
38
|
+
options?: string[];
|
|
39
|
+
max?: number;
|
|
40
|
+
min?: number;
|
|
41
41
|
use_select?: boolean;
|
|
42
42
|
date_format?: string;
|
|
43
43
|
time_format?: string;
|
|
@@ -46,10 +46,10 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
46
46
|
section?: string;
|
|
47
47
|
};
|
|
48
48
|
}, {
|
|
49
|
-
min?: number;
|
|
50
|
-
max?: number;
|
|
51
|
-
options?: string[];
|
|
52
49
|
required?: boolean;
|
|
50
|
+
options?: string[];
|
|
51
|
+
max?: number;
|
|
52
|
+
min?: number;
|
|
53
53
|
use_select?: boolean;
|
|
54
54
|
date_format?: string;
|
|
55
55
|
time_format?: string;
|
|
@@ -59,13 +59,14 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
type?: "number" | "boolean" | "file" | "
|
|
62
|
+
type?: "number" | "boolean" | "file" | "text" | "color" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
63
63
|
default?: any;
|
|
64
|
+
name?: string;
|
|
64
65
|
config?: {
|
|
65
|
-
min?: number;
|
|
66
|
-
max?: number;
|
|
67
|
-
options?: string[];
|
|
68
66
|
required?: boolean;
|
|
67
|
+
options?: string[];
|
|
68
|
+
max?: number;
|
|
69
|
+
min?: number;
|
|
69
70
|
use_select?: boolean;
|
|
70
71
|
date_format?: string;
|
|
71
72
|
time_format?: string;
|
|
@@ -74,18 +75,18 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
74
75
|
section?: string;
|
|
75
76
|
};
|
|
76
77
|
};
|
|
77
|
-
name?: string;
|
|
78
78
|
label?: string;
|
|
79
79
|
template?: string;
|
|
80
80
|
template_types?: string[];
|
|
81
81
|
}, {
|
|
82
|
-
type?: "number" | "boolean" | "file" | "
|
|
82
|
+
type?: "number" | "boolean" | "file" | "text" | "color" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
83
83
|
default?: any;
|
|
84
|
+
name?: string;
|
|
84
85
|
config?: {
|
|
85
|
-
min?: number;
|
|
86
|
-
max?: number;
|
|
87
|
-
options?: string[];
|
|
88
86
|
required?: boolean;
|
|
87
|
+
options?: string[];
|
|
88
|
+
max?: number;
|
|
89
|
+
min?: number;
|
|
89
90
|
use_select?: boolean;
|
|
90
91
|
date_format?: string;
|
|
91
92
|
time_format?: string;
|
|
@@ -94,7 +95,6 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
94
95
|
section?: string;
|
|
95
96
|
};
|
|
96
97
|
};
|
|
97
|
-
name?: string;
|
|
98
98
|
label?: string;
|
|
99
99
|
template?: string;
|
|
100
100
|
template_types?: string[];
|
|
@@ -150,11 +150,11 @@ export declare const parseSections: ({ val }: {
|
|
|
150
150
|
}) => {
|
|
151
151
|
sections?: {
|
|
152
152
|
exclude?: string;
|
|
153
|
-
type?: "
|
|
153
|
+
type?: "heading" | "document" | "directory" | "jekyll-pages" | "jekyll-posts";
|
|
154
154
|
match?: string;
|
|
155
|
-
path?: string;
|
|
156
155
|
templates?: string[];
|
|
157
156
|
label?: string;
|
|
157
|
+
path?: string;
|
|
158
158
|
create?: "none" | "all" | "documents";
|
|
159
159
|
new_doc_ext?: string;
|
|
160
160
|
read_only?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PromptAuthProvider, Config } from './types';
|
|
2
1
|
import type { Framework } from '../';
|
|
2
|
+
import type { Config, PromptAuthProvider } from './types';
|
|
3
3
|
export declare const chooseAuthProvider: ({ framework, config, }: {
|
|
4
4
|
config: Config;
|
|
5
5
|
framework: Framework;
|