@storm-software/workspace-tools 1.16.6 → 1.16.7

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.16.6](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.16.5...workspace-tools-v1.16.6) (2023-11-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Resolve issue with api-extractor output directory ([5aa99ef](https://github.com/storm-software/storm-ops/commit/5aa99ef09950a738e658d4c75c6e241e4f1b4f14))
7
+
1
8
  ## [1.16.5](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.16.4...workspace-tools-v1.16.5) (2023-11-29)
2
9
 
3
10
 
package/index.js 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=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-EPAEWGCP.js
40022
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/node_modules/tsup/dist/chunk-EPAEWGCP.js
40023
40023
  var require_chunk_EPAEWGCP = __commonJS({
40024
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
40024
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/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=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-GQ77QZBO.js
40484
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/node_modules/tsup/dist/chunk-GQ77QZBO.js
40485
40485
  var require_chunk_GQ77QZBO = __commonJS({
40486
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
40486
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/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=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-UIX4URMV.js
40764
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/node_modules/tsup/dist/chunk-UIX4URMV.js
40765
40765
  var require_chunk_UIX4URMV = __commonJS({
40766
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
40766
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/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=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-7G76EW2R.js
41700
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/node_modules/tsup/dist/chunk-7G76EW2R.js
41701
41701
  var require_chunk_7G76EW2R = __commonJS({
41702
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
41702
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/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=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/index.js
95508
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/node_modules/tsup/dist/index.js
95509
95509
  var require_dist5 = __commonJS({
95510
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=jfpznnlqnqdfplcpcfcc56m4ui_@microsoft+api-extractor@7.38.3_@swc+core@1._iuolylkk4du3r6khqgpcwkyvma/node_modules/tsup/dist/index.js"(exports) {
95510
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=d2blsoru5emald3pptgqr7ui44_@microsoft+api-extractor@7.38.3_@swc+core@1._mqw7rfk4yr63tv2o25rdqexiv4/node_modules/tsup/dist/index.js"(exports) {
95511
95511
  "use strict";
95512
95512
  Object.defineProperty(exports, "__esModule", { value: true });
95513
95513
  function _interopRequireDefault(obj) {
@@ -97975,7 +97975,7 @@ var require_dist5 = __commonJS({
97975
97975
  let dtsExtension = _chunkGQ77QZBOjs.defaultOutExtension.call(void 0, { format: format2, pkgType: pkg.type }).dts;
97976
97976
  let dtsInputFilePath = _path2.default.join(
97977
97977
  declarationDir,
97978
- outDir.replace(pkgPath, ""),
97978
+ outDir.replaceAll("\\", "/").replace(pkgPath.replaceAll("\\", "/"), ""),
97979
97979
  "_tsup-dts-aggregation" + dtsExtension
97980
97980
  );
97981
97981
  dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
@@ -105088,7 +105088,7 @@ ${Object.keys(options).map(
105088
105088
  if (options.includeSrc) {
105089
105089
  assets.push({
105090
105090
  input: sourceRoot,
105091
- glob: "**/{*.d.ts,*.ts,*.tsx}",
105091
+ glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
105092
105092
  output: "src/"
105093
105093
  });
105094
105094
  }
@@ -105178,6 +105178,10 @@ ${externalDependencies.map((dep) => {
105178
105178
  packageJson.main ??= "dist/legacy/index.cjs";
105179
105179
  packageJson.module ??= "dist/legacy/index.js";
105180
105180
  options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
105181
+ options.includeSrc && (packageJson.source ??= `./${(0, import_path3.join)(
105182
+ sourceRoot.replace(projectRoot, ""),
105183
+ "index.ts"
105184
+ ).replaceAll("\\", "/")}`);
105181
105185
  packageJson.sideEffects ??= false;
105182
105186
  packageJson.files ??= ["dist"];
105183
105187
  if (options.includeSrc && !packageJson.files.includes("src")) {
@@ -105216,10 +105220,10 @@ ${externalDependencies.map((dep) => {
105216
105220
  );
105217
105221
  if (options.banner && options.includeSrc) {
105218
105222
  const files = globSync([
105219
- (0, import_path3.join)(context.root, outputPath, "src/**/*.ts"),
105220
- (0, import_path3.join)(context.root, outputPath, "src/**/*.tsx"),
105221
- (0, import_path3.join)(context.root, outputPath, "src/**/*.js"),
105222
- (0, import_path3.join)(context.root, outputPath, "src/**/*.jsx")
105223
+ (0, import_path3.join)(context.root, outputPath, "src/**/*.ts").replaceAll("/", "\\"),
105224
+ (0, import_path3.join)(context.root, outputPath, "src/**/*.tsx").replaceAll("/", "\\"),
105225
+ (0, import_path3.join)(context.root, outputPath, "src/**/*.js").replaceAll("/", "\\"),
105226
+ (0, import_path3.join)(context.root, outputPath, "src/**/*.jsx").replaceAll("/", "\\")
105223
105227
  ]);
105224
105228
  await Promise.allSettled(
105225
105229
  files.map(