create-rubrica 0.3.8 → 0.3.10
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/index.js +6 -11
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1276,18 +1276,13 @@ async function runSetup(deps = {}) {
|
|
|
1276
1276
|
return;
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
|
-
|
|
1280
|
-
try {
|
|
1281
|
-
execFileSync(
|
|
1282
|
-
"npx",
|
|
1283
|
-
["convex", "run", "contractTemplates:seedDefaultTemplate"],
|
|
1284
|
-
{ stdio: "pipe" }
|
|
1285
|
-
);
|
|
1286
|
-
} catch {
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1279
|
+
const enabledPlugins = Object.entries(plugins).filter(([, on]) => on).map(([id]) => id);
|
|
1289
1280
|
try {
|
|
1290
|
-
execFileSync(
|
|
1281
|
+
execFileSync(
|
|
1282
|
+
"npx",
|
|
1283
|
+
["convex", "run", "seed:seedAll", "--data", JSON.stringify({ enabledPlugins })],
|
|
1284
|
+
{ stdio: "pipe" }
|
|
1285
|
+
);
|
|
1291
1286
|
} catch {
|
|
1292
1287
|
}
|
|
1293
1288
|
const identity = state.identity;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rubrica",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"description": "CLI para criar e configurar projetos Rubrica — portfólio profissional com React + Convex",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,11 +30,6 @@
|
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=20"
|
|
32
32
|
},
|
|
33
|
-
"scripts": {
|
|
34
|
-
"build": "tsup",
|
|
35
|
-
"test": "vitest run",
|
|
36
|
-
"dev": "tsup --watch"
|
|
37
|
-
},
|
|
38
33
|
"dependencies": {
|
|
39
34
|
"@clack/prompts": "^0.9.1",
|
|
40
35
|
"jose": "^6.0.10"
|
|
@@ -47,5 +42,10 @@
|
|
|
47
42
|
"tsup": "^8.3.0",
|
|
48
43
|
"typescript": "^5.7.0",
|
|
49
44
|
"vitest": "^3.0.0"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsup",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"dev": "tsup --watch"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|