Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Remove unused dependencies in /lib #19100

Merged
merged 8 commits into from Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion code/lib/addons/package.json
Expand Up @@ -41,7 +41,6 @@
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/router": "7.0.0-alpha.30",
"@storybook/theming": "7.0.0-alpha.30",
"@types/webpack-env": "^1.16.4",
"global": "^4.4.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions code/lib/api/package.json
Expand Up @@ -49,11 +49,11 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@jest/globals": "^26.6.2",
"@storybook/core-common": "7.0.0-alpha.30",
"@types/lodash": "^4.14.167",
"@types/qs": "^6",
"@types/semver": "^7.3.4",
"flush-promises": "^1.0.2",
"preval.macro": "^5.0.0",
"qs": "^6.10.1",
"typescript": "~4.6.3"
},
Expand Down
4 changes: 3 additions & 1 deletion code/lib/blocks/package.json
Expand Up @@ -63,7 +63,9 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/addons": "7.0.0-alpha.30"
"@storybook/addon-actions": "7.0.0-alpha.30",
"@storybook/addons": "7.0.0-alpha.30",
"@types/color-convert": "^2.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
Expand Down
1 change: 0 additions & 1 deletion code/lib/builder-manager/package.json
Expand Up @@ -48,7 +48,6 @@
"@types/ejs": "^3.1.1",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
"browser-assert": "^1.2.1",
"chalk": "^4.1.0",
"ejs": "^3.1.8",
"esbuild": "^0.14.48",
"esbuild-plugin-alias": "^0.2.1",
Expand Down
2 changes: 0 additions & 2 deletions code/lib/builder-vite/package.json
Expand Up @@ -30,12 +30,10 @@
"@storybook/preview-web": "7.0.0-alpha.30",
"@storybook/source-loader": "7.0.0-alpha.30",
"@vitejs/plugin-react": "^2.0.0",
"ast-types": "^0.14.2",
"es-module-lexer": "^0.9.3",
"glob": "^7.2.0",
"glob-promise": "^4.2.0",
"magic-string": "^0.26.1",
"react-docgen": "^6.0.0-alpha.0",
"slash": "^3.0.0",
"vite": "3"
},
Expand Down
22 changes: 0 additions & 22 deletions code/lib/builder-vite/src/types/react-docgen.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions code/lib/builder-webpack5/package.json
Expand Up @@ -58,8 +58,6 @@
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"css-loader": "^6.7.1",
"fork-ts-checker-webpack-plugin": "^7.2.8",
"glob": "^7.1.6",
"glob-promise": "^3.4.0",
"global": "^4.4.0",
"html-webpack-plugin": "^5.5.0",
"path-browserify": "^1.0.1",
Expand Down
2 changes: 0 additions & 2 deletions code/lib/cli/package.json
Expand Up @@ -62,9 +62,7 @@
"fs-extra": "^9.0.1",
"get-port": "^5.1.1",
"globby": "^11.0.2",
"js-yaml": "^3.14.1",
"jscodeshift": "^0.13.1",
"json5": "^2.1.3",
"leven": "^3.1.0",
"prompts": "^2.4.0",
"puppeteer-core": "^2.1.1",
Expand Down
8 changes: 1 addition & 7 deletions code/lib/client-api/package.json
Expand Up @@ -35,25 +35,19 @@
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.30",
"@storybook/channel-postmessage": "7.0.0-alpha.30",
"@storybook/channels": "7.0.0-alpha.30",
"@storybook/client-logger": "7.0.0-alpha.30",
"@storybook/core-events": "7.0.0-alpha.30",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/store": "7.0.0-alpha.30",
"@types/qs": "^6.9.5",
"@types/webpack-env": "^1.16.4",
"dequal": "^2.0.2",
"global": "^4.4.0",
"lodash": "^4.17.21",
"memoizerific": "^1.11.3",
"qs": "^6.10.0",
"store2": "^2.12.0",
"synchronous-promise": "^2.0.15",
"ts-dedent": "^2.0.0",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/core-common": "7.0.0-alpha.30",
"typescript": "~4.6.3"
},
"peerDependencies": {
Expand Down
12 changes: 0 additions & 12 deletions code/lib/components/package.json
Expand Up @@ -55,30 +55,18 @@
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/theming": "7.0.0-alpha.30",
"memoizerific": "^1.11.3",
"qs": "^6.10.0",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@popperjs/core": "^2.6.0",
"@testing-library/jest-dom": "^5.16.4",
"@types/color-convert": "^2.0.0",
"@types/lodash": "^4.14.182",
"@types/overlayscrollbars": "^1.12.0",
"@types/qs": "^6.9.7",
"@types/react-syntax-highlighter": "11.0.5",
"@types/util-deprecate": "^1.0.0",
"color-convert": "^2.0.1",
"css": "^3.0.0",
"dequal": "^2.0.2",
"global": "^4.4.0",
"jest": "^26.6.3",
"lodash": "^4.17.21",
"markdown-to-jsx": "^7.1.3",
"overlayscrollbars": "^1.13.1",
"polished": "^4.2.2",
"prettier": ">=2.2.1 <=2.3.0",
"prop-types": "^15.7.2",
"react-colorful": "^5.1.2",
"react-popper-tooltip": "^3.1.1",
"react-syntax-highlighter": "^15.4.5",
"react-textarea-autosize": "^8.3.0",
Expand Down
4 changes: 0 additions & 4 deletions code/lib/core-client/package.json
Expand Up @@ -44,12 +44,8 @@
"@storybook/preview-web": "7.0.0-alpha.30",
"@storybook/store": "7.0.0-alpha.30",
"@storybook/ui": "7.0.0-alpha.30",
"ansi-to-html": "^0.6.11",
"global": "^4.4.0",
"lodash": "^4.17.21",
"qs": "^6.10.0",
"regenerator-runtime": "^0.13.7",
"ts-dedent": "^2.0.0",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/core-client/typings.d.ts
@@ -1,4 +1,3 @@
declare module 'ansi-to-html';
declare module '@storybook/preview-web/dist/cjs/PreviewWeb.mockdata';

declare class AnsiToHtml {
Expand Down
26 changes: 0 additions & 26 deletions code/lib/core-common/package.json
Expand Up @@ -47,36 +47,12 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.12",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-proposal-private-methods": "^7.12.1",
"@babel/plugin-proposal-private-property-in-object": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-arrow-functions": "^7.12.1",
"@babel/plugin-transform-block-scoping": "^7.12.12",
"@babel/plugin-transform-classes": "^7.12.1",
"@babel/plugin-transform-destructuring": "^7.12.1",
"@babel/plugin-transform-for-of": "^7.12.1",
"@babel/plugin-transform-parameters": "^7.12.1",
"@babel/plugin-transform-shorthand-properties": "^7.12.1",
"@babel/plugin-transform-spread": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.1",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"@storybook/node-logger": "7.0.0-alpha.30",
"@storybook/semver": "^7.3.2",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-polyfill-corejs3": "^0.1.0",
"chalk": "^4.1.0",
"esbuild": "^0.14.48",
"esbuild-register": "^3.3.3",
Expand All @@ -86,7 +62,6 @@
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"handlebars": "^4.7.7",
"json5": "^2.1.3",
"lazy-universal-dotenv": "^3.0.1",
"picomatch": "^2.3.0",
"pkg-dir": "^5.0.0",
Expand All @@ -98,7 +73,6 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@types/compression": "^1.7.0",
"@types/mock-fs": "^4.13.0",
"@types/picomatch": "^2.3.0",
"mock-fs": "^4.13.0",
Expand Down
4 changes: 2 additions & 2 deletions code/lib/core-server/package.json
Expand Up @@ -53,7 +53,6 @@
"boxen": "^5.1.2",
"chalk": "^4.1.0",
"cli-table3": "^0.6.1",
"commander": "^6.2.1",
"compression": "^1.7.4",
"detect-port": "^1.3.0",
"express": "^4.17.1",
Expand All @@ -71,7 +70,6 @@
"slash": "^3.0.0",
"telejson": "^6.0.8",
"ts-dedent": "^2.0.0",
"util-deprecate": "^1.0.2",
"watchpack": "^2.2.0",
"ws": "^8.2.3"
},
Expand All @@ -81,7 +79,9 @@
"@types/ip": "^1.1.0",
"@types/serve-favicon": "^2.5.2",
"@types/ws": "^8",
"jest-os-detection": "^1.3.1",
"jest-specific-snapshot": "^4.0.0",
"ts-jest": "^26.4.4",
"typescript": "~4.6.3",
"webpack": "5"
},
Expand Down
3 changes: 2 additions & 1 deletion code/lib/core-webpack/package.json
Expand Up @@ -48,7 +48,8 @@
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"typescript": "~4.6.3"
"typescript": "~4.6.3",
"webpack": "5"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 0 additions & 5 deletions code/lib/csf-tools/package.json
Expand Up @@ -34,21 +34,16 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/generator": "^7.12.11",
"@babel/parser": "^7.12.11",
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@babel/preset-env": "^7.12.11",
"@babel/traverse": "^7.12.11",
"@babel/types": "^7.12.11",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"core-js": "^3.8.2",
"fs-extra": "^9.0.1",
"global": "^4.4.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@storybook/mdx2-csf": "^0.0.3",
"@types/fs-extra": "^9.0.6",
"js-yaml": "^3.14.1",
"typescript": "~4.6.3"
Expand Down
4 changes: 3 additions & 1 deletion code/lib/preview-web/package.json
Expand Up @@ -35,7 +35,6 @@
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.30",
"@storybook/channel-postmessage": "7.0.0-alpha.30",
"@storybook/channels": "7.0.0-alpha.30",
"@storybook/client-logger": "7.0.0-alpha.30",
"@storybook/core-events": "7.0.0-alpha.30",
Expand All @@ -50,6 +49,9 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@storybook/channel-postmessage": "7.0.0-alpha.30",
"react": "16.14.0",
"ts-jest": "^28.0.8",
"typescript": "~4.6.3"
},
"publishConfig": {
Expand Down
2 changes: 0 additions & 2 deletions code/lib/router/package.json
Expand Up @@ -41,9 +41,7 @@
"devDependencies": {
"dequal": "^2.0.2",
"global": "^4.4.0",
"history": "5.0.0",
"lodash": "^4.17.21",
"react-router": "6.0.2",
"react-router-dom": "6.0.2",
"ts-dedent": "^2.0.0",
"ts-node": "^10.4.0",
Expand Down
4 changes: 1 addition & 3 deletions code/lib/source-loader/package.json
Expand Up @@ -35,15 +35,13 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "7.0.0-alpha.30",
"@storybook/client-logger": "7.0.0-alpha.30",
"@storybook/csf": "0.0.2--canary.0899bb7.0",
"estraverse": "^5.2.0",
"global": "^4.4.0",
"lodash": "^4.17.21",
"prettier": ">=2.2.1 <=2.3.0"
},
"devDependencies": {
"jest-specific-snapshot": "^4.0.0",
"typescript": "~4.6.3"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion code/lib/telemetry/package.json
Expand Up @@ -40,7 +40,6 @@
"detect-package-manager": "^2.0.1",
"fetch-retry": "^5.0.2",
"fs-extra": "^9.0.1",
"global": "^4.4.0",
"isomorphic-unfetch": "^3.1.0",
"nanoid": "^3.3.1",
"read-pkg-up": "^7.0.1"
Expand Down
1 change: 0 additions & 1 deletion code/lib/telemetry/src/typings.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion code/lib/theming/package.json
Expand Up @@ -62,7 +62,6 @@
"global": "^4.4.0",
"polished": "^4.2.2",
"ts-dedent": "^2.0.0",
"ts-node": "^10.4.0",
"typescript": "~4.6.3"
},
"peerDependencies": {
Expand Down
5 changes: 1 addition & 4 deletions code/lib/ui/package.json
Expand Up @@ -52,7 +52,6 @@
"prepare": "../../../scripts/prepare/bundle.ts"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@storybook/addons": "7.0.0-alpha.30",
"@storybook/api": "7.0.0-alpha.30",
Expand All @@ -70,7 +69,6 @@
"copy-to-clipboard": "^3.3.1",
"downshift": "^6.0.15",
"enzyme": "^3.11.0",
"flush-promises": "^1.0.2",
"fs-extra": "^9.0.1",
"fuse.js": "^3.6.1",
"global": "^4.4.0",
Expand All @@ -88,8 +86,7 @@
"shelljs": "^0.8.5",
"store2": "^2.12.0",
"ts-dedent": "^2.0.0",
"typescript": "~4.6.3",
"util": "^0.12.4"
"typescript": "~4.6.3"
},
"publishConfig": {
"access": "public"
Expand Down