@storm-software/workspace-tools 1.13.19 → 1.13.21

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,17 @@
1
+ ## [1.13.20](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.13.19...workspace-tools-v1.13.20) (2023-11-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Resolved issue with invalid fileNames variable reference ([c045be1](https://github.com/storm-software/storm-ops/commit/c045be17ca911278d174f47924c6f03a240da790))
7
+
8
+ ## [1.13.19](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.13.18...workspace-tools-v1.13.19) (2023-11-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **workspace-tools:** Resolve issue with rootDir used in tsup executor ([627f76a](https://github.com/storm-software/storm-ops/commit/627f76a2f9186280ba6384182087fdcb2598a428))
14
+
1
15
  ## [1.13.18](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.13.17...workspace-tools-v1.13.18) (2023-11-27)
2
16
 
3
17
 
package/index.js CHANGED
@@ -38399,9 +38399,9 @@ var require_brace_expansion2 = __commonJS({
38399
38399
  }
38400
38400
  });
38401
38401
 
38402
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-EPAEWGCP.js
38402
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-EPAEWGCP.js
38403
38403
  var require_chunk_EPAEWGCP = __commonJS({
38404
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
38404
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
38405
38405
  "use strict";
38406
38406
  Object.defineProperty(exports, "__esModule", { value: true });
38407
38407
  var version = "8.0.0";
@@ -40048,9 +40048,9 @@ var require_resolve_from = __commonJS({
40048
40048
  }
40049
40049
  });
40050
40050
 
40051
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-GQ77QZBO.js
40051
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-GQ77QZBO.js
40052
40052
  var require_chunk_GQ77QZBO = __commonJS({
40053
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
40053
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
40054
40054
  "use strict";
40055
40055
  Object.defineProperty(exports, "__esModule", { value: true });
40056
40056
  function _interopRequireDefault(obj) {
@@ -40328,9 +40328,9 @@ var require_chunk_GQ77QZBO = __commonJS({
40328
40328
  }
40329
40329
  });
40330
40330
 
40331
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-UIX4URMV.js
40331
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-UIX4URMV.js
40332
40332
  var require_chunk_UIX4URMV = __commonJS({
40333
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
40333
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
40334
40334
  "use strict";
40335
40335
  Object.defineProperty(exports, "__esModule", { value: true });
40336
40336
  function _interopRequireWildcard(obj) {
@@ -41264,9 +41264,9 @@ var require_dist2 = __commonJS({
41264
41264
  }
41265
41265
  });
41266
41266
 
41267
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-7G76EW2R.js
41267
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-7G76EW2R.js
41268
41268
  var require_chunk_7G76EW2R = __commonJS({
41269
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
41269
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
41270
41270
  "use strict";
41271
41271
  Object.defineProperty(exports, "__esModule", { value: true });
41272
41272
  function _interopRequireDefault(obj) {
@@ -93303,7 +93303,7 @@ var require_vfs_cjs_development = __commonJS({
93303
93303
  return vHost;
93304
93304
  }
93305
93305
  function createVirtualLanguageServiceHost(sys2, rootFiles, compilerOptions, ts3, customTransformers) {
93306
- var fileNames2 = [].concat(rootFiles);
93306
+ var fileNames = [].concat(rootFiles);
93307
93307
  var _createVirtualCompile = createVirtualCompilerHost(sys2, compilerOptions, ts3), compilerHost = _createVirtualCompile.compilerHost, _updateFile2 = _createVirtualCompile.updateFile;
93308
93308
  var fileVersions = /* @__PURE__ */ new Map();
93309
93309
  var projectVersion = 0;
@@ -93326,7 +93326,7 @@ var require_vfs_cjs_development = __commonJS({
93326
93326
  // is used in bisecting for changes, it needs to guard against being busted in that
93327
93327
  // couple-week period, so we defensively make a slice here.
93328
93328
  getScriptFileNames: function getScriptFileNames() {
93329
- return fileNames2.slice();
93329
+ return fileNames.slice();
93330
93330
  },
93331
93331
  getScriptSnapshot: function getScriptSnapshot(fileName) {
93332
93332
  var contents = sys2.readFile(fileName);
@@ -93345,8 +93345,8 @@ var require_vfs_cjs_development = __commonJS({
93345
93345
  updateFile: function updateFile(sourceFile) {
93346
93346
  projectVersion++;
93347
93347
  fileVersions.set(sourceFile.fileName, projectVersion.toString());
93348
- if (!fileNames2.includes(sourceFile.fileName)) {
93349
- fileNames2.push(sourceFile.fileName);
93348
+ if (!fileNames.includes(sourceFile.fileName)) {
93349
+ fileNames.push(sourceFile.fileName);
93350
93350
  }
93351
93351
  _updateFile2(sourceFile);
93352
93352
  }
@@ -96264,9 +96264,9 @@ var require_chokidar = __commonJS({
96264
96264
  }
96265
96265
  });
96266
96266
 
96267
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/index.js
96267
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/index.js
96268
96268
  var require_dist6 = __commonJS({
96269
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/index.js"(exports) {
96269
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=ugqhyxdcxih5g3aolxfadxkoee_@microsoft+api-extractor@7.38.3_@swc+core@1._wwkg4qsb6jxcnvie4cr32ysx5q/node_modules/tsup/dist/index.js"(exports) {
96270
96270
  "use strict";
96271
96271
  Object.defineProperty(exports, "__esModule", { value: true });
96272
96272
  function _interopRequireDefault(obj) {
@@ -98499,8 +98499,8 @@ var require_dist6 = __commonJS({
98499
98499
  function emitDtsFiles(program, host, options2) {
98500
98500
  let fileMapping = /* @__PURE__ */ new Map();
98501
98501
  let writeFile = (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => {
98502
- const sourceFile = _optionalChain([sourceFiles, "optionalAccess", (_14) => _14[0]]);
98503
- let sourceFileName = _optionalChain([sourceFile, "optionalAccess", (_15) => _15.fileName]);
98502
+ const sourceFile = sourceFiles?.[0];
98503
+ let sourceFileName = sourceFile?.fileName;
98504
98504
  if (sourceFileName && !fileName.endsWith(".map")) {
98505
98505
  const cwd = options2.workspaceRoot ? options2.workspaceRoot : program.getCurrentDirectory();
98506
98506
  fileMapping.set(
@@ -98585,7 +98585,8 @@ var require_dist6 = __commonJS({
98585
98585
  });
98586
98586
  const fileMapping = emitDtsFiles(program, host, options2);
98587
98587
  logger.info("tsc", `Emitted the following file names:
98588
- ${fileNames.join(" \n")}`);
98588
+ ${fileMapping ? fileMapping.keys().map((key) => `${key}: ${fileMapping.get(key)}
98589
+ `) : "No files were emitted!"}`);
98589
98590
  return getExports(options2, program, fileMapping);
98590
98591
  }
98591
98592
  async function runTypeScriptCompiler(options2) {