Skip to content

Commit

Permalink
feat(mojaloop/#2092): upgrade nodeJS version for core services
Browse files Browse the repository at this point in the history
feat(mojaloop/#2092): upgrade nodeJS version for core services - mojaloop/project#2092
- Fixed imports
- Added 'serialize-error' to ncurc for dep:check to ignore future updates - this is because v9+ only supports ESM loaders and not CJS. This will need to be addressed in a future story.
- Aligned jest config to moja standard
- Cleaned up Package.json
- Added 'prepublishOnly' script to package.json to ensure that dist is build prior to publishing
- Updated tsconfig to latest standards
  • Loading branch information
mdebarros committed May 19, 2022
1 parent e5aec22 commit 46f8a2d
Show file tree
Hide file tree
Showing 10 changed files with 325 additions and 1,109 deletions.
356 changes: 260 additions & 96 deletions .circleci/config.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ private
# Ignore test results
**/test/results/*

# General ignore
# Ignore general
**/*.IGNORE.*
1 change: 1 addition & 0 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"reject": [
"serialize-error"
]
}
9 changes: 8 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
module.exports = {
displayName: 'tsc',
testMatch: [
'**/test/unit/**/*.test.ts'
],
transform: {
".(ts)": "ts-jest"
'^.+\\.ts$': 'ts-jest',
},
transformIgnorePatterns: [
'^.+\\.json$',
'jest.config.js'
],
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
verbose: true,
coverageThreshold: {
Expand Down
Loading

0 comments on commit 46f8a2d

Please sign in to comment.