@storm-software/workspace-tools 1.13.16 → 1.13.17
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 +25 -17
- package/src/executors/tsup/get-config.js +13 -13
package/package.json
CHANGED
|
@@ -105614,12 +105614,10 @@ function modernConfig({
|
|
|
105614
105614
|
entry,
|
|
105615
105615
|
compilerOptions: {
|
|
105616
105616
|
...dtsTsConfig,
|
|
105617
|
-
|
|
105618
|
-
|
|
105619
|
-
|
|
105620
|
-
|
|
105621
|
-
declarationMap: true,
|
|
105622
|
-
emitDeclarationOnly: true
|
|
105617
|
+
options: {
|
|
105618
|
+
...dtsTsConfig.options,
|
|
105619
|
+
outDir: outputPath
|
|
105620
|
+
}
|
|
105623
105621
|
}
|
|
105624
105622
|
},
|
|
105625
105623
|
apiReport,
|
|
@@ -105671,12 +105669,10 @@ function legacyConfig({
|
|
|
105671
105669
|
entry,
|
|
105672
105670
|
compilerOptions: {
|
|
105673
105671
|
...dtsTsConfig,
|
|
105674
|
-
|
|
105675
|
-
|
|
105676
|
-
|
|
105677
|
-
|
|
105678
|
-
declarationMap: true,
|
|
105679
|
-
emitDeclarationOnly: true
|
|
105672
|
+
options: {
|
|
105673
|
+
...dtsTsConfig.options,
|
|
105674
|
+
outDir: outputPath
|
|
105675
|
+
}
|
|
105680
105676
|
}
|
|
105681
105677
|
},
|
|
105682
105678
|
apiReport: false,
|
|
@@ -105729,7 +105725,11 @@ function workerConfig({
|
|
|
105729
105725
|
experimentalDts: {
|
|
105730
105726
|
entry,
|
|
105731
105727
|
compilerOptions: {
|
|
105732
|
-
|
|
105728
|
+
...dtsTsConfig,
|
|
105729
|
+
options: {
|
|
105730
|
+
...dtsTsConfig.options,
|
|
105731
|
+
outDir: (0, import_path2.join)(outDir, "dist")
|
|
105732
|
+
}
|
|
105733
105733
|
}
|
|
105734
105734
|
},
|
|
105735
105735
|
apiReport,
|
|
@@ -106063,7 +106063,7 @@ ${(0, import_fs2.readFileSync)(file, "utf-8")}`,
|
|
|
106063
106063
|
});
|
|
106064
106064
|
const config = getConfig(context.root, projectRoot, sourceRoot, {
|
|
106065
106065
|
...options2,
|
|
106066
|
-
dtsTsConfig: getNormalizedTsConfig(tscOptions),
|
|
106066
|
+
dtsTsConfig: getNormalizedTsConfig(context.root, outputPath, tscOptions),
|
|
106067
106067
|
banner: options2.banner ? { js: `// ${options2.banner}
|
|
106068
106068
|
|
|
106069
106069
|
`, css: `/* ${options2.banner} */
|
|
@@ -106087,10 +106087,18 @@ ${(0, import_fs2.readFileSync)(file, "utf-8")}`,
|
|
|
106087
106087
|
};
|
|
106088
106088
|
}
|
|
106089
106089
|
}
|
|
106090
|
-
function getNormalizedTsConfig(options2) {
|
|
106091
|
-
const readResult = ts2.readConfigFile(options2.tsConfig, ts2.sys.readFile);
|
|
106090
|
+
function getNormalizedTsConfig(workspaceRoot, outputPath, options2) {
|
|
106092
106091
|
const tsConfig = ts2.parseJsonConfigFileContent(
|
|
106093
|
-
|
|
106092
|
+
{
|
|
106093
|
+
...ts2.readConfigFile(options2.tsConfig, ts2.sys.readFile).config,
|
|
106094
|
+
outDir: outputPath,
|
|
106095
|
+
allowJs: true,
|
|
106096
|
+
noEmit: false,
|
|
106097
|
+
declaration: true,
|
|
106098
|
+
declarationMap: true,
|
|
106099
|
+
emitDeclarationOnly: true,
|
|
106100
|
+
declarationDir: (0, import_path3.join)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
106101
|
+
},
|
|
106094
106102
|
ts2.sys,
|
|
106095
106103
|
(0, import_path3.dirname)(options2.tsConfig)
|
|
106096
106104
|
);
|
|
@@ -72064,12 +72064,10 @@ function modernConfig({
|
|
|
72064
72064
|
entry,
|
|
72065
72065
|
compilerOptions: {
|
|
72066
72066
|
...dtsTsConfig,
|
|
72067
|
-
|
|
72068
|
-
|
|
72069
|
-
|
|
72070
|
-
|
|
72071
|
-
declarationMap: true,
|
|
72072
|
-
emitDeclarationOnly: true
|
|
72067
|
+
options: {
|
|
72068
|
+
...dtsTsConfig.options,
|
|
72069
|
+
outDir: outputPath
|
|
72070
|
+
}
|
|
72073
72071
|
}
|
|
72074
72072
|
},
|
|
72075
72073
|
apiReport,
|
|
@@ -72121,12 +72119,10 @@ function legacyConfig({
|
|
|
72121
72119
|
entry,
|
|
72122
72120
|
compilerOptions: {
|
|
72123
72121
|
...dtsTsConfig,
|
|
72124
|
-
|
|
72125
|
-
|
|
72126
|
-
|
|
72127
|
-
|
|
72128
|
-
declarationMap: true,
|
|
72129
|
-
emitDeclarationOnly: true
|
|
72122
|
+
options: {
|
|
72123
|
+
...dtsTsConfig.options,
|
|
72124
|
+
outDir: outputPath
|
|
72125
|
+
}
|
|
72130
72126
|
}
|
|
72131
72127
|
},
|
|
72132
72128
|
apiReport: false,
|
|
@@ -72179,7 +72175,11 @@ function workerConfig({
|
|
|
72179
72175
|
experimentalDts: {
|
|
72180
72176
|
entry,
|
|
72181
72177
|
compilerOptions: {
|
|
72182
|
-
|
|
72178
|
+
...dtsTsConfig,
|
|
72179
|
+
options: {
|
|
72180
|
+
...dtsTsConfig.options,
|
|
72181
|
+
outDir: (0, import_path2.join)(outDir, "dist")
|
|
72182
|
+
}
|
|
72183
72183
|
}
|
|
72184
72184
|
},
|
|
72185
72185
|
apiReport,
|