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 cleaning and upgrading packages #4466

Merged
merged 30 commits into from
Jul 13, 2023

Conversation

Dzuming
Copy link
Contributor

@Dzuming Dzuming commented Jul 7, 2023

  • Provide webpack build-bundle-analyzer via npm run build-bundle-analyzer command
  • Replace lodash default import to named import in the whole codebase, to be consistent (as I checked it doesn't reduce bundle size)
  • Clear build /dist folder before webpack application build
  • Update react to the newest 18.2.0 version and react-based libraries, to the version which supports react 18
  • Replace enzyme with testing-library/react and remove enzyme and enzyme-based dependencies from our codebase

NOTE:

  • We cannot fully use React 18 because we cannot change how react is initialized to https://react.dev/reference/react-dom/client/createRoot. For some reason, WindowManagerProvider styles are not correct (the loader after opening a specific scenario node is not centered), we need to take a look at it later.

  • General observations about bundle size

    • Based on bundlephobia report

    seems like we should try to remove Bootstrap from our codebase in the future

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

created: #4470

github-actions bot and others added 7 commits July 10, 2023 09:15
Co-authored-by: Dzuming <Dzuming@users.noreply.github.com>
# Conflicts:
#	designer/client/src/components/graph/NodeUtils.ts
#	designer/client/src/components/graph/SubprocessSchemaAligner.js
#	designer/client/test/FragmentSchemaAligner-test.js
…kages' into chore_cleaning_and_upgrading_packages

# Conflicts:
#	designer/client/cypress/e2e/__image_snapshots__/electron/Linux/Expression suggester should display javadocs #0.png
This reverts commit 6569239.
@github-actions
Copy link
Contributor

created: #4475

@github-actions
Copy link
Contributor

updated: #4475

@github-actions
Copy link
Contributor

created: #4476

github-actions bot and others added 2 commits July 11, 2023 12:39
@Dzuming Dzuming merged commit 577693f into staging Jul 13, 2023
14 checks passed
@coutoPL coutoPL deleted the chore_cleaning_and_upgrading_packages branch August 17, 2023 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants