@dextinity/cli 10.5.1-canary-20260909062439 → 10.5.1
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.
|
@@ -53,7 +53,7 @@ var promises_1 = require("fs/promises");
|
|
|
53
53
|
var prettier_1 = require("prettier");
|
|
54
54
|
var content = "";
|
|
55
55
|
var isTipTapNodeTypeUsed = false;
|
|
56
|
-
var tipTapNodeType = "export interface TipTapMark {\n type: string;\n attrs?: Record<string, unknown>;\n}\n\nexport interface TipTapNode {\n type
|
|
56
|
+
var tipTapNodeType = "export interface TipTapMark {\n type: string;\n attrs?: Record<string, unknown>;\n}\n\n/**\n * Structurally compatible with TipTap's `JSONContent` type, meaning `TipTapNode` and `JSONContent` values can be used interchangeably.\n */\nexport interface TipTapNode {\n type?: string;\n attrs?: Record<string, unknown>;\n content?: TipTapNode[];\n marks?: TipTapMark[];\n text?: string;\n}\n";
|
|
57
57
|
function writeFieldType(field, blockNamePostfix) {
|
|
58
58
|
if (field.kind === "String") {
|
|
59
59
|
content += "string";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dextinity/cli",
|
|
3
|
-
"version": "10.5.1
|
|
3
|
+
"version": "10.5.1",
|
|
4
4
|
"description": "A collection of CLI tools for Dextinity projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/cli",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"rimraf": "^6.1.2",
|
|
34
34
|
"typescript": "^5.9.3",
|
|
35
35
|
"vitest": "^4.1.8",
|
|
36
|
-
"@dextinity/eslint-config": "10.5.1
|
|
36
|
+
"@dextinity/eslint-config": "10.5.1"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=22.0.0"
|