@autifyhq/autify-cli 0.11.0 → 0.13.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/README.md +75 -12
- package/dist/autify/connect/client-manager/ClientManager.js +2 -5
- package/dist/autify/connect/installClient.d.ts +8 -4
- package/dist/autify/connect/installClient.js +30 -20
- package/dist/autify/mobile/getMobileClient.d.ts +2 -0
- package/dist/autify/mobile/getMobileClient.js +17 -0
- package/dist/autify/web/getWebClient.d.ts +2 -0
- package/dist/autify/web/getWebClient.js +17 -0
- package/dist/autify/web/runTest.js +8 -3
- package/dist/commands/connect/access-point/create.js +2 -5
- package/dist/commands/connect/client/install.js +3 -2
- package/dist/commands/mobile/api/describe-test-result.js +2 -5
- package/dist/commands/mobile/api/list-test-results.js +2 -5
- package/dist/commands/mobile/api/run-test-plan.js +2 -5
- package/dist/commands/mobile/api/upload-build.js +2 -5
- package/dist/commands/mobile/build/upload.js +2 -5
- package/dist/commands/mobile/test/run.js +2 -5
- package/dist/commands/mobile/test/wait.js +2 -5
- package/dist/commands/web/api/create-access-point.d.ts +10 -0
- package/dist/commands/web/api/create-access-point.js +26 -0
- package/dist/commands/web/api/create-url-replacement.js +2 -5
- package/dist/commands/web/api/delete-access-point.d.ts +10 -0
- package/dist/commands/web/api/delete-access-point.js +26 -0
- package/dist/commands/web/api/delete-url-replacement.js +2 -5
- package/dist/commands/web/api/describe-result.js +2 -5
- package/dist/commands/web/api/describe-scenario.js +2 -5
- package/dist/commands/web/api/execute-scenarios.js +2 -5
- package/dist/commands/web/api/execute-schedule.d.ts +1 -0
- package/dist/commands/web/api/execute-schedule.js +9 -6
- package/dist/commands/web/api/list-access-points.d.ts +10 -0
- package/dist/commands/web/api/list-access-points.js +26 -0
- package/dist/commands/web/api/list-capabilities.js +2 -5
- package/dist/commands/web/api/list-results.js +2 -5
- package/dist/commands/web/api/list-scenarios.js +2 -5
- package/dist/commands/web/api/list-url-replacements.js +2 -5
- package/dist/commands/web/api/update-url-replacement.js +2 -5
- package/dist/commands/web/test/run.js +7 -10
- package/dist/commands/web/test/wait.js +2 -5
- package/dist/config.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +15 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autifyhq/autify-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Autify Command Line Interface (CLI)",
|
|
5
5
|
"author": "Autify",
|
|
6
6
|
"bin": {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"/oclif.manifest.json"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@autifyhq/autify-sdk": "^0.
|
|
20
|
+
"@autifyhq/autify-sdk": "^0.6.0",
|
|
21
21
|
"@oclif/core": "^1",
|
|
22
|
-
"@oclif/errors": "^1.3.
|
|
22
|
+
"@oclif/errors": "^1.3.6",
|
|
23
23
|
"@oclif/plugin-help": "^5",
|
|
24
24
|
"@oclif/plugin-not-found": "^2.3.1",
|
|
25
|
-
"@oclif/plugin-update": "^3.0.
|
|
25
|
+
"@oclif/plugin-update": "^3.0.2",
|
|
26
26
|
"@oclif/plugin-warn-if-update-available": "^2.0.4",
|
|
27
27
|
"abort-controller": "^3.0.0",
|
|
28
28
|
"archiver": "^5.3.1",
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
"@types/inquirer": "^8.2.1",
|
|
52
52
|
"@types/listr": "^0.14.4",
|
|
53
53
|
"@types/mocha": "^9.1.1",
|
|
54
|
-
"@types/node": "^16.11.
|
|
54
|
+
"@types/node": "^16.11.63",
|
|
55
55
|
"@types/node-emoji": "^1.8.2",
|
|
56
56
|
"@types/node-fetch": "^2.6.2",
|
|
57
|
-
"@types/tar": "^6.1.
|
|
57
|
+
"@types/tar": "^6.1.3",
|
|
58
58
|
"@types/unzip-stream": "^0.3.1",
|
|
59
59
|
"@types/uuid": "^8.3.4",
|
|
60
60
|
"chai": "^4",
|
|
61
61
|
"cross-env": "^7.0.3",
|
|
62
62
|
"eslint": "^7.32.0",
|
|
63
63
|
"eslint-config-oclif": "^4",
|
|
64
|
-
"eslint-config-oclif-typescript": "^1.0.
|
|
64
|
+
"eslint-config-oclif-typescript": "^1.0.3",
|
|
65
65
|
"eslint-config-prettier": "^8.5.0",
|
|
66
66
|
"husky": "^8.0.1",
|
|
67
67
|
"lint-staged": "^13.0.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"ts-node": "^10.9.1",
|
|
75
75
|
"tslib": "^2.4.0",
|
|
76
76
|
"typed-emitter": "^2.1.0",
|
|
77
|
-
"typescript": "^4.
|
|
77
|
+
"typescript": "^4.8.4"
|
|
78
78
|
},
|
|
79
79
|
"oclif": {
|
|
80
80
|
"bin": "autify",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"postinstall:development": "patch-package",
|
|
141
141
|
"postinstall:production": "true",
|
|
142
142
|
"generate:api-commands": "ts-node scripts/generate-api-commands.ts",
|
|
143
|
-
"generate": "npm run generate:api-commands web && npm run generate:api-commands mobile && npm run format-lint-api-commands",
|
|
143
|
+
"generate": "npm run generate:api-commands web && npm run generate:api-commands mobile && npm run format-lint-api-commands && npm run build",
|
|
144
144
|
"build": "shx rm -rf dist && tsc -b",
|
|
145
145
|
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
146
146
|
"format": "prettier . --write",
|
|
@@ -154,8 +154,12 @@
|
|
|
154
154
|
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
155
155
|
"test:integration": "npm run build -w integration-test && autify-cli-integration-test",
|
|
156
156
|
"test:integration:dev": "npm run build -w integration-test && cross-env AUTIFY_CLI_PATH=../bin/dev autify-cli-integration-test",
|
|
157
|
-
"test:integration:record": "npm run build -w integration-test && cross-env AUTIFY_CLI_INTEGRATION_TEST_RECORD=1 autify-cli-integration-test",
|
|
158
|
-
"test:integration:record
|
|
157
|
+
"test:integration:record": "npm run build -w integration-test && cross-env AUTIFY_CLI_INTEGRATION_TEST_RECORD=1 AUTIFY_CONNECT_CLIENT_MODE=real autify-cli-integration-test",
|
|
158
|
+
"test:integration:dev:record": "npm run build -w integration-test && cross-env AUTIFY_CLI_PATH=../bin/dev AUTIFY_CLI_INTEGRATION_TEST_RECORD=1 AUTIFY_CONNECT_CLIENT_MODE=real autify-cli-integration-test",
|
|
159
|
+
"test:integration:connect": "AUTIFY_CONNECT_CLIENT_MODE=fake autify connect client install && npm run test:integration AutifyConnectClient",
|
|
160
|
+
"test:integration:connect:dev": "AUTIFY_CONNECT_CLIENT_MODE=fake ./bin/dev connect client install && npm run test:integration:dev AutifyConnectClient",
|
|
161
|
+
"test:integration:connect:record": "autify connect client install && npm run test:integration:record AutifyConnectClient",
|
|
162
|
+
"test:integration:connect:dev:record": "./bin/dev connect client install && npm run test:integration:dev:record AutifyConnectClient",
|
|
159
163
|
"version": "oclif readme && git add README.md",
|
|
160
164
|
"prepare": "per-env || true",
|
|
161
165
|
"prepare:development": "husky install",
|