@listr2/manager 1.0.1 → 2.0.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/dist/index.cjs +6 -5
- package/dist/index.js +6 -5
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -27,12 +27,15 @@ module.exports = __toCommonJS(src_exports);
|
|
|
27
27
|
|
|
28
28
|
// src/manager.ts
|
|
29
29
|
var import_listr2 = require("listr2");
|
|
30
|
-
var
|
|
30
|
+
var Manager = class {
|
|
31
31
|
constructor(options) {
|
|
32
32
|
this.options = options;
|
|
33
|
-
this.errors = [];
|
|
34
|
-
this.tasks = [];
|
|
35
33
|
}
|
|
34
|
+
static {
|
|
35
|
+
__name(this, "Manager");
|
|
36
|
+
}
|
|
37
|
+
errors = [];
|
|
38
|
+
tasks = [];
|
|
36
39
|
get ctx() {
|
|
37
40
|
return this.options.ctx;
|
|
38
41
|
}
|
|
@@ -74,8 +77,6 @@ var _Manager = class _Manager {
|
|
|
74
77
|
return ctx;
|
|
75
78
|
}
|
|
76
79
|
};
|
|
77
|
-
__name(_Manager, "Manager");
|
|
78
|
-
var Manager = _Manager;
|
|
79
80
|
// Annotate the CommonJS export names for ESM import in node:
|
|
80
81
|
0 && (module.exports = {
|
|
81
82
|
Manager
|
package/dist/index.js
CHANGED
|
@@ -3,12 +3,15 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
3
3
|
|
|
4
4
|
// src/manager.ts
|
|
5
5
|
import { Listr } from "listr2";
|
|
6
|
-
var
|
|
6
|
+
var Manager = class {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
this.options = options;
|
|
9
|
-
this.errors = [];
|
|
10
|
-
this.tasks = [];
|
|
11
9
|
}
|
|
10
|
+
static {
|
|
11
|
+
__name(this, "Manager");
|
|
12
|
+
}
|
|
13
|
+
errors = [];
|
|
14
|
+
tasks = [];
|
|
12
15
|
get ctx() {
|
|
13
16
|
return this.options.ctx;
|
|
14
17
|
}
|
|
@@ -50,8 +53,6 @@ var _Manager = class _Manager {
|
|
|
50
53
|
return ctx;
|
|
51
54
|
}
|
|
52
55
|
};
|
|
53
|
-
__name(_Manager, "Manager");
|
|
54
|
-
var Manager = _Manager;
|
|
55
56
|
export {
|
|
56
57
|
Manager
|
|
57
58
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@listr2/manager",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Extension for Listr2 to easily create sane defaults for task lists.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/listr2/listr2",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
33
|
+
"node": ">=18.0.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup-node",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"listr2": "
|
|
74
|
+
"listr2": "8.0.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {}
|
|
77
77
|
}
|