@storm-software/workspace-tools 1.16.8 → 1.16.10
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 +15 -0
- package/README.md +23 -19
- package/index.js +16 -26
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +16 -26
- package/src/executors/tsup/get-config.js +16 -26
- package/src/executors/tsup/schema.json +3 -3
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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97921,7 +97921,7 @@ var require_dist5 = __commonJS({
|
|
|
97921
97921
|
return "";
|
|
97922
97922
|
}
|
|
97923
97923
|
var logger2 = _chunk7G76EW2Rjs.createLogger.call(void 0);
|
|
97924
|
-
function rollupDtsFile(options, inputFilePath,
|
|
97924
|
+
function rollupDtsFile(options, inputFilePath, outputFilePath, tsconfigFilePath) {
|
|
97925
97925
|
let projectFolder = packageJsonSearch(options.outDir, options.silent, "dts", logger2);
|
|
97926
97926
|
!options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
|
|
97927
97927
|
const apiReferenceProjectDir = `<projectFolder>/${_path2.default.join(
|
|
@@ -97949,18 +97949,7 @@ var require_dist5 = __commonJS({
|
|
|
97949
97949
|
},
|
|
97950
97950
|
dtsRollup: {
|
|
97951
97951
|
enabled: true,
|
|
97952
|
-
untrimmedFilePath:
|
|
97953
|
-
options.outDir,
|
|
97954
|
-
`index${dtsExtension}`
|
|
97955
|
-
).replaceAll("\\", "/")}`,
|
|
97956
|
-
betaTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97957
|
-
options.outDir,
|
|
97958
|
-
`index-beta${dtsExtension}`
|
|
97959
|
-
).replaceAll("\\", "/")}`,
|
|
97960
|
-
publicTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97961
|
-
options.outDir,
|
|
97962
|
-
`index-public${dtsExtension}`
|
|
97963
|
-
).replaceAll("\\", "/")}`
|
|
97952
|
+
untrimmedFilePath: outputFilePath
|
|
97964
97953
|
},
|
|
97965
97954
|
tsdocMetadata: {
|
|
97966
97955
|
enabled: options.tsdocMetadata !== false,
|
|
@@ -98029,7 +98018,7 @@ var require_dist5 = __commonJS({
|
|
|
98029
98018
|
let dtsExtension = _chunkGQ77QZBOjs.defaultOutExtension.call(void 0, { format: format2, pkgType: pkg.type }).dts;
|
|
98030
98019
|
let dtsInputFilePath = _path2.default.join(
|
|
98031
98020
|
declarationDir,
|
|
98032
|
-
|
|
98021
|
+
options.projectRoot,
|
|
98033
98022
|
"_tsup-dts-aggregation" + dtsExtension
|
|
98034
98023
|
);
|
|
98035
98024
|
dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
|
|
@@ -98038,10 +98027,11 @@ var require_dist5 = __commonJS({
|
|
|
98038
98027
|
dtsInputFilePath,
|
|
98039
98028
|
formatAggregationExports(exports2, declarationDir)
|
|
98040
98029
|
);
|
|
98030
|
+
let dtsOutputFilePath = _path2.default.join(outDir, "declaration" + dtsExtension);
|
|
98041
98031
|
rollupDtsFile(
|
|
98042
98032
|
options,
|
|
98043
98033
|
dtsInputFilePath,
|
|
98044
|
-
|
|
98034
|
+
dtsOutputFilePath,
|
|
98045
98035
|
options.tsconfig || "tsconfig.json"
|
|
98046
98036
|
);
|
|
98047
98037
|
for (let [out, sourceFileName] of Object.entries(
|
|
@@ -98055,7 +98045,7 @@ var require_dist5 = __commonJS({
|
|
|
98055
98045
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
98056
98046
|
void 0,
|
|
98057
98047
|
outFileName,
|
|
98058
|
-
formatDistributionExports(currentExports, outFileName,
|
|
98048
|
+
formatDistributionExports(currentExports, outFileName, dtsOutputFilePath)
|
|
98059
98049
|
);
|
|
98060
98050
|
}
|
|
98061
98051
|
}
|
|
@@ -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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/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=ycbj4ze4nximjalgxenbuscbmq_@microsoft+api-extractor@7.38.3_@swc+core@1._sppchyqgfxkd36p6h24jhpliga/node_modules/tsup/dist/index.js"(exports) {
|
|
61579
61579
|
"use strict";
|
|
61580
61580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61581
61581
|
function _interopRequireDefault(obj) {
|
|
@@ -63989,7 +63989,7 @@ var require_dist5 = __commonJS({
|
|
|
63989
63989
|
return "";
|
|
63990
63990
|
}
|
|
63991
63991
|
var logger2 = _chunk7G76EW2Rjs.createLogger.call(void 0);
|
|
63992
|
-
function rollupDtsFile(options, inputFilePath,
|
|
63992
|
+
function rollupDtsFile(options, inputFilePath, outputFilePath, tsconfigFilePath) {
|
|
63993
63993
|
let projectFolder = packageJsonSearch(options.outDir, options.silent, "dts", logger2);
|
|
63994
63994
|
!options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
|
|
63995
63995
|
const apiReferenceProjectDir = `<projectFolder>/${_path2.default.join(
|
|
@@ -64017,18 +64017,7 @@ var require_dist5 = __commonJS({
|
|
|
64017
64017
|
},
|
|
64018
64018
|
dtsRollup: {
|
|
64019
64019
|
enabled: true,
|
|
64020
|
-
untrimmedFilePath:
|
|
64021
|
-
options.outDir,
|
|
64022
|
-
`index${dtsExtension}`
|
|
64023
|
-
).replaceAll("\\", "/")}`,
|
|
64024
|
-
betaTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
64025
|
-
options.outDir,
|
|
64026
|
-
`index-beta${dtsExtension}`
|
|
64027
|
-
).replaceAll("\\", "/")}`,
|
|
64028
|
-
publicTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
64029
|
-
options.outDir,
|
|
64030
|
-
`index-public${dtsExtension}`
|
|
64031
|
-
).replaceAll("\\", "/")}`
|
|
64020
|
+
untrimmedFilePath: outputFilePath
|
|
64032
64021
|
},
|
|
64033
64022
|
tsdocMetadata: {
|
|
64034
64023
|
enabled: options.tsdocMetadata !== false,
|
|
@@ -64097,7 +64086,7 @@ var require_dist5 = __commonJS({
|
|
|
64097
64086
|
let dtsExtension = _chunkGQ77QZBOjs.defaultOutExtension.call(void 0, { format, pkgType: pkg.type }).dts;
|
|
64098
64087
|
let dtsInputFilePath = _path2.default.join(
|
|
64099
64088
|
declarationDir,
|
|
64100
|
-
|
|
64089
|
+
options.projectRoot,
|
|
64101
64090
|
"_tsup-dts-aggregation" + dtsExtension
|
|
64102
64091
|
);
|
|
64103
64092
|
dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
|
|
@@ -64106,10 +64095,11 @@ var require_dist5 = __commonJS({
|
|
|
64106
64095
|
dtsInputFilePath,
|
|
64107
64096
|
formatAggregationExports(exports2, declarationDir)
|
|
64108
64097
|
);
|
|
64098
|
+
let dtsOutputFilePath = _path2.default.join(outDir, "declaration" + dtsExtension);
|
|
64109
64099
|
rollupDtsFile(
|
|
64110
64100
|
options,
|
|
64111
64101
|
dtsInputFilePath,
|
|
64112
|
-
|
|
64102
|
+
dtsOutputFilePath,
|
|
64113
64103
|
options.tsconfig || "tsconfig.json"
|
|
64114
64104
|
);
|
|
64115
64105
|
for (let [out, sourceFileName] of Object.entries(
|
|
@@ -64123,7 +64113,7 @@ var require_dist5 = __commonJS({
|
|
|
64123
64113
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
64124
64114
|
void 0,
|
|
64125
64115
|
outFileName,
|
|
64126
|
-
formatDistributionExports(currentExports, outFileName,
|
|
64116
|
+
formatDistributionExports(currentExports, outFileName, dtsOutputFilePath)
|
|
64127
64117
|
);
|
|
64128
64118
|
}
|
|
64129
64119
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"tsConfig": {
|
|
22
22
|
"type": "string",
|
|
23
|
-
"description": "The path to tsconfig file.",
|
|
23
|
+
"description": "The path to the `tsconfig.json` file.",
|
|
24
24
|
"x-completion-type": "file",
|
|
25
25
|
"x-completion-glob": "tsconfig.*.json",
|
|
26
26
|
"x-priority": "important",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"external": {
|
|
38
38
|
"type": "array",
|
|
39
|
-
"description": "Mark one or more module as external. Can use * wildcards, such as
|
|
39
|
+
"description": "Mark one or more module as external. Can use * wildcards, such as *.png.",
|
|
40
40
|
"items": {
|
|
41
41
|
"type": "string"
|
|
42
42
|
}
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
},
|
|
84
84
|
"banner": {
|
|
85
85
|
"type": "string",
|
|
86
|
-
"description": "A short heading added to the top of each typescript file added in the output folder's src directory.",
|
|
86
|
+
"description": "A short heading added to the top of each typescript file added in the output folder's `src` directory.",
|
|
87
87
|
"default": "This code was developed by Storm Software (<https://stormsoftware.org>) and is licensed under the Apache License 2.0."
|
|
88
88
|
},
|
|
89
89
|
"verbose": {
|