@likec4/generators 1.0.0-rc.1 → 1.0.0
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.
|
@@ -35,8 +35,7 @@ export function generateViewsDataJs(diagrams) {
|
|
|
35
35
|
return (
|
|
36
36
|
value != null &&
|
|
37
37
|
typeof value === 'string' &&
|
|
38
|
-
|
|
39
|
-
LikeC4Views[value] != null
|
|
38
|
+
!!LikeC4Views[value]
|
|
40
39
|
)
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -83,8 +82,7 @@ export function generateViewsDataTs(diagrams) {
|
|
|
83
82
|
return (
|
|
84
83
|
value != null &&
|
|
85
84
|
typeof value === 'string' &&
|
|
86
|
-
|
|
87
|
-
LikeC4Views[value] != null
|
|
85
|
+
!!LikeC4Views[value]
|
|
88
86
|
)
|
|
89
87
|
}
|
|
90
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/generators",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"test": "run -T vitest run"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@likec4/core": "1.0.0
|
|
44
|
+
"@likec4/core": "1.0.0",
|
|
45
45
|
"json5": "^2.2.3",
|
|
46
46
|
"langium": "^3.0.0",
|
|
47
47
|
"remeda": "^1.61.0"
|