@storm-software/workspace-tools 1.30.1 → 1.30.2
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 +4 -4
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +4 -4
- package/src/executors/tsup-browser/executor.js +4 -4
- package/src/executors/tsup-neutral/executor.js +4 -4
- package/src/executors/tsup-node/executor.js +4 -4
package/package.json
CHANGED
|
@@ -117325,7 +117325,7 @@ ${Object.keys(options).map(
|
|
|
117325
117325
|
output: "."
|
|
117326
117326
|
});
|
|
117327
117327
|
}
|
|
117328
|
-
if (options.includeSrc
|
|
117328
|
+
if (options.includeSrc === true) {
|
|
117329
117329
|
assets.push({
|
|
117330
117330
|
input: sourceRoot,
|
|
117331
117331
|
glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
|
|
@@ -117497,7 +117497,7 @@ ${Object.keys(options).map(
|
|
|
117497
117497
|
packageJson.main ??= "dist/legacy/index.cjs";
|
|
117498
117498
|
packageJson.module ??= "dist/legacy/index.js";
|
|
117499
117499
|
options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
|
|
117500
|
-
if (options.includeSrc
|
|
117500
|
+
if (options.includeSrc === true) {
|
|
117501
117501
|
let distSrc = sourceRoot.replace(projectRoot, "");
|
|
117502
117502
|
if (distSrc.startsWith("/")) {
|
|
117503
117503
|
distSrc = distSrc.substring(1);
|
|
@@ -117509,7 +117509,7 @@ ${Object.keys(options).map(
|
|
|
117509
117509
|
}
|
|
117510
117510
|
packageJson.sideEffects ??= false;
|
|
117511
117511
|
packageJson.files ??= ["dist/**/*"];
|
|
117512
|
-
if (options.includeSrc
|
|
117512
|
+
if (options.includeSrc === true && !packageJson.files.includes("src")) {
|
|
117513
117513
|
packageJson.files.push("src/**/*");
|
|
117514
117514
|
}
|
|
117515
117515
|
packageJson.publishConfig ??= {
|
|
@@ -117537,7 +117537,7 @@ ${Object.keys(options).map(
|
|
|
117537
117537
|
})
|
|
117538
117538
|
);
|
|
117539
117539
|
}
|
|
117540
|
-
if (options.includeSrc
|
|
117540
|
+
if (options.includeSrc === true) {
|
|
117541
117541
|
const files = globSync([
|
|
117542
117542
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
|
|
117543
117543
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.tsx"),
|
|
@@ -117356,7 +117356,7 @@ ${Object.keys(options).map(
|
|
|
117356
117356
|
output: "."
|
|
117357
117357
|
});
|
|
117358
117358
|
}
|
|
117359
|
-
if (options.includeSrc
|
|
117359
|
+
if (options.includeSrc === true) {
|
|
117360
117360
|
assets.push({
|
|
117361
117361
|
input: sourceRoot,
|
|
117362
117362
|
glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
|
|
@@ -117528,7 +117528,7 @@ ${Object.keys(options).map(
|
|
|
117528
117528
|
packageJson.main ??= "dist/legacy/index.cjs";
|
|
117529
117529
|
packageJson.module ??= "dist/legacy/index.js";
|
|
117530
117530
|
options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
|
|
117531
|
-
if (options.includeSrc
|
|
117531
|
+
if (options.includeSrc === true) {
|
|
117532
117532
|
let distSrc = sourceRoot.replace(projectRoot, "");
|
|
117533
117533
|
if (distSrc.startsWith("/")) {
|
|
117534
117534
|
distSrc = distSrc.substring(1);
|
|
@@ -117540,7 +117540,7 @@ ${Object.keys(options).map(
|
|
|
117540
117540
|
}
|
|
117541
117541
|
packageJson.sideEffects ??= false;
|
|
117542
117542
|
packageJson.files ??= ["dist/**/*"];
|
|
117543
|
-
if (options.includeSrc
|
|
117543
|
+
if (options.includeSrc === true && !packageJson.files.includes("src")) {
|
|
117544
117544
|
packageJson.files.push("src/**/*");
|
|
117545
117545
|
}
|
|
117546
117546
|
packageJson.publishConfig ??= {
|
|
@@ -117568,7 +117568,7 @@ ${Object.keys(options).map(
|
|
|
117568
117568
|
})
|
|
117569
117569
|
);
|
|
117570
117570
|
}
|
|
117571
|
-
if (options.includeSrc
|
|
117571
|
+
if (options.includeSrc === true) {
|
|
117572
117572
|
const files = globSync([
|
|
117573
117573
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
|
|
117574
117574
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.tsx"),
|
|
@@ -117356,7 +117356,7 @@ ${Object.keys(options).map(
|
|
|
117356
117356
|
output: "."
|
|
117357
117357
|
});
|
|
117358
117358
|
}
|
|
117359
|
-
if (options.includeSrc
|
|
117359
|
+
if (options.includeSrc === true) {
|
|
117360
117360
|
assets.push({
|
|
117361
117361
|
input: sourceRoot,
|
|
117362
117362
|
glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
|
|
@@ -117528,7 +117528,7 @@ ${Object.keys(options).map(
|
|
|
117528
117528
|
packageJson.main ??= "dist/legacy/index.cjs";
|
|
117529
117529
|
packageJson.module ??= "dist/legacy/index.js";
|
|
117530
117530
|
options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
|
|
117531
|
-
if (options.includeSrc
|
|
117531
|
+
if (options.includeSrc === true) {
|
|
117532
117532
|
let distSrc = sourceRoot.replace(projectRoot, "");
|
|
117533
117533
|
if (distSrc.startsWith("/")) {
|
|
117534
117534
|
distSrc = distSrc.substring(1);
|
|
@@ -117540,7 +117540,7 @@ ${Object.keys(options).map(
|
|
|
117540
117540
|
}
|
|
117541
117541
|
packageJson.sideEffects ??= false;
|
|
117542
117542
|
packageJson.files ??= ["dist/**/*"];
|
|
117543
|
-
if (options.includeSrc
|
|
117543
|
+
if (options.includeSrc === true && !packageJson.files.includes("src")) {
|
|
117544
117544
|
packageJson.files.push("src/**/*");
|
|
117545
117545
|
}
|
|
117546
117546
|
packageJson.publishConfig ??= {
|
|
@@ -117568,7 +117568,7 @@ ${Object.keys(options).map(
|
|
|
117568
117568
|
})
|
|
117569
117569
|
);
|
|
117570
117570
|
}
|
|
117571
|
-
if (options.includeSrc
|
|
117571
|
+
if (options.includeSrc === true) {
|
|
117572
117572
|
const files = globSync([
|
|
117573
117573
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
|
|
117574
117574
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.tsx"),
|
|
@@ -117356,7 +117356,7 @@ ${Object.keys(options).map(
|
|
|
117356
117356
|
output: "."
|
|
117357
117357
|
});
|
|
117358
117358
|
}
|
|
117359
|
-
if (options.includeSrc
|
|
117359
|
+
if (options.includeSrc === true) {
|
|
117360
117360
|
assets.push({
|
|
117361
117361
|
input: sourceRoot,
|
|
117362
117362
|
glob: "**/{*.ts,*.tsx,*.js,*.jsx}",
|
|
@@ -117528,7 +117528,7 @@ ${Object.keys(options).map(
|
|
|
117528
117528
|
packageJson.main ??= "dist/legacy/index.cjs";
|
|
117529
117529
|
packageJson.module ??= "dist/legacy/index.js";
|
|
117530
117530
|
options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
|
|
117531
|
-
if (options.includeSrc
|
|
117531
|
+
if (options.includeSrc === true) {
|
|
117532
117532
|
let distSrc = sourceRoot.replace(projectRoot, "");
|
|
117533
117533
|
if (distSrc.startsWith("/")) {
|
|
117534
117534
|
distSrc = distSrc.substring(1);
|
|
@@ -117540,7 +117540,7 @@ ${Object.keys(options).map(
|
|
|
117540
117540
|
}
|
|
117541
117541
|
packageJson.sideEffects ??= false;
|
|
117542
117542
|
packageJson.files ??= ["dist/**/*"];
|
|
117543
|
-
if (options.includeSrc
|
|
117543
|
+
if (options.includeSrc === true && !packageJson.files.includes("src")) {
|
|
117544
117544
|
packageJson.files.push("src/**/*");
|
|
117545
117545
|
}
|
|
117546
117546
|
packageJson.publishConfig ??= {
|
|
@@ -117568,7 +117568,7 @@ ${Object.keys(options).map(
|
|
|
117568
117568
|
})
|
|
117569
117569
|
);
|
|
117570
117570
|
}
|
|
117571
|
-
if (options.includeSrc
|
|
117571
|
+
if (options.includeSrc === true) {
|
|
117572
117572
|
const files = globSync([
|
|
117573
117573
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
|
|
117574
117574
|
(0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.tsx"),
|