-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: packages upgrade and code refactoring #196
Conversation
Linter issues should be fixed (See below), and YARN_VERSION should be updated to at least 1.22.18 in Dockerfile as
But we do have the ticket HCRC-119 for changing from Linter issues in CI/CD pipeline:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got docker issues as well. With podman the container could not be created at all and with docker the storybook failed to start.
But since there are lots of fixes anyway for the actual app, I can approve this and the docker issues can be fixed in another PR.
Description
sass-loader
,css-loader
,eslint
andsass
packages stay the same as they are breaking the sass webpack configs.Issues
Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
Not sure how to fix it in webpack config of the storybook main.js. The solution should be this configuration:
sassLoaderOptions: { api: "modern", sassOptions: { includePaths: [path.join(__dirname, '..', 'src/common/styles')], }, },
But as I have downgraded sass-loader, that might not work.
Tests
For some reason with packages upgrade, the
it.each
not working anymore withresetMocks
. When resetMocks commented out the tests are passing. somehow the jestspyOn
breaks with mocks reset.docker compose does not work in podman. might be related to the user permissions.
Niko got different results when running docker locally, for some reason storybook cli 7 was in use. has to be investigated.
Closes
DEV-XXX:
Related
Testing
Automated tests
Manual testing
Screenshots
Additional notes