create-rubrica 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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1560,7 +1560,11 @@ async function runSetup(deps = {}) {
1560
1560
 
1561
1561
  // src/index.ts
1562
1562
  async function runCli(argv, cwd) {
1563
- const [, , command, projectName] = argv;
1563
+ let [, , command, projectName] = argv;
1564
+ if (command && command !== "create" && command !== "config" && command !== "update" && command !== "setup") {
1565
+ projectName = command;
1566
+ command = "create";
1567
+ }
1564
1568
  intro3("Rubrica CLI");
1565
1569
  if (command === "create") {
1566
1570
  if (!projectName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rubrica",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CLI para criar e configurar projetos Rubrica — portfólio profissional com React + Convex",
5
5
  "type": "module",
6
6
  "bin": {