@storm-software/workspace-tools 1.43.11 → 1.43.12
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 +6 -0
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +6 -0
- package/src/executors/tsup-browser/executor.js +6 -0
- package/src/executors/tsup-neutral/executor.js +6 -0
- package/src/executors/tsup-node/executor.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.43.11](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.10...workspace-tools-v1.43.11) (2024-01-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **config-tools:** Fixed config value defaulting issue for booleans ([c54c60b](https://github.com/storm-software/storm-ops/commit/c54c60b1ddd533530571dd41fd9b6502c1cb2cb8))
|
|
7
|
+
|
|
1
8
|
## [1.43.10](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.9...workspace-tools-v1.43.10) (2024-01-17)
|
|
2
9
|
|
|
3
10
|
|
package/index.js
CHANGED
|
@@ -137851,7 +137851,9 @@ ${externalDependencies.map((dep) => {
|
|
|
137851
137851
|
}
|
|
137852
137852
|
return ret;
|
|
137853
137853
|
}, {});
|
|
137854
|
+
console.log("Conditional before checking entry points");
|
|
137854
137855
|
if (options.generatePackageJson !== false) {
|
|
137856
|
+
console.log("Checking entry points");
|
|
137855
137857
|
const projectGraph = (0, import_devkit3.readCachedProjectGraph)();
|
|
137856
137858
|
packageJson.dependencies = void 0;
|
|
137857
137859
|
for (const externalDependency of externalDependencies) {
|
|
@@ -137865,6 +137867,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137865
137867
|
packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
|
|
137866
137868
|
}
|
|
137867
137869
|
}
|
|
137870
|
+
console.log("Checking entry points - internalDependencies");
|
|
137868
137871
|
for (const packageName of internalDependencies) {
|
|
137869
137872
|
if (!packageJson?.devDependencies?.[packageName]) {
|
|
137870
137873
|
packageJson.dependencies ??= {};
|
|
@@ -137903,6 +137906,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137903
137906
|
},
|
|
137904
137907
|
"./package.json": "./package.json"
|
|
137905
137908
|
};
|
|
137909
|
+
console.log("Checking entry points - packageJson.exports");
|
|
137906
137910
|
packageJson.exports = Object.keys(entry).reduce((ret, key) => {
|
|
137907
137911
|
let packageJsonKey = key.startsWith("./") ? key : `./${key}`;
|
|
137908
137912
|
packageJsonKey = packageJsonKey.replaceAll("/index", "");
|
|
@@ -137959,6 +137963,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137959
137963
|
packageJson.keywords ??= workspacePackageJson.keywords;
|
|
137960
137964
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
137961
137965
|
packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_node_path3.join)("packages", context.projectName);
|
|
137966
|
+
console.log("Checking entry points - packageJsonPath");
|
|
137962
137967
|
const packageJsonPath = (0, import_node_path3.join)(context.root, options.outputPath, "package.json");
|
|
137963
137968
|
writeDebug(config, `\u26A1 Writing package.json file to: ${packageJsonPath}`);
|
|
137964
137969
|
(0, import_node_fs2.writeFileSync)(
|
|
@@ -137971,6 +137976,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137971
137976
|
} else {
|
|
137972
137977
|
writeWarning(config, "Skipping writing to package.json file");
|
|
137973
137978
|
}
|
|
137979
|
+
console.log("Checking entry points - options.includeSrc");
|
|
137974
137980
|
if (options.includeSrc === true) {
|
|
137975
137981
|
const files = globSync([
|
|
137976
137982
|
(0, import_devkit3.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
|