@mojaloop/ml-testing-toolkit-shared-lib 13.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/commit-msg +4 -0
- package/.husky/post-commit +4 -0
- package/.husky/pre-commit +4 -0
- package/.nvmrc +1 -1
- package/.versionrc.js +17 -0
- package/CHANGELOG.md +11 -2
- package/README.md +2 -2
- package/audit-ci.jsonc +1 -2
- package/commitlint.config.js +29 -0
- package/package.json +16 -11
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
18.17.1
|
package/.versionrc.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
header: '# Changelog: [mojaloop/als-consent-oracle](https://github.com/mojaloop/als-consent-oracle)',
|
|
3
|
+
types: [
|
|
4
|
+
{"type": "feat", "section": "Features"},
|
|
5
|
+
{"type": "fix", "section": "Bug Fixes"},
|
|
6
|
+
{"type": "docs", "section": "Documentation"},
|
|
7
|
+
{"type": "style", "section": "Styling"},
|
|
8
|
+
{"type": "refactor", "section": "Refactors"},
|
|
9
|
+
{"type": "perf", "section": "Performance"},
|
|
10
|
+
{"type": "test", "section": "Tests"},
|
|
11
|
+
{"type": "build", "section": "Build System"},
|
|
12
|
+
{"type": "ci", "section": "CI"},
|
|
13
|
+
{"type": "chore", "section": "Chore"},
|
|
14
|
+
{"type": "revert", "section": "Reverts"}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
# Changelog
|
|
1
|
+
# Changelog: [mojaloop/als-consent-oracle](https://github.com/mojaloop/als-consent-oracle)
|
|
2
|
+
## [14.0.0](https://github.com/mojaloop/ml-testing-toolkit-shared-lib/compare/v13.0.0...v14.0.0) (2023-09-25)
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
|
|
5
|
+
### Chore
|
|
6
|
+
|
|
7
|
+
* **mojaloop/#3460:** nodejs upgrade ([#13](https://github.com/mojaloop/ml-testing-toolkit-shared-lib/issues/13)) ([1afc12c](https://github.com/mojaloop/ml-testing-toolkit-shared-lib/commit/1afc12c83f1a1b990b001baa6468acc41134eb2f)), closes [mojaloop/#3460](https://github.com/mojaloop/project/issues/3460)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### CI
|
|
11
|
+
|
|
12
|
+
* update config to fix publish jobs ([#14](https://github.com/mojaloop/ml-testing-toolkit-shared-lib/issues/14)) ([2067ad9](https://github.com/mojaloop/ml-testing-toolkit-shared-lib/commit/2067ad92e7dce3ff8f440c74f2eea91133fd7842))
|
|
4
13
|
|
|
5
14
|
## [13.0.0](https://github.com/mojaloop/ml-testing-toolkit-shared-lib/compare/v12.2.0...v13.0.0) (2022-07-21)
|
|
6
15
|
|
package/README.md
CHANGED
|
@@ -35,8 +35,8 @@ As part of our CI/CD process, we use a combination of CircleCI, standard-version
|
|
|
35
35
|
npm package and github-release CircleCI orb to automatically trigger our releases
|
|
36
36
|
and image builds. This process essentially mimics a manual tag and release.
|
|
37
37
|
|
|
38
|
-
On a merge to
|
|
38
|
+
On a merge to main, CircleCI is configured to use the mojaloopci github account
|
|
39
39
|
to push the latest generated CHANGELOG and package version number.
|
|
40
40
|
|
|
41
|
-
Once those changes are pushed, CircleCI will pull the updated
|
|
41
|
+
Once those changes are pushed, CircleCI will pull the updated main, tag and
|
|
42
42
|
push a release triggering another subsequent build that also publishes a docker image.
|
package/audit-ci.jsonc
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
// Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
|
|
5
5
|
"moderate": true,
|
|
6
6
|
"allowlist": [
|
|
7
|
-
|
|
8
|
-
"GHSA-cj88-88mr-972w"
|
|
7
|
+
"GHSA-c2qf-rxjj-qqgw" // https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
|
|
9
8
|
]
|
|
10
9
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const versionrc = require('./.versionrc.js')
|
|
2
|
+
|
|
3
|
+
const types = versionrc.types.map((typeDict) => typeDict.type)
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
parserPreset: 'conventional-changelog-conventionalcommits',
|
|
7
|
+
rules: {
|
|
8
|
+
'body-leading-blank': [1, 'always'],
|
|
9
|
+
'body-max-line-length': [2, 'always', 100],
|
|
10
|
+
'footer-leading-blank': [1, 'always'],
|
|
11
|
+
'footer-max-line-length': [2, 'always', 100],
|
|
12
|
+
'header-max-length': [2, 'always', 100],
|
|
13
|
+
'scope-case': [2, 'always', 'lower-case'],
|
|
14
|
+
'subject-case': [
|
|
15
|
+
2,
|
|
16
|
+
'never',
|
|
17
|
+
['sentence-case', 'start-case', 'pascal-case', 'upper-case']
|
|
18
|
+
],
|
|
19
|
+
'subject-empty': [2, 'never'],
|
|
20
|
+
'subject-full-stop': [2, 'never', '.'],
|
|
21
|
+
'type-case': [2, 'always', 'lower-case'],
|
|
22
|
+
'type-empty': [2, 'never'],
|
|
23
|
+
'type-enum': [
|
|
24
|
+
2,
|
|
25
|
+
'always',
|
|
26
|
+
types
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/ml-testing-toolkit-shared-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Shared library for ml-testing-toolkit re-usable functions",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"contributors": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"Miguel de Barros <miguel.debarros@modusbox.com>"
|
|
9
9
|
],
|
|
10
10
|
"engines": {
|
|
11
|
-
"node": "
|
|
11
|
+
"node": ">=18.x"
|
|
12
12
|
},
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"repository": {
|
|
@@ -39,28 +39,33 @@
|
|
|
39
39
|
"test:integration": "./test/integration-runner.sh ",
|
|
40
40
|
"cover": "npx nyc --all report --reporter=lcov npm run test",
|
|
41
41
|
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
|
|
42
|
+
"audit:fix": "npm audit fix",
|
|
42
43
|
"dep:check": "npx ncu -e 2",
|
|
43
44
|
"dep:update": "npx ncu -u",
|
|
45
|
+
"prepare": "husky install",
|
|
44
46
|
"release": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
|
|
45
47
|
"snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
|
|
46
48
|
},
|
|
47
49
|
"dependencies": {
|
|
48
|
-
"ajv": "8.
|
|
50
|
+
"ajv": "8.12.0",
|
|
49
51
|
"faker": "5.5.3",
|
|
50
|
-
"json-schema-faker": "0.5.
|
|
52
|
+
"json-schema-faker": "0.5.3",
|
|
51
53
|
"json-schema-ref-parser": "9.0.9",
|
|
52
54
|
"lodash": "4.17.21",
|
|
53
55
|
"node-dir": "0.1.17"
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"jest": "
|
|
59
|
-
"
|
|
60
|
-
"
|
|
58
|
+
"@commitlint/cli": "^17.7.1",
|
|
59
|
+
"@commitlint/config-conventional": "^17.7.0",
|
|
60
|
+
"@types/jest": "29.5.5",
|
|
61
|
+
"audit-ci": "^6.6.1",
|
|
62
|
+
"husky": "^8.0.3",
|
|
63
|
+
"jest": "29.7.0",
|
|
64
|
+
"jest-junit": "16.0.0",
|
|
65
|
+
"npm-check-updates": "16.14.4",
|
|
61
66
|
"pre-commit": "^1.2.2",
|
|
62
|
-
"replace": "^1.2.
|
|
63
|
-
"standard": "^17.
|
|
67
|
+
"replace": "^1.2.2",
|
|
68
|
+
"standard": "^17.1.0",
|
|
64
69
|
"standard-version": "^9.5.0"
|
|
65
70
|
},
|
|
66
71
|
"standard-version": {
|