@storm-software/workspace-tools 1.30.0 → 1.30.1
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 +17 -16
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +17 -16
- package/src/executors/tsup/get-config.js +1 -1
- package/src/executors/tsup-browser/executor.js +17 -16
- package/src/executors/tsup-neutral/executor.js +17 -16
- package/src/executors/tsup-node/executor.js +17 -16
package/package.json
CHANGED
|
@@ -117232,7 +117232,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117232
117232
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117233
117233
|
filePath.path,
|
|
117234
117234
|
removeExtension(filePath.name)
|
|
117235
|
-
).replaceAll("
|
|
117235
|
+
).replaceAll("\\", "/").replaceAll(workspaceRoot.substring(1).replaceAll("\\", "/"), "").replaceAll(sourceRoot.replaceAll("\\", "/"), "").replaceAll(projectRoot.replaceAll("\\", "/"), "");
|
|
117236
117236
|
if (propertyKey) {
|
|
117237
117237
|
while (propertyKey.startsWith("/")) {
|
|
117238
117238
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117358,16 +117358,17 @@ ${Object.keys(options).map(
|
|
|
117358
117358
|
if (implicitDependencies && implicitDependencies.length > 0) {
|
|
117359
117359
|
options.external = implicitDependencies.reduce(
|
|
117360
117360
|
(ret, key) => {
|
|
117361
|
-
if (context.projectsConfigurations.projects[key].
|
|
117362
|
-
const
|
|
117363
|
-
|
|
117364
|
-
|
|
117365
|
-
|
|
117366
|
-
|
|
117367
|
-
|
|
117368
|
-
|
|
117369
|
-
|
|
117370
|
-
|
|
117361
|
+
if (Object.keys(context.projectsConfigurations.projects[key]?.targets).length > 0) {
|
|
117362
|
+
const buildTargetName = Object.keys(
|
|
117363
|
+
context.projectsConfigurations.projects[key].targets
|
|
117364
|
+
).find((name) => name.toLowerCase() === "build");
|
|
117365
|
+
if (buildTargetName && context.projectsConfigurations.projects[key].targets[buildTargetName]?.options?.project) {
|
|
117366
|
+
const packageJson = (0, import_devkit2.readJsonFile)(
|
|
117367
|
+
context.projectsConfigurations.projects[key].targets[buildTargetName].options.project
|
|
117368
|
+
);
|
|
117369
|
+
if (packageJson?.name && !options.external.includes(packageJson.name)) {
|
|
117370
|
+
ret.push(packageJson.name);
|
|
117371
|
+
}
|
|
117371
117372
|
}
|
|
117372
117373
|
}
|
|
117373
117374
|
return ret;
|
|
@@ -117455,20 +117456,20 @@ ${Object.keys(options).map(
|
|
|
117455
117456
|
default: "./dist/modern/index.cjs"
|
|
117456
117457
|
},
|
|
117457
117458
|
default: {
|
|
117458
|
-
types: "./dist/modern
|
|
117459
|
-
default: "./dist/modern
|
|
117459
|
+
types: "./dist/modern/index.d.ts",
|
|
117460
|
+
default: "./dist/modern/index.js"
|
|
117460
117461
|
},
|
|
117461
117462
|
"./*": {
|
|
117462
117463
|
"import": {
|
|
117463
|
-
types: "./dist/modern
|
|
117464
|
+
types: "./dist/modern/index.d.ts",
|
|
117464
117465
|
default: "./dist/modern/**/*.js"
|
|
117465
117466
|
},
|
|
117466
117467
|
require: {
|
|
117467
|
-
types: "./dist/modern
|
|
117468
|
+
types: "./dist/modern/index.d.cts",
|
|
117468
117469
|
default: "./dist/modern/**/*.cjs"
|
|
117469
117470
|
},
|
|
117470
117471
|
"default": {
|
|
117471
|
-
types: "./dist/modern
|
|
117472
|
+
types: "./dist/modern/index.d.ts",
|
|
117472
117473
|
default: "./dist/modern/**/*.js"
|
|
117473
117474
|
}
|
|
117474
117475
|
},
|
|
@@ -88629,7 +88629,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
88629
88629
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
88630
88630
|
filePath.path,
|
|
88631
88631
|
removeExtension(filePath.name)
|
|
88632
|
-
).replaceAll("
|
|
88632
|
+
).replaceAll("\\", "/").replaceAll(workspaceRoot.substring(1).replaceAll("\\", "/"), "").replaceAll(sourceRoot.replaceAll("\\", "/"), "").replaceAll(projectRoot.replaceAll("\\", "/"), "");
|
|
88633
88633
|
if (propertyKey) {
|
|
88634
88634
|
while (propertyKey.startsWith("/")) {
|
|
88635
88635
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117263,7 +117263,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117263
117263
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117264
117264
|
filePath.path,
|
|
117265
117265
|
removeExtension(filePath.name)
|
|
117266
|
-
).replaceAll("
|
|
117266
|
+
).replaceAll("\\", "/").replaceAll(workspaceRoot.substring(1).replaceAll("\\", "/"), "").replaceAll(sourceRoot.replaceAll("\\", "/"), "").replaceAll(projectRoot.replaceAll("\\", "/"), "");
|
|
117267
117267
|
if (propertyKey) {
|
|
117268
117268
|
while (propertyKey.startsWith("/")) {
|
|
117269
117269
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117389,16 +117389,17 @@ ${Object.keys(options).map(
|
|
|
117389
117389
|
if (implicitDependencies && implicitDependencies.length > 0) {
|
|
117390
117390
|
options.external = implicitDependencies.reduce(
|
|
117391
117391
|
(ret, key) => {
|
|
117392
|
-
if (context.projectsConfigurations.projects[key].
|
|
117393
|
-
const
|
|
117394
|
-
|
|
117395
|
-
|
|
117396
|
-
|
|
117397
|
-
|
|
117398
|
-
|
|
117399
|
-
|
|
117400
|
-
|
|
117401
|
-
|
|
117392
|
+
if (Object.keys(context.projectsConfigurations.projects[key]?.targets).length > 0) {
|
|
117393
|
+
const buildTargetName = Object.keys(
|
|
117394
|
+
context.projectsConfigurations.projects[key].targets
|
|
117395
|
+
).find((name) => name.toLowerCase() === "build");
|
|
117396
|
+
if (buildTargetName && context.projectsConfigurations.projects[key].targets[buildTargetName]?.options?.project) {
|
|
117397
|
+
const packageJson = (0, import_devkit2.readJsonFile)(
|
|
117398
|
+
context.projectsConfigurations.projects[key].targets[buildTargetName].options.project
|
|
117399
|
+
);
|
|
117400
|
+
if (packageJson?.name && !options.external.includes(packageJson.name)) {
|
|
117401
|
+
ret.push(packageJson.name);
|
|
117402
|
+
}
|
|
117402
117403
|
}
|
|
117403
117404
|
}
|
|
117404
117405
|
return ret;
|
|
@@ -117486,20 +117487,20 @@ ${Object.keys(options).map(
|
|
|
117486
117487
|
default: "./dist/modern/index.cjs"
|
|
117487
117488
|
},
|
|
117488
117489
|
default: {
|
|
117489
|
-
types: "./dist/modern
|
|
117490
|
-
default: "./dist/modern
|
|
117490
|
+
types: "./dist/modern/index.d.ts",
|
|
117491
|
+
default: "./dist/modern/index.js"
|
|
117491
117492
|
},
|
|
117492
117493
|
"./*": {
|
|
117493
117494
|
"import": {
|
|
117494
|
-
types: "./dist/modern
|
|
117495
|
+
types: "./dist/modern/index.d.ts",
|
|
117495
117496
|
default: "./dist/modern/**/*.js"
|
|
117496
117497
|
},
|
|
117497
117498
|
require: {
|
|
117498
|
-
types: "./dist/modern
|
|
117499
|
+
types: "./dist/modern/index.d.cts",
|
|
117499
117500
|
default: "./dist/modern/**/*.cjs"
|
|
117500
117501
|
},
|
|
117501
117502
|
"default": {
|
|
117502
|
-
types: "./dist/modern
|
|
117503
|
+
types: "./dist/modern/index.d.ts",
|
|
117503
117504
|
default: "./dist/modern/**/*.js"
|
|
117504
117505
|
}
|
|
117505
117506
|
},
|
|
@@ -117263,7 +117263,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117263
117263
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117264
117264
|
filePath.path,
|
|
117265
117265
|
removeExtension(filePath.name)
|
|
117266
|
-
).replaceAll("
|
|
117266
|
+
).replaceAll("\\", "/").replaceAll(workspaceRoot.substring(1).replaceAll("\\", "/"), "").replaceAll(sourceRoot.replaceAll("\\", "/"), "").replaceAll(projectRoot.replaceAll("\\", "/"), "");
|
|
117267
117267
|
if (propertyKey) {
|
|
117268
117268
|
while (propertyKey.startsWith("/")) {
|
|
117269
117269
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117389,16 +117389,17 @@ ${Object.keys(options).map(
|
|
|
117389
117389
|
if (implicitDependencies && implicitDependencies.length > 0) {
|
|
117390
117390
|
options.external = implicitDependencies.reduce(
|
|
117391
117391
|
(ret, key) => {
|
|
117392
|
-
if (context.projectsConfigurations.projects[key].
|
|
117393
|
-
const
|
|
117394
|
-
|
|
117395
|
-
|
|
117396
|
-
|
|
117397
|
-
|
|
117398
|
-
|
|
117399
|
-
|
|
117400
|
-
|
|
117401
|
-
|
|
117392
|
+
if (Object.keys(context.projectsConfigurations.projects[key]?.targets).length > 0) {
|
|
117393
|
+
const buildTargetName = Object.keys(
|
|
117394
|
+
context.projectsConfigurations.projects[key].targets
|
|
117395
|
+
).find((name) => name.toLowerCase() === "build");
|
|
117396
|
+
if (buildTargetName && context.projectsConfigurations.projects[key].targets[buildTargetName]?.options?.project) {
|
|
117397
|
+
const packageJson = (0, import_devkit2.readJsonFile)(
|
|
117398
|
+
context.projectsConfigurations.projects[key].targets[buildTargetName].options.project
|
|
117399
|
+
);
|
|
117400
|
+
if (packageJson?.name && !options.external.includes(packageJson.name)) {
|
|
117401
|
+
ret.push(packageJson.name);
|
|
117402
|
+
}
|
|
117402
117403
|
}
|
|
117403
117404
|
}
|
|
117404
117405
|
return ret;
|
|
@@ -117486,20 +117487,20 @@ ${Object.keys(options).map(
|
|
|
117486
117487
|
default: "./dist/modern/index.cjs"
|
|
117487
117488
|
},
|
|
117488
117489
|
default: {
|
|
117489
|
-
types: "./dist/modern
|
|
117490
|
-
default: "./dist/modern
|
|
117490
|
+
types: "./dist/modern/index.d.ts",
|
|
117491
|
+
default: "./dist/modern/index.js"
|
|
117491
117492
|
},
|
|
117492
117493
|
"./*": {
|
|
117493
117494
|
"import": {
|
|
117494
|
-
types: "./dist/modern
|
|
117495
|
+
types: "./dist/modern/index.d.ts",
|
|
117495
117496
|
default: "./dist/modern/**/*.js"
|
|
117496
117497
|
},
|
|
117497
117498
|
require: {
|
|
117498
|
-
types: "./dist/modern
|
|
117499
|
+
types: "./dist/modern/index.d.cts",
|
|
117499
117500
|
default: "./dist/modern/**/*.cjs"
|
|
117500
117501
|
},
|
|
117501
117502
|
"default": {
|
|
117502
|
-
types: "./dist/modern
|
|
117503
|
+
types: "./dist/modern/index.d.ts",
|
|
117503
117504
|
default: "./dist/modern/**/*.js"
|
|
117504
117505
|
}
|
|
117505
117506
|
},
|
|
@@ -117263,7 +117263,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117263
117263
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117264
117264
|
filePath.path,
|
|
117265
117265
|
removeExtension(filePath.name)
|
|
117266
|
-
).replaceAll("
|
|
117266
|
+
).replaceAll("\\", "/").replaceAll(workspaceRoot.substring(1).replaceAll("\\", "/"), "").replaceAll(sourceRoot.replaceAll("\\", "/"), "").replaceAll(projectRoot.replaceAll("\\", "/"), "");
|
|
117267
117267
|
if (propertyKey) {
|
|
117268
117268
|
while (propertyKey.startsWith("/")) {
|
|
117269
117269
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117389,16 +117389,17 @@ ${Object.keys(options).map(
|
|
|
117389
117389
|
if (implicitDependencies && implicitDependencies.length > 0) {
|
|
117390
117390
|
options.external = implicitDependencies.reduce(
|
|
117391
117391
|
(ret, key) => {
|
|
117392
|
-
if (context.projectsConfigurations.projects[key].
|
|
117393
|
-
const
|
|
117394
|
-
|
|
117395
|
-
|
|
117396
|
-
|
|
117397
|
-
|
|
117398
|
-
|
|
117399
|
-
|
|
117400
|
-
|
|
117401
|
-
|
|
117392
|
+
if (Object.keys(context.projectsConfigurations.projects[key]?.targets).length > 0) {
|
|
117393
|
+
const buildTargetName = Object.keys(
|
|
117394
|
+
context.projectsConfigurations.projects[key].targets
|
|
117395
|
+
).find((name) => name.toLowerCase() === "build");
|
|
117396
|
+
if (buildTargetName && context.projectsConfigurations.projects[key].targets[buildTargetName]?.options?.project) {
|
|
117397
|
+
const packageJson = (0, import_devkit2.readJsonFile)(
|
|
117398
|
+
context.projectsConfigurations.projects[key].targets[buildTargetName].options.project
|
|
117399
|
+
);
|
|
117400
|
+
if (packageJson?.name && !options.external.includes(packageJson.name)) {
|
|
117401
|
+
ret.push(packageJson.name);
|
|
117402
|
+
}
|
|
117402
117403
|
}
|
|
117403
117404
|
}
|
|
117404
117405
|
return ret;
|
|
@@ -117486,20 +117487,20 @@ ${Object.keys(options).map(
|
|
|
117486
117487
|
default: "./dist/modern/index.cjs"
|
|
117487
117488
|
},
|
|
117488
117489
|
default: {
|
|
117489
|
-
types: "./dist/modern
|
|
117490
|
-
default: "./dist/modern
|
|
117490
|
+
types: "./dist/modern/index.d.ts",
|
|
117491
|
+
default: "./dist/modern/index.js"
|
|
117491
117492
|
},
|
|
117492
117493
|
"./*": {
|
|
117493
117494
|
"import": {
|
|
117494
|
-
types: "./dist/modern
|
|
117495
|
+
types: "./dist/modern/index.d.ts",
|
|
117495
117496
|
default: "./dist/modern/**/*.js"
|
|
117496
117497
|
},
|
|
117497
117498
|
require: {
|
|
117498
|
-
types: "./dist/modern
|
|
117499
|
+
types: "./dist/modern/index.d.cts",
|
|
117499
117500
|
default: "./dist/modern/**/*.cjs"
|
|
117500
117501
|
},
|
|
117501
117502
|
"default": {
|
|
117502
|
-
types: "./dist/modern
|
|
117503
|
+
types: "./dist/modern/index.d.ts",
|
|
117503
117504
|
default: "./dist/modern/**/*.js"
|
|
117504
117505
|
}
|
|
117505
117506
|
},
|