@testrigor/testrigor-cli 1.0.1 → 2.0.1
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/README.md +33 -432
- package/dist/commands/authenticate.d.ts +14 -0
- package/dist/commands/authenticate.js +86 -25
- package/dist/commands/test-suite/run.js +240 -222
- package/dist/commands/test-suite/validate-syntax.js +1 -3
- package/dist/types.d.ts +0 -11
- package/dist/util/appium.js +67 -13
- package/dist/util/certificate-uploader.js +1 -2
- package/dist/util/request-builder.d.ts +2 -8
- package/dist/util/request-builder.js +10 -33
- package/dist/util/trtc.js +4 -4
- package/dist/util/variable-file-uploader.js +4 -10
- package/npm-shrinkwrap.json +11056 -0
- package/oclif.manifest.json +253 -180
- package/package.json +19 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testrigor/testrigor-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "TestRigor Command Line",
|
|
5
5
|
"author": "Ivo Parun Rua @parunruaivo",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"homepage": "https://github.com/TestRigor/testrigor-cli",
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"main": "dist/index.
|
|
11
|
+
"main": "dist/index.js",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "git+https://github.com/TestRigor/testrigor-cli.git"
|
|
@@ -16,21 +16,18 @@
|
|
|
16
16
|
"files": [
|
|
17
17
|
"/bin",
|
|
18
18
|
"/dist",
|
|
19
|
-
"
|
|
19
|
+
"/npm-shrinkwrap.json",
|
|
20
20
|
"oclif.manifest.json"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@oclif/core": "^2",
|
|
24
24
|
"@oclif/plugin-help": "^5",
|
|
25
|
-
"@oclif/plugin-plugins": "^3.2.0",
|
|
26
25
|
"@supercharge/fs": "^3.4.0",
|
|
27
|
-
"appium": "^
|
|
28
|
-
"
|
|
29
|
-
"glob": "^10.3.10",
|
|
26
|
+
"appium": "^3.8.0",
|
|
27
|
+
"glob": "^13.0.6",
|
|
30
28
|
"gunzip-maybe": "^1.4.2",
|
|
31
29
|
"is-ci": "^3.0.1",
|
|
32
30
|
"listr2": "^8.0.1",
|
|
33
|
-
"node-fetch-commonjs": "3.3.1",
|
|
34
31
|
"tar-stream": "3.2.0",
|
|
35
32
|
"unzip-stream": "^0.3.1",
|
|
36
33
|
"yaml": "^2.3.4"
|
|
@@ -41,7 +38,8 @@
|
|
|
41
38
|
"@types/eslint__js": "^8.42.3",
|
|
42
39
|
"@types/is-ci": "^3.0.4",
|
|
43
40
|
"@types/mocha": "^9.0.0",
|
|
44
|
-
"@types/node": "^
|
|
41
|
+
"@types/node": "^20.19.43",
|
|
42
|
+
"@types/semver": "^7.8.0",
|
|
45
43
|
"@types/tar-stream": "3.1.5",
|
|
46
44
|
"@types/unzip-stream": "^0.3.4",
|
|
47
45
|
"@types/unzipper": "^0.10.9",
|
|
@@ -53,21 +51,25 @@
|
|
|
53
51
|
"eslint-plugin-mocha": "^10.5.0",
|
|
54
52
|
"eslint-plugin-prettier": "^5.2.1",
|
|
55
53
|
"globals": "^15.12.0",
|
|
56
|
-
"mocha": "^
|
|
57
|
-
"
|
|
54
|
+
"mocha": "^12.0.2",
|
|
55
|
+
"nock": "^14.0.17",
|
|
56
|
+
"oclif": "^6.0.2",
|
|
57
|
+
"semver": "^7.8.5",
|
|
58
58
|
"shx": "^0.3.4",
|
|
59
59
|
"ts-node": "^10.9.1",
|
|
60
60
|
"tslib": "^2.6.1",
|
|
61
61
|
"typescript": "~6.0.3",
|
|
62
62
|
"typescript-eslint": "^8.71.0"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"nock": "$nock"
|
|
66
|
+
},
|
|
64
67
|
"oclif": {
|
|
65
68
|
"bin": "testrigor",
|
|
66
69
|
"dirname": "testrigor-cli",
|
|
67
70
|
"commands": "./dist/commands",
|
|
68
71
|
"plugins": [
|
|
69
|
-
"@oclif/plugin-help"
|
|
70
|
-
"@oclif/plugin-plugins"
|
|
72
|
+
"@oclif/plugin-help"
|
|
71
73
|
],
|
|
72
74
|
"topicSeparator": " ",
|
|
73
75
|
"topics": {
|
|
@@ -86,17 +88,18 @@
|
|
|
86
88
|
}
|
|
87
89
|
},
|
|
88
90
|
"scripts": {
|
|
91
|
+
"preinstall": "node -e \"var v=process.versions.node.split('.').map(Number),M=v[0],m=v[1]; if(!((M===20&&m>=19)||(M===22&&m>=12)||M>=24)){console.error('\\\\n@testrigor/testrigor-cli requires Node.js 20.19+, 22.12+ or 24+. You are on '+process.version+'.\\\\nInstall a supported version from https://nodejs.org/en/download/ and try again.\\\\n');process.exit(1)}\"",
|
|
89
92
|
"build": "shx rm -rf dist && tsc -b",
|
|
90
93
|
"lint": "eslint .",
|
|
91
|
-
"postpack": "shx rm -f oclif.manifest.json",
|
|
94
|
+
"postpack": "shx rm -f oclif.manifest.json && node -e \"var f=require('fs');if(f.existsSync('npm-shrinkwrap.json'))f.renameSync('npm-shrinkwrap.json','package-lock.json')\"",
|
|
92
95
|
"posttest": "npm run lint",
|
|
93
|
-
"prepack": "npm run build && oclif manifest && oclif readme",
|
|
96
|
+
"prepack": "npm run build && oclif manifest && oclif readme && npm shrinkwrap",
|
|
94
97
|
"test": "mocha --forbid-only \"test/**/*.ts\"",
|
|
95
98
|
"version": "oclif readme && git add README.md",
|
|
96
99
|
"tarballs": "npm run prepack && oclif pack tarballs --targets linux-x64,linux-arm64,darwin-x64,darwin-arm64,win32-x64"
|
|
97
100
|
},
|
|
98
101
|
"engines": {
|
|
99
|
-
"node": ">=
|
|
102
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
|
|
100
103
|
},
|
|
101
104
|
"bugs": "https://github.com/TestRigor/testrigor-cli/issues",
|
|
102
105
|
"keywords": [
|