@storm-software/workspace-tools 1.63.2 → 1.63.4

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.63.2",
3
+ "version": "1.63.4",
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": [
@@ -453277,6 +453277,8 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
453277
453277
  Error: ${rawTsconfig.error.messageText}` : ""}`
453278
453278
  );
453279
453279
  }
453280
+ const basePath = correctPaths(workspaceRoot);
453281
+ const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
453280
453282
  const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
453281
453283
  {
453282
453284
  ...rawTsconfig.config,
@@ -453287,19 +453289,22 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
453287
453289
  emitDeclarationOnly: true,
453288
453290
  declaration: true,
453289
453291
  declarationMap: true,
453290
- declarationDir: correctPaths((0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration"))
453292
+ declarationDir
453291
453293
  }
453292
453294
  },
453293
453295
  import_typescript.sys,
453294
453296
  correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
453295
453297
  );
453296
- parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
453298
+ parsedTsconfig.options.rootDir = basePath;
453299
+ parsedTsconfig.options.baseUrl = basePath;
453300
+ parsedTsconfig.options.pathsBasePath = basePath;
453301
+ parsedTsconfig.options.declarationDir = declarationDir;
453297
453302
  if (parsedTsconfig.options.paths) {
453298
453303
  parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
453299
453304
  (ret, key2) => {
453300
453305
  if (parsedTsconfig.options.paths?.[key2]) {
453301
453306
  ret[key2] = parsedTsconfig.options.paths[key2]?.map(
453302
- (path14) => correctPaths((0, import_node_path2.join)(workspaceRoot, path14))
453307
+ (path14) => correctPaths((0, import_node_path2.join)(basePath, path14))
453303
453308
  );
453304
453309
  }
453305
453310
  return ret;
@@ -447082,6 +447082,8 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
447082
447082
  Error: ${rawTsconfig.error.messageText}` : ""}`
447083
447083
  );
447084
447084
  }
447085
+ const basePath = correctPaths(workspaceRoot);
447086
+ const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
447085
447087
  const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
447086
447088
  {
447087
447089
  ...rawTsconfig.config,
@@ -447092,19 +447094,22 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
447092
447094
  emitDeclarationOnly: true,
447093
447095
  declaration: true,
447094
447096
  declarationMap: true,
447095
- declarationDir: correctPaths((0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration"))
447097
+ declarationDir
447096
447098
  }
447097
447099
  },
447098
447100
  import_typescript.sys,
447099
447101
  correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
447100
447102
  );
447101
- parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
447103
+ parsedTsconfig.options.rootDir = basePath;
447104
+ parsedTsconfig.options.baseUrl = basePath;
447105
+ parsedTsconfig.options.pathsBasePath = basePath;
447106
+ parsedTsconfig.options.declarationDir = declarationDir;
447102
447107
  if (parsedTsconfig.options.paths) {
447103
447108
  parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
447104
447109
  (ret, key2) => {
447105
447110
  if (parsedTsconfig.options.paths?.[key2]) {
447106
447111
  ret[key2] = parsedTsconfig.options.paths[key2]?.map(
447107
- (path14) => correctPaths((0, import_node_path2.join)(workspaceRoot, path14))
447112
+ (path14) => correctPaths((0, import_node_path2.join)(basePath, path14))
447108
447113
  );
447109
447114
  }
447110
447115
  return ret;
@@ -447082,6 +447082,8 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
447082
447082
  Error: ${rawTsconfig.error.messageText}` : ""}`
447083
447083
  );
447084
447084
  }
447085
+ const basePath = correctPaths(workspaceRoot);
447086
+ const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
447085
447087
  const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
447086
447088
  {
447087
447089
  ...rawTsconfig.config,
@@ -447092,19 +447094,22 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
447092
447094
  emitDeclarationOnly: true,
447093
447095
  declaration: true,
447094
447096
  declarationMap: true,
447095
- declarationDir: correctPaths((0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration"))
447097
+ declarationDir
447096
447098
  }
447097
447099
  },
447098
447100
  import_typescript.sys,
447099
447101
  correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
447100
447102
  );
