Skip to content

Commit

Permalink
remove @types/fs-extra
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Sep 17, 2024
1 parent 8ac3e53 commit 8115974
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion code/lib/cli-storybook/src/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 0 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 8115974

Please sign in to comment.