@onivoro/onix 20.0.50 → 20.0.53
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/executors.json +4 -4
- package/package.json +1 -1
- package/src/executors/xray/executor.d.ts +3 -0
- package/src/executors/xray/executor.js +21 -0
- package/src/executors/xray/executor.js.map +1 -0
- package/src/executors/{lee → xray}/schema.json +1 -1
- package/src/executors/lee/executor.d.ts +0 -4
- package/src/executors/lee/executor.js +0 -27
- package/src/executors/lee/executor.js.map +0 -1
- /package/src/executors/{lee → xray}/schema.d.ts +0 -0
package/executors.json
CHANGED
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"schema": "./src/executors/local/schema.json",
|
|
36
36
|
"description": "local"
|
|
37
37
|
},
|
|
38
|
-
"
|
|
39
|
-
"implementation": "./src/executors/
|
|
40
|
-
"schema": "./src/executors/
|
|
41
|
-
"description": "
|
|
38
|
+
"xray": {
|
|
39
|
+
"implementation": "./src/executors/xray/executor",
|
|
40
|
+
"schema": "./src/executors/xray/schema.json",
|
|
41
|
+
"description": "xray"
|
|
42
42
|
},
|
|
43
43
|
"playwright": {
|
|
44
44
|
"implementation": "./src/executors/playwright/executor",
|
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const promises_1 = require("fs/promises");
|
|
6
|
+
const executor_factory_function_1 = require("../../functions/executor-factory.function");
|
|
7
|
+
exports.default = (0, executor_factory_function_1.executorFactory)((options, context) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
8
|
+
const wl = (0, devkit_1.workspaceLayout)();
|
|
9
|
+
const to = (0, devkit_1.readTargetOptions)({ project: context.projectName, target: context.targetName }, context);
|
|
10
|
+
const packageManager = (0, devkit_1.detectPackageManager)(context.root);
|
|
11
|
+
const packageManagerCommand = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
12
|
+
yield (0, promises_1.writeFile)(`xray-${Date.now()}.json`, JSON.stringify({
|
|
13
|
+
packageManager,
|
|
14
|
+
packageManagerCommand,
|
|
15
|
+
options,
|
|
16
|
+
context,
|
|
17
|
+
workspaceLayout: wl,
|
|
18
|
+
targetOptions: to,
|
|
19
|
+
}, null, 2));
|
|
20
|
+
}));
|
|
21
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../onix/src/executors/xray/executor.ts"],"names":[],"mappings":";;;AAAA,uCAOoB;AAEpB,0CAAwC;AACxC,yFAA4E;AAE5E,kBAAe,IAAA,2CAAe,EAAC,CAC7B,OAAuB,EACvB,OAAwB,EACxB,EAAE;IACF,MAAM,EAAE,GAAG,IAAA,wBAAe,GAAE,CAAC;IAC7B,MAAM,EAAE,GAAG,IAAA,0BAAiB,EAAC,EAAE,OAAO,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACpG,MAAM,cAAc,GAAG,IAAA,6BAAoB,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,MAAM,qBAAqB,GAAG,IAAA,iCAAwB,EAAC,cAAc,CAAC,CAAC;IAEvE,MAAM,IAAA,oBAAS,EAAC,QAAQ,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxD,cAAc;QACd,qBAAqB;QACrB,OAAO;QACP,OAAO;QACP,eAAe,EAAE,EAAE;QACnB,aAAa,EAAE,EAAE;KAClB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AACf,CAAC,CAAA,CAAC,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const promises_1 = require("fs/promises");
|
|
6
|
-
const executor = (options, context) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
7
|
-
try {
|
|
8
|
-
const wl = (0, devkit_1.workspaceLayout)();
|
|
9
|
-
const to = (0, devkit_1.readTargetOptions)({ project: context.projectName, target: context.targetName }, context);
|
|
10
|
-
yield (0, promises_1.writeFile)(`lee-${Date.now()}`, JSON.stringify({
|
|
11
|
-
options,
|
|
12
|
-
context,
|
|
13
|
-
workspaceLayout: wl,
|
|
14
|
-
targetOptions: to,
|
|
15
|
-
}, null, 2));
|
|
16
|
-
return {
|
|
17
|
-
success: true,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
catch (error) {
|
|
21
|
-
return {
|
|
22
|
-
success: false,
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
exports.default = executor;
|
|
27
|
-
//# sourceMappingURL=executor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../onix/src/executors/lee/executor.ts"],"names":[],"mappings":";;;AAAA,uCAMoB;AAEpB,0CAAwC;AAExC,MAAM,QAAQ,GAAoC,CAChD,OAAuB,EACvB,OAAwB,EACxB,EAAE;IACF,IAAI,CAAC;QACH,MAAM,EAAE,GAAG,IAAA,wBAAe,GAAE,CAAC;QAC7B,MAAM,EAAE,GAAG,IAAA,0BAAiB,EAAC,EAAE,OAAO,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;QAEpG,MAAM,IAAA,oBAAS,EAAC,OAAO,IAAI,CAAC,GAAG,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC;YAClD,OAAO;YACP,OAAO;YACP,eAAe,EAAE,EAAE;YACnB,aAAa,EAAE,EAAE;SAClB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAEb,OAAO;YACL,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,KAAK;SACf,CAAC;IACJ,CAAC;AACH,CAAC,CAAA,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
File without changes
|