@storm-software/workspace-tools 1.10.0 → 1.10.2
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 +14 -0
- package/index.js +26 -17
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +26 -17
- package/src/executors/tsup/get-config.js +26 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.10.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.10.0...workspace-tools-v1.10.1) (2023-11-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issues with api-extractors paths ([8ea88f0](https://github.com/storm-software/storm-ops/commit/8ea88f09c240a94533474436dbac50bdabd26b2a))
|
|
7
|
+
|
|
8
|
+
# [1.10.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.9.0...workspace-tools-v1.10.0) (2023-11-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added the `main` option to tsup build support manually entered entry paths ([fcb0fa7](https://github.com/storm-software/storm-ops/commit/fcb0fa7b98a8ed9bf14f9b724d9d9c7f345b7a08))
|
|
14
|
+
|
|
1
15
|
# [1.9.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.8.5...workspace-tools-v1.9.0) (2023-11-21)
|
|
2
16
|
|
|
3
17
|
|
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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/node_modules/tsup/dist/index.js"(exports) {
|
|
465070
465070
|
"use strict";
|
|
465071
465071
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
465072
465072
|
function _interopRequireDefault(obj) {
|
|
@@ -467515,6 +467515,7 @@ var require_dist5 = __commonJS({
|
|
|
467515
467515
|
}
|
|
467516
467516
|
const apiReferenceProjectDir = _path2.default.join(
|
|
467517
467517
|
"<projectFolder>",
|
|
467518
|
+
pkgPath,
|
|
467518
467519
|
"api-reports"
|
|
467519
467520
|
);
|
|
467520
467521
|
let configObject = {
|
|
@@ -467541,10 +467542,12 @@ var require_dist5 = __commonJS({
|
|
|
467541
467542
|
untrimmedFilePath: outputFilePath,
|
|
467542
467543
|
betaTrimmedFilePath: _path2.default.join(
|
|
467543
467544
|
"<projectFolder>",
|
|
467545
|
+
options.outDir,
|
|
467544
467546
|
`index-beta.d.ts`
|
|
467545
467547
|
),
|
|
467546
467548
|
publicTrimmedFilePath: _path2.default.join(
|
|
467547
467549
|
"<projectFolder>",
|
|
467550
|
+
options.outDir,
|
|
467548
467551
|
`index-public.d.ts`
|
|
467549
467552
|
)
|
|
467550
467553
|
},
|
|
@@ -467556,18 +467559,19 @@ var require_dist5 = __commonJS({
|
|
|
467556
467559
|
)
|
|
467557
467560
|
},
|
|
467558
467561
|
compiler: {
|
|
467559
|
-
tsconfigFilePath
|
|
467562
|
+
tsconfigFilePath: _path2.default.join(
|
|
467563
|
+
"<projectFolder>",
|
|
467564
|
+
tsconfigFilePath.replace(options.workspaceRoot, "")
|
|
467565
|
+
)
|
|
467560
467566
|
},
|
|
467561
|
-
projectFolder:
|
|
467562
|
-
options.workspaceRoot,
|
|
467563
|
-
pkgPath
|
|
467564
|
-
)
|
|
467567
|
+
projectFolder: "./"
|
|
467565
467568
|
};
|
|
467566
467569
|
const prepareOptions = {
|
|
467567
467570
|
configObject,
|
|
467568
467571
|
configObjectFullPath: void 0,
|
|
467569
467572
|
packageJsonFullPath
|
|
467570
467573
|
};
|
|
467574
|
+
logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
|
|
467571
467575
|
logger2.info("dts", "\u26A1 Running API Extractor with the following config: \n", prepareOptions);
|
|
467572
467576
|
const imported = _chunkGQ77QZBOjs.getApiExtractor.call(void 0);
|
|
467573
467577
|
if (!imported) {
|
|
@@ -467598,10 +467602,11 @@ var require_dist5 = __commonJS({
|
|
|
467598
467602
|
let dtsExtension = _chunkGQ77QZBOjs.defaultOutExtension.call(void 0, { format: format2, pkgType: pkg.type }).dts;
|
|
467599
467603
|
let dtsInputFilePath = _path2.default.join(
|
|
467600
467604
|
declarationDir,
|
|
467605
|
+
outDir.replace(pkgPath, ""),
|
|
467601
467606
|
"_tsup-dts-aggregation" + dtsExtension
|
|
467602
467607
|
);
|
|
467603
467608
|
dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
|
|
467604
|
-
let dtsOutputFilePath = _path2.default.join(
|
|
467609
|
+
let dtsOutputFilePath = _path2.default.join(outDir, "index" + dtsExtension);
|
|
467605
467610
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
467606
467611
|
void 0,
|
|
467607
467612
|
dtsInputFilePath,
|
|
@@ -467609,9 +467614,13 @@ var require_dist5 = __commonJS({
|
|
|
467609
467614
|
);
|
|
467610
467615
|
rollupDtsFile(
|
|
467611
467616
|
options,
|
|
467612
|
-
dtsInputFilePath,
|
|
467613
467617
|
_path2.default.join(
|
|
467614
467618
|
"<projectFolder>",
|
|
467619
|
+
dtsInputFilePath.replace(options.workspaceRoot, "")
|
|
467620
|
+
),
|
|
467621
|
+
_path2.default.join(
|
|
467622
|
+
"<projectFolder>",
|
|
467623
|
+
options.outDir,
|
|
467615
467624
|
`index${dtsExtension}`
|
|
467616
467625
|
),
|
|
467617
467626
|
options.tsconfig || "tsconfig.json"
|