@storm-software/workspace-tools 1.8.4 → 1.8.5
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 +17 -17
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +17 -17
- package/src/executors/tsup/get-config.js +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.8.4](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.8.3...workspace-tools-v1.8.4) (2023-11-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issue with `tsdocMetadataFilePath` option ([e1e8b59](https://github.com/storm-software/storm-ops/commit/e1e8b59c853580ea5deb5175cad6971953878f18))
|
|
7
|
+
|
|
1
8
|
## [1.8.3](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.8.2...workspace-tools-v1.8.3) (2023-11-21)
|
|
2
9
|
|
|
3
10
|
|
package/index.js
CHANGED
|
@@ -408390,9 +408390,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
408390
408390
|
}
|
|
408391
408391
|
});
|
|
408392
408392
|
|
|
408393
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
408393
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
408394
408394
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
408395
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
408395
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
408396
408396
|
"use strict";
|
|
408397
408397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
408398
408398
|
var version = "8.0.0";
|
|
@@ -410039,9 +410039,9 @@ var require_resolve_from = __commonJS({
|
|
|
410039
410039
|
}
|
|
410040
410040
|
});
|
|
410041
410041
|
|
|
410042
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410042
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
410043
410043
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
410044
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410044
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
410045
410045
|
"use strict";
|
|
410046
410046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
410047
410047
|
function _interopRequireDefault(obj) {
|
|
@@ -410320,9 +410320,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
410320
410320
|
}
|
|
410321
410321
|
});
|
|
410322
410322
|
|
|
410323
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410323
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
410324
410324
|
var require_chunk_UIX4URMV = __commonJS({
|
|
410325
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410325
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
410326
410326
|
"use strict";
|
|
410327
410327
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
410328
410328
|
function _interopRequireWildcard(obj) {
|
|
@@ -411256,9 +411256,9 @@ var require_dist2 = __commonJS({
|
|
|
411256
411256
|
}
|
|
411257
411257
|
});
|
|
411258
411258
|
|
|
411259
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
411259
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
411260
411260
|
var require_chunk_7G76EW2R = __commonJS({
|
|
411261
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
411261
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
411262
411262
|
"use strict";
|
|
411263
411263
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
411264
411264
|
function _interopRequireDefault(obj) {
|
|
@@ -465064,9 +465064,9 @@ var require_chokidar = __commonJS({
|
|
|
465064
465064
|
}
|
|
465065
465065
|
});
|
|
465066
465066
|
|
|
465067
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
465067
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/index.js
|
|
465068
465068
|
var require_dist5 = __commonJS({
|
|
465069
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
465069
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/index.js"(exports) {
|
|
465070
465070
|
"use strict";
|
|
465071
465071
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
465072
465072
|
function _interopRequireDefault(obj) {
|
|
@@ -467508,15 +467508,15 @@ var require_dist5 = __commonJS({
|
|
|
467508
467508
|
logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${pkgPath}`);
|
|
467509
467509
|
let packageJsonFullPath = options.workspaceRoot ? _path2.default.join(options.workspaceRoot, pkgPath, "package.json") : _path2.default.join(pkgPath, "package.json");
|
|
467510
467510
|
const splits = pkgPath.split("\\");
|
|
467511
|
+
logger2.info("dts", splits);
|
|
467511
467512
|
let packageName = pkgPath;
|
|
467512
|
-
if (splits.length >
|
|
467513
|
-
packageName = splits[splits.length -
|
|
467513
|
+
if (splits.length > 2) {
|
|
467514
|
+
packageName = splits[splits.length - 2];
|
|
467514
467515
|
}
|
|
467515
467516
|
const apiReferenceProjectDir = _path2.default.join(
|
|
467516
467517
|
"<projectFolder>",
|
|
467517
|
-
|
|
467518
|
-
"api-reports"
|
|
467519
|
-
options.projectRoot
|
|
467518
|
+
pkgPath,
|
|
467519
|
+
"api-reports"
|
|
467520
467520
|
);
|
|
467521
467521
|
let configObject = {
|
|
467522
467522
|
mainEntryPointFilePath: inputFilePath,
|
|
@@ -467592,7 +467592,7 @@ var require_dist5 = __commonJS({
|
|
|
467592
467592
|
async function rollupDtsFiles(options, exports2, format2) {
|
|
467593
467593
|
let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0);
|
|
467594
467594
|
let outDir = options.outDir || "dist";
|
|
467595
|
-
let pkgPath = packageJsonSearch(outDir,
|
|
467595
|
+
let pkgPath = packageJsonSearch(outDir, options.silent, "dts", logger2);
|
|
467596
467596
|
logger2.info("dts", `\u26A1 Preparing to run Rollup (DTS generate): ${pkgPath}`);
|
|
467597
467597
|
let pkg = await _chunk7G76EW2Rjs.loadPkg.call(void 0, pkgPath);
|
|
467598
467598
|
let dtsExtension = _chunkGQ77QZBOjs.defaultOutExtension.call(void 0, { format: format2, pkgType: pkg.type }).dts;
|
|
@@ -467601,7 +467601,7 @@ var require_dist5 = __commonJS({
|
|
|
467601
467601
|
"_tsup-dts-aggregation" + dtsExtension
|
|
467602
467602
|
);
|
|
467603
467603
|
dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
|
|
467604
|
-
let dtsOutputFilePath = _path2.default.join(
|
|
467604
|
+
let dtsOutputFilePath = _path2.default.join(pkgPath, "_tsup-dts-rollup" + dtsExtension);
|
|
467605
467605
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
467606
467606
|
void 0,
|
|
467607
467607
|
dtsInputFilePath,
|