Skip to content

Commit d8169e4

Browse files
authored
chore: remove mkdirp dependency (#252)
1 parent 2519f67 commit d8169e4

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"globby": "^13.1.3",
5555
"js-yaml": "^4.1.0",
5656
"lodash.get": "^4.4.2",
57-
"mkdirp": "^2.0.0",
5857
"p-limit": "^4.0.0",
5958
"resolve.exports": "^2.0.0",
6059
"tslib": "^2.0.0",
@@ -68,7 +67,6 @@
6867
"@types/fs-extra": "11.0.1",
6968
"@types/js-yaml": "4.0.5",
7069
"@types/lodash.get": "4.4.7",
71-
"@types/mkdirp": "1.0.2",
7270
"@types/node": "18.16.12",
7371
"@types/yargs": "17.0.24",
7472
"@typescript-eslint/parser": "5.59.6",

pnpm-lock.yaml

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/build.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { execa, ExecaReturnValue } from 'execa';
55
import fse from 'fs-extra';
66
import { globby } from 'globby';
77
import get from 'lodash.get';
8-
import mkdirp from 'mkdirp';
98
import pLimit from 'p-limit';
109
import { createCommand } from '../command.js';
1110
import { getBobConfig } from '../config.js';
@@ -467,7 +466,7 @@ export function validatePackageJson(
467466
}
468467

469468
async function executeCopy(sourcePath: string, destPath: string) {
470-
await mkdirp(dirname(destPath));
469+
await fse.mkdirp(dirname(destPath));
471470
await fse.copyFile(sourcePath, destPath);
472471
}
473472

0 commit comments

Comments
 (0)