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: bump major versions of client dependencies #529

Merged
merged 10 commits into from
Aug 11, 2023

Commits on Aug 10, 2023

  1. chore: bump major versions of client dependencies

    1. Bump all minor and patch versions of all packages.
    2. Upgrade `autoprefixer`: Use `.browserslistrc` and delete `.postcssrc`
      Add it to `postcss.config.js`
      Install and add `postcss-preset-env` to `postcss.config.js`
    3. Upgrade `immutable`: Explicitly convert all `Array`s to `List`s
    4. Upgrae `marked`: Install `marked-gfm-heading-id` to support `gfm` opt
    5. Upgrade `react-router`:
      a. Remove `exact`
      b. Use `Routes` instead of `Switch`.
      c. Import `StaticRouter` from `react-router-dom/server`.
      d. Use `element` instead of `component`
      e. Use absolute paths instead of relative in Links.
      f. Convert Two Components to Functional React ones in order to use
        `useLocation` hook.
      g. Use `isActive` in `className` instead of `activeClassName`.
      h. Use `Navigate` instead of `Redirect`.
      i. Reset state once redirected.
    6. Upgrade `react-transition-group`:
      a. Use `TransitionGroup` and `CSSTransition` instead of
        `ReactCSSTransitionGroup`.
      b. Convert one component to a Functional React one to use `forwardRef`
      c. Add `nodeRef` as part of the state to track DOM nodes for animation
    7. Install `typescript` because it's a needed peer depenency of
      `prettier-eslint-cli`
    
    Signed-off-by: Khaled Emara <[email protected]>
    KhaledEmaraDev authored and Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    bde133a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ad4cab View commit details
    Browse the repository at this point in the history
  3. Add x86_64-linux platform

    ahangarha authored and Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    d160ee8 View commit details
    Browse the repository at this point in the history
  4. Upgrade to Shakapacker 7.0.2

    ahangarha authored and Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    37bcfca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6f2fe92 View commit details
    Browse the repository at this point in the history
  6. Remove deprecated option

    Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    1e30e07 View commit details
    Browse the repository at this point in the history
  7. Solve the marked warnings

    Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    4223647 View commit details
    Browse the repository at this point in the history
  8. Move the comment component ref to CommentList

    This commit solve the warning of unexpected ref object provided for a div.
    Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    907295a View commit details
    Browse the repository at this point in the history
  9. Fix add comment ref error

    - Since we create the comment nodeRef in the CommentList component
      We don’t need it to be created during adding a comment.
    
    - We shouldn’t change the props of a react component, It is not
      the best practice, So that this commit creates the nodeRef in the
      render function where it is used instead of the constructor function.
    Yassa-hue committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    8c13893 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Apply review requests

    Yassa-hue committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    e849ebf View commit details
    Browse the repository at this point in the history