ot-builder-cli 1.5.4 → 1.6.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/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,61 @@
|
|
|
2
2
|
"name": "ot-builder-cli",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Sat,
|
|
5
|
+
"date": "Sat, 21 Jan 2023 01:08:43 GMT",
|
|
6
|
+
"tag": "ot-builder-cli_v1.6.0",
|
|
7
|
+
"version": "1.6.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "ot-builder-cli",
|
|
13
|
+
"comment": "Bump ot-builder to v1.6.0",
|
|
14
|
+
"commit": "e80cd99ac2e97a339ecbe083e3c9a2c10a6b12d7"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "ot-builder-cli",
|
|
19
|
+
"comment": "Bump @ot-builder/cli-help-shower to v1.6.0",
|
|
20
|
+
"commit": "e80cd99ac2e97a339ecbe083e3c9a2c10a6b12d7"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "ot-builder-cli",
|
|
25
|
+
"comment": "Bump @ot-builder/cli-shared to v1.6.0",
|
|
26
|
+
"commit": "e80cd99ac2e97a339ecbe083e3c9a2c10a6b12d7"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Sat, 03 Dec 2022 01:09:39 GMT",
|
|
33
|
+
"tag": "ot-builder-cli_v1.5.5",
|
|
34
|
+
"version": "1.5.5",
|
|
35
|
+
"comments": {
|
|
36
|
+
"patch": [
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "ot-builder-cli",
|
|
40
|
+
"comment": "Bump ot-builder to v1.5.5",
|
|
41
|
+
"commit": "f1f80856c651056bcdc805f284f0580c49af80fd"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "ot-builder-cli",
|
|
46
|
+
"comment": "Bump @ot-builder/cli-help-shower to v1.5.5",
|
|
47
|
+
"commit": "f1f80856c651056bcdc805f284f0580c49af80fd"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "ot-builder-cli",
|
|
52
|
+
"comment": "Bump @ot-builder/cli-shared to v1.5.5",
|
|
53
|
+
"commit": "f1f80856c651056bcdc805f284f0580c49af80fd"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"date": "Sat, 09 Jul 2022 01:52:09 GMT",
|
|
6
60
|
"tag": "ot-builder-cli_v1.5.4",
|
|
7
61
|
"version": "1.5.4",
|
|
8
62
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - ot-builder-cli
|
|
2
2
|
|
|
3
|
-
This log was last generated on Sat,
|
|
3
|
+
This log was last generated on Sat, 21 Jan 2023 01:08:43 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.6.0
|
|
8
|
+
|
|
9
|
+
Sat, 21 Jan 2023 01:08:43 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Bump ot-builder to v1.6.0
|
|
14
|
+
- Bump @ot-builder/cli-help-shower to v1.6.0
|
|
15
|
+
- Bump @ot-builder/cli-shared to v1.6.0
|
|
16
|
+
|
|
17
|
+
## 1.5.5
|
|
18
|
+
|
|
19
|
+
Sat, 03 Dec 2022 01:09:39 GMT
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- Bump ot-builder to v1.5.5
|
|
24
|
+
- Bump @ot-builder/cli-help-shower to v1.5.5
|
|
25
|
+
- Bump @ot-builder/cli-shared to v1.5.5
|
|
26
|
+
|
|
7
27
|
## 1.5.4
|
|
8
28
|
|
|
9
|
-
Sat, 09 Jul 2022 01:
|
|
29
|
+
Sat, 09 Jul 2022 01:52:09 GMT
|
|
10
30
|
|
|
11
31
|
### Patches
|
|
12
32
|
|
package/lib/command/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CliHelpShower } from "@ot-builder/cli-help-shower";
|
|
2
2
|
import { ParseResult, ParseState } from "../argv-parser";
|
|
3
3
|
import { CliState } from "../state";
|
|
4
|
-
export
|
|
4
|
+
export type CliAction = (state: CliState) => Promise<void>;
|
|
5
5
|
export interface Syntax<T> {
|
|
6
6
|
handle(st: ParseState, grammar: Grammar): ParseResult<T>;
|
|
7
7
|
displayHelp(shower: CliHelpShower): void;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type Grammar = {
|
|
10
10
|
start: Syntax<null | CliAction>;
|
|
11
11
|
element: Syntax<null | CliAction>;
|
|
12
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RangeDecl } from "./datatypes";
|
|
2
|
-
|
|
2
|
+
type Nullable<T> = T | null;
|
|
3
3
|
export declare enum ASTKinds {
|
|
4
4
|
start = 0,
|
|
5
5
|
Ranges_1 = 1,
|
|
@@ -22,7 +22,7 @@ export declare class start {
|
|
|
22
22
|
ranges: RangeDecl[];
|
|
23
23
|
constructor(rgs: Ranges);
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type Ranges = Ranges_1 | Ranges_2;
|
|
26
26
|
export declare class Ranges_1 {
|
|
27
27
|
kind: ASTKinds.Ranges_1;
|
|
28
28
|
car: Range;
|
|
@@ -36,7 +36,7 @@ export declare class Ranges_2 {
|
|
|
36
36
|
ranges: RangeDecl[];
|
|
37
37
|
constructor(range: Range);
|
|
38
38
|
}
|
|
39
|
-
export
|
|
39
|
+
export type Range = Range_1 | Range_2;
|
|
40
40
|
export declare class Range_1 {
|
|
41
41
|
kind: ASTKinds.Range_1;
|
|
42
42
|
exclude: Nullable<string>;
|
|
@@ -58,17 +58,17 @@ export declare class CodePoint {
|
|
|
58
58
|
value: number;
|
|
59
59
|
constructor(literal: string);
|
|
60
60
|
}
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
65
|
-
export
|
|
61
|
+
export type Prefix = Prefix_1 | Prefix_2 | Prefix_3;
|
|
62
|
+
export type Prefix_1 = string;
|
|
63
|
+
export type Prefix_2 = string;
|
|
64
|
+
export type Prefix_3 = string;
|
|
65
|
+
export type Separator = Separator_1 | Separator_2;
|
|
66
66
|
export interface Separator_1 {
|
|
67
67
|
kind: ASTKinds.Separator_1;
|
|
68
68
|
}
|
|
69
|
-
export
|
|
70
|
-
export
|
|
71
|
-
export
|
|
69
|
+
export type Separator_2 = ___;
|
|
70
|
+
export type _ = string;
|
|
71
|
+
export type __ = string;
|
|
72
72
|
export interface ___ {
|
|
73
73
|
kind: ASTKinds.___;
|
|
74
74
|
}
|
|
@@ -135,11 +135,11 @@ export interface RegexMatch {
|
|
|
135
135
|
readonly negated: boolean;
|
|
136
136
|
readonly literal: string;
|
|
137
137
|
}
|
|
138
|
-
export
|
|
138
|
+
export type EOFMatch = {
|
|
139
139
|
kind: "EOF";
|
|
140
140
|
negated: boolean;
|
|
141
141
|
};
|
|
142
|
-
export
|
|
142
|
+
export type MatchAttempt = RegexMatch | EOFMatch;
|
|
143
143
|
export declare class SyntaxErr {
|
|
144
144
|
pos: PosInfo;
|
|
145
145
|
expmatches: MatchAttempt[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ot-builder-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"otb-cli": "./bin/otb-cli"
|
|
6
6
|
},
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"tslib": "^2.0.0",
|
|
30
30
|
"chalk": "^4.1.1",
|
|
31
|
-
"ot-builder": "1.
|
|
32
|
-
"@ot-builder/cli-help-shower": "1.
|
|
33
|
-
"@ot-builder/cli-shared": "1.
|
|
31
|
+
"ot-builder": "1.6.0",
|
|
32
|
+
"@ot-builder/cli-help-shower": "1.6.0",
|
|
33
|
+
"@ot-builder/cli-shared": "1.6.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "^26.0.23",
|