conventional-changelog-storm-software 0.2.4 → 0.2.5

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.2.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)
24
+ [![Version](https://img.shields.io/badge/version-0.2.3-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/dist/index.cjs CHANGED
@@ -173,7 +173,7 @@ var isAbsolute = function(p3) {
173
173
  return _IS_ABSOLUTE_RE.test(p3);
174
174
  };
175
175
 
176
- // ../config-tools/dist/chunk-M7ENPKGB.js
176
+ // ../config-tools/dist/chunk-4A2P7H63.js
177
177
  var rootFiles = [
178
178
  "storm-workspace.json",
179
179
  "storm-workspace.yaml",
@@ -211,6 +211,7 @@ var rootFiles = [
211
211
  var rootDirectories = [
212
212
  ".storm-workspace",
213
213
  ".nx",
214
+ ".git",
214
215
  ".github",
215
216
  ".vscode",
216
217
  ".verdaccio"
@@ -2294,6 +2295,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2294
2295
  configFile,
2295
2296
  defaultConfig
2296
2297
  );
2298
+ if (!configInput.variant) {
2299
+ configInput.variant = fs.existsSync(joinPaths(_workspaceRoot, "nx.json")) || fs.existsSync(joinPaths(_workspaceRoot, ".nx")) || fs.existsSync(joinPaths(_workspaceRoot, "lerna.json")) || fs.existsSync(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
2300
+ }
2297
2301
  try {
2298
2302
  result = applyDefaultConfig(
2299
2303
  await Yl.parseAsync(configInput)
@@ -2339,7 +2343,7 @@ ${formatLogMessage(config)}`,
2339
2343
  return config;
2340
2344
  };
2341
2345
 
2342
- // ../config-tools/dist/chunk-ANURULFO.js
2346
+ // ../config-tools/dist/chunk-GNSE4ODH.js
2343
2347
  var getConfig = (workspaceRoot, skipLogs = false) => {
2344
2348
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
2345
2349
  };
package/dist/index.js CHANGED
@@ -165,7 +165,7 @@ var isAbsolute = function(p3) {
165
165
  return _IS_ABSOLUTE_RE.test(p3);
166
166
  };
167
167
 
168
- // ../config-tools/dist/chunk-M7ENPKGB.js
168
+ // ../config-tools/dist/chunk-4A2P7H63.js
169
169
  var rootFiles = [
170
170
  "storm-workspace.json",
171
171
  "storm-workspace.yaml",
@@ -203,6 +203,7 @@ var rootFiles = [
203
203
  var rootDirectories = [
204
204
  ".storm-workspace",
205
205
  ".nx",
206
+ ".git",
206
207
  ".github",
207
208
  ".vscode",
208
209
  ".verdaccio"
@@ -2286,6 +2287,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2286
2287
  configFile,
2287
2288
  defaultConfig
2288
2289
  );
2290
+ if (!configInput.variant) {
2291
+ configInput.variant = existsSync(joinPaths(_workspaceRoot, "nx.json")) || existsSync(joinPaths(_workspaceRoot, ".nx")) || existsSync(joinPaths(_workspaceRoot, "lerna.json")) || existsSync(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
2292
+ }
2289
2293
  try {
2290
2294
  result = applyDefaultConfig(
2291
2295
  await Yl.parseAsync(configInput)
@@ -2331,7 +2335,7 @@ ${formatLogMessage(config)}`,
2331
2335
  return config;
2332
2336
  };
2333
2337
 
2334
- // ../config-tools/dist/chunk-ANURULFO.js
2338
+ // ../config-tools/dist/chunk-GNSE4ODH.js
2335
2339
  var getConfig = (workspaceRoot, skipLogs = false) => {
2336
2340
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
2337
2341
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conventional-changelog-storm-software",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "type": "module",
5
5
  "description": "This package contains the shared conventional-changelog configuration used in Storm Software projects.",
6
6
  "repository": {
@@ -217,8 +217,8 @@
217
217
  "conventional-changelog-conventionalcommits": { "optional": false }
218
218
  },
219
219
  "dependencies": {
220
- "@storm-software/config": "^1.132.2",
221
- "@storm-software/config-tools": "^1.186.4",
220
+ "@storm-software/config": "^1.133.0",
221
+ "@storm-software/config-tools": "^1.187.0",
222
222
  "compare-func": "^2.0.0",
223
223
  "conventional-changelog-conventionalcommits": "^9.1.0",
224
224
  "conventional-changelog-writer": "^8.2.0",
@@ -232,5 +232,5 @@
232
232
  },
233
233
  "publishConfig": { "access": "public" },
234
234
  "sideEffects": false,
235
- "gitHead": "c5ba51816a1c46071312edc1f6bbe0762a796d61"
235
+ "gitHead": "4d44644a8d56ed0d61e060cf74147fcc83210a5c"
236
236
  }