bcgov / bcgov/itvr

ITVR - Update of Project Dependencies for ITVR Frontend

Open
#528 1 comment 0 reactions 0 assignees View on GitHub
Low Tech Debt
Dominant language
Python
Stars
2
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Describe the task**
In a concerted effort to reduce technical debt and keep our ITVR project up-to-date, we need to upgrade various packages in the frontend.

The following packages have been identified for update:

glob-parent: Update from 3.1.0 to 5.1.2.
webpack: Update from 4.46.0 to 5.75.0.
@storybook/react: Update from 6.5.15 to 7.0.7.

Each update may necessitate code modifications due to deprecations or breaking changes introduced in the newer versions. Confirm all tests are passing following the update and scrutinize for any new warnings or errors.

**Purpose**
The aim of this ticket is to decrease technical debt by updating all dependencies in the ITVR project to their latest versions. This process enhances application performance, patches security vulnerabilities, and prevents future compatibility issues, leading to an overall healthier, secure, and efficient application.

**Acceptance Criteria**
- [ ] All identified packages are updated to the suggested versions
- [ ] All existing tests pass
- [ ] No new warnings or errors

**Notes**
(1) The ITVR frontend service is currently being run outside of docker due to hot-reloading not working for node projects inside lima and also because we don't have a docker desktop licence yet.
(2) The storybook dev dependencies currently break the frontend project; check whether upgrading fixes this

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the ITVR frontend dependency manifest and Storybook setup, then review the compatibility notes for glob-parent, webpack, and @storybook/react at the specified versions. Update the listed packages, address any deprecations or breaking changes, and run the existing frontend tests while checking for new warnings or errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, react, webpack
Domain
build-system, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.