@owservable/actions 1.7.4 → 1.7.6
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.
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.findCommandAction = void 0;
|
|
13
4
|
const folders_1 = require("@owservable/folders");
|
|
14
|
-
const findCommandAction = (root, cliCommand) =>
|
|
5
|
+
const findCommandAction = (root, cliCommand) => {
|
|
15
6
|
const actionPaths = (0, folders_1.listSubfoldersFilesByFolderName)(root, 'actions');
|
|
16
7
|
for (const actionPath of actionPaths) {
|
|
17
8
|
try {
|
|
@@ -34,7 +25,7 @@ const findCommandAction = (root, cliCommand) => __awaiter(void 0, void 0, void 0
|
|
|
34
25
|
}
|
|
35
26
|
}
|
|
36
27
|
return null;
|
|
37
|
-
}
|
|
28
|
+
};
|
|
38
29
|
exports.findCommandAction = findCommandAction;
|
|
39
30
|
exports.default = exports.findCommandAction;
|
|
40
31
|
//# sourceMappingURL=find.command.action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.command.action.js","sourceRoot":"","sources":["../../src/functions/find.command.action.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC
|
|
1
|
+
{"version":3,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
2
|
"name": "@owservable/actions",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
4
4
|
"description": "actions pattern",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"preinstall": "npx only-allow pnpm"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@owservable/folders": "^1.7.
|
|
40
|
+
"@owservable/folders": "^1.7.6",
|
|
41
41
|
"@types/lodash": "^4.17.20",
|
|
42
42
|
"@types/node": "^24.0.13",
|
|
43
43
|
"commander": "^14.0.0",
|