@storm-software/workspace-tools 1.30.7 → 1.30.8
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/index.js +5 -1
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +5 -1
- package/src/executors/tsup/get-config.js +5 -1
- package/src/executors/tsup-browser/executor.js +5 -1
- package/src/executors/tsup-neutral/executor.js +5 -1
- package/src/executors/tsup-node/executor.js +5 -1
package/package.json
CHANGED
|
@@ -117208,10 +117208,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117208
117208
|
const entry = globSync(entryPoints, {
|
|
117209
117209
|
withFileTypes: true
|
|
117210
117210
|
}).reduce((ret, filePath) => {
|
|
117211
|
+
let formattedPath = workspaceRoot.replaceAll("\\", "/");
|
|
117212
|
+
if (formattedPath.toUpperCase().startsWith("C:")) {
|
|
117213
|
+
formattedPath = formattedPath.substring(2);
|
|
117214
|
+
}
|
|
117211
117215
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117212
117216
|
filePath.path,
|
|
117213
117217
|
removeExtension(filePath.name)
|
|
117214
|
-
).replaceAll("\\", "/").replaceAll(
|
|
117218
|
+
).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
117215
117219
|
if (propertyKey) {
|
|
117216
117220
|
while (propertyKey.startsWith("/")) {
|
|
117217
117221
|
propertyKey = propertyKey.substring(1);
|
|
@@ -88627,10 +88627,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
88627
88627
|
const entry = globSync(entryPoints, {
|
|
88628
88628
|
withFileTypes: true
|
|
88629
88629
|
}).reduce((ret, filePath) => {
|
|
88630
|
+
let formattedPath = workspaceRoot.replaceAll("\\", "/");
|
|
88631
|
+
if (formattedPath.toUpperCase().startsWith("C:")) {
|
|
88632
|
+
formattedPath = formattedPath.substring(2);
|
|
88633
|
+
}
|
|
88630
88634
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
88631
88635
|
filePath.path,
|
|
88632
88636
|
removeExtension(filePath.name)
|
|
88633
|
-
).replaceAll("\\", "/").replaceAll(
|
|
88637
|
+
).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
88634
88638
|
if (propertyKey) {
|
|
88635
88639
|
while (propertyKey.startsWith("/")) {
|
|
88636
88640
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117239,10 +117239,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117239
117239
|
const entry = globSync(entryPoints, {
|
|
117240
117240
|
withFileTypes: true
|
|
117241
117241
|
}).reduce((ret, filePath) => {
|
|
117242
|
+
let formattedPath = workspaceRoot.replaceAll("\\", "/");
|
|
117243
|
+
if (formattedPath.toUpperCase().startsWith("C:")) {
|
|
117244
|
+
formattedPath = formattedPath.substring(2);
|
|
117245
|
+
}
|
|
117242
117246
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117243
117247
|
filePath.path,
|
|
117244
117248
|
removeExtension(filePath.name)
|
|
117245
|
-
).replaceAll("\\", "/").replaceAll(
|
|
117249
|
+
).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
117246
117250
|
if (propertyKey) {
|
|
117247
117251
|
while (propertyKey.startsWith("/")) {
|
|
117248
117252
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117239,10 +117239,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117239
117239
|
const entry = globSync(entryPoints, {
|
|
117240
117240
|
withFileTypes: true
|
|
117241
117241
|
}).reduce((ret, filePath) => {
|
|
117242
|
+
let formattedPath = workspaceRoot.replaceAll("\\", "/");
|
|
117243
|
+
if (formattedPath.toUpperCase().startsWith("C:")) {
|
|
117244
|
+
formattedPath = formattedPath.substring(2);
|
|
117245
|
+
}
|
|
117242
117246
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117243
117247
|
filePath.path,
|
|
117244
117248
|
removeExtension(filePath.name)
|
|
117245
|
-
).replaceAll("\\", "/").replaceAll(
|
|
117249
|
+
).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
117246
117250
|
if (propertyKey) {
|
|
117247
117251
|
while (propertyKey.startsWith("/")) {
|
|
117248
117252
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117239,10 +117239,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117239
117239
|
const entry = globSync(entryPoints, {
|
|
117240
117240
|
withFileTypes: true
|
|
117241
117241
|
}).reduce((ret, filePath) => {
|
|
117242
|
+
let formattedPath = workspaceRoot.replaceAll("\\", "/");
|
|
117243
|
+
if (formattedPath.toUpperCase().startsWith("C:")) {
|
|
117244
|
+
formattedPath = formattedPath.substring(2);
|
|
117245
|
+
}
|
|
117242
117246
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117243
117247
|
filePath.path,
|
|
117244
117248
|
removeExtension(filePath.name)
|
|
117245
|
-
).replaceAll("\\", "/").replaceAll(
|
|
117249
|
+
).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
117246
117250
|
if (propertyKey) {
|
|
117247
117251
|
while (propertyKey.startsWith("/")) {
|
|
117248
117252
|
propertyKey = propertyKey.substring(1);
|