@mojaloop/ml-testing-toolkit-client-lib 1.0.0-snapshot.1 → 1.0.0-snapshot.2

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.
Files changed (2) hide show
  1. package/Dockerfile +5 -2
  2. package/package.json +4 -4
package/Dockerfile CHANGED
@@ -16,10 +16,13 @@ FROM node:16.15.0-alpine
16
16
  WORKDIR /opt/app
17
17
 
18
18
  # Create a non-root user: ml-user
19
- RUN adduser -D ml-user
20
- USER ml-user
19
+ RUN adduser -D ml-user
21
20
 
22
21
  COPY --chown=ml-user --from=builder /opt/app .
22
+ RUN chown ml-user:ml-user /opt/app
23
+
24
+ USER ml-user
25
+
23
26
  RUN npm prune --production
24
27
 
25
28
  CMD ["npm", "run", "cli"]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mojaloop/ml-testing-toolkit-client-lib",
3
3
  "description": "Testing Toolkit Client Library",
4
- "version": "1.0.0-snapshot.1",
4
+ "version": "1.0.0-snapshot.2",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Vijaya Kumar Guthi, ModusBox Inc. ",
7
7
  "contributors": [
@@ -15,6 +15,9 @@
15
15
  "url": "https://github.com/mojaloop/ml-testing-toolkit-client-lib.git"
16
16
  },
17
17
  "bugs": "https://github.com/mojaloop/ml-testing-toolkit-client-lib/issues",
18
+ "engines": {
19
+ "node": "=16.x"
20
+ },
18
21
  "config": {},
19
22
  "bin": {
20
23
  "ml-ttk-cli": "bin/cli.js"
@@ -83,11 +86,8 @@
83
86
  },
84
87
  "devDependencies": {
85
88
  "audit-ci": "^6.3.0",
86
- "eslint": "^8.20.0",
87
- "eslint-plugin-import": "^2.26.0",
88
89
  "jest": "^28.1.3",
89
90
  "jest-junit": "^14.0.0",
90
- "npm-audit-resolver": "3.0.0-7",
91
91
  "npm-check-updates": "16.0.0",
92
92
  "nyc": "^15.1.0",
93
93
  "parse-strings-in-object": "1.6.0",