Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

feat: update create-react-app base to 5 and correct tooling issues #1342

Merged
merged 3 commits into from
Dec 20, 2021

Conversation

0-vortex
Copy link
Contributor

@0-vortex 0-vortex commented Dec 17, 2021

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🔖 Release
  • 🚩 Other

Description

This PR does a bunch of things:

  • updates create-react-app to 5 and webpack tooling to 5
  • simplifies babel and eslint configurations
  • implements new github actions cache
  • fixes static deployment and diagram artifacts
  • updates lockfile to version 3
  • removes polyfills
  • updates webpack configuration
  • updates testing configuration and adds coverage report
  • adds new workbox configuration
  • adds web vitals configuration
  • fixes all code standards issues
  • makes more workflows reusable

Related Tickets & Documents

closes #1131

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 readme
  • 📜 contributing.md
  • 📓 docs
  • 📕 storybook
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

Copy link
Member

@bdougie bdougie left a comment

Choose a reason for hiding this comment

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

Left a few comments. Just curious about a few things. Also generally curious about the reportWebVitals.js file and how that is being used.

src/components/Contributions.js Show resolved Hide resolved
src/components/Issues.js Show resolved Hide resolved
@@ -26,7 +26,7 @@ function Repository({user, match}) {
} = match;
const [repository, setRepository] = useState(null);
const [error, setError] = useState(null);
const [note, setNote] = useState(location.note);
const [note, setNote] = useState(null);
Copy link
Member

Choose a reason for hiding this comment

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

Curious about this as well. Does this solve an error that was overlooked?

Copy link
Contributor

Choose a reason for hiding this comment

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

I’ve made this adjustment offline in the vite branch in response to some errors. but haven’t committed or pushed. I don’t know what location.note Referred to but being that it was the prefetch state value something “empty” makes sense to have here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

location.note was never really populated - that key doesn't exist in the location object

@bdougie bdougie merged commit d30044c into open-sauced:main Dec 20, 2021
@0-vortex
Copy link
Contributor Author

@bdougie this was missing some commits :D I'll cancel the release flow and re-open if that's ok 🍕

0-vortex added a commit to 0-vortex/open-sauced that referenced this pull request Dec 20, 2021
…-5-webpack-5

* origin/main:
  feat: update create-react-app base to 5 and correct tooling issues (open-sauced#1342)
github-actions bot pushed a commit that referenced this pull request Dec 20, 2021
## [0.41.0](v0.40.2...v0.41.0) (2021-12-20)

### 🍕 Features

* update create-react-app base to 5 and correct tooling issues ([#1342](#1342)) ([d30044c](d30044c))

### 🐛 Bug Fixes

* update create-react-app base to 5 and correct tooling issues ([#1344](#1344)) ([0fee440](0fee440)), closes [#1131](#1131) [#1343](#1343)
0-vortex added a commit to mtfoley/open-sauced that referenced this pull request Dec 20, 2021
* origin/main:
  chore(minor): release 0.41.0 [skip ci]
  fix: update create-react-app base to 5 and correct tooling issues (open-sauced#1344)
  feat: update create-react-app base to 5 and correct tooling issues (open-sauced#1342)
  chore(deps-dev): bump postcss-preset-env from 7.0.1 to 7.0.2 (open-sauced#1338)
  chore(patch): release 0.40.2 [skip ci]
  fix: correct docker build (open-sauced#1335)
  build: update deps and semantic release (open-sauced#1333)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: webpack 5 dependency updates
3 participants