vite-plus 0.1.21 → 0.1.23

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 (66) hide show
  1. package/AGENTS.md +1 -0
  2. package/binding/index.cjs +120 -52
  3. package/binding/index.d.cts +3232 -2
  4. package/dist/agent-aSGY0osq.js +2461 -0
  5. package/dist/bin.js +9 -14
  6. package/dist/cli-truncate-CWsmbK3p.js +867 -0
  7. package/dist/{compat-DdC7fHjB.js → compat-DXZgnEyq.js} +1 -1
  8. package/dist/config/bin.js +18 -5
  9. package/dist/constants-DCBWlNrn.js +33 -0
  10. package/dist/create/bin.js +215 -77
  11. package/dist/{define-config-cWg3Z2bC.d.ts → define-config-COdn-tsn.d.ts} +7 -5
  12. package/dist/define-config.cjs +1 -1
  13. package/dist/define-config.d.ts +1 -1
  14. package/dist/define-config.js +1 -1
  15. package/dist/dist-Bapm49IR.js +3 -0
  16. package/dist/{dist-DjG9AYbK.js → dist-BgQuvbtq.js} +136 -110
  17. package/dist/fmt.d.ts +1 -1
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/is-fullwidth-code-point-BUNlIICg.js +8 -0
  22. package/dist/lint.d.ts +1 -1
  23. package/dist/{log-update-CLxR0iRf.js → log-update-lyIiuflf.js} +111 -24
  24. package/dist/{main-A6UrSTYb.js → main-DpJl3LoU.js} +1 -28
  25. package/dist/migration/bin.js +71 -30
  26. package/dist/oxlint-plugin-config-B89iKTKN.js +37 -0
  27. package/dist/oxlint-plugin.d.ts +6 -0
  28. package/dist/oxlint-plugin.js +91 -0
  29. package/dist/pack-bin.js +1 -1
  30. package/dist/pack.d.ts +1 -1
  31. package/dist/{package-CrKanQYM.js → package-PmBUZ-ve.js} +2 -1
  32. package/dist/staged/bin.js +10 -10
  33. package/dist/strip-ansi-C3wrWz9t.js +853 -0
  34. package/dist/{agent-D2ocSU01.js → tsconfig-DlUVXT3J.js} +666 -2090
  35. package/dist/version.js +5 -5
  36. package/dist/versions.js +6 -6
  37. package/dist/{workspace-QXeJWs3P.js → workspace-DElv730L.js} +15 -15
  38. package/dist/wrap-ansi-CeQuiQ31.js +2 -0
  39. package/dist/{wrap-ansi-Dy0LjO7Q.js → wrap-ansi-k7Dn4VtV.js} +1 -1
  40. package/docs/config/run.md +39 -4
  41. package/docs/guide/cache.md +10 -1
  42. package/docs/guide/create.md +3 -1
  43. package/docs/guide/env.md +26 -1
  44. package/docs/guide/ide-integration.md +2 -2
  45. package/docs/guide/install.md +6 -0
  46. package/docs/guide/run.md +2 -0
  47. package/docs/guide/troubleshooting.md +5 -2
  48. package/docs/package.json +3 -1
  49. package/docs/pnpm-lock.yaml +798 -62
  50. package/package.json +27 -19
  51. package/templates/monorepo/_gitignore +1 -0
  52. package/dist/cli-truncate-DJcN4dJ8.js +0 -138
  53. package/dist/dist-D2_BiE1V.js +0 -3
  54. package/dist/slice-ansi-CwJYd1aw.js +0 -113
  55. package/dist/strip-ansi-D86nYqKl.js +0 -198
  56. package/dist/tsconfig-lBAWm4sf.js +0 -517
  57. package/dist/wrap-ansi-DbY7Idw_.js +0 -2
  58. /package/dist/{chunk-q7NCDQ7-.js → chunk-DnnnRqeS.js} +0 -0
  59. /package/dist/{define-config-GqLoRwH9.cjs → define-config-BR1Y88zz.cjs} +0 -0
  60. /package/dist/{define-config-B62DkkqH.js → define-config-BRC7qPNE.js} +0 -0
  61. /package/dist/{help-BtkjXtRM.js → help-YP84FSEz.js} +0 -0
  62. /package/dist/{lib-BamM40b7.js → lib-L3DWSRQp.js} +0 -0
  63. /package/dist/{pack-BcBvbQgt.d.ts → pack-Ciiho0Tq.d.ts} +0 -0
  64. /package/dist/{report-DbrfjWiP.js → report-DgSBQUdz.js} +0 -0
  65. /package/dist/{resolve-vite-config-C1KX9CZU.js → resolve-vite-config-TTvhycU1.js} +0 -0
  66. /package/dist/{terminal-CxTMfsxZ.js → terminal-uTv0ZaMr.js} +0 -0
