@storm-software/workspace-tools 1.16.10 → 1.16.11
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/index.js +33 -19
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +33 -19
- package/src/executors/tsup/get-config.js +33 -19
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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97867,17 +97867,26 @@ var require_dist5 = __commonJS({
|
|
|
97867
97867
|
throw new Error("Unknown declaration");
|
|
97868
97868
|
}
|
|
97869
97869
|
}
|
|
97870
|
-
function formatDistributionExports(exports2, fromFilePath, toFilePath) {
|
|
97870
|
+
function formatDistributionExports(exports2, fromFilePath, toFilePath, logger3, options) {
|
|
97871
97871
|
let importPath = _chunkGQ77QZBOjs.trimDtsExtension.call(
|
|
97872
97872
|
void 0,
|
|
97873
97873
|
_path2.default.posix.relative(
|
|
97874
|
-
_path2.default.posix.dirname(_path2.default.posix.normalize(
|
|
97875
|
-
|
|
97874
|
+
_path2.default.posix.dirname(_path2.default.posix.normalize(
|
|
97875
|
+
_chunkGQ77QZBOjs.slash.call(
|
|
97876
|
+
void 0,
|
|
97877
|
+
_path2.default.join(options.workspaceRoot, fromFilePath)
|
|
97878
|
+
)
|
|
97879
|
+
)),
|
|
97880
|
+
_path2.default.posix.normalize(_chunkGQ77QZBOjs.slash.call(
|
|
97881
|
+
void 0,
|
|
97882
|
+
_path2.default.join(options.workspaceRoot, toFilePath)
|
|
97883
|
+
))
|
|
97876
97884
|
)
|
|
97877
97885
|
);
|
|
97878
97886
|
if (!importPath.match(/^\.+\//)) {
|
|
97879
97887
|
importPath = "./" + importPath;
|
|
97880
97888
|
}
|
|
97889
|
+
!options.silent && logger3.info("dts", `\u26A1 Formatting Distribution Exports with Import Path: ${importPath}`);
|
|
97881
97890
|
let seen = {
|
|
97882
97891
|
named: /* @__PURE__ */ new Set(),
|
|
97883
97892
|
module: /* @__PURE__ */ new Set()
|
|
@@ -97949,7 +97958,7 @@ var require_dist5 = __commonJS({
|
|
|
97949
97958
|
},
|
|
97950
97959
|
dtsRollup: {
|
|
97951
97960
|
enabled: true,
|
|
97952
|
-
untrimmedFilePath: outputFilePath
|
|
97961
|
+
untrimmedFilePath: `<projectFolder>/${outputFilePath.replaceAll("\\", "/")}`
|
|
97953
97962
|
},
|
|
97954
97963
|
tsdocMetadata: {
|
|
97955
97964
|
enabled: options.tsdocMetadata !== false,
|
|
@@ -98027,7 +98036,7 @@ var require_dist5 = __commonJS({
|
|
|
98027
98036
|
dtsInputFilePath,
|
|
98028
98037
|
formatAggregationExports(exports2, declarationDir)
|
|
98029
98038
|
);
|
|
98030
|
-
let dtsOutputFilePath = _path2.default.join(outDir, "
|
|
98039
|
+
let dtsOutputFilePath = _path2.default.join(outDir, "declarations" + dtsExtension);
|
|
98031
98040
|
rollupDtsFile(
|
|
98032
98041
|
options,
|
|
98033
98042
|
dtsInputFilePath,
|
|
@@ -98037,15 +98046,20 @@ var require_dist5 = __commonJS({
|
|
|
98037
98046
|
for (let [out, sourceFileName] of Object.entries(
|
|
98038
98047
|
options.experimentalDts.entry
|
|
98039
98048
|
)) {
|
|
98040
|
-
sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
|
|
98041
|
-
const outFileName = _path2.default.join(
|
|
98049
|
+
sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName).replaceAll("/", "\\");
|
|
98050
|
+
const outFileName = _path2.default.join(
|
|
98051
|
+
options.workspaceRoot,
|
|
98052
|
+
outDir,
|
|
98053
|
+
out + dtsExtension
|
|
98054
|
+
).replaceAll("/", "\\");
|
|
98055
|
+
!options.silent && logger2.info("dts", `\u26A1 Checking exports generation for file: ${outFileName}`);
|
|
98042
98056
|
const currentExports = exports2.filter(
|
|
98043
|
-
(declaration) => declaration.sourceFileName === sourceFileName
|
|
98057
|
+
(declaration) => declaration.sourceFileName.replaceAll("/", "\\") === sourceFileName.replaceAll("/", "\\")
|
|
98044
98058
|
);
|
|
98045
98059
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
98046
98060
|
void 0,
|
|
98047
98061
|
outFileName,
|
|
98048
|
-
formatDistributionExports(currentExports, outFileName, dtsOutputFilePath)
|
|
98062
|
+
formatDistributionExports(currentExports, outFileName, dtsOutputFilePath, logger2, options)
|
|
98049
98063
|
);
|
|
98050
98064
|
}
|
|
98051
98065
|
}
|
|
@@ -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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/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=sm6ofhvdkyatguwc6tbkvo7xqu_@microsoft+api-extractor@7.38.3_@swc+core@1._znna3kygvsafimy6gulngvppbu/node_modules/tsup/dist/index.js"(exports) {
|
|
61579
61579
|
"use strict";
|
|
61580
61580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61581
61581
|
function _interopRequireDefault(obj) {
|
|
@@ -63935,17 +63935,26 @@ var require_dist5 = __commonJS({
|
|
|
63935
63935
|
throw new Error("Unknown declaration");
|
|
63936
63936
|
}
|
|
63937
63937
|
}
|
|
63938
|
-
function formatDistributionExports(exports2, fromFilePath, toFilePath) {
|
|
63938
|
+
function formatDistributionExports(exports2, fromFilePath, toFilePath, logger3, options) {
|
|
63939
63939
|
let importPath = _chunkGQ77QZBOjs.trimDtsExtension.call(
|
|
63940
63940
|
void 0,
|
|
63941
63941
|
_path2.default.posix.relative(
|
|
63942
|
-
_path2.default.posix.dirname(_path2.default.posix.normalize(
|
|
63943
|
-
|
|
63942
|
+
_path2.default.posix.dirname(_path2.default.posix.normalize(
|
|
63943
|
+
_chunkGQ77QZBOjs.slash.call(
|
|
63944
|
+
void 0,
|
|
63945
|
+
_path2.default.join(options.workspaceRoot, fromFilePath)
|
|
63946
|
+
)
|
|
63947
|
+
)),
|
|
63948
|
+
_path2.default.posix.normalize(_chunkGQ77QZBOjs.slash.call(
|
|
63949
|
+
void 0,
|
|
63950
|
+
_path2.default.join(options.workspaceRoot, toFilePath)
|
|
63951
|
+
))
|
|
63944
63952
|
)
|
|
63945
63953
|
);
|
|
63946
63954
|
if (!importPath.match(/^\.+\//)) {
|
|
63947
63955
|
importPath = "./" + importPath;
|
|
63948
63956
|
}
|
|
63957
|
+
!options.silent && logger3.info("dts", `\u26A1 Formatting Distribution Exports with Import Path: ${importPath}`);
|
|
63949
63958
|
let seen = {
|
|
63950
63959
|
named: /* @__PURE__ */ new Set(),
|
|
63951
63960
|
module: /* @__PURE__ */ new Set()
|
|
@@ -64017,7 +64026,7 @@ var require_dist5 = __commonJS({
|
|
|
64017
64026
|
},
|
|
64018
64027
|
dtsRollup: {
|
|
64019
64028
|
enabled: true,
|
|
64020
|
-
untrimmedFilePath: outputFilePath
|
|
64029
|
+
untrimmedFilePath: `<projectFolder>/${outputFilePath.replaceAll("\\", "/")}`
|
|
64021
64030
|
},
|
|
64022
64031
|
tsdocMetadata: {
|
|
64023
64032
|
enabled: options.tsdocMetadata !== false,
|
|
@@ -64095,7 +64104,7 @@ var require_dist5 = __commonJS({
|
|
|
64095
64104
|
dtsInputFilePath,
|
|
64096
64105
|
formatAggregationExports(exports2, declarationDir)
|
|
64097
64106
|
);
|
|
64098
|
-
let dtsOutputFilePath = _path2.default.join(outDir, "
|
|
64107
|
+
let dtsOutputFilePath = _path2.default.join(outDir, "declarations" + dtsExtension);
|
|
64099
64108
|
rollupDtsFile(
|
|
64100
64109
|
options,
|
|
64101
64110
|
dtsInputFilePath,
|
|
@@ -64105,15 +64114,20 @@ var require_dist5 = __commonJS({
|
|
|
64105
64114
|
for (let [out, sourceFileName] of Object.entries(
|
|
64106
64115
|
options.experimentalDts.entry
|
|
64107
64116
|
)) {
|
|
64108
|
-
sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
|
|
64109
|
-
const outFileName = _path2.default.join(
|
|
64117
|
+
sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName).replaceAll("/", "\\");
|
|
64118
|
+
const outFileName = _path2.default.join(
|
|
64119
|
+
options.workspaceRoot,
|
|
64120
|
+
outDir,
|
|
64121
|
+
out + dtsExtension
|
|
64122
|
+
).replaceAll("/", "\\");
|
|
64123
|
+
!options.silent && logger2.info("dts", `\u26A1 Checking exports generation for file: ${outFileName}`);
|
|
64110
64124
|
const currentExports = exports2.filter(
|
|
64111
|
-
(declaration) => declaration.sourceFileName === sourceFileName
|
|
64125
|
+
(declaration) => declaration.sourceFileName.replaceAll("/", "\\") === sourceFileName.replaceAll("/", "\\")
|
|
64112
64126
|
);
|
|
64113
64127
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
64114
64128
|
void 0,
|
|
64115
64129
|
outFileName,
|
|
64116
|
-
formatDistributionExports(currentExports, outFileName, dtsOutputFilePath)
|
|
64130
|
+
formatDistributionExports(currentExports, outFileName, dtsOutputFilePath, logger2, options)
|
|
64117
64131
|
);
|
|
64118
64132
|
}
|
|
64119
64133
|
}
|