@storm-software/workspace-tools 1.12.4 → 1.12.6

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.12.5](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.12.4...workspace-tools-v1.12.5) (2023-11-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Update imports for @typescript/vfs to use named values ([99306e5](https://github.com/storm-software/storm-ops/commit/99306e575db6c059035077c26dcef4a116ff1bcb))
7
+
8
+ ## [1.12.4](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.12.3...workspace-tools-v1.12.4) (2023-11-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **workspace-tools:** Added virtual file system to tsup patch to resolve missing libs ([068ab7a](https://github.com/storm-software/storm-ops/commit/068ab7a56a45d3d3ed63a86661d8207929829e5a))
14
+
1
15
  ## [1.12.3](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.12.2...workspace-tools-v1.12.3) (2023-11-25)
2
16
 
3
17
 
package/README.md CHANGED
@@ -15,7 +15,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
15
15
 
16
16
  <h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
17
17
 
18
- [![Version](https://img.shields.io/badge/version-1.8.5-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
18
+ [![Version](https://img.shields.io/badge/version-1.12.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
19
  [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
20
20
 
21
21
  <h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ - This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
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=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-EPAEWGCP.js
408393
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/chunk-EPAEWGCP.js
408394
408394
  var require_chunk_EPAEWGCP = __commonJS({
408395
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
408395
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/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=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-GQ77QZBO.js
410042
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/chunk-GQ77QZBO.js
410043
410043
  var require_chunk_GQ77QZBO = __commonJS({
410044
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
410044
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/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) {
@@ -410319,9 +410319,9 @@ var require_chunk_GQ77QZBO = __commonJS({
410319
410319
  }
410320
410320
  });
410321
410321
 
410322
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-UIX4URMV.js
410322
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/chunk-UIX4URMV.js
410323
410323
  var require_chunk_UIX4URMV = __commonJS({
410324
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
410324
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
410325
410325
  "use strict";
410326
410326
  Object.defineProperty(exports, "__esModule", { value: true });
410327
410327
  function _interopRequireWildcard(obj) {
@@ -411255,9 +411255,9 @@ var require_dist2 = __commonJS({
411255
411255
  }
411256
411256
  });
411257
411257
 
411258
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-7G76EW2R.js
411258
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/chunk-7G76EW2R.js
411259
411259
  var require_chunk_7G76EW2R = __commonJS({
411260
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
411260
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
411261
411261
  "use strict";
411262
411262
  Object.defineProperty(exports, "__esModule", { value: true });
411263
411263
  function _interopRequireDefault(obj) {
@@ -465788,9 +465788,9 @@ var require_chokidar = __commonJS({
465788
465788
  }
465789
465789
  });
465790
465790
 
465791
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/index.js
465791
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/index.js
465792
465792
  var require_dist6 = __commonJS({
465793
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=s7ip3qfodr3k5hgnvxouo7bpeu_@microsoft+api-extractor@7.38.3_@swc+core@1._uxggdblx6ioynyny5pkbwojtye/node_modules/tsup/dist/index.js"(exports) {
465793
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=2wdkopbc2sqycw5qwwlbu2c3pu_@microsoft+api-extractor@7.38.3_@swc+core@1._fgo3f3a4ohpnhoylf64shevsg4/node_modules/tsup/dist/index.js"(exports) {
465794
465794
  "use strict";
465795
465795
  Object.defineProperty(exports, "__esModule", { value: true });
465796
465796
  function _interopRequireDefault(obj) {
@@ -468141,7 +468141,7 @@ var require_dist6 = __commonJS({
468141
468141
  options.workspaceRoot ? options.workspaceRoot : tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
468142
468142
  );
468143
468143
  logger.info("tsc", parsedTsconfig);
468144
- const fsMap = await _tsvfs2.default.createDefaultMapFromCDN(
468144
+ const fsMap = await _tsvfs2.createDefaultMapFromCDN(
468145
468145
  parsedTsconfig.options,
468146
468146
  _typescript2.default.version,
468147
468147
  true,
@@ -468150,9 +468150,9 @@ var require_dist6 = __commonJS({
468150
468150
  logger.info("tsc", "Created FS Map");
468151
468151
  parsedTsconfig.options.lib.forEach((lib) => addLib(lib, fsMap));
468152
468152
  logger.info("tsc", "Added libs to FS Map");
468153
- const system = _tsvfs2.default.createSystem(fsMap);
468153
+ const system = _tsvfs2.createSystem(fsMap);
468154
468154
  logger.info("tsc", "Created virtual file system");
468155
- const host = _tsvfs2.default.createVirtualCompilerHost(
468155
+ const host = _tsvfs2.createVirtualCompilerHost(
468156
468156
  system,
468157
468157
  parsedTsconfig.options,
468158
468158
  _typescript2.default
@@ -468170,7 +468170,7 @@ var require_dist6 = __commonJS({
468170
468170
  logger.info("tsc", fileMapping);
468171
468171
  return getExports(options, program, fileMapping);
468172
468172
  }
468173
- function runTypeScriptCompiler(options) {
468173
+ async function runTypeScriptCompiler(options) {
468174
468174
  try {
468175
468175
  const start = Date.now();
468176
468176
  const getDuration = () => {
@@ -468178,7 +468178,7 @@ var require_dist6 = __commonJS({
468178
468178
  };
468179
468179
  logger.info("tsc", "Build start");
468180
468180
  const dtsOptions = options.experimentalDts;
468181
- const exports2 = emit(options, dtsOptions.compilerOptions, options.tsconfig);
468181
+ const exports2 = await emit(options, dtsOptions.compilerOptions, options.tsconfig);
468182
468182
  logger.success("tsc", `\u26A1\uFE0F Build success in ${getDuration()}`);
468183
468183
  return exports2;
468184
468184
  } catch (error) {
@@ -468381,7 +468381,7 @@ var require_dist6 = __commonJS({
468381
468381
  }
468382
468382
  }
468383
468383
  async function rollupDtsFiles(options, exports2, format2) {
468384
- let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0);
468384
+ let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0, options);
468385
468385
  let outDir = options.outDir || "dist";
468386
468386
  let pkgPath = packageJsonSearch(outDir, options.silent, "dts", logger2);
468387
468387
  !options.silent && logger2.info("dts", `\u26A1 Preparing to run Rollup (DTS generate): ${pkgPath}`);
@@ -468570,7 +468570,7 @@ var require_dist6 = __commonJS({
468570
468570
  );
468571
468571
  }
468572
468572
  if (options.experimentalDts) {
468573
- const exports2 = runTypeScriptCompiler(options);
468573
+ const exports2 = await runTypeScriptCompiler(options);
468574
468574
  await runDtsRollup(options, exports2);
468575
468575
  }
468576
468576
  if (options.dts) {