@datapith/cdk4j-diagram 0.4.1 → 0.4.3

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.
@@ -32,7 +32,7 @@ program
32
32
  templateObj.template,
33
33
  template.isJson,
34
34
  cmd.outputPath,
35
- true,
35
+ ciMode,
36
36
  false,
37
37
  cmd.standalone,
38
38
  cmd.renderAll
package/graph/Vis.js CHANGED
@@ -189,7 +189,7 @@ async function renderTemplate(
189
189
  var edges = new vis.DataSet(${JSON.stringify(edges)});
190
190
  var nested = ${JSON.stringify(nested.sort())};
191
191
  var types = ${JSON.stringify(Array.from(types).sort())};
192
- var showSidebar = ${!ciMode};
192
+ var showSidebar = true;
193
193
  `;
194
194
  const uiPath = filePath || path.join(tempDirectory, "cdk4j-diagram");
195
195
  if (!fs.existsSync(uiPath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapith/cdk4j-diagram",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "CLI tool to visualise CloudFormation, SAM or CDK stacks as draw.io, visjs networks, ascii-art or mermaid",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@aws-sdk/client-cloudformation": "^3.445.0",
19
19
  "@aws-sdk/credential-provider-sso": "^3.445.0",
20
- "@mhlabs/cfn-diagram": "^1.1.40",
20
+ "@datapith/cdk4j-diagram": "^0.4.2",
21
21
  "aws-icons-directory": "^0.0.6",
22
22
  "cli-color": "^2.0.0",
23
23
  "color-convert": "^2.0.1",