cispacempt-v2 0.0.1 → 0.0.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/package.json +3 -3
  2. package/src/index.js +5 -0
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "main": "src/index.js",
3
3
  "name": "cispacempt-v2",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "description": "Fast CI engine for CodespaceMPT with script stages and file system hooks",
6
6
  "author": "argentidev",
7
7
  "license": "MIT",
8
- "homepage": "https://codespacemptio.onrender.com/home",
8
+ "homepage": "https://codespacempt.onrender.com/home",
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1"
11
11
  },
12
12
  "repository": {
13
13
  "type": "csmpt",
14
- "url": "https://codespacemptio.onrender.com/codespacempt/ci"
14
+ "url": "https://codespacempt.onrender.com/codespacempt/ci"
15
15
  },
16
16
  "keywords": [],
17
17
  "dependencies": {
package/src/index.js CHANGED
@@ -186,6 +186,11 @@ module.exports = {
186
186
  ci_duration: timeTaken,
187
187
  exitCode: combinedExitCode,
188
188
  cpu_usage: calculateCPUUsage(cpuStart, cpuEnd),
189
+ os: {
190
+ name: os.platform(),
191
+ version: os.release(),
192
+ arch: os.arch(),
193
+ },
189
194
  };
190
195
 
191
196
  cleanUpAndRespond(tempDir);