@lytjs/cli 6.8.0 → 6.9.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/lyt.mjs CHANGED
@@ -1997,16 +1997,7 @@ async function runCli(rawArgs = process.argv.slice(2)) {
1997
1997
  });
1998
1998
  break;
1999
1999
  case "add": {
2000
- const addTypes = [
2001
- "component",
2002
- "page",
2003
- "store",
2004
- "directive",
2005
- "composable",
2006
- "util",
2007
- "middleware",
2008
- "hook"
2009
- ];
2000
+ const addTypes = ["component", "page", "store", "directive", "composable", "util", "middleware", "hook"];
2010
2001
  if (!args[0] || !addTypes.includes(args[0])) {
2011
2002
  logger.error("Usage: lyt add <type> <name>");
2012
2003
  logger.info("Types: component, page, store, directive, composable, util, middleware, hook");