type-crafter 0.13.3 → 0.13.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21360,7 +21360,7 @@ function formatModulePath(relativePath, writtenAt, config) {
21360
21360
  }
21361
21361
  const formattedPath = path.replace(/\//g, config.separator);
21362
21362
  if (parentPart === '') {
21363
- return formattedPath;
21363
+ return config.selfRef + config.separator + formattedPath;
21364
21364
  }
21365
21365
  return parentPart + config.separator + formattedPath;
21366
21366
  }
@@ -22496,7 +22496,7 @@ async function runner(language, inputFilePath, outputDirectory, _typesWriterMode
22496
22496
  }
22497
22497
  }
22498
22498
  greeting();
22499
- const program = new Command().version('0.13.3');
22499
+ const program = new Command().version('0.13.4');
22500
22500
  program
22501
22501
  .command('generate')
22502
22502
  .description('Generate types for your language from a type spec file')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "type-crafter",
3
- "version": "0.13.3",
3
+ "version": "0.13.4",
4
4
  "description": "A tool to generate types from a yaml schema for any language",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",