@lytjs/cli 6.8.0 → 6.9.0

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.cjs CHANGED
@@ -2018,16 +2018,7 @@ async function runCli(rawArgs = process.argv.slice(2)) {
2018
2018
  });
2019
2019
  break;
2020
2020
  case "add": {
2021
- const addTypes = [
2022
- "component",
2023
- "page",
2024
- "store",
2025
- "directive",
2026
- "composable",
2027
- "util",
2028
- "middleware",
2029
- "hook"
2030
- ];
2021
+ const addTypes = ["component", "page", "store", "directive", "composable", "util", "middleware", "hook"];
2031
2022
  if (!args[0] || !addTypes.includes(args[0])) {
2032
2023
  logger.error("Usage: lyt add <type> <name>");
2033
2024
  logger.info("Types: component, page, store, directive, composable, util, middleware, hook");