-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(mojaloop/#3475): NodeJS version upgrade
chore(mojaloop/#3475): NodeJS version upgrade - mojaloop/project#3475 - 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 - Replaced deprecated `ttypescript` with `ts-patch` to allow for `typescript` upgrade - Resolved all audit issues
- Loading branch information
Showing
16 changed files
with
6,094 additions
and
9,279 deletions.
There are no files selected for viewing
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,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,17 +1,6 @@ | ||
module.exports = { | ||
reject: [ | ||
// Upgrading past husky@4 to involves a full config migration with no current and apparent benefit. | ||
// So we are just sticking to husky@4.x.x for the time being. | ||
'husky', | ||
// Transpiler currently fails. TODO: Story to investigate and fix. | ||
'openapi-typescript', | ||
// 10.1.0 is a breaking change and has some issues | ||
'@apidevtools/json-schema-ref-parser', | ||
// Upgrading typescript to 5.0.4 causing unit test failures due to breaking changes related to `ttypescript` for 'custom transformers' | ||
'typescript', | ||
// TODO: The new version of npm-check-updates uses new Glob v9.x and it is introducing a dependency Package "path-scurry@1.6.1" which is licensed under "BlueOak-1.0.0" which is not permitted by the Mojaloop License Policy | ||
'npm-check-updates', | ||
// TODO: Upgrading ts-auto-mock is breaking the npm install | ||
'ts-auto-mock' | ||
] | ||
} |
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,55 +0,0 @@ | ||
{ | ||
"decisions": { | ||
"1523|json-refs>graphlib>lodash": { | ||
"decision": "fix", | ||
"madeAt": 1594874545630 | ||
}, | ||
"1523|json-refs>lodash": { | ||
"decision": "fix", | ||
"madeAt": 1594874545630 | ||
}, | ||
"1673|json-refs>graphlib>lodash": { | ||
"decision": "fix", | ||
"madeAt": 1620349428789 | ||
}, | ||
"1673|json-refs>lodash": { | ||
"decision": "fix", | ||
"madeAt": 1620349428789 | ||
}, | ||
"1677|openapi-typescript>meow>normalize-package-data>hosted-git-info": { | ||
"decision": "fix", | ||
"madeAt": 1620349441428 | ||
}, | ||
"1677|openapi-typescript>meow>read-pkg-up>read-pkg>normalize-package-data>hosted-git-info": { | ||
"decision": "ignore", | ||
"madeAt": 1628212241952, | ||
"expiresAt": 1630804238026 | ||
}, | ||
"1753|openapi-typescript>meow>trim-newlines": { | ||
"decision": "fix", | ||
"madeAt": 1623946682346 | ||
}, | ||
"1773|openapi-typescript>meow>normalize-package-data>resolve>path-parse": { | ||
"decision": "fix", | ||
"madeAt": 1628651158363 | ||
}, | ||
"1773|openapi-typescript>meow>read-pkg-up>read-pkg>normalize-package-data>resolve>path-parse": { | ||
"decision": "fix", | ||
"madeAt": 1628651158363 | ||
}, | ||
"1773|ttypescript>resolve>path-parse": { | ||
"decision": "fix", | ||
"madeAt": 1628651158363 | ||
}, | ||
"1081677|undici": { | ||
"decision": "ignore", | ||
"madeAt": 1658705873542 | ||
}, | ||
"1081697|undici": { | ||
"decision": "ignore", | ||
"madeAt": 1658705876146 | ||
} | ||
}, | ||
"rules": {}, | ||
"version": 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
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
Oops, something went wrong.