create-vidra-app 0.1.0 → 0.1.1

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/cli.js CHANGED
@@ -723,7 +723,7 @@ var formatExecError2 = (error) => {
723
723
  };
724
724
 
725
725
  // src/cli.ts
726
- var VERSION3 = "0.1.0";
726
+ var VERSION3 = "0.1.1";
727
727
  var printHelp = () => {
728
728
  console.log(`
729
729
  ${chalk5.bold("vidra")} ${chalk5.dim(`v${VERSION3}`)}
package/dist/index.js CHANGED
@@ -200,9 +200,11 @@ var main = async () => {
200
200
  `dotnet sln ${slnFile} add src/${projectName}.Host/${projectName}.Host.csproj`,
201
201
  root
202
202
  );
203
- const uiDir = path2.join(root, "ui");
204
203
  console.log(chalk2.dim(" Installing npm dependencies..."));
205
- const npmOk = tryExec("npm install", uiDir);
204
+ const uiDir = path2.join(root, "ui");
205
+ const rootNpmOk = tryExec("npm install", root);
206
+ const uiNpmOk = tryExec("npm install", uiDir);
207
+ const npmOk = rootNpmOk && uiNpmOk;
206
208
  console.log();
207
209
  console.log(chalk2.green(" Done! ") + "Your Vidra app is ready.\n");
208
210
  if (localFeedExists) {
@@ -225,7 +227,7 @@ var main = async () => {
225
227
  console.log();
226
228
  if (!npmOk) {
227
229
  console.log(
228
- chalk2.yellow(" Note: ") + "`npm install` had errors. Run " + chalk2.cyan("cd ui && npm install") + " to retry.\n"
230
+ chalk2.yellow(" Note: ") + "`npm install` had errors. Re-run " + chalk2.cyan("npm install") + " in the project root and in " + chalk2.cyan("ui/") + " to retry.\n"
229
231
  );
230
232
  }
231
233
  console.log(chalk2.bold(" Next steps:\n"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vidra-app",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Scaffold a new Vidra application (React + .NET MAUI)",
5
5
  "type": "module",
6
6
  "bin": {