@storm-software/workspace-tools 1.13.23 → 1.13.25

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.13.23",
3
+ "version": "1.13.25",
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": [
@@ -105840,7 +105840,7 @@ var outExtension = ({ options: options2, format: format2, pkgType }) => {
105840
105840
  async function runExecutor(options2, context) {
105841
105841
  try {
105842
105842
  console.log("\u{1F4E6} Running Storm build executor on the workspace");
105843
- options2.entry ??= "{sourceRoot}/**/*.{ts,tsx}";
105843
+ options2.entry ??= "{sourceRoot}/index.ts";
105844
105844
  options2.outputPath ??= "dist/{projectRoot}";
105845
105845
  options2.tsConfig ??= "tsconfig.json";
105846
105846
  options2.banner ??= process.env.STORM_FILE_BANNER;
@@ -106094,23 +106094,27 @@ ${(0, import_fs2.readFileSync)(file, "utf-8")}`,
106094
106094
  }
106095
106095
  }
106096
106096
  function getNormalizedTsConfig(workspaceRoot, outputPath, options2) {
106097
+ const config = ts2.readConfigFile(options2.tsConfig, ts2.sys.readFile).config;
106097
106098
  const tsConfig = ts2.parseJsonConfigFileContent(
106098
106099
  {
106099
- ...ts2.readConfigFile(options2.tsConfig, ts2.sys.readFile).config,
106100
- outDir: outputPath,
106101
- allowJs: true,
106102
- noEmit: false,
106103
- declaration: true,
106104
- declarationMap: true,
106105
- emitDeclarationOnly: true,
106106
- declarationDir: (0, import_path3.join)(workspaceRoot, "tmp", ".tsup", "declaration")
106100
+ ...config,
106101
+ compilerOptions: {
106102
+ ...config.compilerOptions,
106103
+ outDir: outputPath,
106104
+ rootDir: workspaceRoot,
106105
+ baseUrl: workspaceRoot,
106106
+ allowJs: true,
106107
+ noEmit: false,
106108
+ declaration: true,
106109
+ declarationMap: true,
106110
+ emitDeclarationOnly: true,
106111
+ declarationDir: (0, import_path3.join)(workspaceRoot, "tmp", ".tsup", "declaration")
106112
+ }
106107
106113
  },
106108
106114
  ts2.sys,
106109
106115
  (0, import_path3.dirname)(options2.tsConfig)
106110
106116
  );
106111
- tsConfig.options.outDir = outputPath;
106112
- tsConfig.options.noEmitOnError = true;
106113
- tsConfig.options.rootDir = workspaceRoot;
106117
+ tsConfig.options.pathsBasePath = workspaceRoot;
106114
106118
  if (tsConfig.options.incremental && !tsConfig.options.tsBuildInfoFile) {
106115
106119
  tsConfig.options.tsBuildInfoFile = (0, import_devkit.joinPathFragments)(
106116
106120
  outputPath,