@storm-software/workspace-tools 1.13.24 → 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/CHANGELOG.md +7 -0
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +14 -12
package/package.json
CHANGED
|
@@ -106094,24 +106094,26 @@ ${(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
|
-
...
|
|
106100
|
-
|
|
106101
|
-
|
|
106102
|
-
|
|
106103
|
-
|
|
106104
|
-
|
|
106105
|
-
|
|
106106
|
-
|
|
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.noEmit = false;
|
|
106112
|
-
tsConfig.options.outDir = outputPath;
|
|
106113
|
-
tsConfig.options.rootDir = workspaceRoot;
|
|
106114
|
-
tsConfig.options.baseUrl = workspaceRoot;
|
|
106115
106117
|
tsConfig.options.pathsBasePath = workspaceRoot;
|
|
106116
106118
|
if (tsConfig.options.incremental && !tsConfig.options.tsBuildInfoFile) {
|
|
106117
106119
|
tsConfig.options.tsBuildInfoFile = (0, import_devkit.joinPathFragments)(
|