@storm-software/unbuild 0.40.0 → 0.41.0

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/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.39.16-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.40.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/unbuild.cjs CHANGED
@@ -1526,7 +1526,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
1526
1526
  }, packageJson.dependencies ?? {});
1527
1527
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
1528
1528
  if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name) && packageJson.dependencies?.[localPackage.name] === void 0) {
1529
- ret[localPackage.name] = localPackage.version || "0.0.1";
1529
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
1530
1530
  }
1531
1531
  return ret;
1532
1532
  }, packageJson.devDependencies ?? {});
@@ -1535,8 +1535,8 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
1535
1535
  }
1536
1536
  return packageJson;
1537
1537
  }, "addPackageDependencies");
1538
- var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1539
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
1538
+ var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1539
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
1540
1540
  const workspacePackageJsonContent = await (0, import_promises3.readFile)(joinPaths(workspaceRoot, "package.json"), "utf8");
1541
1541
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
1542
1542
  packageJson.type ??= "module";
package/bin/unbuild.js CHANGED
@@ -1505,7 +1505,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
1505
1505
  }, packageJson.dependencies ?? {});
1506
1506
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
1507
1507
  if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name) && packageJson.dependencies?.[localPackage.name] === void 0) {
1508
- ret[localPackage.name] = localPackage.version || "0.0.1";
1508
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
1509
1509
  }
1510
1510
  return ret;
1511
1511
  }, packageJson.devDependencies ?? {});
@@ -1514,8 +1514,8 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
1514
1514
  }
1515
1515
  return packageJson;
1516
1516
  }, "addPackageDependencies");
1517
- var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1518
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
1517
+ var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1518
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
1519
1519
  const workspacePackageJsonContent = await readFile3(joinPaths(workspaceRoot, "package.json"), "utf8");
1520
1520
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
1521
1521
  packageJson.type ??= "module";
package/dist/build.cjs CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkYIDTYRQYcjs = require('./chunk-YIDTYRQY.cjs');
8
+ var _chunkZ5BWDZVEcjs = require('./chunk-Z5BWDZVE.cjs');
9
9
  require('./chunk-ITHOVA3D.cjs');
10
10
  require('./chunk-3BXXHK3F.cjs');
11
11
  require('./chunk-F4MPFQDI.cjs');
@@ -19,4 +19,4 @@ require('./chunk-BGYQAVKQ.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.build = _chunkYIDTYRQYcjs.build; exports.cleanOutputPath = _chunkYIDTYRQYcjs.cleanOutputPath; exports.copyBuildAssets = _chunkYIDTYRQYcjs.copyBuildAssets; exports.executeUnbuild = _chunkYIDTYRQYcjs.executeUnbuild; exports.generatePackageJson = _chunkYIDTYRQYcjs.generatePackageJson; exports.resolveOptions = _chunkYIDTYRQYcjs.resolveOptions;
22
+ exports.build = _chunkZ5BWDZVEcjs.build; exports.cleanOutputPath = _chunkZ5BWDZVEcjs.cleanOutputPath; exports.copyBuildAssets = _chunkZ5BWDZVEcjs.copyBuildAssets; exports.executeUnbuild = _chunkZ5BWDZVEcjs.executeUnbuild; exports.generatePackageJson = _chunkZ5BWDZVEcjs.generatePackageJson; exports.resolveOptions = _chunkZ5BWDZVEcjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-J4UJGE35.js";
8
+ } from "./chunk-LYJOJ45A.js";
9
9
  import "./chunk-DUDE4LYM.js";
10
10
  import "./chunk-SMAV5VSP.js";
11
11
  import "./chunk-HZNOKNKE.js";
@@ -164,7 +164,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
164
164
  }, packageJson.dependencies ?? {});
165
165
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
166
166
  if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name) && packageJson.dependencies?.[localPackage.name] === void 0) {
167
- ret[localPackage.name] = localPackage.version || "0.0.1";
167
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
168
168
  }
169
169
  return ret;
170
170
  }, packageJson.devDependencies ?? {});
@@ -173,8 +173,8 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
173
173
  }
