@storm-software/workspace-tools 1.14.0 → 1.14.1
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 +13 -0
- package/index.js +10 -77
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +10 -77
- package/src/executors/tsup/get-config.js +10 -77
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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97861,59 +97861,6 @@ var require_dist5 = __commonJS({
|
|
|
97861
97861
|
throw new Error("Unknown declaration");
|
|
97862
97862
|
}
|
|
97863
97863
|
}
|
|
97864
|
-
function formatDistributionExports(exports2, fromFilePath, toFilePath) {
|
|
97865
|
-
let importPath = _chunkGQ77QZBOjs.trimDtsExtension.call(
|
|
97866
|
-
void 0,
|
|
97867
|
-
_path2.default.posix.relative(
|
|
97868
|
-
_path2.default.posix.dirname(_path2.default.posix.normalize(_chunkGQ77QZBOjs.slash.call(void 0, fromFilePath))),
|
|
97869
|
-
_path2.default.posix.normalize(_chunkGQ77QZBOjs.slash.call(void 0, toFilePath))
|
|
97870
|
-
)
|
|
97871
|
-
);
|
|
97872
|
-
if (!importPath.match(/^\.+\//)) {
|
|
97873
|
-
importPath = "./" + importPath;
|
|
97874
|
-
}
|
|
97875
|
-
let seen = {
|
|
97876
|
-
named: /* @__PURE__ */ new Set(),
|
|
97877
|
-
module: /* @__PURE__ */ new Set()
|
|
97878
|
-
};
|
|
97879
|
-
const lines = exports2.filter((declaration) => {
|
|
97880
|
-
if (declaration.kind === "module") {
|
|
97881
|
-
if (seen.module.has(declaration.moduleName)) {
|
|
97882
|
-
return false;
|
|
97883
|
-
}
|
|
97884
|
-
seen.module.add(declaration.moduleName);
|
|
97885
|
-
return true;
|
|
97886
|
-
} else if (declaration.kind === "named") {
|
|
97887
|
-
if (seen.named.has(declaration.name)) {
|
|
97888
|
-
return false;
|
|
97889
|
-
}
|
|
97890
|
-
seen.named.add(declaration.name);
|
|
97891
|
-
return true;
|
|
97892
|
-
} else {
|
|
97893
|
-
return false;
|
|
97894
|
-
}
|
|
97895
|
-
}).map((declaration) => formatDistributionExport(declaration, importPath)).filter(_chunkGQ77QZBOjs.truthy);
|
|
97896
|
-
if (lines.length === 0) {
|
|
97897
|
-
lines.push("export {};");
|
|
97898
|
-
}
|
|
97899
|
-
return lines.join("\n") + "\n";
|
|
97900
|
-
}
|
|
97901
|
-
function formatDistributionExport(declaration, dest) {
|
|
97902
|
-
if (declaration.kind === "named") {
|
|
97903
|
-
return [
|
|
97904
|
-
"export",
|
|
97905
|
-
declaration.isTypeOnly ? "type" : "",
|
|
97906
|
-
"{",
|
|
97907
|
-
declaration.alias,
|
|
97908
|
-
declaration.name === declaration.alias ? "" : `as ${declaration.name}`,
|
|
97909
|
-
"} from",
|
|
97910
|
-
`'${dest}';`
|
|
97911
|
-
].filter(_chunkGQ77QZBOjs.truthy).join(" ");
|
|
97912
|
-
} else if (declaration.kind === "module") {
|
|
97913
|
-
return `export * from '${declaration.moduleName}';`;
|
|
97914
|
-
}
|
|
97915
|
-
return "";
|
|
97916
|
-
}
|
|
97917
97864
|
var logger2 = _chunk7G76EW2Rjs.createLogger.call(void 0);
|
|
97918
97865
|
function rollupDtsFile(options, inputFilePath, dtsExtension, tsconfigFilePath) {
|
|
97919
97866
|
let pkgPath = packageJsonSearch(options.outDir, options.silent, "dts", logger2);
|
|
@@ -98052,20 +97999,6 @@ var require_dist5 = __commonJS({
|
|
|
98052
97999
|
dtsExtension,
|
|
98053
98000
|
options.tsconfig || "tsconfig.json"
|
|
98054
98001
|
);
|
|
98055
|
-
for (let [out, sourceFileName] of Object.entries(
|
|
98056
|
-
options.experimentalDts.entry
|
|
98057
|
-
)) {
|
|
98058
|
-
sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
|
|
98059
|
-
const outFileName = _path2.default.join(outDir, out + dtsExtension);
|
|
98060
|
-
const currentExports = exports2.filter(
|
|
98061
|
-
(declaration) => declaration.sourceFileName === sourceFileName
|
|
98062
|
-
);
|
|
98063
|
-
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
98064
|
-
void 0,
|
|
98065
|
-
outFileName,
|
|
98066
|
-
formatDistributionExports(currentExports, outFileName, outDir)
|
|
98067
|
-
);
|
|
98068
|
-
}
|
|
98069
98002
|
}
|
|
98070
98003
|
async function runDtsRollup(options, exports2) {
|
|
98071
98004
|
try {
|
|
@@ -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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/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=sptrsn6zz5ml3kygqdc3cxvabq_@microsoft+api-extractor@7.38.3_@swc+core@1._4of6ipqwh6qeio3ureh6e3ihlq/node_modules/tsup/dist/index.js"(exports) {
|
|
61579
61579
|
"use strict";
|
|
61580
61580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61581
61581
|
function _interopRequireDefault(obj) {
|
|
@@ -63929,59 +63929,6 @@ var require_dist5 = __commonJS({
|
|
|
63929
63929
|
throw new Error("Unknown declaration");
|
|
63930
63930
|
}
|
|
63931
63931
|
}
|
|
63932
|
-
function formatDistributionExports(exports2, fromFilePath, toFilePath) {
|
|
63933
|
-
let importPath = _chunkGQ77QZBOjs.trimDtsExtension.call(
|
|
63934
|
-
void 0,
|
|
63935
|
-
_path2.default.posix.relative(
|
|
63936
|
-
_path2.default.posix.dirname(_path2.default.posix.normalize(_chunkGQ77QZBOjs.slash.call(void 0, fromFilePath))),
|
|
63937
|
-
_path2.default.posix.normalize(_chunkGQ77QZBOjs.slash.call(void 0, toFilePath))
|
|
63938
|
-
)
|
|
63939
|
-
);
|
|
63940
|
-
if (!importPath.match(/^\.+\//)) {
|
|
63941
|
-
importPath = "./" + importPath;
|
|
63942
|
-
}
|
|
63943
|
-
let seen = {
|
|
63944
|
-
named: /* @__PURE__ */ new Set(),
|
|
63945
|
-
module: /* @__PURE__ */ new Set()
|
|
63946
|
-
};
|
|
63947
|
-
const lines = exports2.filter((declaration) => {
|
|
63948
|
-
if (declaration.kind === "module") {
|
|
63949
|
-
if (seen.module.has(declaration.moduleName)) {
|
|
63950
|
-
return false;
|
|
63951
|
-
}
|
|
63952
|
-
seen.module.add(declaration.moduleName);
|
|
63953
|
-
return true;
|
|
63954
|
-
} else if (declaration.kind === "named") {
|
|
63955
|
-
if (seen.named.has(declaration.name)) {
|
|
63956
|
-
return false;
|
|
63957
|
-
}
|
|
63958
|
-
seen.named.add(declaration.name);
|
|
63959
|
-
return true;
|
|
63960
|
-
} else {
|
|
63961
|
-
return false;
|
|
63962
|
-
}
|
|
63963
|
-
}).map((declaration) => formatDistributionExport(declaration, importPath)).filter(_chunkGQ77QZBOjs.truthy);
|
|
63964
|
-
if (lines.length === 0) {
|
|
63965
|
-
lines.push("export {};");
|
|
63966
|
-
}
|
|
63967
|
-
return lines.join("\n") + "\n";
|
|
63968
|
-
}
|
|
63969
|
-
function formatDistributionExport(declaration, dest) {
|
|
63970
|
-
if (declaration.kind === "named") {
|
|
63971
|
-
return [
|
|
63972
|
-
"export",
|
|
63973
|
-
declaration.isTypeOnly ? "type" : "",
|
|
63974
|
-
"{",
|
|
63975
|
-
declaration.alias,
|
|
63976
|
-
declaration.name === declaration.alias ? "" : `as ${declaration.name}`,
|
|
63977
|
-
"} from",
|
|
63978
|
-
`'${dest}';`
|
|
63979
|
-
].filter(_chunkGQ77QZBOjs.truthy).join(" ");
|
|
63980
|
-
} else if (declaration.kind === "module") {
|
|
63981
|
-
return `export * from '${declaration.moduleName}';`;
|
|
63982
|
-
}
|
|
63983
|
-
return "";
|
|
63984
|
-
}
|
|
63985
63932
|
var logger2 = _chunk7G76EW2Rjs.createLogger.call(void 0);
|
|
63986
63933
|
function rollupDtsFile(options, inputFilePath, dtsExtension, tsconfigFilePath) {
|
|
63987
63934
|
let pkgPath = packageJsonSearch(options.outDir, options.silent, "dts", logger2);
|
|
@@ -64120,20 +64067,6 @@ var require_dist5 = __commonJS({
|
|
|
64120
64067
|
dtsExtension,
|
|
64121
64068
|
options.tsconfig || "tsconfig.json"
|
|
64122
64069
|
);
|
|
64123
|
-
for (let [out, sourceFileName] of Object.entries(
|
|
64124
|
-
options.experimentalDts.entry
|
|
64125
|
-
)) {
|
|
64126
|
-
sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
|
|
64127
|
-
const outFileName = _path2.default.join(outDir, out + dtsExtension);
|
|
64128
|
-
const currentExports = exports2.filter(
|
|
64129
|
-
(declaration) => declaration.sourceFileName === sourceFileName
|
|
64130
|
-
);
|
|
64131
|
-
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
64132
|
-
void 0,
|
|
64133
|
-
outFileName,
|
|
64134
|
-
formatDistributionExports(currentExports, outFileName, outDir)
|
|
64135
|
-
);
|
|
64136
|
-
}
|
|
64137
64070
|
}
|
|
64138
64071
|
async function runDtsRollup(options, exports2) {
|
|
64139
64072
|
try {
|