vize 0.717.0 → 0.719.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/cli.mjs CHANGED
@@ -1745,6 +1745,7 @@ async function initProject(options) {
1745
1745
  if (selection.editor) output(renderEditors());
1746
1746
  return plan;
1747
1747
  }
1748
+ /** Runs the `init` command and maps refusal or blocked features to a failing exit code. */
1748
1749
  async function runInitCli(args) {
1749
1750
  if (parseInitArgs(args).help) {
1750
1751
  process.stdout.write(initHelp());
@@ -1909,6 +1910,7 @@ function escapeRegExp(value) {
1909
1910
  }
1910
1911
  //#endregion
1911
1912
  //#region src/setup.ts
1913
+ /** Configures Vize in an existing Vite or Vite+ project. */
1912
1914
  function setupProject(options) {
1913
1915
  const root = path.resolve(options.root);
1914
1916
  const packagePath = path.join(root, "package.json");
@@ -1977,6 +1979,7 @@ function setupProject(options) {
1977
1979
  removeCommand
1978
1980
  };
1979
1981
  }
1982
+ /** Runs the `setup` command against parsed CLI arguments. */
1980
1983
  function runSetupCli(args) {
1981
1984
  if (args.includes("--help") || args.includes("-h")) {
1982
1985
  process.stdout.write(setupHelp());