vovk-cli 0.0.1-draft.237 → 0.0.1-draft.239

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.
@@ -13,7 +13,9 @@ const schema = {
13
13
  segments,
14
14
  meta: {
15
15
  apiRoot: '<%= t.apiRoot %>', // for debugging purposes
16
+ <% if(t.isVovkProject) { %>
16
17
  ...meta
18
+ <% } %>
17
19
  }
18
20
  };
19
21
 
@@ -17,6 +17,8 @@ export const schema = {
17
17
  meta: {
18
18
  $schema: '<%- t.VovkSchemaIdEnum.META %>',
19
19
  apiRoot: '<%= t.apiRoot %>', // for debugging purposes
20
+ <% if(t.isVovkProject) { %>
20
21
  ...meta,
22
+ <% } %>
21
23
  }
22
24
  };
@@ -108,7 +108,7 @@ export async function generate({ isEnsuringClient = false, projectInfo, forceNot
108
108
  };
109
109
  }
110
110
  const isNodeNextResolution = ['node16', 'nodenext'].includes((await getTsconfig(cwd)?.config?.compilerOptions?.moduleResolution?.toLowerCase()) ?? '');
111
- const isVovkProject = !srcRoot;
111
+ const isVovkProject = !!srcRoot;
112
112
  const isComposedEnabled = cliGenerateOptions?.composedOnly ||
113
113
  !!cliGenerateOptions?.composedFrom ||
114
114
  !!cliGenerateOptions?.composedOut ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.237",
3
+ "version": "0.0.1-draft.239",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },