Skip to content

Commit

Permalink
Bump execa version from 4.x to 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
romainseb committed Nov 29, 2023
1 parent 33ebbb8 commit 179a650
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/angry-swans-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@talend/scripts-build-cdn': minor
'@talend/module-to-cdn': minor
---

deps: bump execa from 4.x to 8.x
9 changes: 8 additions & 1 deletion fork/module-to-cdn/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@ const fs = require('fs');
const path = require('path');
const https = require('https');

const execa = require('execa');
// const execa = require('execa');
const semver = require('semver');
const mkdirp = require('mkdirp');

let execa;
import('execa').then(({default: execaModule}) => {
execa = execaModule;
});

// console.log(execa);

const CACHE_BASE_PATH = `${process.cwd()}/.test-cache`;

const CACHE_NPM_PATH = `${CACHE_BASE_PATH}/.npm-cache-info.json`;
Expand Down

0 comments on commit 179a650

Please sign in to comment.