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

Upgrade node version and dependencies #6667

Open
icanhyperfocus opened this issue Oct 8, 2022 · 2 comments
Open

Upgrade node version and dependencies #6667

icanhyperfocus opened this issue Oct 8, 2022 · 2 comments

Comments

@icanhyperfocus
Copy link

Describe the bug
Node version and some dependencies are deprecated

To Reproduce
node v8 is deprecated and can be checked in node js official website and other dependencies depreciation can be checked with npm audit

Expected behavior
Can run and build app with latest node version and dependencies

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@icanhyperfocus
Copy link
Author

Is it possible to add hacktoberfest topic to this org?

@icanhyperfocus
Copy link
Author

Rough idea to get started

Dependencies:

@topcoder-platform/tc-auth-lib

I don't think anything needed to be updated in this

tc-core-library-js

This library should be updated so it can be run in browser. Currently it uses many node related modules. Otherwise requires too many polyfills

topcoder-react-lib

Currenty its bundled with wepack. We should remove usage of webpack and let community-app handle it

topcoder-react-ui-kit

Currenty its bundled with wepack. We should remove usage of webpack and let community-app handle it

topcoder-react-utils

Currenty its bundled with wepack. We should remove usage of webpack and let community-app handle it

changes in community-app

  • First update the above libs
  • Instead of both build and run step we should be needing only one step that is directly running app like create-react-app does
  • Update webpack and babel and other dependencies to latest versions
  • Any deprecated modules to be replaced with alternatives.
  • Any node related module usage like crypto module being used need to replaced

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

No branches or pull requests

1 participant