ondc-code-generator 0.5.4 → 0.5.41

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.
@@ -107,7 +107,7 @@ export class ConfigCompiler {
107
107
  const template = readFileSync(path.resolve(__dirname, "../generator/generators/typescript/templates/schema-template.mustache"), "utf-8");
108
108
  console.log(actions);
109
109
  const l0 = Mustache.render(template, { actions });
110
- await writeAndFormatCode(`./generated/L0-schemas`, `index.ts`, l0, "typescript");
110
+ await writeAndFormatCode(targetPath, `index.ts`, l0, "typescript");
111
111
  }
112
112
  };
113
113
  this.generateValidPaths = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ondc-code-generator",
3
- "version": "0.5.4",
3
+ "version": "0.5.41",
4
4
  "description": "generate code from build.yaml ",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",