@vtj/local 0.10.12 → 0.10.14
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
@@ -747,7 +747,7 @@ async function genVueContent(project, dsl) {
|
|
747
747
|
const materialsRepository = new JsonRepository("materials", project.platform);
|
748
748
|
const materials = materialsRepository.get(project.id);
|
749
749
|
const componentMap = new Map(
|
750
|
-
Object.entries(materials)
|
750
|
+
Object.entries(materials || {})
|
751
751
|
);
|
752
752
|
const content = await coder.generator(
|
753
753
|
dsl,
|
package/dist/index.mjs
CHANGED
@@ -740,7 +740,7 @@ async function genVueContent(project, dsl) {
|
|
740
740
|
const materialsRepository = new JsonRepository("materials", project.platform);
|
741
741
|
const materials = materialsRepository.get(project.id);
|
742
742
|
const componentMap = new Map(
|
743
|
-
Object.entries(materials)
|
743
|
+
Object.entries(materials || {})
|
744
744
|
);
|
745
745
|
const content = await generator(
|
746
746
|
dsl,
|
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/local",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.10.
|
4
|
+
"version": "0.10.14",
|
5
5
|
"type": "module",
|
6
6
|
"dependencies": {
|
7
7
|
"formidable": "~3.5.1",
|
8
|
-
"@vtj/coder": "~0.10.
|
8
|
+
"@vtj/coder": "~0.10.14",
|
9
9
|
"@vtj/node": "~0.10.2",
|
10
|
-
"@vtj/core": "~0.10.
|
11
|
-
"@vtj/parser": "~0.10.
|
10
|
+
"@vtj/core": "~0.10.14",
|
11
|
+
"@vtj/parser": "~0.10.14"
|
12
12
|
},
|
13
13
|
"devDependencies": {
|
14
14
|
"@types/formidable": "~3.4.5",
|
15
15
|
"unbuild": "~2.0.0",
|
16
16
|
"vite": "~6.2.0",
|
17
|
-
"@vtj/cli": "~0.10.
|
17
|
+
"@vtj/cli": "~0.10.3"
|
18
18
|
},
|
19
19
|
"exports": {
|
20
20
|
".": {
|