create-rubrica 0.3.11 → 0.3.12

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1280,10 +1280,12 @@ async function runSetup(deps = {}) {
1280
1280
  try {
1281
1281
  execFileSync(
1282
1282
  "npx",
1283
- ["convex", "run", "seed:seedAll", "--data", JSON.stringify({ enabledPlugins })],
1283
+ ["convex", "run", "seed:seedAll", JSON.stringify({ enabledPlugins })],
1284
1284
  { stdio: "pipe" }
1285
1285
  );
1286
- } catch {
1286
+ } catch (err) {
1287
+ const output = err.stdout?.toString() || err.stderr?.toString() || err.message;
1288
+ log3.warn(`seedAll falhou: ${output.trim() || "erro desconhecido"} \u2014 rode 'npx convex run seed:seedAll "{...}"' manualmente depois.`);
1287
1289
  }
1288
1290
  const identity = state.identity;
1289
1291
  if (identity?.siteName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rubrica",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "CLI para criar e configurar projetos Rubrica — portfólio profissional com React + Convex",
5
5
  "type": "module",
6
6
  "bin": {