vovk 0.2.3-beta.30 → 0.2.3-beta.31

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.
@@ -19,7 +19,7 @@ function canRequire(moduleName) {
19
19
  async function generateClient(rcPath) {
20
20
  const vovkrc = getVovkrc(rcPath);
21
21
  const jsonPath = '../../.vovk.json';
22
- const fetcherPath = vovkrc.fetcher.startsWith('.') ? path.join(process.cwd(), vovkrc.fetcher) : vovkrc.fetcher;
22
+ const fetcherPath = vovkrc.fetcher.startsWith('.') ? path.join(__dirname, '../..', vovkrc.fetcher) : vovkrc.fetcher;
23
23
  const streamFetcherPath = vovkrc.streamFetcher.startsWith('.')
24
24
  ? path.join(process.cwd(), vovkrc.streamFetcher)
25
25
  : vovkrc.streamFetcher;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "0.2.3-beta.30",
3
+ "version": "0.2.3-beta.31",
4
4
  "description": "Structural add-on for Next.js",
5
5
  "bin": "./cli/index.js",
6
6
  "scripts": {