vovk-cli 0.0.1-draft.270 → 0.0.1-draft.272

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.
@@ -238,8 +238,9 @@ function refToTypeName(ref) {
238
238
  const name = parts[parts.length - 1];
239
239
  return upperFirst(camelCase(name));
240
240
  }
241
+ // Update the capitalize function to use lodash methods for consistency
241
242
  function capitalize(str) {
242
- return str.charAt(0).toUpperCase() + str.slice(1);
243
+ return upperFirst(camelCase(str));
243
244
  }
244
245
  function wrapUnionType(type) {
245
246
  // Wrap union types in parentheses for array types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.270",
3
+ "version": "0.0.1-draft.272",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },