@tinacms/cli 1.5.45 → 1.5.47
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.
|
@@ -59,6 +59,7 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
type?: "number" | "boolean" | "file" | "color" | "text" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
62
63
|
default?: any;
|
|
63
64
|
config?: {
|
|
64
65
|
min?: number;
|
|
@@ -74,11 +75,11 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
74
75
|
};
|
|
75
76
|
};
|
|
76
77
|
name?: string;
|
|
77
|
-
type?: "number" | "boolean" | "file" | "color" | "text" | "include" | "datetime" | "list" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
78
78
|
label?: string;
|
|
79
79
|
template_types?: string[];
|
|
80
80
|
template?: string;
|
|
81
81
|
}, {
|
|
82
|
+
type?: "number" | "boolean" | "file" | "color" | "text" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
82
83
|
default?: any;
|
|
83
84
|
config?: {
|
|
84
85
|
min?: number;
|
|
@@ -94,7 +95,6 @@ declare const forestryFieldWithoutField: z.ZodObject<{
|
|
|
94
95
|
};
|
|
95
96
|
};
|
|
96
97
|
name?: string;
|
|
97
|
-
type?: "number" | "boolean" | "file" | "color" | "text" | "include" | "datetime" | "list" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks";
|
|
98
98
|
label?: string;
|
|
99
99
|
template_types?: string[];
|
|
100
100
|
template?: string;
|
|
@@ -149,12 +149,12 @@ export declare const parseSections: ({ val }: {
|
|
|
149
149
|
val: unknown;
|
|
150
150
|
}) => {
|
|
151
151
|
sections?: {
|
|
152
|
-
match?: string;
|
|
153
152
|
exclude?: string;
|
|
153
|
+
type?: "document" | "directory" | "heading" | "jekyll-pages" | "jekyll-posts";
|
|
154
|
+
match?: string;
|
|
154
155
|
templates?: string[];
|
|
155
|
-
path?: string;
|
|
156
|
-
type?: "directory" | "document" | "heading" | "jekyll-pages" | "jekyll-posts";
|
|
157
156
|
label?: string;
|
|
157
|
+
path?: string;
|
|
158
158
|
create?: "none" | "all" | "documents";
|
|
159
159
|
new_doc_ext?: string;
|
|
160
160
|
read_only?: boolean;
|
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.5.
|
|
34
|
+
var version = "1.5.47";
|
|
35
35
|
|
|
36
36
|
// src/next/commands/dev-command/index.ts
|
|
37
37
|
var import_clipanion2 = require("clipanion");
|
|
@@ -974,7 +974,7 @@ var createConfig = async ({
|
|
|
974
974
|
appType: "spa",
|
|
975
975
|
resolve: {
|
|
976
976
|
alias,
|
|
977
|
-
dedupe: ["graphql", "tinacms", "react", "react-dom"]
|
|
977
|
+
dedupe: ["graphql", "tinacms", "react", "react-dom", "react-router-dom"]
|
|
978
978
|
},
|
|
979
979
|
define: {
|
|
980
980
|
"process.env": `new Object(${JSON.stringify(publicEnv)})`,
|
|
@@ -1757,7 +1757,7 @@ var Codegen = class {
|
|
|
1757
1757
|
throw new Error(
|
|
1758
1758
|
`Client not configured properly. Missing ${missing.join(
|
|
1759
1759
|
", "
|
|
1760
|
-
)}. Please visit https://tina.io/docs/tina-cloud/
|
|
1760
|
+
)}. Please visit https://tina.io/docs/tina-cloud/overview for more information`
|
|
1761
1761
|
);
|
|
1762
1762
|
}
|
|
1763
1763
|
let localUrl = `http://localhost:${this.port}/graphql`;
|
|
@@ -5500,6 +5500,7 @@ var makeImportsVisitor = (sourceFile, importMap) => (ctx) => (node) => {
|
|
|
5500
5500
|
const importSpecifiers = newImports.map(
|
|
5501
5501
|
(i) => import_typescript3.default.factory.createImportSpecifier(
|
|
5502
5502
|
void 0,
|
|
5503
|
+
import_typescript3.default.factory.createIdentifier(i),
|
|
5503
5504
|
import_typescript3.default.factory.createIdentifier(i)
|
|
5504
5505
|
)
|
|
5505
5506
|
);
|
|
@@ -5523,6 +5524,7 @@ var makeImportsVisitor = (sourceFile, importMap) => (ctx) => (node) => {
|
|
|
5523
5524
|
const importSpecifiers = imports.map(
|
|
5524
5525
|
(i) => import_typescript3.default.factory.createImportSpecifier(
|
|
5525
5526
|
void 0,
|
|
5527
|
+
import_typescript3.default.factory.createIdentifier(i),
|
|
5526
5528
|
import_typescript3.default.factory.createIdentifier(i)
|
|
5527
5529
|
)
|
|
5528
5530
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.47",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@tinacms/scripts": "1.1.3",
|
|
25
24
|
"@types/clear": "0.1.0",
|
|
26
25
|
"@types/cli-spinner": "^0.2.1",
|
|
27
26
|
"@types/cors": "2.8.5",
|
|
@@ -40,13 +39,13 @@
|
|
|
40
39
|
"@types/progress": "^2.0.3",
|
|
41
40
|
"@types/prompts": "^2.0.13",
|
|
42
41
|
"@types/yup": "^0.29.11",
|
|
43
|
-
"jest": "^29.5.0"
|
|
42
|
+
"jest": "^29.5.0",
|
|
43
|
+
"@tinacms/scripts": "1.1.5"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@graphql-codegen/core": "^2.1.0",
|
|
47
47
|
"@graphql-codegen/plugin-helpers": "latest",
|
|
48
48
|
"@graphql-codegen/typescript": "^4.0.1",
|
|
49
|
-
"@graphql-codegen/typescript-generic-sdk": "^3.1.0",
|
|
50
49
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
|
51
50
|
"@graphql-codegen/visitor-plugin-common": "^4.0.1",
|
|
52
51
|
"@graphql-inspector/core": "^4.0.0",
|
|
@@ -54,21 +53,11 @@
|
|
|
54
53
|
"@graphql-tools/load": "^7.3.2",
|
|
55
54
|
"@rollup/pluginutils": "^5.0.2",
|
|
56
55
|
"@svgr/core": "6.3.1",
|
|
57
|
-
"@tailwindcss/aspect-ratio": "^0.4.
|
|
58
|
-
"@tailwindcss/
|
|
59
|
-
"@tailwindcss/typography": "^0.5.9",
|
|
60
|
-
"@tinacms/app": "1.2.41",
|
|
61
|
-
"tinacms": "1.6.3",
|
|
62
|
-
"@tinacms/datalayer": "1.2.34",
|
|
63
|
-
"@tinacms/graphql": "1.4.34",
|
|
64
|
-
"@tinacms/metrics": "1.0.2",
|
|
65
|
-
"@tinacms/schema-tools": "1.4.15",
|
|
66
|
-
"@tinacms/search": "1.0.19",
|
|
56
|
+
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
57
|
+
"@tailwindcss/typography": "^0.5.13",
|
|
67
58
|
"@vitejs/plugin-react": "3.1.0",
|
|
68
|
-
"
|
|
69
|
-
"altair-express-middleware": "4.0.6",
|
|
59
|
+
"altair-express-middleware": "^7.2.1",
|
|
70
60
|
"auto-bind": "^4.0.0",
|
|
71
|
-
"axios": "0.21.2",
|
|
72
61
|
"body-parser": "^1.19.0",
|
|
73
62
|
"busboy": "^1.6.0",
|
|
74
63
|
"chalk": "^2.4.2",
|
|
@@ -79,37 +68,31 @@
|
|
|
79
68
|
"crypto-js": "^4.1.1",
|
|
80
69
|
"dotenv": "^16.0.1",
|
|
81
70
|
"esbuild": "^0.18.10",
|
|
82
|
-
"express": "^4.17.1",
|
|
83
|
-
"fast-glob": "^3.2.4",
|
|
84
71
|
"fs-extra": "^9.0.1",
|
|
85
72
|
"graphql": "15.8.0",
|
|
86
|
-
"graphql-tag": "2.12.6",
|
|
87
|
-
"ini": "^3.0.0",
|
|
88
|
-
"is-unicode-supported": "^1.3.0",
|
|
89
73
|
"js-yaml": "^4.0.0",
|
|
90
|
-
"lodash": "^4.17.19",
|
|
91
|
-
"lodash.get": "^4.4.2",
|
|
92
74
|
"log4js": "^6.4.0",
|
|
93
75
|
"many-level": "^2.0.0",
|
|
94
76
|
"memory-level": "^1.0.0",
|
|
95
77
|
"minimatch": "^5.1.2",
|
|
96
|
-
"multer": "1.4.5-lts.1",
|
|
97
78
|
"node-fetch": "2",
|
|
98
79
|
"normalize-path": "^3.0.0",
|
|
99
|
-
"postcss": "^8.3.3",
|
|
100
80
|
"prettier": "^2.2.1",
|
|
101
81
|
"progress": "^2.0.3",
|
|
102
82
|
"prompts": "^2.4.1",
|
|
103
83
|
"readable-stream": "^4.3.0",
|
|
104
|
-
"
|
|
105
|
-
"tailwindcss": "^3.2.7",
|
|
84
|
+
"tailwindcss": "^3.4.4",
|
|
106
85
|
"typanion": "3.13.0",
|
|
107
|
-
"typescript": "4.
|
|
108
|
-
"url-pattern": "^1.0.3",
|
|
86
|
+
"typescript": "4.6.4",
|
|
109
87
|
"vite": "^4.3.9",
|
|
110
|
-
"yarn": "^1.22.17",
|
|
111
88
|
"yup": "^0.32.9",
|
|
112
|
-
"zod": "^3.14.3"
|
|
89
|
+
"zod": "^3.14.3",
|
|
90
|
+
"@tinacms/app": "1.2.43",
|
|
91
|
+
"@tinacms/search": "1.0.21",
|
|
92
|
+
"@tinacms/schema-tools": "1.4.17",
|
|
93
|
+
"tinacms": "1.6.5",
|
|
94
|
+
"@tinacms/graphql": "1.4.36",
|
|
95
|
+
"@tinacms/metrics": "1.0.3"
|
|
113
96
|
},
|
|
114
97
|
"publishConfig": {
|
|
115
98
|
"registry": "https://registry.npmjs.org"
|
|
@@ -124,6 +107,6 @@
|
|
|
124
107
|
"types": "pnpm tsc",
|
|
125
108
|
"test-watch": "jest --passWithNoTests --watch",
|
|
126
109
|
"tinacms": "MONOREPO_DEV=true node ./bin/tinacms",
|
|
127
|
-
"generate:schema": "
|
|
110
|
+
"generate:schema": "pnpm node scripts/generateSchema.js"
|
|
128
111
|
}
|
|
129
112
|
}
|