diff --git a/code/lib/cli-storybook/src/sandbox.ts b/code/lib/cli-storybook/src/sandbox.ts index 4bbe097d7d16..9b02ca82dd4e 100644 --- a/code/lib/cli-storybook/src/sandbox.ts +++ b/code/lib/cli-storybook/src/sandbox.ts @@ -207,7 +207,7 @@ export const sandbox = async ({ force: true, dir: templateDestination, }); - // throw an error if templateDestination is an empty directory using fs-extra + // throw an error if templateDestination is an empty directory if ((await readdir(templateDestination)).length === 0) { const selected = chalk.yellow(templateId); throw new Error(dedent` diff --git a/code/package.json b/code/package.json index 000f4d270a0b..af2a344764ec 100644 --- a/code/package.json +++ b/code/package.json @@ -168,7 +168,6 @@ "@testing-library/user-event": "^14.5.2", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/express": "^4.17.21", - "@types/fs-extra": "^11.0.1", "@types/lodash": "^4.14.167", "@types/mock-require": "^2.0.3", "@types/node": "^22.0.0", diff --git a/code/yarn.lock b/code/yarn.lock index f4822025b30a..33d11fccd4f5 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6867,7 +6867,6 @@ __metadata: "@testing-library/user-event": "npm:^14.5.2" "@trivago/prettier-plugin-sort-imports": "npm:^4.3.0" "@types/express": "npm:^4.17.21" - "@types/fs-extra": "npm:^11.0.1" "@types/lodash": "npm:^4.14.167" "@types/mock-require": "npm:^2.0.3" "@types/node": "npm:^22.0.0" @@ -7855,16 +7854,6 @@ __metadata: languageName: node linkType: hard -"@types/fs-extra@npm:^11.0.1": - version: 11.0.4 - resolution: "@types/fs-extra@npm:11.0.4" - dependencies: - "@types/jsonfile": "npm:*" - "@types/node": "npm:*" - checksum: 10c0/9e34f9b24ea464f3c0b18c3f8a82aefc36dc524cc720fc2b886e5465abc66486ff4e439ea3fb2c0acebf91f6d3f74e514f9983b1f02d4243706bdbb7511796ad - languageName: node - linkType: hard - "@types/fs-extra@npm:^5.0.5": version: 5.1.0 resolution: "@types/fs-extra@npm:5.1.0"