@storm-software/workspace-tools 1.32.1 → 1.33.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.32.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.32.0...workspace-tools-v1.32.1) (2023-12-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **config-tools:** Remove unused dependencies ([ef00034](https://github.com/storm-software/storm-ops/commit/ef00034e8a79b81147056ee32a12eaa991a0d4f3))
7
+
1
8
  # [1.32.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.31.17...workspace-tools-v1.32.0) (2023-12-21)
2
9
 
3
10
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
16
16
 
17
17
  <h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
18
18
 
19
- [![Version](https://img.shields.io/badge/version-1.31.9-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.32.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
21
21
 
22
22
  <h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
package/index.js CHANGED
@@ -49288,7 +49288,7 @@ var require_dist2 = __commonJS({
49288
49288
  }
49289
49289
  }
49290
49290
  var req = false ? createRequire(import_meta.url) : require;
49291
- var findUp = (name, startDir, stopDir = import_path5.default.parse(startDir).root) => {
49291
+ var findUp2 = (name, startDir, stopDir = import_path5.default.parse(startDir).root) => {
49292
49292
  let dir = startDir;
49293
49293
  while (dir !== stopDir) {
49294
49294
  const file = import_path5.default.join(dir, name);
@@ -49306,13 +49306,13 @@ var require_dist2 = __commonJS({
49306
49306
  var resolveTsConfigFromFile = (cwd, filename) => {
49307
49307
  if (import_path5.default.isAbsolute(filename))
49308
49308
  return import_fs5.default.existsSync(filename) ? filename : null;
49309
- return findUp(filename, cwd);
49309
+ return findUp2(filename, cwd);
49310
49310
  };
49311
49311
  var resolveTsConfigFromExtends = (cwd, name) => {
49312
49312
  if (import_path5.default.isAbsolute(name))
49313
49313
  return import_fs5.default.existsSync(name) ? name : null;
49314
49314
  if (name.startsWith("."))
49315
- return findUp(name, cwd);
49315
+ return findUp2(name, cwd);
49316
49316
  const id = req.resolve(name, { paths: [cwd] });
49317
49317
  return id;
49318
49318
  };
@@ -106487,15 +106487,15 @@ var rootFiles = [
106487
106487
  "pnpm-lock.yml",
106488
106488
  "bun.lockb"
106489
106489
  ];
106490
- function findWorkspaceRootSafe(pathInsideMonorepo) {
106490
+ function findWorkspaceRootSafeSync(pathInsideMonorepo) {
106491
106491
  return process.env.STORM_WORKSPACE_ROOT ? process.env.STORM_WORKSPACE_ROOT : process.env.NX_WORKSPACE_ROOT_PATH ? process.env.NX_WORKSPACE_ROOT_PATH : findUpSync(rootFiles, {
106492
106492
  cwd: pathInsideMonorepo ?? process.cwd(),
106493
106493
  type: "file",
106494
106494
  limit: 1
106495
106495
  });
106496
106496
  }
106497
- function findWorkspaceRoot(pathInsideMonorepo) {
106498
- const result = findWorkspaceRootSafe(pathInsideMonorepo);
106497
+ function findWorkspaceRootSync(pathInsideMonorepo) {
106498
+ const result = findWorkspaceRootSafeSync(pathInsideMonorepo);
106499
106499
  if (!result) {
106500
106500
  throw new Error(
106501
106501
  `Cannot find workspace root upwards from known path. Files search list includes:
@@ -110179,7 +110179,7 @@ var getDefaultConfig = (config = {}, root) => {
110179
110179
  let repository = "https://github.com/storm-software/storm-stack";
110180
110180
  let license = DefaultStormConfig.license;
110181
110181
  let homepage = DefaultStormConfig.homepage;
110182
- const workspaceRoot = findWorkspaceRoot(root);
110182
+ const workspaceRoot = findWorkspaceRootSync(root);
110183
110183
  if ((0, import_fs.existsSync)((0, import_path.join)(workspaceRoot, "package.json"))) {
110184
110184
  const file = (0, import_fs.readFileSync)((0, import_path.join)(workspaceRoot, "package.json"), {
110185
110185
  encoding: "utf-8"