ot-builder-cli 1.1.0 → 1.3.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 +103 -1
- package/CHANGELOG.md +41 -2
- package/lib/index.js +2 -2
- package/lib/syntax/actions/consolidate.js +2 -2
- package/lib/syntax/actions/gc.js +2 -2
- package/lib/syntax/actions/intro.js +2 -2
- package/lib/syntax/actions/merge.js +2 -2
- package/lib/syntax/actions/rebase.js +2 -2
- package/lib/syntax/actions/save-head.js +3 -3
- package/lib/syntax/actions/save.js +3 -3
- package/lib/syntax/actions/subset.js +2 -2
- package/lib/syntax/composite/alternate.js +1 -1
- package/lib/syntax/composite/possessive-repeat.js +1 -1
- package/lib/syntax/document/help.js +2 -2
- package/lib/syntax/document/version.js +2 -2
- package/lib/syntax/options/set-optimize-level.js +4 -4
- package/lib/syntax/options/set-recalc-os2-avg-char-width.js +3 -3
- package/package.json +17 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,109 @@
|
|
|
2
2
|
"name": "ot-builder-cli",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 16 Oct 2021 01:17:27 GMT",
|
|
6
|
+
"tag": "ot-builder-cli_v1.3.0",
|
|
7
|
+
"version": "1.3.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "ot-builder-cli",
|
|
13
|
+
"comment": "Bump ot-builder to v1.3.0",
|
|
14
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "ot-builder-cli",
|
|
19
|
+
"comment": "Bump @ot-builder/cli-help-shower to v1.3.0",
|
|
20
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "ot-builder-cli",
|
|
25
|
+
"comment": "Bump @ot-builder/cli-shared to v1.3.0",
|
|
26
|
+
"commit": "1a40fcdec7a908d6498acd9a239f81236cd390c4"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Sat, 09 Oct 2021 01:06:40 GMT",
|
|
33
|
+
"tag": "ot-builder-cli_v1.2.0",
|
|
34
|
+
"version": "1.2.0",
|
|
35
|
+
"comments": {
|
|
36
|
+
"minor": [
|
|
37
|
+
{
|
|
38
|
+
"author": "otbbuilder-dev@users.noreply.github.com",
|
|
39
|
+
"package": "ot-builder-cli",
|
|
40
|
+
"comment": "Add support for VTT private tables",
|
|
41
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "ot-builder-cli",
|
|
46
|
+
"comment": "Bump ot-builder to v1.2.0",
|
|
47
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "ot-builder-cli",
|
|
52
|
+
"comment": "Bump @ot-builder/cli-help-shower to v1.2.0",
|
|
53
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "ot-builder-cli",
|
|
58
|
+
"comment": "Bump @ot-builder/cli-shared to v1.2.0",
|
|
59
|
+
"commit": "cd0361ffd9d2fc5081804b14f9bfddc7fe296008"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"date": "Sat, 25 Sep 2021 01:08:03 GMT",
|
|
66
|
+
"tag": "ot-builder-cli_v1.1.2",
|
|
67
|
+
"version": "1.1.2",
|
|
68
|
+
"comments": {
|
|
69
|
+
"patch": [
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "ot-builder-cli",
|
|
73
|
+
"comment": "Bump ot-builder to v1.1.2",
|
|
74
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "ot-builder-cli",
|
|
79
|
+
"comment": "Bump @ot-builder/cli-help-shower to v1.1.2",
|
|
80
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "ot-builder-cli",
|
|
85
|
+
"comment": "Bump @ot-builder/cli-shared to v1.1.2",
|
|
86
|
+
"commit": "ef0cdbe0d09a64a7f2ed4f86c9158fa9d8fe699f"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"date": "Sat, 11 Sep 2021 01:09:21 GMT",
|
|
93
|
+
"tag": "ot-builder-cli_v1.1.1",
|
|
94
|
+
"version": "1.1.1",
|
|
95
|
+
"comments": {
|
|
96
|
+
"patch": [
|
|
97
|
+
{
|
|
98
|
+
"author": "otbbuilder-dev@users.noreply.github.com",
|
|
99
|
+
"package": "ot-builder-cli",
|
|
100
|
+
"commit": "28bc4c48910f10dcabb090ab68e610ce499caa95",
|
|
101
|
+
"comment": "Bump ot-builder-cli to v1.1.1"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"date": "Sun, 18 Jul 2021 02:14:19 GMT",
|
|
6
108
|
"tag": "ot-builder-cli_v1.1.0",
|
|
7
109
|
"version": "1.1.0",
|
|
8
110
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,51 @@
|
|
|
1
1
|
# Change Log - ot-builder-cli
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sat, 16 Oct 2021 01:17:27 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.3.0
|
|
8
|
+
|
|
9
|
+
Sat, 16 Oct 2021 01:17:27 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Bump ot-builder to v1.3.0
|
|
14
|
+
- Bump @ot-builder/cli-help-shower to v1.3.0
|
|
15
|
+
- Bump @ot-builder/cli-shared to v1.3.0
|
|
16
|
+
|
|
17
|
+
## 1.2.0
|
|
18
|
+
|
|
19
|
+
Sat, 09 Oct 2021 01:06:40 GMT
|
|
20
|
+
|
|
21
|
+
### Minor changes
|
|
22
|
+
|
|
23
|
+
- Add support for VTT private tables (otbbuilder-dev@users.noreply.github.com)
|
|
24
|
+
- Bump ot-builder to v1.2.0
|
|
25
|
+
- Bump @ot-builder/cli-help-shower to v1.2.0
|
|
26
|
+
- Bump @ot-builder/cli-shared to v1.2.0
|
|
27
|
+
|
|
28
|
+
## 1.1.2
|
|
29
|
+
|
|
30
|
+
Sat, 25 Sep 2021 01:08:03 GMT
|
|
31
|
+
|
|
32
|
+
### Patches
|
|
33
|
+
|
|
34
|
+
- Bump ot-builder to v1.1.2
|
|
35
|
+
- Bump @ot-builder/cli-help-shower to v1.1.2
|
|
36
|
+
- Bump @ot-builder/cli-shared to v1.1.2
|
|
37
|
+
|
|
38
|
+
## 1.1.1
|
|
39
|
+
|
|
40
|
+
Sat, 11 Sep 2021 01:09:21 GMT
|
|
41
|
+
|
|
42
|
+
### Patches
|
|
43
|
+
|
|
44
|
+
- Bump ot-builder-cli to v1.1.1 (otbbuilder-dev@users.noreply.github.com)
|
|
45
|
+
|
|
7
46
|
## 1.1.0
|
|
8
47
|
|
|
9
|
-
Sun, 18 Jul 2021 02:
|
|
48
|
+
Sun, 18 Jul 2021 02:14:19 GMT
|
|
10
49
|
|
|
11
50
|
### Minor changes
|
|
12
51
|
|
package/lib/index.js
CHANGED
|
@@ -5,8 +5,8 @@ const argv_parser_1 = require("./argv-parser");
|
|
|
5
5
|
const create_grammar_1 = require("./create-grammar");
|
|
6
6
|
const state_1 = require("./state");
|
|
7
7
|
async function cliMain(argv) {
|
|
8
|
-
const parse = argv_parser_1.StartParseArgv(argv, 2);
|
|
9
|
-
const syntax = create_grammar_1.createGrammar();
|
|
8
|
+
const parse = (0, argv_parser_1.StartParseArgv)(argv, 2);
|
|
9
|
+
const syntax = (0, create_grammar_1.createGrammar)();
|
|
10
10
|
const prAction = syntax.start.handle(parse, syntax);
|
|
11
11
|
if (!prAction.progress.isEof()) {
|
|
12
12
|
console.error("! Unrecognizable argument/option. Stop.");
|
|
@@ -7,8 +7,8 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
7
7
|
exports.ConsolidateSyntax = {
|
|
8
8
|
handle: st => {
|
|
9
9
|
if (!st.isOption("--consolidate"))
|
|
10
|
-
return argv_parser_1.ParseResult(st, null);
|
|
11
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
11
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
12
12
|
const entry = state.pop();
|
|
13
13
|
if (!entry)
|
|
14
14
|
throw new RangeError("Stack size invalid. No font to do consolidate.");
|
package/lib/syntax/actions/gc.js
CHANGED
|
@@ -7,8 +7,8 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
7
7
|
exports.GcSyntax = {
|
|
8
8
|
handle: st => {
|
|
9
9
|
if (!st.isOption("--gc"))
|
|
10
|
-
return argv_parser_1.ParseResult(st, null);
|
|
11
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
11
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
12
12
|
const entry = state.pop();
|
|
13
13
|
if (!entry)
|
|
14
14
|
throw new RangeError("Stack size invalid. No font to do GC.");
|
|
@@ -10,9 +10,9 @@ const state_1 = require("../../state");
|
|
|
10
10
|
exports.IntroSyntax = {
|
|
11
11
|
handle: st => {
|
|
12
12
|
if (!st.isArgument())
|
|
13
|
-
return argv_parser_1.ParseResult(st, null);
|
|
13
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
14
14
|
const path = st.argument;
|
|
15
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
15
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
16
16
|
const phEntry = new state_1.CliStackEntryPlaceholder(Path.parse(path).name);
|
|
17
17
|
console.log(`Load ${phEntry} <- ${path}`);
|
|
18
18
|
const entry = phEntry.fill(await loadFontFromFile(path, ot_builder_1.Ot.ListGlyphStoreFactory));
|
|
@@ -7,14 +7,14 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
7
7
|
exports.MergeSyntax = {
|
|
8
8
|
handle: st => {
|
|
9
9
|
if (!st.isOption("--merge"))
|
|
10
|
-
return argv_parser_1.ParseResult(st, null);
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
11
11
|
st = st.next();
|
|
12
12
|
let preferOverride = false;
|
|
13
13
|
if (st.isOption("--override")) {
|
|
14
14
|
preferOverride = true;
|
|
15
15
|
st = st.next();
|
|
16
16
|
}
|
|
17
|
-
return argv_parser_1.ParseResult(st, async (state) => {
|
|
17
|
+
return (0, argv_parser_1.ParseResult)(st, async (state) => {
|
|
18
18
|
const add = state.pop();
|
|
19
19
|
if (!add)
|
|
20
20
|
throw new RangeError("Stack size invalid. No font to do GC.");
|
|
@@ -7,9 +7,9 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
7
7
|
exports.RebaseSyntax = {
|
|
8
8
|
handle: st => {
|
|
9
9
|
if (!st.isOption("--rebase"))
|
|
10
|
-
return argv_parser_1.ParseResult(st, null);
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
11
11
|
const prArg = st.nextArgument();
|
|
12
|
-
return argv_parser_1.ParseResult(prArg.progress.next(), async (state) => {
|
|
12
|
+
return (0, argv_parser_1.ParseResult)(prArg.progress.next(), async (state) => {
|
|
13
13
|
const entry = state.pop();
|
|
14
14
|
if (!entry)
|
|
15
15
|
throw new RangeError("Stack size invalid. No font to rebase.");
|
|
@@ -8,14 +8,14 @@ const save_1 = require("./save");
|
|
|
8
8
|
exports.SaveHeadSyntax = {
|
|
9
9
|
handle: st => {
|
|
10
10
|
if (!st.isOption("+o", "++save"))
|
|
11
|
-
return argv_parser_1.ParseResult(st, null);
|
|
11
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
12
12
|
const prPath = st.nextArgument();
|
|
13
|
-
return argv_parser_1.ParseResult(prPath.progress.next(), async (state) => {
|
|
13
|
+
return (0, argv_parser_1.ParseResult)(prPath.progress.next(), async (state) => {
|
|
14
14
|
const entry = state.shift();
|
|
15
15
|
if (!entry)
|
|
16
16
|
throw new RangeError("Stack size invalid. No font to save.");
|
|
17
17
|
console.log(`Save ${entry} -> ${prPath.result}`);
|
|
18
|
-
await save_1.saveFontToFile(prPath.result, entry.font, cli_shared_1.inferSaveCfg(state, entry.font));
|
|
18
|
+
await (0, save_1.saveFontToFile)(prPath.result, entry.font, (0, cli_shared_1.inferSaveCfg)(state, entry.font));
|
|
19
19
|
});
|
|
20
20
|
},
|
|
21
21
|
displayHelp(shower) {
|
|
@@ -10,14 +10,14 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
10
10
|
exports.SaveSyntax = {
|
|
11
11
|
handle: st => {
|
|
12
12
|
if (!st.isOption("-o", "--save"))
|
|
13
|
-
return argv_parser_1.ParseResult(st, null);
|
|
13
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
14
14
|
const prPath = st.nextArgument();
|
|
15
|
-
return argv_parser_1.ParseResult(prPath.progress.next(), async (state) => {
|
|
15
|
+
return (0, argv_parser_1.ParseResult)(prPath.progress.next(), async (state) => {
|
|
16
16
|
const entry = state.pop();
|
|
17
17
|
if (!entry)
|
|
18
18
|
throw new RangeError("Stack size invalid. No font to save.");
|
|
19
19
|
console.log(`Save ${entry} -> ${prPath.result}`);
|
|
20
|
-
await saveFontToFile(prPath.result, entry.font, cli_shared_1.inferSaveCfg(state, entry.font));
|
|
20
|
+
await saveFontToFile(prPath.result, entry.font, (0, cli_shared_1.inferSaveCfg)(state, entry.font));
|
|
21
21
|
});
|
|
22
22
|
},
|
|
23
23
|
displayHelp(shower) {
|
|
@@ -7,9 +7,9 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
7
7
|
exports.SubsetSyntax = {
|
|
8
8
|
handle: st => {
|
|
9
9
|
if (!st.isOption("--subset"))
|
|
10
|
-
return argv_parser_1.ParseResult(st, null);
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
11
11
|
const prArg = st.nextArgument();
|
|
12
|
-
return argv_parser_1.ParseResult(prArg.progress.next(), async (state) => {
|
|
12
|
+
return (0, argv_parser_1.ParseResult)(prArg.progress.next(), async (state) => {
|
|
13
13
|
const entry = state.pop();
|
|
14
14
|
if (!entry)
|
|
15
15
|
throw new RangeError("Stack size invalid. No font to subset.");
|
|
@@ -13,7 +13,7 @@ class AlternateSyntax {
|
|
|
13
13
|
if (result.result)
|
|
14
14
|
return result;
|
|
15
15
|
}
|
|
16
|
-
return argv_parser_1.ParseResult(st, null);
|
|
16
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
17
17
|
}
|
|
18
18
|
displayHelp(shower) {
|
|
19
19
|
const indented = shower.indent(cli_help_shower_1.Style.Bullet);
|
|
@@ -6,8 +6,8 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
6
6
|
exports.HelpSyntax = {
|
|
7
7
|
handle: (st, sy) => {
|
|
8
8
|
if (!st.isOption("--help", "-h"))
|
|
9
|
-
return argv_parser_1.ParseResult(st, null);
|
|
10
|
-
return argv_parser_1.ParseResult(st.next(), async () => {
|
|
9
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async () => {
|
|
11
11
|
const shower = new cli_help_shower_1.CliHelpShower();
|
|
12
12
|
sy.start.displayHelp(shower);
|
|
13
13
|
});
|
|
@@ -7,8 +7,8 @@ const package_version_1 = require("../../package-version");
|
|
|
7
7
|
exports.VersionSyntax = {
|
|
8
8
|
handle: (st, sy) => {
|
|
9
9
|
if (!st.isOption("--version", "-v"))
|
|
10
|
-
return argv_parser_1.ParseResult(st, null);
|
|
11
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
11
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
12
12
|
console.log(package_version_1.packageVersion);
|
|
13
13
|
});
|
|
14
14
|
},
|
|
@@ -7,21 +7,21 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
7
7
|
exports.SetOptimizationLevelSyntax = {
|
|
8
8
|
handle: st => {
|
|
9
9
|
if (st.isOption("--optimize-none", "-O0")) {
|
|
10
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
10
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
11
11
|
state.optimizationLevel = cli_shared_1.OptimizationLevel.None;
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
if (st.isOption("--optimize-speed", "-Op")) {
|
|
15
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
15
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
16
16
|
state.optimizationLevel = cli_shared_1.OptimizationLevel.Speed;
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
if (st.isOption("--optimize-size", "-Oz")) {
|
|
20
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
20
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
21
21
|
state.optimizationLevel = cli_shared_1.OptimizationLevel.Size;
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
return argv_parser_1.ParseResult(st, null);
|
|
24
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
25
25
|
},
|
|
26
26
|
displayHelp(shower) {
|
|
27
27
|
shower.message(cli_help_shower_1.Style.Option `-O0`, `;`, cli_help_shower_1.Style.Option `--optimize-none`);
|
|
@@ -6,16 +6,16 @@ const argv_parser_1 = require("../../argv-parser");
|
|
|
6
6
|
exports.SetRecalcOs2AvgCharWidthSyntax = {
|
|
7
7
|
handle: st => {
|
|
8
8
|
if (st.isOption("++recalc-os2-avg-char-width")) {
|
|
9
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
9
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
10
10
|
state.recalcOs2XAvgCharWidth = true;
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
if (st.isOption("--recalc-os2-avg-char-width")) {
|
|
14
|
-
return argv_parser_1.ParseResult(st.next(), async (state) => {
|
|
14
|
+
return (0, argv_parser_1.ParseResult)(st.next(), async (state) => {
|
|
15
15
|
state.recalcOs2XAvgCharWidth = false;
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
return argv_parser_1.ParseResult(st, null);
|
|
18
|
+
return (0, argv_parser_1.ParseResult)(st, null);
|
|
19
19
|
},
|
|
20
20
|
displayHelp(shower) {
|
|
21
21
|
shower.message(cli_help_shower_1.Style.Option `++recalc-os2-avg-char-width`, `;`, cli_help_shower_1.Style.Option `--recalc-os2-avg-char-width`);
|
package/package.json
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ot-builder-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"bin": {
|
|
5
|
+
"otb-cli": "./bin/otb-cli"
|
|
6
|
+
},
|
|
4
7
|
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/ot-builder/monorepo.git",
|
|
11
|
+
"directory": "packages/cli"
|
|
12
|
+
},
|
|
5
13
|
"main": "./lib/index.js",
|
|
6
14
|
"types": "./lib/index.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"lib/**/*.js",
|
|
17
|
+
"lib/**/*.json",
|
|
18
|
+
"lib/**/*.d.ts"
|
|
19
|
+
],
|
|
7
20
|
"scripts": {
|
|
8
21
|
"build": "tsc -b ./tsconfig.package.json",
|
|
9
22
|
"clean": "rimraf lib .cache",
|
|
@@ -15,9 +28,9 @@
|
|
|
15
28
|
"dependencies": {
|
|
16
29
|
"tslib": "^2.0.0",
|
|
17
30
|
"chalk": "^4.1.1",
|
|
18
|
-
"ot-builder": "1.
|
|
19
|
-
"@ot-builder/cli-help-shower": "1.
|
|
20
|
-
"@ot-builder/cli-shared": "1.
|
|
31
|
+
"ot-builder": "1.3.0",
|
|
32
|
+
"@ot-builder/cli-help-shower": "1.3.0",
|
|
33
|
+
"@ot-builder/cli-shared": "1.3.0"
|
|
21
34
|
},
|
|
22
35
|
"devDependencies": {
|
|
23
36
|
"@types/jest": "^26.0.23",
|