174
174
  return packageJson;
175
175
  }, "addPackageDependencies");
176
- var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
177
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
176
+ var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
177
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
178
178
  const workspacePackageJsonContent = await readFile2(joinPaths(workspaceRoot, "package.json"), "utf8");
179
179
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
180
180
  packageJson.type ??= "module";
@@ -164,7 +164,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
164
164
  }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
165
165
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
166
166
  if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _20 => _20.includes, 'call', _21 => _21(localPackage.name)]) && _optionalChain([packageJson, 'access', _22 => _22.dependencies, 'optionalAccess', _23 => _23[localPackage.name]]) === void 0) {
167
- ret[localPackage.name] = localPackage.version || "0.0.1";
167
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
168
168
  }
169
169
  return ret;
170
170
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
@@ -173,8 +173,8 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
173
173
  }
174
174
  return packageJson;
175
175
  }, "addPackageDependencies");
176
- var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
177
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkPWE7CANFcjs.findWorkspaceRoot.call(void 0, );
176
+ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
177
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkPWE7CANFcjs.findWorkspaceRoot.call(void 0, );
178
178
  const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkPWE7CANFcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
179
179
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
180
180
  packageJson.type ??= "module";
package/dist/index.cjs CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkYIDTYRQYcjs = require('./chunk-YIDTYRQY.cjs');
8
+ var _chunkZ5BWDZVEcjs = require('./chunk-Z5BWDZVE.cjs');
9
9
 
10
10
 
11
11
 
@@ -30,4 +30,4 @@ require('./chunk-BGYQAVKQ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.build = _chunkYIDTYRQYcjs.build; exports.clean = _chunkITHOVA3Dcjs.clean; exports.cleanDirectories = _chunkITHOVA3Dcjs.cleanDirectories; exports.cleanOutputPath = _chunkYIDTYRQYcjs.cleanOutputPath; exports.copyBuildAssets = _chunkYIDTYRQYcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkNVI74UAFcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkYIDTYRQYcjs.executeUnbuild; exports.generatePackageJson = _chunkYIDTYRQYcjs.generatePackageJson; exports.loadConfig = _chunkNVI74UAFcjs.loadConfig; exports.resolveOptions = _chunkYIDTYRQYcjs.resolveOptions;
33
+ exports.build = _chunkZ5BWDZVEcjs.build; exports.clean = _chunkITHOVA3Dcjs.clean; exports.cleanDirectories = _chunkITHOVA3Dcjs.cleanDirectories; exports.cleanOutputPath = _chunkZ5BWDZVEcjs.cleanOutputPath; exports.copyBuildAssets = _chunkZ5BWDZVEcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkNVI74UAFcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkZ5BWDZVEcjs.executeUnbuild; exports.generatePackageJson = _chunkZ5BWDZVEcjs.generatePackageJson; exports.loadConfig = _chunkNVI74UAFcjs.loadConfig; exports.resolveOptions = _chunkZ5BWDZVEcjs.resolveOptions;
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-J4UJGE35.js";
8
+ } from "./chunk-LYJOJ45A.js";
9
9
  import {
10
10
  clean,
11
11
  cleanDirectories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/unbuild",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "type": "module",
5
5
  "description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -141,7 +141,7 @@
141
141
  "@swc/core": "1.7.26",
142
142
  "nx": "20.8.0",
143
143
  "rollup": "^4.29.1",
144
- "typescript": "^5.7.2"
144
+ "typescript": "^5.8.3"
145
145
  },
146
146
  "peerDependenciesMeta": {
147
147
  "@nx/devkit": { "optional": false },
@@ -171,8 +171,8 @@
171
171
  "@nx/js": "20.8.0",
172
172
  "@types/node": "^22.10.2",
173
173
  "nx": "20.8.0",
174
- "tsup": "8.3.5",
175
- "typescript": "^5.7.2"
174
+ "tsup": "8.4.0",
175
+ "typescript": "^5.8.3"
176
176
  },
177
177
  "publishConfig": { "access": "public" },
178
178
  "sideEffects": false