@storm-software/workspace-tools 1.15.2 → 1.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.15.2",
3
+ "version": "1.16.0",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -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=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-EPAEWGCP.js
40022
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js
40023
40023
  var require_chunk_EPAEWGCP = __commonJS({
40024
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
40024
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-GQ77QZBO.js
40484
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js
40485
40485
  var require_chunk_GQ77QZBO = __commonJS({
40486
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
40486
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-UIX4URMV.js
40764
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js
40765
40765
  var require_chunk_UIX4URMV = __commonJS({
40766
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
40766
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-7G76EW2R.js
41700
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js
41701
41701
  var require_chunk_7G76EW2R = __commonJS({
41702
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
41702
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/index.js
95508
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js
95509
95509
  var require_dist5 = __commonJS({
95510
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/index.js"(exports) {
95510
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js"(exports) {
95511
95511
  "use strict";
95512
95512
  Object.defineProperty(exports, "__esModule", { value: true });
95513
95513
  function _interopRequireDefault(obj) {
@@ -97875,76 +97875,64 @@ var require_dist5 = __commonJS({
97875
97875
  }
97876
97876
  !options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
97877
97877
  const relativeProjectFolder = _path2.default.relative(
97878
- _path2.default.join(
97879
- options.workspaceRoot,
97880
- projectFolder
97881
- ),
97878
+ _path2.default.join(options.workspaceRoot, projectFolder.replaceAll("/", "\\")),
97882
97879
  options.workspaceRoot
97883
97880
  );
97884
97881
  const apiReferenceProjectDir = _path2.default.join(
97885
- "<projectFolder>",
97886
97882
  relativeProjectFolder,
97887
97883
  "docs",
97888
97884
  "api-reports",
97889
97885
  options.projectRoot
97890
- );
97886
+ ).replaceAll("\\", "/");
97891
97887
  let configObject = {
97892
- mainEntryPointFilePath: _path2.default.join(
97893
- "<projectFolder>",
97888
+ mainEntryPointFilePath: `<projectFolder>/${_path2.default.join(
97894
97889
  relativeProjectFolder,
97895
97890
  inputFilePath.replace(options.workspaceRoot, "")
97896
- ),
97891
+ ).replaceAll("\\", "/")}`,
97897
97892
  apiReport: {
97898
97893
  enabled: options.apiReport !== false,
97899
97894
  reportFileName: "api-report.md",
97900
- reportFolder: apiReferenceProjectDir,
97901
- reportTempFolder: _path2.default.join(
97902
- "<projectFolder>",
97895
+ reportFolder: `<projectFolder>/${apiReferenceProjectDir}`,
97896
+ reportTempFolder: `<projectFolder>/${_path2.default.join(
97903
97897
  relativeProjectFolder,
97904
97898
  "tmp",
97905
97899
  "api-reports"
97906
- )
97900
+ ).replaceAll("\\", "/")}`
97907
97901
  },
97908
97902
  docModel: {
97909
97903
  enabled: options.docModel !== false,
97910
- apiJsonFilePath: _path2.default.join(
97904
+ apiJsonFilePath: `<projectFolder>/${_path2.default.join(
97911
97905
  apiReferenceProjectDir,
97912
97906
  relativeProjectFolder,
97913
97907
  "documents-model.api.json"
97914
- )
97908
+ ).replaceAll("\\", "/")}`
97915
97909
  },
97916
97910
  dtsRollup: {
97917
97911
  enabled: true,
97918
- untrimmedFilePath: _path2.default.join(
97919
- "<projectFolder>",
97912
+ untrimmedFilePath: `<projectFolder>/${_path2.default.join(
97920
97913
  relativeProjectFolder,
97921
97914
  options.outDir,
97922
97915
  `index${dtsExtension}`
97923
- ),
97924
- betaTrimmedFilePath: _path2.default.join(
97925
- "<projectFolder>",
97916
+ ).replaceAll("\\", "/")}`,
97917
+ betaTrimmedFilePath: `<projectFolder>/${_path2.default.join(
97926
97918
  relativeProjectFolder,
97927
97919
  options.outDir,
97928
97920
  "index-beta.d.ts"
97929
- ),
97930
- publicTrimmedFilePath: _path2.default.join(
97931
- "<projectFolder>",
97921
+ ).replaceAll("\\", "/")}`,
97922
+ publicTrimmedFilePath: `<projectFolder>/${_path2.default.join(
97932
97923
  relativeProjectFolder,
97933
97924
  options.outDir,
97934
97925
  "index-public.d.ts"
97935
- )
97926
+ ).replaceAll("\\", "/")}`
97936
97927
  },
97937
97928
  tsdocMetadata: {
97938
97929
  enabled: options.tsdocMetadata !== false,
97939
- tsdocMetadataFilePath: _path2.default.join(
97940
- "<projectFolder>",
97941
- "tsdoc-metadata.api.json"
97942
- )
97930
+ tsdocMetadataFilePath: "<projectFolder>/tsdoc-metadata.api.json"
97943
97931
  },
97944
97932
  compiler: {
97945
97933
  tsconfigFilePath
97946
97934
  },
97947
- projectFolder
97935
+ projectFolder: `./${projectFolder}`
97948
97936
  };
97949
97937
  const prepareOptions = {
97950
97938
  configObject,
@@ -240,9 +240,9 @@ var require_brace_expansion = __commonJS({
240
240
  }
241
241
  });
242
242
 
243
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-EPAEWGCP.js
243
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js
244
244
  var require_chunk_EPAEWGCP = __commonJS({
245
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
245
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
246
246
  "use strict";
247
247
  Object.defineProperty(exports, "__esModule", { value: true });
248
248
  var version = "8.0.0";
@@ -6549,9 +6549,9 @@ var require_resolve_from = __commonJS({
6549
6549
  }
6550
6550
  });
6551
6551
 
6552
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-GQ77QZBO.js
6552
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js
6553
6553
  var require_chunk_GQ77QZBO = __commonJS({
6554
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
6554
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
6555
6555
  "use strict";
6556
6556
  Object.defineProperty(exports, "__esModule", { value: true });
6557
6557
  function _interopRequireDefault(obj) {
@@ -6829,9 +6829,9 @@ var require_chunk_GQ77QZBO = __commonJS({
6829
6829
  }
6830
6830
  });
6831
6831
 
6832
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-UIX4URMV.js
6832
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js
6833
6833
  var require_chunk_UIX4URMV = __commonJS({
6834
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
6834
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
6835
6835
  "use strict";
6836
6836
  Object.defineProperty(exports, "__esModule", { value: true });
6837
6837
  function _interopRequireWildcard(obj) {
@@ -7765,9 +7765,9 @@ var require_dist2 = __commonJS({
7765
7765
  }
7766
7766
  });
7767
7767
 
7768
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-7G76EW2R.js
7768
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js
7769
7769
  var require_chunk_7G76EW2R = __commonJS({
7770
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
7770
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
7771
7771
  "use strict";
7772
7772
  Object.defineProperty(exports, "__esModule", { value: true });
7773
7773
  function _interopRequireDefault(obj) {
@@ -61573,9 +61573,9 @@ var require_chokidar = __commonJS({
61573
61573
  }
61574
61574
  });
61575
61575
 
61576
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/index.js
61576
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js
61577
61577
  var require_dist5 = __commonJS({
61578
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=m527i7lv23wrjme54td3tcmgdi_@microsoft+api-extractor@7.38.3_@swc+core@1._hkugcynzccyhbui2rcj22zu5gm/node_modules/tsup/dist/index.js"(exports) {
61578
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js"(exports) {
61579
61579
  "use strict";
61580
61580
  Object.defineProperty(exports, "__esModule", { value: true });
61581
61581
  function _interopRequireDefault(obj) {
@@ -63943,76 +63943,64 @@ var require_dist5 = __commonJS({
63943
63943
  }
63944
63944
  !options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
63945
63945
  const relativeProjectFolder = _path2.default.relative(
63946
- _path2.default.join(
63947
- options.workspaceRoot,
63948
- projectFolder
63949
- ),
63946
+ _path2.default.join(options.workspaceRoot, projectFolder.replaceAll("/", "\\")),
63950
63947
  options.workspaceRoot
63951
63948
  );
63952
63949
  const apiReferenceProjectDir = _path2.default.join(
63953
- "<projectFolder>",
63954
63950
  relativeProjectFolder,
63955
63951
  "docs",
63956
63952
  "api-reports",
63957
63953
  options.projectRoot
63958
- );
63954
+ ).replaceAll("\\", "/");
63959
63955
  let configObject = {
63960
- mainEntryPointFilePath: _path2.default.join(
63961
- "<projectFolder>",
63956
+ mainEntryPointFilePath: `<projectFolder>/${_path2.default.join(
63962
63957
  relativeProjectFolder,
63963
63958
  inputFilePath.replace(options.workspaceRoot, "")
63964
- ),
63959
+ ).replaceAll("\\", "/")}`,
63965
63960
  apiReport: {
63966
63961
  enabled: options.apiReport !== false,
63967
63962
  reportFileName: "api-report.md",
63968
- reportFolder: apiReferenceProjectDir,
63969
- reportTempFolder: _path2.default.join(
63970
- "<projectFolder>",
63963
+ reportFolder: `<projectFolder>/${apiReferenceProjectDir}`,
63964
+ reportTempFolder: `<projectFolder>/${_path2.default.join(
63971
63965
  relativeProjectFolder,
63972
63966
  "tmp",
63973
63967
  "api-reports"
63974
- )
63968
+ ).replaceAll("\\", "/")}`
63975
63969
  },
63976
63970
  docModel: {
63977
63971
  enabled: options.docModel !== false,
63978
- apiJsonFilePath: _path2.default.join(
63972
+ apiJsonFilePath: `<projectFolder>/${_path2.default.join(
63979
63973
  apiReferenceProjectDir,
63980
63974
  relativeProjectFolder,
63981
63975
  "documents-model.api.json"
63982
- )
63976
+ ).replaceAll("\\", "/")}`
63983
63977
  },
63984
63978
  dtsRollup: {
63985
63979
  enabled: true,
63986
- untrimmedFilePath: _path2.default.join(
63987
- "<projectFolder>",
63980
+ untrimmedFilePath: `<projectFolder>/${_path2.default.join(
63988
63981
  relativeProjectFolder,
63989
63982
  options.outDir,
63990
63983
  `index${dtsExtension}`
63991
- ),
63992
- betaTrimmedFilePath: _path2.default.join(
63993
- "<projectFolder>",
63984
+ ).replaceAll("\\", "/")}`,
63985
+ betaTrimmedFilePath: `<projectFolder>/${_path2.default.join(
63994
63986
  relativeProjectFolder,
63995
63987
  options.outDir,
63996
63988
  "index-beta.d.ts"
63997
- ),
63998
- publicTrimmedFilePath: _path2.default.join(
63999
- "<projectFolder>",
63989
+ ).replaceAll("\\", "/")}`,
63990
+ publicTrimmedFilePath: `<projectFolder>/${_path2.default.join(
64000
63991
  relativeProjectFolder,
64001
63992
  options.outDir,
64002
63993
  "index-public.d.ts"
64003
- )
63994
+ ).replaceAll("\\", "/")}`
64004
63995
  },
64005
63996
  tsdocMetadata: {
64006
63997
  enabled: options.tsdocMetadata !== false,
64007
- tsdocMetadataFilePath: _path2.default.join(
64008
- "<projectFolder>",
64009
- "tsdoc-metadata.api.json"
64010
- )
63998
+ tsdocMetadataFilePath: "<projectFolder>/tsdoc-metadata.api.json"
64011
63999
  },
64012
64000
  compiler: {
64013
64001
  tsconfigFilePath
64014
64002
  },
64015
- projectFolder
64003
+ projectFolder: `./${projectFolder}`
64016
64004
  };
64017
64005
  const prepareOptions = {
64018
64006
  configObject,
@@ -5,131 +5,129 @@
5
5
  "description": "Run a build on the project using tsup configuration",
6
6
  "type": "object",
7
7
  "properties": {
8
- "properties": {
9
- "entry": {
10
- "type": "string",
11
- "description": "The path to the entry file, relative to project.",
12
- "alias": "main",
13
- "default": "{sourceRoot}/index.ts"
14
- },
15
- "outputPath": {
16
- "type": "string",
17
- "description": "The output path of the generated files.",
18
- "x-completion-type": "directory",
19
- "x-priority": "important",
20
- "default": "dist/{projectRoot}"
21
- },
22
- "tsConfig": {
23
- "type": "string",
24
- "description": "The path to tsconfig file.",
25
- "x-completion-type": "file",
26
- "x-completion-glob": "tsconfig.*.json",
27
- "x-priority": "important",
28
- "default": "tsconfig.json"
29
- },
30
- "additionalEntryPoints": {
31
- "type": "array",
32
- "description": "List of additional entry points.",
33
- "items": {
34
- "type": "string"
35
- },
36
- "default": []
37
- },
38
- "external": {
39
- "type": "array",
40
- "description": "Mark one or more module as external. Can use * wildcards, such as '*.png'.",
41
- "items": {
42
- "type": "string"
43
- }
44
- },
45
- "bundle": {
46
- "type": "boolean",
47
- "description": "Whether to bundle the main entry point and additional entry points. Set to false to keep individual output files.",
48
- "default": true
49
- },
50
- "watch": {
51
- "type": "boolean",
52
- "description": "Enable re-building when files change.",
53
- "default": false
54
- },
55
- "assets": {
56
- "type": "array",
57
- "description": "List of static assets.",
58
- "default": [],
59
- "items": {
60
- "$ref": "#/definitions/assetPattern"
61
- }
62
- },
63
- "clean": {
64
- "type": "boolean",
65
- "description": "Remove previous output before build.",
66
- "alias": "deleteOutputPath",
67
- "default": true
68
- },
69
- "includeSrc": {
70
- "type": "boolean",
71
- "description": "Should the source files be added to the distribution folder in an `src` directory.",
72
- "default": true
73
- },
74
- "debug": {
75
- "type": "boolean",
76
- "description": "Should output be unminified with source mappings.",
77
- "default": false
78
- },
79
- "platform": {
80
- "type": "string",
81
- "description": "Platform target for outputs.",
82
- "enum": ["browser", "neutral", "node", "worker"],
83
- "default": "neutral"
84
- },
85
- "banner": {
86
- "type": "string",
87
- "description": "A short heading added to the top of each typescript file added in the output folder's src directory.",
88
- "default": "This code was developed by Storm Software (https://stormsoftware.org) and is licensed under the Apache License 2.0."
89
- },
90
- "verbose": {
91
- "type": "boolean",
92
- "description": "Should write extra log outputs with details from the executor.",
93
- "default": false
94
- },
95
- "define": {
96
- "type": "object",
97
- "description": "Define global constants that can be used in the source code. The value will be converted into a stringified JSON.",
98
- "additionalProperties": true
99
- },
100
- "env": {
101
- "type": "object",
102
- "description": "Define environment variables that can be used in the source code. The value will be converted into a stringified JSON.",
103
- "additionalProperties": true
104
- },
105
- "apiReport": {
106
- "type": "boolean",
107
- "description": "Should API Extractor generate an API Report file.",
108
- "default": true
109
- },
110
- "docModel": {
111
- "type": "boolean",
112
- "description": "Should API Extractor generate an Doc Model markdown file.",
113
- "default": true
114
- },
115
- "tsdocMetadata": {
116
- "type": "boolean",
117
- "description": "Should API Extractor generate an TSDoc Metadata file.",
118
- "default": true
119
- },
120
- "options": {
121
- "type": "object",
122
- "description": "Additional options to pass to tsup. See https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e.",
123
- "additionalProperties": true,
124
- "x-priority": "important"
8
+ "entry": {
9
+ "type": "string",
10
+ "description": "The path to the entry file, relative to project.",
11
+ "alias": "main",
12
+ "default": "{sourceRoot}/index.ts"
13
+ },
14
+ "outputPath": {
15
+ "type": "string",
16
+ "description": "The output path of the generated files.",
17
+ "x-completion-type": "directory",
18
+ "x-priority": "important",
19
+ "default": "dist/{projectRoot}"
20
+ },
21
+ "tsConfig": {
22
+ "type": "string",
23
+ "description": "The path to tsconfig file.",
24
+ "x-completion-type": "file",
25
+ "x-completion-glob": "tsconfig.*.json",
26
+ "x-priority": "important",
27
+ "default": "tsconfig.json"
28
+ },
29
+ "additionalEntryPoints": {
30
+ "type": "array",
31
+ "description": "List of additional entry points.",
32
+ "items": {
33
+ "type": "string"
125
34
  },
126
- "plugins": {
127
- "type": "array",
128
- "description": "List of ESBuild plugins to use during processing",
129
- "default": [],
130
- "items": {
131
- "type": "object"
132
- }
35
+ "default": []
36
+ },
37
+ "external": {
38
+ "type": "array",
39
+ "description": "Mark one or more module as external. Can use * wildcards, such as '*.png'.",
40
+ "items": {
41
+ "type": "string"
42
+ }
43
+ },
44
+ "bundle": {
45
+ "type": "boolean",
46
+ "description": "Whether to bundle the main entry point and additional entry points. Set to false to keep individual output files.",
47
+ "default": true
48
+ },
49
+ "watch": {
50
+ "type": "boolean",
51
+ "description": "Enable re-building when files change.",
52
+ "default": false
53
+ },
54
+ "assets": {
55
+ "type": "array",
56
+ "description": "List of static assets.",
57
+ "default": [],
58
+ "items": {
59
+ "$ref": "#/definitions/assetPattern"
60
+ }
61
+ },
62
+ "clean": {
63
+ "type": "boolean",
64
+ "description": "Remove previous output before build.",
65
+ "alias": "deleteOutputPath",
66
+ "default": true
67
+ },
68
+ "includeSrc": {
69
+ "type": "boolean",
70
+ "description": "Should the source files be added to the distribution folder in an `src` directory.",
71
+ "default": true
72
+ },
73
+ "debug": {
74
+ "type": "boolean",
75
+ "description": "Should output be unminified with source mappings.",
76
+ "default": false
77
+ },
78
+ "platform": {
79
+ "type": "string",
80
+ "description": "Platform target for outputs.",
81
+ "enum": ["browser", "neutral", "node", "worker"],
82
+ "default": "neutral"
83
+ },
84
+ "banner": {
85
+ "type": "string",
86
+ "description": "A short heading added to the top of each typescript file added in the output folder's src directory.",
87
+ "default": "This code was developed by Storm Software (https://stormsoftware.org) and is licensed under the Apache License 2.0."
88
+ },
89
+ "verbose": {
90
+ "type": "boolean",
91
+ "description": "Should write extra log outputs with details from the executor.",
92
+ "default": false
93
+ },
94
+ "define": {
95
+ "type": "object",
96
+ "description": "Define global constants that can be used in the source code. The value will be converted into a stringified JSON.",
97
+ "additionalProperties": true
98
+ },
99
+ "env": {
100
+ "type": "object",
101
+ "description": "Define environment variables that can be used in the source code. The value will be converted into a stringified JSON.",
102
+ "additionalProperties": true
103
+ },
104
+ "apiReport": {
105
+ "type": "boolean",
106
+ "description": "Should API Extractor generate an API Report file.",
107
+ "default": true
108
+ },
109
+ "docModel": {
110
+ "type": "boolean",
111
+ "description": "Should API Extractor generate an Doc Model markdown file.",
112
+ "default": true
113
+ },
114
+ "tsdocMetadata": {
115
+ "type": "boolean",
116
+ "description": "Should API Extractor generate an TSDoc Metadata file.",
117
+ "default": true
118
+ },
119
+ "options": {
120
+ "type": "object",
121
+ "description": "Additional options to pass to tsup. See https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e.",
122
+ "additionalProperties": true,
123
+ "x-priority": "important"
124
+ },
125
+ "plugins": {
126
+ "type": "array",
127
+ "description": "List of ESBuild plugins to use during processing",
128
+ "default": [],
129
+ "items": {
130
+ "type": "object"
133
131
  }
134
132
  },
135
133
  "required": ["tsConfig", "platform", "banner"],