vovk-cli 0.0.1-draft.358 → 0.0.1-draft.359

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.
@@ -172,11 +172,8 @@ export class Init {
172
172
  lang: lang ?? [],
173
173
  });
174
174
  }
175
- if (!(await getFileSystemEntryType(path.join(root, 'package.json')))) {
176
- throw new Error(`package.json not found at ${root}. Run "npx create-next-app" to create a new Next.js project.`);
177
- }
178
- if (!(await getFileSystemEntryType(path.join(root, 'tsconfig.json')))) {
179
- throw new Error(`tsconfig.json not found at ${root}. Run "npx tsc --init" to create a new tsconfig.json file.`);
175
+ if (pkgJson && !(await getFileSystemEntryType(path.join(root, 'tsconfig.json')))) {
176
+ log.warn(`tsconfig.json not found at ${root}. Run "npx tsc --init" to create a new tsconfig.json file.`);
180
177
  }
181
178
  if (configPaths.length) {
182
179
  if (!(await confirm({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.358",
3
+ "version": "0.0.1-draft.359",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },
@@ -36,8 +36,8 @@
36
36
  "homepage": "https://vovk.dev",
37
37
  "peerDependencies": {
38
38
  "vovk": "^3.0.0-draft.419",
39
- "vovk-ajv": "^0.0.0-draft.101",
40
- "vovk-client": "^0.0.4-draft.129"
39
+ "vovk-ajv": "^0.0.0-draft.102",
40
+ "vovk-client": "^0.0.4-draft.130"
41
41
  },
42
42
  "optionalDependencies": {
43
43
  "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.36"