Skip to content

Commit

Permalink
feat(mojaloop/#2092): upgrade nodeJS version for core services (#168)
Browse files Browse the repository at this point in the history
feat(mojaloop/#2092): upgrade nodeJS version for core services (#168) - mojaloop/project#2745
- updated dependencies
- upgraded nodejs to latest lts
  - added .nvmrc
  - updated circleci config
- updated ci-cd for automated release
- updated ci-cd ubuntu image to the latest available
- fixed auto-commit messages on CI-CD release to correctly reference the mojaloop/issue repo by adding a standard-release override to the package.json
- re-structured project code to align to core Mojaloop repositories to enable sharing of the circleci configuration to run standard CI-CD flows
- fixed unit test paths to reflect the project re-structuring
- added `test-lint` to CI-CD flows
- added `test-dependencies` to CI-CD flows
- added slack messages to GH, NPM publish jobs with appropriate error messages. We can now track GH and NPM jobs independently via slack as a result. Previously only GH releases would be announced, with the NPM release potentially being "swallowed" until someone noticed.
- added `snapshot` script to package.json. This will auto-bump the npm version with `snapshot.#` and commit both the package/package-lock files. Super useful for working with snapshot releases. This will also create an associated snapshot tag, and all the developer would need to do is push that tag for the snapshot build to be released. This can be done from any branch.
- updated CircleCI Orb for Slack notifications to the latest version using standard templates: https://github.com/mojaloop/ci-config/tree/master/slack-templates

Notes: 
- npm-audit-resolver v3.0.0-7 is a candidate release to resolve compatibility with npm v7+ as described in 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.

BREAKING CHANGE: major version bump for node v16 LTS support, and re-structuring of project directories to align to core Mojaloop repositories!
  • Loading branch information
mdebarros authored May 9, 2022
1 parent 5e7fa38 commit e0191bf
Show file tree
Hide file tree
Showing 56 changed files with 22,991 additions and 9,594 deletions.
530 changes: 333 additions & 197 deletions .circleci/config.yml

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions .ncurc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reject:
# ILP-Packet <= v2.2.0 is required to support the ILP-Packet version used by the Mojaloop Specification v1.x.
- "ilp-packet"
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.14.2
File renamed without changes.
Loading

0 comments on commit e0191bf

Please sign in to comment.