@storm-software/workspace-tools 1.10.18 → 1.10.19
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 +7 -1
- package/src/executors/tsup/get-config.js +7 -1
package/package.json
CHANGED
|
@@ -474380,7 +474380,13 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
474380
474380
|
withFileTypes: true
|
|
474381
474381
|
}
|
|
474382
474382
|
).reduce((ret, filePath) => {
|
|
474383
|
-
|
|
474383
|
+
let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
474384
|
+
if (propertyKey.startsWith("/")) {
|
|
474385
|
+
propertyKey = propertyKey.substring(1);
|
|
474386
|
+
}
|
|
474387
|
+
if (!(propertyKey in ret)) {
|
|
474388
|
+
ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
|
|
474389
|
+
}
|
|
474384
474390
|
return ret;
|
|
474385
474391
|
}, {});
|
|
474386
474392
|
return (0, import_tsup.defineConfig)([
|
|
@@ -258712,7 +258712,13 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
258712
258712
|
withFileTypes: true
|
|
258713
258713
|
}
|
|
258714
258714
|
).reduce((ret, filePath) => {
|
|
258715
|
-
|
|
258715
|
+
let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
258716
|
+
if (propertyKey.startsWith("/")) {
|
|
258717
|
+
propertyKey = propertyKey.substring(1);
|
|
258718
|
+
}
|
|
258719
|
+
if (!(propertyKey in ret)) {
|
|
258720
|
+
ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
|
|
258721
|
+
}
|
|
258716
258722
|
return ret;
|
|
258717
258723
|
}, {});
|
|
258718
258724
|
return (0, import_tsup.defineConfig)([
|