@@ -1,16 +1,16 @@
1
- import { r as __toESM, t as __commonJSMin } from "../chunk-q7NCDQ7-.js";
2
- import { a as printHeader, n as errorMsg, r as log } from "../terminal-CxTMfsxZ.js";
3
- import { i as resolveViteConfig } from "../resolve-vite-config-C1KX9CZU.js";
4
- import { t as lib_default } from "../lib-BamM40b7.js";
5
- import { t as renderCliDoc } from "../help-BtkjXtRM.js";
1
+ import { r as __toESM, t as __commonJSMin } from "../chunk-DnnnRqeS.js";
2
+ import { a as printHeader, n as errorMsg, r as log } from "../terminal-uTv0ZaMr.js";
3
+ import { i as resolveViteConfig } from "../resolve-vite-config-TTvhycU1.js";
4
+ import { t as lib_default } from "../lib-L3DWSRQp.js";
5
+ import { t as renderCliDoc } from "../help-YP84FSEz.js";
6
6
  import { createRequire } from "node:module";
7
7
  import path, { delimiter, dirname, resolve } from "node:path";
8
8
  import { constants } from "node:fs";
9
9
  import { formatWithOptions, inspect, promisify } from "node:util";
10
- import { pathToFileURL } from "node:url";
11
10
  import { cwd } from "node:process";
12
11
  import E from "node:readline";
13
12
  import nodeTty from "node:tty";
13
+ import { pathToFileURL } from "node:url";
14
14
  import { EOL } from "node:os";
15
15
  import fsPromises, { constants as constants$1 } from "node:fs/promises";
16
16
  import { PassThrough, Writable } from "node:stream";
@@ -1811,9 +1811,9 @@ var DefaultRenderer = class DefaultRenderer {
1811
1811
  this.logger.options.color = this.options.color;
1812
1812
  }
1813
1813
  async render() {
1814
- const { createLogUpdate } = await import("../log-update-CLxR0iRf.js");
1815
- const { default: truncate } = await import("../cli-truncate-DJcN4dJ8.js");
1816
- const { default: wrap } = await import("../wrap-ansi-DbY7Idw_.js");
1814
+ const { createLogUpdate } = await import("../log-update-lyIiuflf.js");
1815
+ const { default: truncate } = await import("../cli-truncate-CWsmbK3p.js");
1816
+ const { default: wrap } = await import("../wrap-ansi-CeQuiQ31.js");
1817
1817
  this.updater = createLogUpdate(this.logger.process.stdout);
1818
1818
  this.truncate = truncate;
1819
1819
  this.wrap = wrap;
@@ -6179,7 +6179,7 @@ const jsonParse = async (filename) => {
6179
6179
  const yamlParse = async (filename) => {
6180
6180
  const isPackageFile = PACKAGE_YAML_FILES.includes(path.basename(filename));
6181
6181
  try {
6182
- const [YAML, content] = await Promise.all([import("../dist-D2_BiE1V.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)), readFile(filename)]);
6182
+ const [YAML, content] = await Promise.all([import("../dist-Bapm49IR.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)), readFile(filename)]);
6183
6183
  const yaml = YAML.parse(content);
6184
6184
  return isPackageFile ? yaml[CONFIG_NAME] : yaml;
6185
6185
  } catch (error) {