@alint-js/cli 0.3.0 → 0.3.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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as executeCli } from "../cli-C-ZS6d3a.mjs";
2
+ import { t as executeCli } from "../cli-CL433bER.mjs";
3
3
  import process from "node:process";
4
4
  //#region src/bin/index.ts
5
5
  executeCli(process.argv, {
@@ -17,7 +17,7 @@ import Gitignore from "gitignore-fs";
17
17
  import { Minimatch, minimatch } from "minimatch";
18
18
  import { errorMessageFrom as errorMessageFrom$1 } from "@moeru/std";
19
19
  //#region package.json
20
- var version = "0.3.0";
20
+ var version = "0.3.1";
21
21
  //#endregion
22
22
  //#region src/cli/output.ts
23
23
  function escapeLineValue(value) {
@@ -260,8 +260,7 @@ function formatMiniBar(options) {
260
260
  if (width - completeCells === 0) return `[${"█".repeat(width)}]`;
261
261
  if (ratio < animationThreshold) return formatStaticBar(completeCells, width);
262
262
  const frontierIndex = completeCells;
263
- const phase = positiveModulo(options.tick, frontierIndex + 2);
264
- if (phase === frontierIndex + 1) return formatStaticBar(completeCells, width);
263
+ const phase = positiveModulo(options.tick, frontierIndex + 1);
265
264
  return `[${Array.from({ length: width }, (_, index) => {
266
265
  if (phase === 0) {
267
266
  if (index === 0) return "▓";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as formatJson, n as formatDiagnostics, r as formatStylish, t as executeCli } from "./cli-C-ZS6d3a.mjs";
1
+ import { i as formatJson, n as formatDiagnostics, r as formatStylish, t as executeCli } from "./cli-CL433bER.mjs";
2
2
  import { ignorePatternsAIAgents, ignorePatternsBuildOutputs, ignorePatternsCaches, ignorePatternsCommon, ignorePatternsEslintDefaults, ignorePatternsGenerated } from "@alint-js/config";
3
3
  import { defineConfig } from "@alint-js/core";
4
4
  export { defineConfig, executeCli, formatDiagnostics, formatJson, formatStylish, ignorePatternsAIAgents, ignorePatternsBuildOutputs, ignorePatternsCaches, ignorePatternsCommon, ignorePatternsEslintDefaults, ignorePatternsGenerated };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alint-js/cli",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.mts",
@@ -28,8 +28,8 @@
28
28
  "pathe": "^2.0.3",
29
29
  "table": "^6.9.0",
30
30
  "tinyrainbow": "^3.1.1",
31
- "@alint-js/core": "0.3.0",
32
- "@alint-js/config": "0.3.0"
31
+ "@alint-js/config": "0.3.1",
32
+ "@alint-js/core": "0.3.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@pnpm/find-workspace-dir": "^1000.1.5",