@storm-software/workspace-tools 1.49.11 → 1.49.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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.49.12 (2024-01-24)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Resolved issue with duplicate `addtionalEntryPoint` export in package.json ([84685ad5](https://github.com/storm-software/storm-ops/commit/84685ad5))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.49.11 (2024-01-24)
2
14
 
3
15
 
package/index.js CHANGED
@@ -139451,10 +139451,7 @@ ${externalDependencies.map((dep) => {
139451
139451
  "./package.json": "./package.json"
139452
139452
  };
139453
139453
  for (const additionalEntryPoint of options.additionalEntryPoints) {
139454
- packageJson.exports[`./${(0, import_devkit4.joinPathFragments)(
139455
- distPaths[0],
139456
- removeExtension(additionalEntryPoint).replace(sourceRoot, "")
139457
- )}`] = {
139454
+ packageJson.exports[`./${removeExtension(additionalEntryPoint).replace(sourceRoot, "")}`] = {
139458
139455
  import: {
139459
139456
  types: `./${(0, import_devkit4.joinPathFragments)(
139460
139457
  distPaths[0],
@@ -139487,27 +139484,6 @@ ${externalDependencies.map((dep) => {
139487
139484
  }
139488
139485
  };
139489
139486
  }
139490
- packageJson.exports = Object.keys(entry).reduce((ret, key) => {
139491
- let packageJsonKey = key.startsWith("./") ? key : `./${key}`;
139492
- packageJsonKey = packageJsonKey.replaceAll("/index", "");
139493
- if (!ret[packageJsonKey]) {
139494
- ret[packageJsonKey] = {
139495
- import: {
139496
- types: `./${distPaths[0]}index.d.ts`,
139497
- default: `./${distPaths[0]}${key}.js`
139498
- },
139499
- require: {
139500
- types: `./${distPaths[0]}index.d.cts`,
139501
- default: `./${distPaths[0]}${key}.cjs`
139502
- },
139503
- default: {
139504
- types: `./${distPaths[0]}index.d.ts`,
139505
- default: `./${distPaths[0]}${key}.js`
139506
- }
139507
- };
139508
- }
139509
- return ret;
139510
- }, packageJson.exports);
139511
139487
  packageJson.funding ??= workspacePackageJson.funding;
139512
139488
  packageJson.types ??= `${distPaths.length > 1 ? distPaths[1] : distPaths[0]}index.d.ts`;
139513
139489
  packageJson.typings ??= `${distPaths.length > 1 ? distPaths[1] : distPaths[0]}index.d.ts`;