@storm-software/workspace-tools 1.15.3 → 1.16.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.md +7 -0
- package/README.md +13 -1
- package/index.js +13 -17
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +13 -17
- package/src/executors/tsup/get-config.js +13 -17
- package/src/executors/tsup/schema.json +122 -124
package/package.json
CHANGED
|
@@ -40019,9 +40019,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
40019
40019
|
}
|
|
40020
40020
|
});
|
|
40021
40021
|
|
|
40022
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40022
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
40023
40023
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
40024
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40024
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
40025
40025
|
"use strict";
|
|
40026
40026
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40027
40027
|
var version = "8.0.0";
|
|
@@ -40481,9 +40481,9 @@ var require_resolve_from = __commonJS({
|
|
|
40481
40481
|
}
|
|
40482
40482
|
});
|
|
40483
40483
|
|
|
40484
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40484
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
40485
40485
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
40486
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40486
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
40487
40487
|
"use strict";
|
|
40488
40488
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40489
40489
|
function _interopRequireDefault(obj) {
|
|
@@ -40761,9 +40761,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
40761
40761
|
}
|
|
40762
40762
|
});
|
|
40763
40763
|
|
|
40764
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40764
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
40765
40765
|
var require_chunk_UIX4URMV = __commonJS({
|
|
40766
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40766
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
40767
40767
|
"use strict";
|
|
40768
40768
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40769
40769
|
function _interopRequireWildcard(obj) {
|
|
@@ -41697,9 +41697,9 @@ var require_dist2 = __commonJS({
|
|
|
41697
41697
|
}
|
|
41698
41698
|
});
|
|
41699
41699
|
|
|
41700
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41700
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
41701
41701
|
var require_chunk_7G76EW2R = __commonJS({
|
|
41702
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41702
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
41703
41703
|
"use strict";
|
|
41704
41704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41705
41705
|
function _interopRequireDefault(obj) {
|
|
@@ -95505,9 +95505,9 @@ var require_chokidar = __commonJS({
|
|
|
95505
95505
|
}
|
|
95506
95506
|
});
|
|
95507
95507
|
|
|
95508
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
95508
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js
|
|
95509
95509
|
var require_dist5 = __commonJS({
|
|
95510
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
95510
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97874,12 +97874,9 @@ var require_dist5 = __commonJS({
|
|
|
97874
97874
|
projectFolder = projectFolder.slice(0, -1);
|
|
97875
97875
|
}
|
|
97876
97876
|
!options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
|
|
97877
|
-
const relativeProjectFolder = _path2.default.
|
|
97878
|
-
_path2.default.
|
|
97879
|
-
|
|
97880
|
-
options.workspaceRoot
|
|
97881
|
-
),
|
|
97882
|
-
".."
|
|
97877
|
+
const relativeProjectFolder = _path2.default.relative(
|
|
97878
|
+
_path2.default.join(options.workspaceRoot, projectFolder.replaceAll("/", "\\")),
|
|
97879
|
+
options.workspaceRoot
|
|
97883
97880
|
);
|
|
97884
97881
|
const apiReferenceProjectDir = _path2.default.join(
|
|
97885
97882
|
relativeProjectFolder,
|
|
@@ -97897,7 +97894,6 @@ var require_dist5 = __commonJS({
|
|
|
97897
97894
|
reportFileName: "api-report.md",
|
|
97898
97895
|
reportFolder: `<projectFolder>/${apiReferenceProjectDir}`,
|
|
97899
97896
|
reportTempFolder: `<projectFolder>/${_path2.default.join(
|
|
97900
|
-
"<projectFolder>",
|
|
97901
97897
|
relativeProjectFolder,
|
|
97902
97898
|
"tmp",
|
|
97903
97899
|
"api-reports"
|
|
@@ -240,9 +240,9 @@ var require_brace_expansion = __commonJS({
|
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
|
|
243
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
243
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
244
244
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
245
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
245
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
246
246
|
"use strict";
|
|
247
247
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
248
248
|
var version = "8.0.0";
|
|
@@ -6549,9 +6549,9 @@ var require_resolve_from = __commonJS({
|
|
|
6549
6549
|
}
|
|
6550
6550
|
});
|
|
6551
6551
|
|
|
6552
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6552
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
6553
6553
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
6554
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6554
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
6555
6555
|
"use strict";
|
|
6556
6556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6557
6557
|
function _interopRequireDefault(obj) {
|
|
@@ -6829,9 +6829,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6829
6829
|
}
|
|
6830
6830
|
});
|
|
6831
6831
|
|
|
6832
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6832
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
6833
6833
|
var require_chunk_UIX4URMV = __commonJS({
|
|
6834
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6834
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
6835
6835
|
"use strict";
|
|
6836
6836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6837
6837
|
function _interopRequireWildcard(obj) {
|
|
@@ -7765,9 +7765,9 @@ var require_dist2 = __commonJS({
|
|
|
7765
7765
|
}
|
|
7766
7766
|
});
|
|
7767
7767
|
|
|
7768
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
7768
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
7769
7769
|
var require_chunk_7G76EW2R = __commonJS({
|
|
7770
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
7770
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
7771
7771
|
"use strict";
|
|
7772
7772
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7773
7773
|
function _interopRequireDefault(obj) {
|
|
@@ -61573,9 +61573,9 @@ var require_chokidar = __commonJS({
|
|
|
61573
61573
|
}
|
|
61574
61574
|
});
|
|
61575
61575
|
|
|
61576
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
61576
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js
|
|
61577
61577
|
var require_dist5 = __commonJS({
|
|
61578
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
61578
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js"(exports) {
|
|
61579
61579
|
"use strict";
|
|
61580
61580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61581
61581
|
function _interopRequireDefault(obj) {
|
|
@@ -63942,12 +63942,9 @@ var require_dist5 = __commonJS({
|
|
|
63942
63942
|
projectFolder = projectFolder.slice(0, -1);
|
|
63943
63943
|
}
|
|
63944
63944
|
!options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
|
|
63945
|
-
const relativeProjectFolder = _path2.default.
|
|
63946
|
-
_path2.default.
|
|
63947
|
-
|
|
63948
|
-
options.workspaceRoot
|
|
63949
|
-
),
|
|
63950
|
-
".."
|
|
63945
|
+
const relativeProjectFolder = _path2.default.relative(
|
|
63946
|
+
_path2.default.join(options.workspaceRoot, projectFolder.replaceAll("/", "\\")),
|
|
63947
|
+
options.workspaceRoot
|
|
63951
63948
|
);
|
|
63952
63949
|
const apiReferenceProjectDir = _path2.default.join(
|
|
63953
63950
|
relativeProjectFolder,
|
|
@@ -63965,7 +63962,6 @@ var require_dist5 = __commonJS({
|
|
|
63965
63962
|
reportFileName: "api-report.md",
|
|
63966
63963
|
reportFolder: `<projectFolder>/${apiReferenceProjectDir}`,
|
|
63967
63964
|
reportTempFolder: `<projectFolder>/${_path2.default.join(
|
|
63968
|
-
"<projectFolder>",
|
|
63969
63965
|
relativeProjectFolder,
|
|
63970
63966
|
"tmp",
|
|
63971
63967
|
"api-reports"
|
|
@@ -5,131 +5,129 @@
|
|
|
5
5
|
"description": "Run a build on the project using tsup configuration",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"default": []
|
|
37
|
-
},
|
|
38
|
-
"external": {
|
|
39
|
-
"type": "array",
|
|
40
|
-
"description": "Mark one or more module as external. Can use * wildcards, such as '*.png'.",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"bundle": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"description": "Whether to bundle the main entry point and additional entry points. Set to false to keep individual output files.",
|
|
48
|
-
"default": true
|
|
49
|
-
},
|
|
50
|
-
"watch": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "Enable re-building when files change.",
|
|
53
|
-
"default": false
|
|
54
|
-
},
|
|
55
|
-
"assets": {
|
|
56
|
-
"type": "array",
|
|
57
|
-
"description": "List of static assets.",
|
|
58
|
-
"default": [],
|
|
59
|
-
"items": {
|
|
60
|
-
"$ref": "#/definitions/assetPattern"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"clean": {
|
|
64
|
-
"type": "boolean",
|
|
65
|
-
"description": "Remove previous output before build.",
|
|
66
|
-
"alias": "deleteOutputPath",
|
|
67
|
-
"default": true
|
|
68
|
-
},
|
|
69
|
-
"includeSrc": {
|
|
70
|
-
"type": "boolean",
|
|
71
|
-
"description": "Should the source files be added to the distribution folder in an `src` directory.",
|
|
72
|
-
"default": true
|
|
73
|
-
},
|
|
74
|
-
"debug": {
|
|
75
|
-
"type": "boolean",
|
|
76
|
-
"description": "Should output be unminified with source mappings.",
|
|
77
|
-
"default": false
|
|
78
|
-
},
|
|
79
|
-
"platform": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"description": "Platform target for outputs.",
|
|
82
|
-
"enum": ["browser", "neutral", "node", "worker"],
|
|
83
|
-
"default": "neutral"
|
|
84
|
-
},
|
|
85
|
-
"banner": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"description": "A short heading added to the top of each typescript file added in the output folder's src directory.",
|
|
88
|
-
"default": "This code was developed by Storm Software (https://stormsoftware.org) and is licensed under the Apache License 2.0."
|
|
89
|
-
},
|
|
90
|
-
"verbose": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Should write extra log outputs with details from the executor.",
|
|
93
|
-
"default": false
|
|
94
|
-
},
|
|
95
|
-
"define": {
|
|
96
|
-
"type": "object",
|
|
97
|
-
"description": "Define global constants that can be used in the source code. The value will be converted into a stringified JSON.",
|
|
98
|
-
"additionalProperties": true
|
|
99
|
-
},
|
|
100
|
-
"env": {
|
|
101
|
-
"type": "object",
|
|
102
|
-
"description": "Define environment variables that can be used in the source code. The value will be converted into a stringified JSON.",
|
|
103
|
-
"additionalProperties": true
|
|
104
|
-
},
|
|
105
|
-
"apiReport": {
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"description": "Should API Extractor generate an API Report file.",
|
|
108
|
-
"default": true
|
|
109
|
-
},
|
|
110
|
-
"docModel": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"description": "Should API Extractor generate an Doc Model markdown file.",
|
|
113
|
-
"default": true
|
|
114
|
-
},
|
|
115
|
-
"tsdocMetadata": {
|
|
116
|
-
"type": "boolean",
|
|
117
|
-
"description": "Should API Extractor generate an TSDoc Metadata file.",
|
|
118
|
-
"default": true
|
|
119
|
-
},
|
|
120
|
-
"options": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"description": "Additional options to pass to tsup. See https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e.",
|
|
123
|
-
"additionalProperties": true,
|
|
124
|
-
"x-priority": "important"
|
|
8
|
+
"entry": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The path to the entry file, relative to project.",
|
|
11
|
+
"alias": "main",
|
|
12
|
+
"default": "{sourceRoot}/index.ts"
|
|
13
|
+
},
|
|
14
|
+
"outputPath": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "The output path of the generated files.",
|
|
17
|
+
"x-completion-type": "directory",
|
|
18
|
+
"x-priority": "important",
|
|
19
|
+
"default": "dist/{projectRoot}"
|
|
20
|
+
},
|
|
21
|
+
"tsConfig": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The path to tsconfig file.",
|
|
24
|
+
"x-completion-type": "file",
|
|
25
|
+
"x-completion-glob": "tsconfig.*.json",
|
|
26
|
+
"x-priority": "important",
|
|
27
|
+
"default": "tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
"additionalEntryPoints": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"description": "List of additional entry points.",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string"
|
|
125
34
|
},
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
35
|
+
"default": []
|
|
36
|
+
},
|
|
37
|
+
"external": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"description": "Mark one or more module as external. Can use * wildcards, such as '*.png'.",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"bundle": {
|
|
45
|
+
"type": "boolean",
|
|
46
|
+
"description": "Whether to bundle the main entry point and additional entry points. Set to false to keep individual output files.",
|
|
47
|
+
"default": true
|
|
48
|
+
},
|
|
49
|
+
"watch": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"description": "Enable re-building when files change.",
|
|
52
|
+
"default": false
|
|
53
|
+
},
|
|
54
|
+
"assets": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"description": "List of static assets.",
|
|
57
|
+
"default": [],
|
|
58
|
+
"items": {
|
|
59
|
+
"$ref": "#/definitions/assetPattern"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"clean": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "Remove previous output before build.",
|
|
65
|
+
"alias": "deleteOutputPath",
|
|
66
|
+
"default": true
|
|
67
|
+
},
|
|
68
|
+
"includeSrc": {
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"description": "Should the source files be added to the distribution folder in an `src` directory.",
|
|
71
|
+
"default": true
|
|
72
|
+
},
|
|
73
|
+
"debug": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"description": "Should output be unminified with source mappings.",
|
|
76
|
+
"default": false
|
|
77
|
+
},
|
|
78
|
+
"platform": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Platform target for outputs.",
|
|
81
|
+
"enum": ["browser", "neutral", "node", "worker"],
|
|
82
|
+
"default": "neutral"
|
|
83
|
+
},
|
|
84
|
+
"banner": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "A short heading added to the top of each typescript file added in the output folder's src directory.",
|
|
87
|
+
"default": "This code was developed by Storm Software (https://stormsoftware.org) and is licensed under the Apache License 2.0."
|
|
88
|
+
},
|
|
89
|
+
"verbose": {
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"description": "Should write extra log outputs with details from the executor.",
|
|
92
|
+
"default": false
|
|
93
|
+
},
|
|
94
|
+
"define": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"description": "Define global constants that can be used in the source code. The value will be converted into a stringified JSON.",
|
|
97
|
+
"additionalProperties": true
|
|
98
|
+
},
|
|
99
|
+
"env": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"description": "Define environment variables that can be used in the source code. The value will be converted into a stringified JSON.",
|
|
102
|
+
"additionalProperties": true
|
|
103
|
+
},
|
|
104
|
+
"apiReport": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"description": "Should API Extractor generate an API Report file.",
|
|
107
|
+
"default": true
|
|
108
|
+
},
|
|
109
|
+
"docModel": {
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"description": "Should API Extractor generate an Doc Model markdown file.",
|
|
112
|
+
"default": true
|
|
113
|
+
},
|
|
114
|
+
"tsdocMetadata": {
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"description": "Should API Extractor generate an TSDoc Metadata file.",
|
|
117
|
+
"default": true
|
|
118
|
+
},
|
|
119
|
+
"options": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"description": "Additional options to pass to tsup. See https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e.",
|
|
122
|
+
"additionalProperties": true,
|
|
123
|
+
"x-priority": "important"
|
|
124
|
+
},
|
|
125
|
+
"plugins": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"description": "List of ESBuild plugins to use during processing",
|
|
128
|
+
"default": [],
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "object"
|
|
133
131
|
}
|
|
134
132
|
},
|
|
135
133
|
"required": ["tsConfig", "platform", "banner"],
|