@powerhousedao/codegen 0.3.0 → 0.3.1

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.
@@ -97,9 +97,9 @@ function createProject(projectName, documentModelsDir, editorsDir) {
97
97
  runCmd('git init');
98
98
  try {
99
99
  fs_1.default.mkdirSync(path_1.default.join(appPath, documentModelsDir));
100
- fs_1.default.mkdirSync(path_1.default.join(appPath, documentModelsDir, 'index.ts'));
100
+ fs_1.default.writeFileSync(path_1.default.join(appPath, documentModelsDir, 'index.ts'), '');
101
101
  fs_1.default.mkdirSync(path_1.default.join(appPath, editorsDir));
102
- fs_1.default.mkdirSync(path_1.default.join(appPath, editorsDir, 'index.ts'));
102
+ fs_1.default.writeFileSync(path_1.default.join(appPath, editorsDir, 'index.ts'), '');
103
103
  }
104
104
  catch (error) {
105
105
  if (!error.message.includes('EEXIST')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/codegen",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "private": false,
6
6
  "main": "dist/index.js",