@intuned/runtime-dev 1.0.4-remove-playwright.21 → 1.0.4-stuck.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/WebTemplate.zip
ADDED
|
Binary file
|
|
@@ -15,7 +15,6 @@ async function tsNodeImport(apiName) {
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
const path = (0, _fileUtils.getFullPathInProject)(...apiName.split("/"));
|
|
18
|
-
console.log("path", path);
|
|
19
18
|
const imported = await (specifier => new Promise(r => r(`${specifier}`)).then(s => _interopRequireWildcard(require(s))))(path);
|
|
20
19
|
return imported;
|
|
21
20
|
}
|
|
@@ -207,12 +207,17 @@ async function* runApiGenerator({
|
|
|
207
207
|
return (0, _neverthrow.err)(new _errors.AutomationError(error));
|
|
208
208
|
} finally {
|
|
209
209
|
var _context2;
|
|
210
|
+
console.log("Saving trace...");
|
|
210
211
|
await saveTraceIfNeeded({
|
|
211
212
|
errorMessage: "failed to save trace"
|
|
212
213
|
});
|
|
214
|
+
console.log("Trace saved.\nClosing context...");
|
|
213
215
|
await ((_context2 = context) === null || _context2 === void 0 ? void 0 : _context2.close());
|
|
216
|
+
console.log("Context closed.");
|
|
214
217
|
if (downloadsPath !== undefined) {
|
|
218
|
+
console.log("Removing downloads");
|
|
215
219
|
await fs.remove(downloadsPath);
|
|
220
|
+
console.log("Downloads removed");
|
|
216
221
|
}
|
|
217
222
|
}
|
|
218
223
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intuned/runtime-dev",
|
|
3
|
-
"version": "1.0.4-
|
|
3
|
+
"version": "1.0.4-stuck.0",
|
|
4
4
|
"description": "Intuned runtime",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist"
|
|
41
41
|
},
|
|
42
42
|
"bin": {
|
|
43
|
-
"intuned-api-run": "bin/intuned-api-run",
|
|
44
|
-
"intuned-auth-session-create": "bin/intuned-auth-session-create",
|
|
45
|
-
"intuned-auth-session-refresh": "bin/intuned-auth-session-refresh",
|
|
46
|
-
"intuned-auth-session-load": "bin/intuned-auth-session-load",
|
|
47
|
-
"intuned-auth-session-check": "bin/intuned-auth-session-check",
|
|
48
|
-
"intuned-build": "bin/intuned-build",
|
|
49
|
-
"intuned-browser-start": "bin/intuned-browser-start",
|
|
50
|
-
"intuned-browser-save-state": "bin/intuned-browser-save-state",
|
|
51
|
-
"intuned-ts-check": "bin/intuned-ts-check"
|
|
43
|
+
"intuned-api-run": "./bin/intuned-api-run",
|
|
44
|
+
"intuned-auth-session-create": "./bin/intuned-auth-session-create",
|
|
45
|
+
"intuned-auth-session-refresh": "./bin/intuned-auth-session-refresh",
|
|
46
|
+
"intuned-auth-session-load": "./bin/intuned-auth-session-load",
|
|
47
|
+
"intuned-auth-session-check": "./bin/intuned-auth-session-check",
|
|
48
|
+
"intuned-build": "./bin/intuned-build",
|
|
49
|
+
"intuned-browser-start": "./bin/intuned-browser-start",
|
|
50
|
+
"intuned-browser-save-state": "./bin/intuned-browser-save-state",
|
|
51
|
+
"intuned-ts-check": "./bin/intuned-ts-check"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|