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

Fix Dependabot #124 cross-spawn; Upgrade tiptap, css-loader@7 #1303

Merged
merged 6 commits into from
Dec 4, 2024

Conversation

jeffbax
Copy link
Collaborator

@jeffbax jeffbax commented Dec 4, 2024

Started fixing https://github.com/user-interviews/ui-design-system/security/dependabot/124

But kept pushing the rest of our dependencies and got everything to work except I didn't try the latest eslint given it is usually a huge pain in the butt.

Major upgrade of cssloader @ 7.x

Upgrades minor/patch:

  • @babel
  • @storybook
  • @testing-library/jest-dom
  • @tiptap
  • @types/jest
  • @types/react-dom
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser
  • bootstrap
  • chromatic
  • date-fns-tz
  • eslint-plugins
  • react-bootstrap
  • react-currency-input-field
  • react-hook-form
  • react-loading-skeleton
  • react-select
  • sanitize-html
  • sass-loader
  • typescript
  • webpack

Tested each component renders in Storybook:
image

@jeffbax jeffbax changed the title Fix Dependabot #124 cross-spawn, upgrade CSS-Loader@7 Fix Dependabot #124 cross-spawn, upgrade css-loader@7 Dec 4, 2024
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';

import classNames from 'classnames';

import styles from './CheckboxButton.module.scss';
import * as styles from './CheckboxButton.module.scss';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these were the breaking changes for css-loader https://github.com/webpack-contrib/css-loader/releases/tag/v7.0.0

"@tiptap/pm": "^2.7.4",
"@tiptap/react": "^2.7.4",
"@tiptap/suggestion": "^2.7.4",
"@tiptap/core": "^2.10.3",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically I clicked through each component in the app and confirmed they were loading with no iframe bundle errors, ran lint

package.json Show resolved Hide resolved
@jeffbax jeffbax changed the title Fix Dependabot #124 cross-spawn, upgrade css-loader@7 Fix Dependabot #124 cross-spawn, upgrade tiptap, css-loader@7 Dec 4, 2024
@jeffbax jeffbax changed the title Fix Dependabot #124 cross-spawn, upgrade tiptap, css-loader@7 Fix Dependabot #124 cross-spawn; Upgrade tiptap, css-loader@7 Dec 4, 2024
Copy link

@smcabrera smcabrera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jeffbax jeffbax merged commit f827f73 into main Dec 4, 2024
4 checks passed
@jeffbax jeffbax deleted the dependabot/124-cross-spawn branch December 4, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants