Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
fileignoreconfig:

- filename: pnpm-lock.yaml
checksum: e189b3ff17c005329a25e849555543e0cbdc5ea326d087e78b0a867b8978b308
version: '1.0'
checksum: 95ad8483ef8940566016b0db1d04ceb1021c22bb4ac9a5194bf4b527b9ac6a75
version: '1.0'
3 changes: 3 additions & 0 deletions packages/contentstack-apps-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"tmp": "^0.2.7",
"winston": "^3.19.0"
},
"overrides": {
"form-data": "^4.0.6"
},
"devDependencies": {
"@oclif/test": "^4.1.18",
"@types/adm-zip": "^0.5.8",
Expand Down
1 change: 1 addition & 0 deletions packages/contentstack-content-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"diff2html": "^3.4.56",
"moment": "^2.30.1",
"node-graphviz": "^0.1.1",
"open": "^8.4.2",
"table": "^6.9.0",
"tmp": "^0.2.7",
"tslib": "^2.8.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cli from 'cli-ux'
import open from 'open'
import * as fs from 'fs'
import * as tmp from 'tmp'
import * as Diff2html from 'diff2html'
Expand All @@ -17,7 +17,7 @@ export default async function buildOutput(contentTypeName: string, previous: any
tmp.file({prefix: `${contentTypeName}-compare`, postfix: '.html', keep: true}, async function (err: any, path: any, _fd: any, _cleanupCallback: any) {
if (err) throw err
fs.writeFileSync(path, html(diffHtml))
await cli.open(path)
await open(path)
})

return {
Expand Down
Loading
Loading