-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(mojaloop/#3521): nodejs upgrade (#91)
chore(mojaloop/#3521): NodeJS version upgrade - mojaloop/project#3521 - Upgraded nodejs from v16 to v18 LTS - Applied CI changes as previously implemented in [sdk-scheme-adapter](mojaloop/sdk-scheme-adapter#453) - Updated NPM dependencies - Re-implement husky integration due to API changes in husky's latest version - Resolved all audit issues - Fixed docker-compose issues - Migrated `master` branch to `main` branch
- Loading branch information
Showing
29 changed files
with
18,549 additions
and
28,154 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
git update-index --again |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged; npm run test:unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
|
||
module.exports = { | ||
reject: [ | ||
// Upgrading to husky@8 to involves a full config migration with no current and apparent benefit. | ||
// So we are just sticking to husky@6.x.x for the time being. | ||
'husky', | ||
// Upgrading past jest|ts-jest|@types/jest@26 introduces a lot of breaking changes to current tests. | ||
'jest', | ||
'ts-jest', | ||
'@types/jest', | ||
// Upgrading past commander@7 introduces a lot of breaking changes. | ||
'commander' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.15.0 | ||
18.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
module.exports = { | ||
header: '# Changelog: [mojaloop/thirdparty-api-svc](https://github.com/mojaloop/thirdparty-api-svc)', | ||
types: [ | ||
{ type: 'feat', section: 'Features' }, | ||
{ type: 'fix', section: 'Bug Fixes' }, | ||
{ type: 'chore', section: 'Maintenance' }, | ||
{ type: 'ci', section: 'CI/CD' }, | ||
{ type: 'docs', section: 'Documentation' }, | ||
{ type: 'style', section: 'Style Improvements' }, | ||
{ type: 'refactor', section: 'Code Refactor' }, | ||
{ type: 'perf', section: 'Performance' }, | ||
{ type: 'test', section: 'Tests' } | ||
{"type": "feat", "section": "Features"}, | ||
{"type": "fix", "section": "Bug Fixes"}, | ||
{"type": "docs", "section": "Documentation"}, | ||
{"type": "style", "section": "Styling"}, | ||
{"type": "refactor", "section": "Refactors"}, | ||
{"type": "perf", "section": "Performance"}, | ||
{"type": "test", "section": "Tests"}, | ||
{"type": "build", "section": "Build System"}, | ||
{"type": "ci", "section": "CI"}, | ||
{"type": "chore", "section": "Chore"}, | ||
{"type": "revert", "section": "Reverts"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json", | ||
// audit-ci supports reading JSON, JSONC, and JSON5 config files. | ||
// Only use one of ["low": true, "moderate": true, "high": true, "critical": true] | ||
"moderate": true, | ||
"allowlist": [ | ||
// NOTE: Please add as much information as possible to any items added to the allowList | ||
// Currently no fixes available for the following | ||
"GHSA-v88g-cgmw-v5xw", // https://github.com/advisories/GHSA-v88g-cgmw-v5xw | ||
"GHSA-phwq-j96m-2c2q", // https://github.com/advisories/GHSA-phwq-j96m-2c2q | ||
"GHSA-282f-qqgm-c34q", // https://github.com/advisories/GHSA-282f-qqgm-c34q | ||
"GHSA-6vfc-qv3f-vr6c", // https://github.com/advisories/GHSA-6vfc-qv3f-vr6c | ||
"GHSA-mjxr-4v3x-q3m4", // https://github.com/advisories/GHSA-mjxr-4v3x-q3m4 | ||
"GHSA-rjqq-98f6-6j3r", // https://github.com/advisories/GHSA-rjqq-98f6-6j3r | ||
"GHSA-p9pc-299p-vxgp" // https://github.com/advisories/GHSA-p9pc-299p-vxgp | ||
] | ||
} |
Oops, something went wrong.