@tinacms/cli 1.6.4 → 1.6.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.
|
@@ -76,8 +76,8 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
76
76
|
};
|
|
77
77
|
name?: string;
|
|
78
78
|
label?: string;
|
|
79
|
-
template_types?: string[];
|
|
80
79
|
template?: string;
|
|
80
|
+
template_types?: string[];
|
|
81
81
|
}, {
|
|
82
82
|
type?: "number" | "boolean" | "file" | "color" | "text" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
83
83
|
default?: any;
|
|
@@ -96,8 +96,8 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
96
96
|
};
|
|
97
97
|
name?: string;
|
|
98
98
|
label?: string;
|
|
99
|
-
template_types?: string[];
|
|
100
99
|
template?: string;
|
|
100
|
+
template_types?: string[];
|
|
101
101
|
}>;
|
|
102
102
|
type ForestryFieldWithoutFieldType = z.infer<typeof forestryFieldWithoutField>;
|
|
103
103
|
interface ForestryFieldType extends ForestryFieldWithoutFieldType {
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
31
31
|
var import_clipanion8 = require("clipanion");
|
|
32
32
|
|
|
33
33
|
// package.json
|
|
34
|
-
var version = "1.6.
|
|
34
|
+
var version = "1.6.5";
|
|
35
35
|
|
|
36
36
|
// src/next/commands/dev-command/index.ts
|
|
37
37
|
var import_clipanion2 = require("clipanion");
|
|
@@ -5533,7 +5533,7 @@ var makeVariableStatementVisitor = (sourceFile, variableStmtSourceFile, variable
|
|
|
5533
5533
|
var makeImportsVisitor = (sourceFile, importMap) => (ctx) => (node) => {
|
|
5534
5534
|
var _a;
|
|
5535
5535
|
if (import_typescript3.default.isSourceFile(node)) {
|
|
5536
|
-
|
|
5536
|
+
const newStatements = [...node.statements];
|
|
5537
5537
|
let changed = false;
|
|
5538
5538
|
for (const [moduleName, imports] of Object.entries(importMap)) {
|
|
5539
5539
|
let foundImportStatement = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"vite": "^4.3.9",
|
|
86
86
|
"yup": "^0.32.9",
|
|
87
87
|
"zod": "^3.14.3",
|
|
88
|
-
"@tinacms/app": "2.1.
|
|
88
|
+
"@tinacms/app": "2.1.5",
|
|
89
89
|
"@tinacms/graphql": "1.5.2",
|
|
90
90
|
"@tinacms/metrics": "1.0.5",
|
|
91
91
|
"@tinacms/schema-tools": "1.6.2",
|
|
92
|
-
"tinacms": "
|
|
93
|
-
"
|
|
92
|
+
"@tinacms/search": "1.0.29",
|
|
93
|
+
"tinacms": "2.2.5"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": {
|
|
96
96
|
"registry": "https://registry.npmjs.org"
|