vovk 0.2.3-beta.72 → 0.2.3-beta.73

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.
@@ -67,7 +67,10 @@ const { default: validateOnClient = null } = ${
67
67
  };
68
68
 
69
69
  `;
70
- const metadataJson = await fs.readFile(path.join(__dirname, localJsonPath), 'utf-8').catch(() => null);
70
+ const metadataJson = await fs.readFile(localJsonPath, 'utf-8').catch(() => null);
71
+
72
+ if(!metadataJson) console.warn(` 🐺 No .vovk.json file found in ${localJsonPath}`);
73
+
71
74
  const metadata = JSON.parse(metadataJson || '{}');
72
75
 
73
76
  for (const key of Object.keys(metadata)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "0.2.3-beta.72",
3
+ "version": "0.2.3-beta.73",
4
4
  "description": "Structural add-on for Next.js",
5
5
  "bin": "./cli/index.js",
6
6
  "scripts": {