@storm-software/workspace-tools 1.10.19 → 1.10.20

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.10.19",
3
+ "version": "1.10.20",
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": [
@@ -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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-EPAEWGCP.js
408393
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-EPAEWGCP.js
408394
408394
  var require_chunk_EPAEWGCP = __commonJS({
408395
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
408395
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-GQ77QZBO.js
410042
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-GQ77QZBO.js
410043
410043
  var require_chunk_GQ77QZBO = __commonJS({
410044
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
410044
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-UIX4URMV.js
410323
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-UIX4URMV.js
410324
410324
  var require_chunk_UIX4URMV = __commonJS({
410325
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
410325
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-7G76EW2R.js
411259
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-7G76EW2R.js
411260
411260
  var require_chunk_7G76EW2R = __commonJS({
411261
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
411261
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/index.js
465067
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/index.js
465068
465068
  var require_dist5 = __commonJS({
465069
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/index.js"(exports) {
465069
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/index.js"(exports) {
465070
465070
  "use strict";
465071
465071
  Object.defineProperty(exports, "__esModule", { value: true });
465072
465072
  function _interopRequireDefault(obj) {
@@ -467376,19 +467376,16 @@ var require_dist5 = __commonJS({
467376
467376
  ...rawTsconfig.data.compilerOptions,
467377
467377
  ...compilerOptions,
467378
467378
  // Enable declaration emit and disable javascript emit
467379
+ outDir: options.outDir,
467379
467380
  noEmit: false,
467380
467381
  declaration: true,
467381
467382
  declarationMap: true,
467382
467383
  declarationDir,
467383
467384
  emitDeclarationOnly: true
467384
467385
  },
467385
- files: [
467386
- ...rawTsconfig.data.files ?? {},
467387
- `${options.projectRoot}/**/*`
467388
- ],
467389
467386
  include: [
467390
467387
  ...rawTsconfig.data.files ?? {},
467391
- `${options.projectRoot}/**/*`
467388
+ _path.join(options.projectRoot, "**", "*")
467392
467389
  ]
467393
467390
  },
467394
467391
  _typescript2.default.sys,
@@ -467742,11 +467739,12 @@ var require_dist5 = __commonJS({
467742
467739
  options.entry = entry;
467743
467740
  logger3.info("CLI", `Building entry: ${JSON.stringify(entry)}`);
467744
467741
  }
467745
- const tsconfig = _bundlerequire.loadTsConfig.call(void 0, process.cwd(), options.tsconfig);
467742
+ !options.silent && logger2.info("CLI", `\u26A1 Normalizing options: ${options.tsconfig}`);
467743
+ const tsconfig = _bundlerequire.loadTsConfig.call(void 0, options.workspaceRoot, options.tsconfig);
467746
467744
  if (tsconfig) {
467747
467745
  logger3.info(
467748
467746
  "CLI",
467749
- `Using tsconfig: ${_path2.default.relative(process.cwd(), tsconfig.path)}`
467747
+ `Using tsconfig: ${_path2.default.relative(options.workspaceRoot, tsconfig.path)}`
467750
467748
  );
467751
467749
  options.tsconfig = tsconfig.path;
467752
467750
  options.tsconfigResolvePaths = _optionalChain([tsconfig, "access", (_20) => _20.data, "optionalAccess", (_21) => _21.compilerOptions, "optionalAccess", (_22) => _22.paths]) || {};
@@ -467760,7 +467758,8 @@ var require_dist5 = __commonJS({
467760
467758
  if (options.experimentalDts) {
467761
467759
  options.experimentalDts.compilerOptions = {
467762
467760
  ...tsconfig.data.compilerOptions || {},
467763
- ...options.experimentalDts.compilerOptions || {}
467761
+ ...options.experimentalDts.compilerOptions || {},
467762
+ outDir: options.outDir
467764
467763
  };
467765
467764
  options.experimentalDts.entry = _chunkGQ77QZBOjs.toObjectEntry.call(
467766
467765
  void 0,
@@ -474381,11 +474380,13 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
474381
474380
  }
474382
474381
  ).reduce((ret, filePath) => {
474383
474382
  let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
474384
- if (propertyKey.startsWith("/")) {
474385
- propertyKey = propertyKey.substring(1);
474386
- }
474387
- if (!(propertyKey in ret)) {
474388
- ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
474383
+ if (propertyKey) {
474384
+ while (propertyKey.startsWith("/")) {
474385
+ propertyKey = propertyKey.substring(1);
474386
+ }
474387
+ if (!(propertyKey in ret)) {
474388
+ ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
474389
+ }
474389
474390
  }
474390
474391
  return ret;
474391
474392
  }, {});
@@ -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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-EPAEWGCP.js
243
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-EPAEWGCP.js
244
244
  var require_chunk_EPAEWGCP = __commonJS({
245
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
245
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/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=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-GQ77QZBO.js
6552
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-GQ77QZBO.js
6553
6553
  var require_chunk_GQ77QZBO = __commonJS({
6554
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
6554
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/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) {
@@ -6830,9 +6830,9 @@ var require_chunk_GQ77QZBO = __commonJS({
6830
6830
  }
6831
6831
  });
6832
6832
 
6833
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-UIX4URMV.js
6833
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-UIX4URMV.js
6834
6834
  var require_chunk_UIX4URMV = __commonJS({
6835
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
6835
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
6836
6836
  "use strict";
6837
6837
  Object.defineProperty(exports, "__esModule", { value: true });
6838
6838
  function _interopRequireWildcard(obj) {
@@ -7766,9 +7766,9 @@ var require_dist2 = __commonJS({
7766
7766
  }
7767
7767
  });
7768
7768
 
7769
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-7G76EW2R.js
7769
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-7G76EW2R.js
7770
7770
  var require_chunk_7G76EW2R = __commonJS({
7771
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
7771
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
7772
7772
  "use strict";
7773
7773
  Object.defineProperty(exports, "__esModule", { value: true });
7774
7774
  function _interopRequireDefault(obj) {
@@ -249451,9 +249451,9 @@ var require_chokidar = __commonJS({
249451
249451
  }
249452
249452
  });
249453
249453
 
249454
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/index.js
249454
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/index.js
249455
249455
  var require_dist5 = __commonJS({
249456
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=sovf4wcq6cvnvtn6wbjff6lsjq_@microsoft+api-extractor@7.38.3_@swc+core@1._v2msqrtjolw7pyjg7qka3b4pee/node_modules/tsup/dist/index.js"(exports) {
249456
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=htggrpgocqqixjhillbgq5fmru_@microsoft+api-extractor@7.38.3_@swc+core@1._yiwyjh5cntj2ofddydra4otlsm/node_modules/tsup/dist/index.js"(exports) {
249457
249457
  "use strict";
249458
249458
  Object.defineProperty(exports, "__esModule", { value: true });
249459
249459
  function _interopRequireDefault(obj) {
@@ -251763,19 +251763,16 @@ var require_dist5 = __commonJS({
251763
251763
  ...rawTsconfig.data.compilerOptions,
251764
251764
  ...compilerOptions,
251765
251765
  // Enable declaration emit and disable javascript emit
251766
+ outDir: options.outDir,
251766
251767
  noEmit: false,
251767
251768
  declaration: true,
251768
251769
  declarationMap: true,
251769
251770
  declarationDir,
251770
251771
  emitDeclarationOnly: true
251771
251772
  },
251772
- files: [
251773
- ...rawTsconfig.data.files ?? {},
251774
- `${options.projectRoot}/**/*`
251775
- ],
251776
251773
  include: [
251777
251774
  ...rawTsconfig.data.files ?? {},
251778
- `${options.projectRoot}/**/*`
251775
+ _path.join(options.projectRoot, "**", "*")
251779
251776
  ]
251780
251777
  },
251781
251778
  _typescript2.default.sys,
@@ -252129,11 +252126,12 @@ var require_dist5 = __commonJS({
252129
252126
  options.entry = entry;
252130
252127
  logger3.info("CLI", `Building entry: ${JSON.stringify(entry)}`);
252131
252128
  }
252132
- const tsconfig = _bundlerequire.loadTsConfig.call(void 0, process.cwd(), options.tsconfig);
252129
+ !options.silent && logger2.info("CLI", `\u26A1 Normalizing options: ${options.tsconfig}`);
252130
+ const tsconfig = _bundlerequire.loadTsConfig.call(void 0, options.workspaceRoot, options.tsconfig);
252133
252131
  if (tsconfig) {
252134
252132
  logger3.info(
252135
252133
  "CLI",
252136
- `Using tsconfig: ${_path2.default.relative(process.cwd(), tsconfig.path)}`
252134
+ `Using tsconfig: ${_path2.default.relative(options.workspaceRoot, tsconfig.path)}`
252137
252135
  );
252138
252136
  options.tsconfig = tsconfig.path;
252139
252137
  options.tsconfigResolvePaths = _optionalChain([tsconfig, "access", (_20) => _20.data, "optionalAccess", (_21) => _21.compilerOptions, "optionalAccess", (_22) => _22.paths]) || {};
@@ -252147,7 +252145,8 @@ var require_dist5 = __commonJS({
252147
252145
  if (options.experimentalDts) {
252148
252146
  options.experimentalDts.compilerOptions = {
252149
252147
  ...tsconfig.data.compilerOptions || {},
252150
- ...options.experimentalDts.compilerOptions || {}
252148
+ ...options.experimentalDts.compilerOptions || {},
252149
+ outDir: options.outDir
252151
252150
  };
252152
252151
  options.experimentalDts.entry = _chunkGQ77QZBOjs.toObjectEntry.call(
252153
252152
  void 0,
@@ -258713,11 +258712,13 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
258713
258712
  }
258714
258713
  ).reduce((ret, filePath) => {
258715
258714
  let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
258716
- if (propertyKey.startsWith("/")) {
258717
- propertyKey = propertyKey.substring(1);
258718
- }
258719
- if (!(propertyKey in ret)) {
258720
- ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
258715
+ if (propertyKey) {
258716
+ while (propertyKey.startsWith("/")) {
258717
+ propertyKey = propertyKey.substring(1);
258718
+ }
258719
+ if (!(propertyKey in ret)) {
258720
+ ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
258721
+ }
258721
258722
  }
258722
258723
  return ret;
258723
258724
  }, {});