move webpack 5 storybook packages to optionalDependencies

Change-Id: I496e4e6be461d29c38406d57c9f97311831fc40b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/298113
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Alex Slaughter <aslaughter@instructure.com>
This commit is contained in:
Aaron Ogata 2022-08-08 19:44:30 -07:00
parent b12d70bfa6
commit 5bd97bc8c4
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@ FROM local/ruby-runner
COPY --chown=docker:docker --from=local/cache-helper-collect-yarn /tmp/dst ${APP_HOME}
RUN set -eux; \
(DISABLE_POSTINSTALL=1 yarn install --pure-lockfile || DISABLE_POSTINSTALL=1 yarn install --pure-lockfile --network-concurrency 1) \
(DISABLE_POSTINSTALL=1 yarn install --ignore-optional --pure-lockfile || DISABLE_POSTINSTALL=1 yarn install --ignore-optional --pure-lockfile --network-concurrency 1) \
&& yarn cache clean \
&& ./script/fix_inst_esm.js

View File

@ -212,8 +212,6 @@
"@prettier/plugin-ruby": "^1.5.2",
"@sentry/webpack-plugin": "^1.5.2",
"@sheerun/mutationobserver-shim": "0.3.2",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@testing-library/dom": "^8",
"@testing-library/jest-dom": "^5",
"@testing-library/react": "^12",
@ -342,6 +340,8 @@
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-storyshots": "^6.5.9",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/react": "^6.5.9",
"inspect-process": "^0.5"
},