Skip to content

[lerna] upgrade to recent version #86

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

Merged
merged 1 commit into from
Sep 21, 2023
Merged

[lerna] upgrade to recent version #86

merged 1 commit into from
Sep 21, 2023

Conversation

marcdumais-work
Copy link
Contributor

@marcdumais-work marcdumais-work commented Sep 19, 2023

Description

During the "yarn upgrade" that came along the lerna upgrade, it was found that the "tslint" dependencies were no longer valid (deprecated, old).

Manually running tslint from the master branch revealed that the repo's code has not been following the configured rules, probably for a long time (>100 violations). In consequence, I think the best approach at this time is to remove tslint's dependencies and configs.

We can consider adding ESLint to the repo, separately, if desired.

How to test?

Build the repo and run the tests. I have followed the examples given in the repo's README and found them to work. However I got better code coverage test stats when running without the suggested collectCoverageFrom option. i.e.

Running: yarn test --coverage

Instead of: yarn test --coverage --collectCoverageFrom='src/**/*.ts'

In bonus, with the updated dependencies of this PR, we get more colourful results.

yarn audit

Before (master):
image

This PR:
image

During the "yarn upgrade" that came along the lerna upgrade, it was
found that the "tslint" dependencies were no longer valid (deprecated,
old).

Manually running tslint from the master branch revealed that the
repo's code has not been following the configured rules, probably
for a long time (>100 violations). In consequence, I think the best
approach at this time is to remove tslint's dependencies and configs.

We can consider adding ESLint to the repo, separately, if desired.

Fixes #84

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks a lot!

@marcdumais-work marcdumais-work merged commit 5c2d465 into master Sep 21, 2023
@marcdumais-work marcdumais-work deleted the lerna-upgrade branch September 21, 2023 16:11
@marcdumais-work marcdumais-work mentioned this pull request Mar 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants