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