@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/CHANGELOG.md +24 -0
- package/index.js +8 -3
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +8 -3
- package/src/executors/tsup-browser/executor.js +8 -3
- package/src/executors/tsup-neutral/executor.js +8 -3
- package/src/executors/tsup-node/executor.js +8 -3
- package/src/utils/index.js +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 1.63.4 (2024-03-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **storm-ops:** Resolve issue with path corrections logic ([2f84316c](https://github.com/storm-software/storm-ops/commit/2f84316c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
## 1.63.3 (2024-03-03)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🩹 Fixes
|
|
17
|
+
|
|
18
|
+
- **workspace-tools:** Update workspace tools to change directory to workspace root ([c76a4782](https://github.com/storm-software/storm-ops/commit/c76a4782))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- Patrick Sullivan
|
|
24
|
+
|
|
1
25
|
## 1.63.2 (2024-03-03)
|
|
2
26
|
|
|
3
27
|
|
package/index.js
CHANGED
|
@@ -474775,6 +474775,8 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
|
|
|
474775
474775
|
Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
474776
474776
|
);
|
|
474777
474777
|
}
|
|
474778
|
+
const basePath = correctPaths(workspaceRoot);
|
|
474779
|
+
const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
|
|
474778
474780
|
const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
|
|
474779
474781
|
{
|
|
474780
474782
|
...rawTsconfig.config,
|
|
@@ -474785,19 +474787,22 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
474785
474787
|
emitDeclarationOnly: true,
|
|
474786
474788
|
declaration: true,
|
|
474787
474789
|
declarationMap: true,
|
|
474788
|
-
declarationDir
|
|
474790
|
+
declarationDir
|
|
474789
474791
|
}
|
|
474790
474792
|
},
|
|
474791
474793
|
import_typescript.sys,
|
|
474792
474794
|
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
474793
474795
|
);
|
|
474794
|
-
parsedTsconfig.options.
|
|
474796
|
+
parsedTsconfig.options.rootDir = basePath;
|
|
474797
|
+
parsedTsconfig.options.baseUrl = basePath;
|
|
474798
|
+
parsedTsconfig.options.pathsBasePath = basePath;
|
|
474799
|
+
parsedTsconfig.options.declarationDir = declarationDir;
|
|
474795
474800
|
if (parsedTsconfig.options.paths) {
|
|
474796
474801
|
parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
|
|
474797
474802
|
(ret, key2) => {
|
|
474798
474803
|
if (parsedTsconfig.options.paths?.[key2]) {
|
|
474799
474804
|
ret[key2] = parsedTsconfig.options.paths[key2]?.map(
|
|
474800
|
-
(path15) => correctPaths((0, import_node_path2.join)(
|
|
474805
|
+
(path15) => correctPaths((0, import_node_path2.join)(basePath, path15))
|
|
474801
474806
|
);
|
|
474802
474807
|
}
|
|
474803
474808
|
return ret;
|