@storm-software/workspace-tools 1.37.0 → 1.38.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.37.0",
3
+ "version": "1.38.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": [
package/src/base/index.js CHANGED
@@ -47870,6 +47870,7 @@ function defaultConfig({
47870
47870
  apiReport = true,
47871
47871
  docModel = true,
47872
47872
  tsdocMetadata = true,
47873
+ metafile = false,
47873
47874
  define,
47874
47875
  env,
47875
47876
  plugins,
@@ -47899,7 +47900,7 @@ function defaultConfig({
47899
47900
  workspaceRoot,
47900
47901
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
47901
47902
  silent: !verbose,
47902
- metafile: true,
47903
+ metafile,
47903
47904
  shims,
47904
47905
  external,
47905
47906
  platform,
@@ -39892,9 +39892,9 @@ var require_brace_expansion2 = __commonJS({
39892
39892
  }
39893
39893
  });
39894
39894
 
39895
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-EPAEWGCP.js
39895
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
39896
39896
  var require_chunk_EPAEWGCP = __commonJS({
39897
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
39897
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
39898
39898
  "use strict";
39899
39899
  Object.defineProperty(exports, "__esModule", { value: true });
39900
39900
  var version = "8.0.0";
@@ -41541,9 +41541,9 @@ var require_resolve_from = __commonJS({
41541
41541
  }
41542
41542
  });
41543
41543
 
41544
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-GQ77QZBO.js
41544
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
41545
41545
  var require_chunk_GQ77QZBO = __commonJS({
41546
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
41546
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
41547
41547
  "use strict";
41548
41548
  Object.defineProperty(exports, "__esModule", { value: true });
41549
41549
  function _interopRequireDefault(obj) {
@@ -41821,9 +41821,9 @@ var require_chunk_GQ77QZBO = __commonJS({
41821
41821
  }
41822
41822
  });
41823
41823
 
41824
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-UIX4URMV.js
41824
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
41825
41825
  var require_chunk_UIX4URMV = __commonJS({
41826
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
41826
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
41827
41827
  "use strict";
41828
41828
  Object.defineProperty(exports, "__esModule", { value: true });
41829
41829
  function _interopRequireWildcard(obj) {
@@ -42757,9 +42757,9 @@ var require_dist2 = __commonJS({
42757
42757
  }
42758
42758
  });
42759
42759
 
42760
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-7G76EW2R.js
42760
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
42761
42761
  var require_chunk_7G76EW2R = __commonJS({
42762
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
42762
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
42763
42763
  "use strict";
42764
42764
  Object.defineProperty(exports, "__esModule", { value: true });
42765
42765
  function _interopRequireDefault(obj) {
@@ -96565,9 +96565,9 @@ var require_chokidar = __commonJS({
96565
96565
  }
96566
96566
  });
96567
96567
 
96568
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/index.js
96568
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
96569
96569
  var require_dist5 = __commonJS({
96570
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/index.js"(exports) {
96570
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
96571
96571
  "use strict";
96572
96572
  Object.defineProperty(exports, "__esModule", { value: true });
96573
96573
  function _interopRequireDefault(obj) {
@@ -98968,16 +98968,6 @@ var require_dist5 = __commonJS({
98968
98968
  "<projectFolder>",
98969
98969
  options.outDir,
98970
98970
  `index${dtsExtension}`
98971
- ).replaceAll("\\", "/"),
98972
- betaTrimmedFilePath: _path2.default.join(
98973
- "<projectFolder>",
98974
- options.outDir,
98975
- "index-beta.d.ts"
98976
- ).replaceAll("\\", "/"),
98977
- publicTrimmedFilePath: _path2.default.join(
98978
- "<projectFolder>",
98979
- options.outDir,
98980
- "index-public.d.ts"
98981
98971
  ).replaceAll("\\", "/")
98982
98972
  },
98983
98973
  tsdocMetadata: {
@@ -116262,6 +116252,7 @@ function defaultConfig({
116262
116252
  apiReport = true,
116263
116253
  docModel = true,
116264
116254
  tsdocMetadata = true,
116255
+ metafile = false,
116265
116256
  define: define2,
116266
116257
  env,
116267
116258
  plugins,
@@ -116291,7 +116282,7 @@ function defaultConfig({
116291
116282
  workspaceRoot,
116292
116283
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
116293
116284
  silent: !verbose,
116294
- metafile: true,
116285
+ metafile,
116295
116286
  shims,
116296
116287
  external,
116297
116288
  platform,
@@ -116856,6 +116847,7 @@ var applyDefaultOptions = (options) => {
116856
116847
  options.docModel ??= true;
116857
116848
  options.tsdocMetadata ??= true;
116858
116849
  options.emitOnAll ??= false;
116850
+ options.metafile ??= false;
116859
116851
  options.define ??= {};
116860
116852
  options.env ??= {};
116861
116853
  options.verbose ??= !!process.env.CI;
@@ -42,4 +42,5 @@ export type TsupExecutorSchema = Omit<
42
42
  | Record<string, (params: GetConfigParams) => Options>
43
43
  | ((params: GetConfigParams) => Options);
44
44
  format?: string[];
45
+ metafile?: boolean;
45
46
  };
@@ -71,6 +71,11 @@
71
71
  "description": "Should the source files be added to the distribution folder in an `src` directory.",
72
72
  "default": false
73
73
  },
74
+ "metafile": {
75
+ "type": "boolean",
76
+ "description": "Should a meta file be created for the build package",
77
+ "default": false
78
+ },
74
79
  "emitOnAll": {
75
80
  "type": "boolean",
76
81
  "description": "Should each file contained in the package be emitted individually.",
@@ -46335,9 +46335,9 @@ var require_brace_expansion2 = __commonJS({
46335
46335
  }
46336
46336
  });
46337
46337
 
46338
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-EPAEWGCP.js
46338
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
46339
46339
  var require_chunk_EPAEWGCP = __commonJS({
46340
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
46340
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
46341
46341
  "use strict";
46342
46342
  Object.defineProperty(exports, "__esModule", { value: true });
46343
46343
  var version = "8.0.0";
@@ -47984,9 +47984,9 @@ var require_resolve_from2 = __commonJS({
47984
47984
  }
47985
47985
  });
47986
47986
 
47987
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-GQ77QZBO.js
47987
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
47988
47988
  var require_chunk_GQ77QZBO = __commonJS({
47989
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
47989
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
47990
47990
  "use strict";
47991
47991
  Object.defineProperty(exports, "__esModule", { value: true });
47992
47992
  function _interopRequireDefault(obj) {
@@ -48264,9 +48264,9 @@ var require_chunk_GQ77QZBO = __commonJS({
48264
48264
  }
48265
48265
  });
48266
48266
 
48267
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-UIX4URMV.js
48267
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
48268
48268
  var require_chunk_UIX4URMV = __commonJS({
48269
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
48269
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
48270
48270
  "use strict";
48271
48271
  Object.defineProperty(exports, "__esModule", { value: true });
48272
48272
  function _interopRequireWildcard(obj) {
@@ -49200,9 +49200,9 @@ var require_dist3 = __commonJS({
49200
49200
  }
49201
49201
  });
49202
49202
 
49203
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-7G76EW2R.js
49203
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
49204
49204
  var require_chunk_7G76EW2R = __commonJS({
49205
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
49205
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
49206
49206
  "use strict";
49207
49207
  Object.defineProperty(exports, "__esModule", { value: true });
49208
49208
  function _interopRequireDefault(obj) {
@@ -102939,9 +102939,9 @@ var require_chokidar = __commonJS({
102939
102939
  }
102940
102940
  });
102941
102941
 
102942
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/index.js
102942
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
102943
102943
  var require_dist6 = __commonJS({
102944
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/index.js"(exports) {
102944
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
102945
102945
  "use strict";
102946
102946
  Object.defineProperty(exports, "__esModule", { value: true });
102947
102947
  function _interopRequireDefault(obj) {
@@ -105342,16 +105342,6 @@ var require_dist6 = __commonJS({
105342
105342
  "<projectFolder>",
105343
105343
  options.outDir,
105344
105344
  `index${dtsExtension}`
105345
- ).replaceAll("\\", "/"),
105346
- betaTrimmedFilePath: _path2.default.join(
105347
- "<projectFolder>",
105348
- options.outDir,
105349
- "index-beta.d.ts"
105350
- ).replaceAll("\\", "/"),
105351
- publicTrimmedFilePath: _path2.default.join(
105352
- "<projectFolder>",
105353
- options.outDir,
105354
- "index-public.d.ts"
105355
105345
  ).replaceAll("\\", "/")
105356
105346
  },
105357
105347
  tsdocMetadata: {
@@ -116293,6 +116283,7 @@ function defaultConfig({
116293
116283
  apiReport = true,
116294
116284
  docModel = true,
116295
116285
  tsdocMetadata = true,
116286
+ metafile = false,
116296
116287
  define: define2,
116297
116288
  env,
116298
116289
  plugins,
@@ -116322,7 +116313,7 @@ function defaultConfig({
116322
116313
  workspaceRoot,
116323
116314
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
116324
116315
  silent: !verbose,
116325
- metafile: true,
116316
+ metafile,
116326
116317
  shims,
116327
116318
  external,
116328
116319
  platform,
@@ -116887,6 +116878,7 @@ var applyDefaultOptions = (options) => {
116887
116878
  options.docModel ??= true;
116888
116879
  options.tsdocMetadata ??= true;
116889
116880
  options.emitOnAll ??= false;
116881
+ options.metafile ??= false;
116890
116882
  options.define ??= {};
116891
116883
  options.env ??= {};
116892
116884
  options.verbose ??= !!process.env.CI;
@@ -116934,6 +116926,7 @@ function modernBrowserConfig({
116934
116926
  banner = {},
116935
116927
  platform = "browser",
116936
116928
  verbose = false,
116929
+ metafile = false,
116937
116930
  define: define2,
116938
116931
  env,
116939
116932
  plugins,
@@ -116941,10 +116934,10 @@ function modernBrowserConfig({
116941
116934
  dtsTsConfig
116942
116935
  }) {
116943
116936
  let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist", "modern");
116944
- return {
116937
+ const options = {
116945
116938
  name: "modern",
116946
116939
  entry,
116947
- format: ["cjs", "esm"],
116940
+ format: ["cjs", "esm", "iife"],
116948
116941
  target: [
116949
116942
  "chrome91",
116950
116943
  "firefox90",
@@ -116964,7 +116957,7 @@ function modernBrowserConfig({
116964
116957
  workspaceRoot,
116965
116958
  outDir: outputPath,
116966
116959
  silent: !verbose,
116967
- metafile: true,
116960
+ metafile,
116968
116961
  shims,
116969
116962
  external,
116970
116963
  platform,
@@ -116982,13 +116975,6 @@ function modernBrowserConfig({
116982
116975
  }
116983
116976
  }
116984
116977
  },
116985
- /*minify: debug ? false : "terser",
116986
- terserOptions: {
116987
- compress: true,
116988
- ecma: 2020,
116989
- keep_classnames: true,
116990
- keep_fnames: true
116991
- },*/
116992
116978
  apiReport: false,
116993
116979
  docModel: false,
116994
116980
  tsdocMetadata: false,
@@ -116998,6 +116984,16 @@ function modernBrowserConfig({
116998
116984
  plugins,
116999
116985
  outExtension
117000
116986
  };
116987
+ if (!debug) {
116988
+ options.minify = "terser";
116989
+ options.terserOptions = {
116990
+ compress: true,
116991
+ ecma: 2020,
116992
+ keep_classnames: true,
116993
+ keep_fnames: true
116994
+ };
116995
+ }
116996
+ return options;
117001
116997
  }
117002
116998
  function legacyBrowserConfig({
117003
116999
  entry,
@@ -117016,6 +117012,7 @@ function legacyBrowserConfig({
117016
117012
  apiReport = true,
117017
117013
  docModel = true,
117018
117014
  tsdocMetadata = true,
117015
+ metafile = false,
117019
117016
  define: define2,
117020
117017
  env,
117021
117018
  plugins,
@@ -117023,10 +117020,10 @@ function legacyBrowserConfig({
117023
117020
  dtsTsConfig
117024
117021
  }) {
117025
117022
  let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist", "legacy");
117026
- return {
117023
+ const options = {
117027
117024
  name: "legacy",
117028
117025
  entry,
117029
- format: ["cjs", "esm"],
117026
+ format: ["cjs", "esm", "iife"],
117030
117027
  target: ["es2022"],
117031
117028
  tsconfig,
117032
117029
  splitting,
@@ -117038,7 +117035,7 @@ function legacyBrowserConfig({
117038
117035
  workspaceRoot,
117039
117036
  outDir: outputPath,
117040
117037
  silent: !verbose,
117041
- metafile: true,
117038
+ metafile,
117042
117039
  shims,
117043
117040
  external,
117044
117041
  platform,
@@ -117056,13 +117053,6 @@ function legacyBrowserConfig({
117056
117053
  }
117057
117054
  }
117058
117055
  },
117059
- /*minify: debug ? false : "terser",
117060
- terserOptions: {
117061
- compress: true,
117062
- ecma: 2020,
117063
- keep_classnames: true,
117064
- keep_fnames: true
117065
- },*/
117066
117056
  apiReport,
117067
117057
  docModel,
117068
117058
  tsdocMetadata,
@@ -117072,6 +117062,16 @@ function legacyBrowserConfig({
117072
117062
  plugins,
117073
117063
  outExtension
117074
117064
  };
117065
+ if (!debug) {
117066
+ options.minify = "terser";
117067
+ options.terserOptions = {
117068
+ compress: true,
117069
+ ecma: 2020,
117070
+ keep_classnames: true,
117071
+ keep_fnames: true
117072
+ };
117073
+ }
117074
+ return options;
117075
117075
  }
117076
117076
 
117077
117077
  // packages/workspace-tools/src/executors/tsup-browser/executor.ts
@@ -46335,9 +46335,9 @@ var require_brace_expansion2 = __commonJS({
46335
46335
  }
46336
46336
  });
46337
46337
 
46338
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-EPAEWGCP.js
46338
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
46339
46339
  var require_chunk_EPAEWGCP = __commonJS({
46340
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
46340
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
46341
46341
  "use strict";
46342
46342
  Object.defineProperty(exports, "__esModule", { value: true });
46343
46343
  var version = "8.0.0";
@@ -47984,9 +47984,9 @@ var require_resolve_from2 = __commonJS({
47984
47984
  }
47985
47985
  });
47986
47986
 
47987
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-GQ77QZBO.js
47987
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
47988
47988
  var require_chunk_GQ77QZBO = __commonJS({
47989
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
47989
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
47990
47990
  "use strict";
47991
47991
  Object.defineProperty(exports, "__esModule", { value: true });
47992
47992
  function _interopRequireDefault(obj) {
@@ -48264,9 +48264,9 @@ var require_chunk_GQ77QZBO = __commonJS({
48264
48264
  }
48265
48265
  });
48266
48266
 
48267
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-UIX4URMV.js
48267
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
48268
48268
  var require_chunk_UIX4URMV = __commonJS({
48269
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
48269
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
48270
48270
  "use strict";
48271
48271
  Object.defineProperty(exports, "__esModule", { value: true });
48272
48272
  function _interopRequireWildcard(obj) {
@@ -49200,9 +49200,9 @@ var require_dist3 = __commonJS({
49200
49200
  }
49201
49201
  });
49202
49202
 
49203
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-7G76EW2R.js
49203
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
49204
49204
  var require_chunk_7G76EW2R = __commonJS({
49205
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
49205
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
49206
49206
  "use strict";
49207
49207
  Object.defineProperty(exports, "__esModule", { value: true });
49208
49208
  function _interopRequireDefault(obj) {
@@ -102939,9 +102939,9 @@ var require_chokidar = __commonJS({
102939
102939
  }
102940
102940
  });
102941
102941
 
102942
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/index.js
102942
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
102943
102943
  var require_dist6 = __commonJS({
102944
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=l546d6cui6fcsevduni2rjw6xe_@microsoft+api-extractor@7.38.3_@swc+core@1._p53kge4fngrdf2lsfbbriyvhmy/node_modules/tsup/dist/index.js"(exports) {
102944
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
102945
102945
  "use strict";
102946
102946
  Object.defineProperty(exports, "__esModule", { value: true });
102947
102947
  function _interopRequireDefault(obj) {
@@ -105342,16 +105342,6 @@ var require_dist6 = __commonJS({
105342
105342
  "<projectFolder>",
105343
105343
  options.outDir,
105344
105344
  `index${dtsExtension}`
105345
- ).replaceAll("\\", "/"),
105346
- betaTrimmedFilePath: _path2.default.join(
105347
- "<projectFolder>",
105348
- options.outDir,
105349
- "index-beta.d.ts"
105350
- ).replaceAll("\\", "/"),
105351
- publicTrimmedFilePath: _path2.default.join(
105352
- "<projectFolder>",
105353
- options.outDir,
105354
- "index-public.d.ts"
105355
105345
  ).replaceAll("\\", "/")
105356
105346
  },
105357
105347
  tsdocMetadata: {
@@ -116293,6 +116283,7 @@ function defaultConfig({
116293
116283
  apiReport = true,
116294
116284
  docModel = true,
116295
116285
  tsdocMetadata = true,
116286
+ metafile = false,
116296
116287
  define: define2,
116297
116288
  env,
116298
116289
  plugins,
@@ -116322,7 +116313,7 @@ function defaultConfig({
116322
116313
  workspaceRoot,
116323
116314
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
116324
116315
  silent: !verbose,
116325
- metafile: true,
116316
+ metafile,
116326
116317
  shims,
116327
116318
  external,
116328
116319
  platform,
@@ -116887,6 +116878,7 @@ var applyDefaultOptions = (options) => {
116887
116878
  options.docModel ??= true;
116888
116879
  options.tsdocMetadata ??= true;
116889
116880
  options.emitOnAll ??= false;
116881
+ options.metafile ??= false;
116890
116882
  options.define ??= {};
116891
116883
  options.env ??= {};
116892
116884
  options.verbose ??= !!process.env.CI;
@@ -116934,6 +116926,7 @@ function modernNeutralConfig({
116934
116926
  banner = {},
116935
116927
  platform = "neutral",
116936
116928
  verbose = false,
116929
+ metafile = false,
116937
116930
  define: define2,
116938
116931
  env,
116939
116932
  plugins,
@@ -116941,10 +116934,10 @@ function modernNeutralConfig({
116941
116934
  dtsTsConfig
116942
116935
  }) {
116943
116936
  let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist", "modern");
116944
- return {
116937
+ const options = {
116945
116938
  name: "modern",
116946
116939
  entry,
116947
- format: ["cjs", "esm"],
116940
+ format: ["cjs", "esm", "iife"],
116948
116941
  target: ["esnext"],
116949
116942
  tsconfig,
116950
116943
  splitting,
@@ -116956,7 +116949,7 @@ function modernNeutralConfig({
116956
116949
  workspaceRoot,
116957
116950
  outDir: outputPath,
116958
116951
  silent: !verbose,
116959
- metafile: true,
116952
+ metafile,
116960
116953
  shims,
116961
116954
  external,
116962
116955
  platform,
@@ -116983,6 +116976,16 @@ function modernNeutralConfig({
116983
116976
  plugins,
116984
116977
  outExtension
116985
116978
  };
116979
+ if (!debug) {
116980
+ options.minify = "terser";
116981
+ options.terserOptions = {
116982
+ compress: true,
116983
+ ecma: 2020,
116984
+ keep_classnames: true,
116985
+ keep_fnames: true
116986
+ };
116987
+ }
116988
+ return options;
116986
116989
  }
116987
116990
  function legacyNeutralConfig({
116988
116991
  entry,
@@ -117001,6 +117004,7 @@ function legacyNeutralConfig({
117001
117004
  platform = "neutral",
117002
117005
  verbose = false,
117003
117006
  shims = true,
117007
+ metafile = false,
117004
117008
  define: define2,
117005
117009
  env,
117006
117010
  plugins,
@@ -117008,10 +117012,10 @@ function legacyNeutralConfig({
117008
117012
  dtsTsConfig
117009
117013
  }) {
117010
117014
  let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist", "legacy");
117011
- return {
117015
+ const options = {
117012
117016
  name: "legacy",
117013
117017
  entry,
117014
- format: ["cjs", "esm"],
117018
+ format: ["cjs", "esm", "iife"],
117015
117019
  target: ["es2022"],
117016
117020
  tsconfig,
117017
117021
  splitting,
@@ -117023,7 +117027,7 @@ function legacyNeutralConfig({
117023
117027
  workspaceRoot,
117024
117028
  outDir: outputPath,
117025
117029
  silent: !verbose,
117026
- metafile: true,
117030
+ metafile,
117027
117031
  shims,
117028
117032
  external,
117029
117033
  platform,
@@ -117050,6 +117054,16 @@ function legacyNeutralConfig({
117050
117054
  plugins,
117051
117055
  outExtension
117052
117056
  };
117057
+ if (!debug) {
117058
+ options.minify = "terser";
117059
+ options.terserOptions = {
117060
+ compress: true,
117061
+ ecma: 2020,
117062
+ keep_classnames: true,
117063
+ keep_fnames: true
117064
+ };
117065
+ }
117066
+ return options;
117053
117067
  }
117054
117068
 
117055
117069
  // packages/workspace-tools/src/executors/tsup-neutral/executor.ts