Skip to content

Commit

Permalink
[DDW-732] Remove deps
Browse files Browse the repository at this point in the history
  • Loading branch information
renanvalentin committed Nov 29, 2021
1 parent d80dfcc commit 3c858cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion utils/lockfile-checker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lodash.map(json.object, (entry, key) => {
}
});

const dependencyNamesToRemove = ['@types/react-syntax-highlighter', '@types/npmlog', '@types/reactcss', '@types/uglify-js', '@types/parse-json', '@types/html-minifier-terser', '@types/minimist', 'blake2b-wasm@https://github.com/BitGo/blake2b-wasm', 'blake2b@https://github.com/BitGo/blake2b', '@types/micromatch', '@storybook/semver'];
const dependencyNamesToRemove = ['@types/react-syntax-highlighter', '@types/npmlog', '@types/reactcss', '@types/uglify-js', '@types/parse-json', '@types/html-minifier-terser', '@types/minimist', 'blake2b-wasm@https://github.com/BitGo/blake2b-wasm', 'blake2b@https://github.com/BitGo/blake2b', '@types/micromatch', '@storybook/semver', '@types/glob-base', 'glob-base'];
const dependenciesToRemove = Object.keys(json.object).filter(key => dependencyNamesToRemove.find(name => key.includes(name)));
const affectedDependencies = Object.keys(json.object).filter(key => {
const { dependencies } = json.object[key];
Expand Down
14 changes: 0 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3336,7 +3336,6 @@
"@storybook/router" "6.1.18"
"@storybook/theming" "6.1.18"
"@storybook/ui" "6.1.18"
"@types/glob-base" "^0.3.0"
"@types/node-fetch" "^2.5.4"
airbnb-js-shims "^2.2.1"
ansi-to-html "^0.6.11"
Expand Down Expand Up @@ -3364,7 +3363,6 @@
fork-ts-checker-webpack-plugin "^4.1.4"
fs-extra "^9.0.0"
glob "^7.1.6"
glob-base "^0.3.0"
glob-promise "^3.4.0"
global "^4.3.2"
html-webpack-plugin "^4.2.1"
Expand Down Expand Up @@ -3853,10 +3851,6 @@
version "1.2.10"
resolved "https://registry.yarnpkg.com/@types/component-emitter/-/component-emitter-1.2.10.tgz#ef5b1589b9f16544642e473db5ea5639107ef3ea"

"@types/glob-base@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@types/glob-base/-/glob-base-0.3.0.tgz#a581d688347e10e50dd7c17d6f2880a10354319d"

"@types/glob@*":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb"
Expand Down Expand Up @@ -10572,13 +10566,6 @@ github-slugger@^1.0.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.4.0.tgz#206eb96cdb22ee56fdc53a28d5a302338463444e"

glob-base@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
dependencies:
glob-parent "^2.0.0"
is-glob "^2.0.0"

glob-parent@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28"
Expand Down Expand Up @@ -15577,7 +15564,6 @@ parse-glob@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c"
dependencies:
glob-base "^0.3.0"
is-dotfile "^1.0.0"
is-extglob "^1.0.0"
is-glob "^2.0.0"
Expand Down

0 comments on commit 3c858cd

Please sign in to comment.