@storm-software/workspace-tools 1.8.5 → 1.10.0

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.9.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.8.5...workspace-tools-v1.9.0) (2023-11-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * **workspace-tools:** Added `description` as an option in the node-library generator ([7a8eb85](https://github.com/storm-software/storm-ops/commit/7a8eb851ae7d979bb32c250ed3a1c78ea5b65af9))
7
+
8
+ ## [1.8.5](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.8.4...workspace-tools-v1.8.5) (2023-11-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **workspace-tools:** Updated paths of generated api-reports ([c79d65e](https://github.com/storm-software/storm-ops/commit/c79d65e8a77c4801f20934e4cc733817f60d1aa2))
14
+
1
15
  ## [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
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.7.36-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
18
+ [![Version](https://img.shields.io/badge/version-1.8.5-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=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-EPAEWGCP.js
408393
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/node_modules/tsup/dist/chunk-EPAEWGCP.js
408394
408394
  var require_chunk_EPAEWGCP = __commonJS({
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) {
408395
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/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=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-GQ77QZBO.js
410042
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/node_modules/tsup/dist/chunk-GQ77QZBO.js
410043
410043
  var require_chunk_GQ77QZBO = __commonJS({
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) {
410044
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/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=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-UIX4URMV.js
410323
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/node_modules/tsup/dist/chunk-UIX4URMV.js
410324
410324
  var require_chunk_UIX4URMV = __commonJS({
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) {
410325
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/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=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/chunk-7G76EW2R.js
411259
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/node_modules/tsup/dist/chunk-7G76EW2R.js
411260
411260
  var require_chunk_7G76EW2R = __commonJS({
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) {
411261
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/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=xnbbsj3qkqb366f3tl5fuazphu_@microsoft+api-extractor@7.38.3_@swc+core@1._j6loarosx2nfvejnl5eq32hsge/node_modules/tsup/dist/index.js
465067
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/node_modules/tsup/dist/index.js
465068
465068
  var require_dist5 = __commonJS({
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) {
465069
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hfybvsoejwa5dnnsroigvdtnia_@microsoft+api-extractor@7.38.3_@swc+core@1._lpnh2ottjpuot5tqdi4fokpdqq/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,7 +467515,6 @@ var require_dist5 = __commonJS({
467515
467515
  }
467516
467516
  const apiReferenceProjectDir = _path2.default.join(
467517
467517
  "<projectFolder>",
467518
- pkgPath,
467519
467518
  "api-reports"
467520
467519
  );
467521
467520
  let configObject = {
@@ -467542,13 +467541,11 @@ var require_dist5 = __commonJS({
467542
467541
  untrimmedFilePath: outputFilePath,
467543
467542
  betaTrimmedFilePath: _path2.default.join(
467544
467543
  "<projectFolder>",
467545
- pkgPath,
467546
- `${packageName}-beta.d.ts`
467544
+ `index-beta.d.ts`
467547
467545
  ),
467548
467546
  publicTrimmedFilePath: _path2.default.join(
467549
467547
  "<projectFolder>",
467550
- pkgPath,
467551
- `${packageName}-public.d.ts`
467548
+ `index-public.d.ts`
467552
467549
  )
467553
467550
  },
467554
467551
  tsdocMetadata: {
@@ -467561,7 +467558,10 @@ var require_dist5 = __commonJS({
467561
467558
  compiler: {
467562
467559
  tsconfigFilePath
467563
467560
  },
467564
- projectFolder: options.workspaceRoot
467561
+ projectFolder: _path2.default.join(
467562
+ options.workspaceRoot,
467563
+ pkgPath
467564
+ )
467565
467565
  };
467566
467566
  const prepareOptions = {
467567
467567
  configObject,
@@ -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(pkgPath, "_tsup-dts-rollup" + dtsExtension);
467604
+ let dtsOutputFilePath = _path2.default.join(pkgPath, "index" + dtsExtension);
467605
467605
  _chunkGQ77QZBOjs.writeFileSync.call(
467606
467606
  void 0,
467607
467607
  dtsInputFilePath,
@@ -467610,7 +467610,10 @@ var require_dist5 = __commonJS({
467610
467610
  rollupDtsFile(
467611
467611
  options,
467612
467612
  dtsInputFilePath,
467613
- dtsOutputFilePath,
467613
+ _path2.default.join(
467614
+ "<projectFolder>",
467615
+ `index${dtsExtension}`
467616
+ ),
467614
467617
  options.tsconfig || "tsconfig.json"
467615
467618
  );
467616
467619
  for (let [out, sourceFileName] of Object.entries(
@@ -474329,14 +474332,17 @@ async function nodeLibraryGenerator(tree, schema) {
474329
474332
  outputPath: getOutputPath(options),
474330
474333
  tsConfig: (0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json"),
474331
474334
  project: (0, import_devkit5.joinPathFragments)(options.projectRoot, "package.json"),
474332
- defaultConfiguration: "production"
474335
+ defaultConfiguration: "production",
474336
+ platform: "node"
474333
474337
  },
474334
474338
  configurations: {
474335
474339
  production: {
474336
- debug: false
474340
+ debug: false,
474341
+ verbose: false
474337
474342
  },
474338
474343
  development: {
474339
- debug: true
474344
+ debug: true,
474345
+ verbose: true
474340
474346
  }
474341
474347
  }
474342
474348
  },
@@ -474362,7 +474368,7 @@ async function nodeLibraryGenerator(tree, schema) {
474362
474368
  type: "github",
474363
474369
  url: "https://github.com/storm-software/storm-stack.git"
474364
474370
  };
474365
- let description = "\u26A1 A Storm package used to create modern, scalable web applications.";
474371
+ let description = schema.description ?? "\u26A1 A Storm package used to create modern, scalable web applications.";
474366
474372
  if (tree.exists("package.json")) {
474367
474373
  const packageJson = (0, import_devkit5.readJson)(tree, "package.json");
474368
474374
  packageJson?.repository && (repository = packageJson.repository);