Skip to content

Conversation

@llf5185
Copy link

@llf5185 llf5185 commented Dec 12, 2025

Created documentation for node dependencies in the project.

Copy link
Contributor

@Rtyujklop Rtyujklop left a comment

Choose a reason for hiding this comment

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

These are the changes I can see now, overall it's good some tweaks can be done if you want.

README.md Outdated
## Dependencies
### root
`ajv`: seems to be unused, may be a subdependency. Compiles JSON schemas to JavaScript code.
Copy link
Contributor

Choose a reason for hiding this comment

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

Since ajv is flagged as “seems to be unused”, it might be worth explicitly noting whether it appears in dependencies vs devDependencies in package.json

Copy link
Author

Choose a reason for hiding this comment

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

Changes from a recent commit now note which of the packages are used as devDependencies.

README.md Outdated
`@semantic-ui-react/css-patch`: patches semicolon issue with semantic (should have been fixed in an update of semanticUI?).
`@testing-library/jest-dom`: currently unused.
Copy link
Contributor

Choose a reason for hiding this comment

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

For @testing-library/jest-dom and @testing-library/user-event, it might be helpful to say “kept for future test expansion” or “candidate for removal” so it’s clear whether they’re intentionally retained.

Copy link
Author

Choose a reason for hiding this comment

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

A notice to keep these dependencies for now, has since been included.

README.md Outdated
`html-entities`: is used for the same thing as `he`.
`prop-types`: a tool used for validating the data types of properties.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe mention whether the project is using PropTypes consistently in new components, or if this is mainly for legacy components.

Copy link
Author

Choose a reason for hiding this comment

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

I've now added more information about the components in which prop-types is used.

`html-to-text`: converts HTML into formatted text. Unclear if this needs to be in root.
### server
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a really helpful addition to the README – having dependency intent documented will make future upgrades and removals much safer.

Dependency documentation now notes which dependencies are
in devDependencies. Additionally, the accuracy of the documentation for
the package ajv has been improved.
Finished incomplete sentence in the caniuse-lite documentation and noted
that the package is a transitive dependency of react-scripts similar to ajv.
@github-project-automation github-project-automation bot moved this from Needs Planning to Under Review in Portal Development Dec 16, 2025
Copy link

@Marrufof Marrufof left a comment

Choose a reason for hiding this comment

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

It nice to have these written out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Under Review

Development

Successfully merging this pull request may close these issues.

5 participants