@storm-software/untyped 0.22.2 → 0.22.3

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.22.1-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.22.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/untyped.cjs CHANGED
@@ -66366,6 +66366,7 @@ schemaRegistry.add(extensionsSchema, {
66366
66366
 
66367
66367
  // ../config-tools/src/create-storm-config.ts
66368
66368
  init_defu();
66369
+ var import_node_fs12 = require("fs");
66369
66370
 
66370
66371
  // ../config-tools/src/config-file/get-config-file.ts
66371
66372
  init_cjs_shims();
@@ -67511,6 +67512,7 @@ var rootFiles = [
67511
67512
  var rootDirectories = [
67512
67513
  ".storm-workspace",
67513
67514
  ".nx",
67515
+ ".git",
67514
67516
  ".github",
67515
67517
  ".vscode",
67516
67518
  ".verdaccio"
@@ -68391,6 +68393,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
68391
68393
  configFile,
68392
68394
  defaultConfig
68393
68395
  );
68396
+ if (!configInput.variant) {
68397
+ configInput.variant = (0, import_node_fs12.existsSync)(joinPaths(_workspaceRoot, "nx.json")) || (0, import_node_fs12.existsSync)(joinPaths(_workspaceRoot, ".nx")) || (0, import_node_fs12.existsSync)(joinPaths(_workspaceRoot, "lerna.json")) || (0, import_node_fs12.existsSync)(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
68398
+ }
68394
68399
  try {
68395
68400
  result = applyDefaultConfig(
68396
68401
  await workspaceConfigSchema.parseAsync(configInput)
package/bin/untyped.js CHANGED
@@ -66554,6 +66554,7 @@ schemaRegistry.add(extensionsSchema, {
66554
66554
 
66555
66555
  // ../config-tools/src/create-storm-config.ts
66556
66556
  init_defu();
66557
+ import { existsSync as existsSync7 } from "node:fs";
66557
66558
 
66558
66559
  // ../config-tools/src/config-file/get-config-file.ts
66559
66560
  init_esm_shims();
@@ -67696,6 +67697,7 @@ var rootFiles = [
67696
67697
  var rootDirectories = [
67697
67698
  ".storm-workspace",
67698
67699
  ".nx",
67700
+ ".git",
67699
67701
  ".github",
67700
67702
  ".vscode",
67701
67703
  ".verdaccio"
@@ -68576,6 +68578,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
68576
68578
  configFile,
68577
68579
  defaultConfig
68578
68580
  );
68581
+ if (!configInput.variant) {
68582
+ configInput.variant = existsSync7(joinPaths(_workspaceRoot, "nx.json")) || existsSync7(joinPaths(_workspaceRoot, ".nx")) || existsSync7(joinPaths(_workspaceRoot, "lerna.json")) || existsSync7(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
68583
+ }
68579
68584
  try {
68580
68585
  result = applyDefaultConfig(
68581
68586
  await workspaceConfigSchema.parseAsync(configInput)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/untyped",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "type": "module",
5
5
  "description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -197,5 +197,5 @@
197
197
  },
198
198
  "publishConfig": { "access": "public" },
199
199
  "sideEffects": false,
200
- "gitHead": "4685d950fde94a24f6739526637a100d134c3623"
200
+ "gitHead": "4d44644a8d56ed0d61e060cf74147fcc83210a5c"
201
201
  }