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

feat(mojaloop/#2092)!: upgrade nodeJS version for core services #125

Merged
merged 12 commits into from
May 19, 2022

Conversation

kleyow
Copy link
Contributor

@kleyow kleyow commented May 18, 2022

feat(mojaloop/#2092): upgrade nodeJS version for core services - mojaloop/project#2092

  • Update ci machines/slack announcements/automated releases
  • Bumped dependencies
  • Major bump since big dep version leap
  • Removed eslint rc/ignore since library uses standard and has no ts types and as such does not need these.

Notes:

  • npm-audit-resolver v3.0.0-7 is a candidate release to resolve compatibility with npm v7+ as described in Doesn't work with npm@7 and above [work almost finished, see @next tag on npm] naugtur/npm-audit-resolver#34. This will need to be addressed going forward as npm run audit:resolve (i.e. resolve-audit) is currently not functioning. As a work-around, we need to manually run the following command npm audit fix. The npm run audit:check (i.e. check-audit) still works as expected.
  • Primarily had to update node-rdkafka>=2.11 to support node 16 which one of the 3ppi services depends on.
  • Tape dependency has been added to the ncurc config to ignore dep:checks as v5+ will cause tests to fail. To be addressed by a future story.

BREAKING CHANGE: major version bump for node v16 LTS support, and re-structuring of project directories to align to core Mojaloop repositories!

@kleyow kleyow changed the title feat: upgrade to node lts 16.15 feat!: upgrade to node lts 16.15 May 18, 2022
.nvmrc Show resolved Hide resolved
@kleyow kleyow changed the title feat!: upgrade to node lts 16.15 feat(mojaloop/#2092)!: upgrade nodeJS version for core services May 18, 2022
Copy link
Member

@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Member

@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

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

Please align linting to https://github.com/mojaloop/typescript-svc-template.

Note that some updates are needed to the the template, which have been made in this PR: mojaloop/event-sdk#67

Copy link
Member

@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

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

re-reviewing

mdebarros added 3 commits May 19, 2022 12:50
feat(mojaloop/#2092): upgrade nodeJS version for core services - mojaloop/project#2092
- removed unused files
- removed unused dependencies
- re-aligned package.json
- added replace dependency
- added IGNORE and test/result patterns to gitignore
- removed .versionrc.js for consistency
- renamed ncurc.json to js so TODO comment could be added
- added @mojaloop/* dependencies as DEV dependencies. This will ensure that the versioning will be managed by dep:update script
- fixed issue with pretest script using npx instead of npm
- also added an emitter event for disconnects that was missing from the consumer & producer implementations
mdebarros
mdebarros previously approved these changes May 19, 2022
Copy link
Member

@mdebarros mdebarros left a comment

Choose a reason for hiding this comment

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

+1

@mdebarros mdebarros merged commit 35313c3 into mojaloop:master May 19, 2022
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.

3 participants