447101
- parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
447103
+ parsedTsconfig.options.rootDir = basePath;
447104
+ parsedTsconfig.options.baseUrl = basePath;
447105
+ parsedTsconfig.options.pathsBasePath = basePath;
447106
+ parsedTsconfig.options.declarationDir = declarationDir;
447102
447107
  if (parsedTsconfig.options.paths) {
447103
447108
  parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
447104
447109
  (ret, key2) => {
447105
447110
  if (parsedTsconfig.options.paths?.[key2]) {
447106
447111
  ret[key2] = parsedTsconfig.options.paths[key2]?.map(
447107
- (path14) => correctPaths((0, import_node_path2.join)(workspaceRoot, path14))
447112
+ (path14) => correctPaths((0, import_node_path2.join)(basePath, path14))
447108
447113
  );
447109
447114
  }
447110
447115
  return ret;
@@ -447082,6 +447082,8 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
447082
447082
  Error: ${rawTsconfig.error.messageText}` : ""}`
447083
447083
  );
447084
447084
  }
447085
+ const basePath = correctPaths(workspaceRoot);
447086
+ const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
447085
447087
  const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
447086
447088
  {
447087
447089
  ...rawTsconfig.config,
@@ -447092,19 +447094,22 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
447092
447094
  emitDeclarationOnly: true,
447093
447095
  declaration: true,
447094
447096
  declarationMap: true,
447095
- declarationDir: correctPaths((0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration"))
447097
+ declarationDir
447096
447098
  }
447097
447099
  },
447098
447100
  import_typescript.sys,
447099
447101
  correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
447100
447102
  );
447101
- parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
447103
+ parsedTsconfig.options.rootDir = basePath;
447104
+ parsedTsconfig.options.baseUrl = basePath;
447105
+ parsedTsconfig.options.pathsBasePath = basePath;
447106
+ parsedTsconfig.options.declarationDir = declarationDir;
447102
447107
  if (parsedTsconfig.options.paths) {
447103
447108
  parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
447104
447109
  (ret, key2) => {
447105
447110
  if (parsedTsconfig.options.paths?.[key2]) {
447106
447111
  ret[key2] = parsedTsconfig.options.paths[key2]?.map(
447107
- (path14) => correctPaths((0, import_node_path2.join)(workspaceRoot, path14))
447112
+ (path14) => correctPaths((0, import_node_path2.join)(basePath, path14))
447108
447113
  );
447109
447114
  }
447110
447115
  return ret;
@@ -457343,6 +457343,8 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
457343
457343
  Error: ${rawTsconfig.error.messageText}` : ""}`
457344
457344
  );
457345
457345
  }
457346
+ const basePath = correctPaths(workspaceRoot);
457347
+ const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
457346
457348
  const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
457347
457349
  {
457348
457350
  ...rawTsconfig.config,
@@ -457353,19 +457355,22 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
457353
457355
  emitDeclarationOnly: true,
457354
457356
  declaration: true,
457355
457357
  declarationMap: true,
457356
- declarationDir: correctPaths((0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration"))
457358
+ declarationDir
457357
457359
  }
457358
457360
  },
457359
457361
  import_typescript.sys,
457360
457362
  correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
457361
457363
  );
457362
- parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
457364
+ parsedTsconfig.options.rootDir = basePath;
457365
+ parsedTsconfig.options.baseUrl = basePath;
457366
+ parsedTsconfig.options.pathsBasePath = basePath;
457367
+ parsedTsconfig.options.declarationDir = declarationDir;
457363
457368
  if (parsedTsconfig.options.paths) {
457364
457369
  parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
457365
457370
  (ret, key2) => {
457366
457371
  if (parsedTsconfig.options.paths?.[key2]) {
457367
457372
  ret[key2] = parsedTsconfig.options.paths[key2]?.map(
457368
- (path13) => correctPaths((0, import_node_path2.join)(workspaceRoot, path13))
457373
+ (path13) => correctPaths((0, import_node_path2.join)(basePath, path13))
457369
457374
  );
457370
457375
  }
457371
457376
  return ret;