@tinacms/cli 1.11.0 → 1.12.2
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 +5 -5
- package/dist/index.js +3 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-nextjs-starter).
|
|
2
2
|
|
|
3
3
|
## Installation
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ Usage: @tinacms/cli command [options]
|
|
|
24
24
|
Options:
|
|
25
25
|
-V, --version output the version number
|
|
26
26
|
-h, --help display help for command
|
|
27
|
-
-v, --verbose increase verbosity of console output
|
|
27
|
+
-v, --verbose increase verbosity of console output
|
|
28
28
|
|
|
29
29
|
Commands:
|
|
30
30
|
server:start [options] Start Filesystem Graphql Server
|
|
@@ -137,7 +137,7 @@ The top-level key in the schema is an array of _collections_, a `collection` inf
|
|
|
137
137
|
|
|
138
138
|
### `templates`
|
|
139
139
|
|
|
140
|
-
Templates are responsible for defining the shape of your content, you'll see in the schema for [the starter](https://github.com/tinacms/tina-
|
|
140
|
+
Templates are responsible for defining the shape of your content, you'll see in the schema for [the starter](https://github.com/tinacms/tina-nextjs-starter) that we use `templates` for `collections` as well as `blocks`. One important thing to note is that since a `collection` can have multiple `templates`, each file in your collection must store a `_template` key in it's frontmatter:
|
|
141
141
|
|
|
142
142
|
```markdown
|
|
143
143
|
---
|
|
@@ -151,7 +151,7 @@ When you use Tina's GraphQL forms, we know about all of the relationships in you
|
|
|
151
151
|
|
|
152
152
|
### `fields`
|
|
153
153
|
|
|
154
|
-
For the most part, you can think of `fields` as the backend equivalent to [Tina field plugins](https://tina.io/docs/plugins/fields/). You might notice that we're defining a `type` on each field, rather than a `component`. This is because the backend isn't concerned with `component`s, only the shape of your content. By default we use the built-in Tina fields, to customize your `component` read the [field customization](https://tina.io/docs/
|
|
154
|
+
For the most part, you can think of `fields` as the backend equivalent to [Tina field plugins](https://tina.io/docs/plugins/fields/). You might notice that we're defining a `type` on each field, rather than a `component`. This is because the backend isn't concerned with `component`s, only the shape of your content. By default we use the built-in Tina fields, to customize your `component` read the [field customization](https://tina.io/docs/tinacloud/client/#field-customization) instructions.
|
|
155
155
|
|
|
156
156
|
#### `reference` & `reference-list`
|
|
157
157
|
|
|
@@ -229,7 +229,7 @@ getPostsDocument(relativePath: "voteForPedro.md") {
|
|
|
229
229
|
}
|
|
230
230
|
```
|
|
231
231
|
|
|
232
|
-
To learn how to work with this data on a Tina-enabled site, check out the [client documentation](https://tina.io/docs/
|
|
232
|
+
To learn how to work with this data on a Tina-enabled site, check out the [client documentation](https://tina.io/docs/tinacloud/client/)
|
|
233
233
|
|
|
234
234
|
> This API is currently somewhat limited. Specifically there's no support for filtering and sorting "list" queries. We have plans to tackle that in upcoming cycles
|
|
235
235
|
|
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.
|
|
38
|
+
var version = "1.12.2";
|
|
39
39
|
|
|
40
40
|
// src/next/commands/dev-command/index.ts
|
|
41
41
|
var import_path7 = __toESM(require("path"));
|
|
@@ -1694,6 +1694,8 @@ var tinaTailwind = (spaPath, prebuildFilePath) => {
|
|
|
1694
1694
|
600: "#DC4419"
|
|
1695
1695
|
},
|
|
1696
1696
|
"tina-orange": "#EC4815",
|
|
1697
|
+
"tina-orange-dark": "#C2410C",
|
|
1698
|
+
"tina-orange-light": "#FFF7ED",
|
|
1697
1699
|
background: "#FFFFFF",
|
|
1698
1700
|
foreground: "#0A0A0A",
|
|
1699
1701
|
muted: "#F5F5F5",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -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/schema-tools": "1.9.1",
|
|
95
|
-
"@tinacms/search": "1.1.1",
|
|
93
|
+
"@tinacms/app": "2.3.7",
|
|
96
94
|
"@tinacms/graphql": "1.6.1",
|
|
97
95
|
"@tinacms/metrics": "1.1.0",
|
|
98
|
-
"tinacms": "
|
|
96
|
+
"@tinacms/schema-tools": "1.9.1",
|
|
97
|
+
"@tinacms/search": "1.1.1",
|
|
98
|
+
"tinacms": "2.9.3"
|
|
99
99
|
},
|
|
100
100
|
"publishConfig": {
|
|
101
101
|
"registry": "https://registry.npmjs.org"
|