Skip to content

Commit

Permalink
Bump some dependencies, pin them, and fix type breakages from mkdirp …
Browse files Browse the repository at this point in the history
…and node type bump.
  • Loading branch information
thekevinbrown committed Aug 10, 2020
1 parent fcabb24 commit 20f4f2b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@
],
"devDependencies": {
"@types/chai": "4.2.9",
"@types/chalk": "2.2.0",
"@types/mkdirp": "1.0.1",
"@types/mocha": "8.0.1",
"@types/ncp": "^2.0.1",
"@types/ncp": "2.0.1",
"@types/node": "14.0.27",
"@types/node-fetch": "2.5.4",
"@types/ora": "3.2.0",
Expand All @@ -64,29 +65,28 @@
"prettier": "1.19.1",
"ts-node": "8.6.2",
"typedoc": "0.16.10",
"typescript": "3.7.5"
"typescript": "3.9.7"
},
"dependencies": {
"@types/chalk": "^2.2.0",
"axios": "0.19.2",
"chai": "4.2.0",
"chalk": "^3.0.0",
"chalk": "3.0.0",
"clarify": "2.1.0",
"colors": "1.4.0",
"commander": "4.0.1",
"deep-equal-in-any-order": "1.0.28",
"docker-cli-js": "2.7.1",
"dotenv": "8.2.0",
"glob": "7.1.6",
"got": "^10.5.7",
"got": "10.5.7",
"mkdirp": "1.0.4",
"mocha": "6.2.2",
"ncp": "^2.0.0",
"ncp": "2.0.0",
"node-fetch": "2.6.0",
"ora": "4.0.3",
"qrcode-terminal": "0.12.0",
"rimraf": "3.0.2",
"tar": "^6.0.2",
"tar": "6.0.2",
"trace": "3.1.1",
"ts-mocha": "6.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const buildImage = async () => {
spinner.create('Building docker image');
// Clear the docker directory if it exists.
await rimraf(TEMP_DOCKER_DIRECTORY);
await mkdirp(TEMP_DOCKER_DIRECTORY);
await mkdirp(TEMP_DOCKER_DIRECTORY, {});
// Write a Dockerfile so Docker knows what to build.
const systemDeps = ['build-essential', 'ca-certificates', 'cmake', 'curl', 'git', 'wget'];
await writeFile(
Expand Down
4 changes: 2 additions & 2 deletions src/configManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ export class ConfigManager {
)
return;
// Create the config directory
await mkdirp(CACHE_DIRECTORY);
await mkdirp(CACHE_DIRECTORY, {});
// Fetch the latest repository configuration
const defaultConfig: LamingtonConfig = {
...DEFAULT_CONFIG,
cdt: await ConfigManager.getAssetURL('EOSIO', 'eosio.cdt', 'amd64.deb'),
eos: await ConfigManager.getAssetURL('EOSIO', 'eos', 'ubuntu-18.04'),
...DEFAULT_CONFIG,
};
// Cache the configuration file to disk
await writeFile(atPath, JSON.stringify(defaultConfig, null, 4), ENCODING);
Expand Down
2 changes: 1 addition & 1 deletion src/project/projectManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class ProjectManager {
// Construct directory path
const dirPath = path.join(process.cwd(), dirName);
// Create directory if missing
if (!(await exists(dirPath))) await mkdirp(path.join(process.cwd(), dirName));
if (!(await exists(dirPath))) await mkdirp(path.join(process.cwd(), dirName), {});
// Return the directory name
return dirPath;
}
Expand Down

0 comments on commit 20f4f2b

Please sign in to comment.