Skip to content

Commit

Permalink
chore: use final ipjs version
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jul 29, 2021
1 parent 2892995 commit 4b23e2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"git-authors-cli": "^1.0.33",
"globby": "^11.0.3",
"ipfs-utils": "^8.1.0",
"ipjs": "https://gitpkg.now.sh/vasco-santos/ipjs?fix/windows-build",
"ipjs": "^5.0.5",
"it-glob": "~0.0.10",
"kleur": "^4.1.4",
"lilconfig": "^2.0.2",
Expand Down
24 changes: 7 additions & 17 deletions src/build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,13 @@ const buildEsm = async (argv) => {
// @ts-ignore no types
const ipjs = await import('ipjs')

// eslint-disable-next-line
console.log('go IPJS start')
try {
await ipjs.default({
dist,
onConsole: (/** @type {any[]} */...args) => console.info.apply(console, args),
cwd: process.cwd(),
main: argv.esmMain,
tests: argv.esmTests
})
} catch (err) {
// eslint-disable-next-line
console.log('err', err)
throw err
}
// eslint-disable-next-line
console.log('go IPJS end')
await ipjs.default({
dist,
onConsole: (/** @type {any[]} */...args) => console.info.apply(console, args),
cwd: process.cwd(),
main: argv.esmMain,
tests: argv.esmTests
})
}

const tasks = new Listr([
Expand Down

0 comments on commit 4b23e2e

Please sign in to comment.