cspell 10.3.1 → 10.3.2-alpha.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/README.md CHANGED
@@ -319,8 +319,6 @@ Quick setup following installation guide in [Mega-Linter documentation](https://
319
319
 
320
320
  ### Git commit-hooks
321
321
 
322
- #### pre-commit
323
-
324
322
  **Setup**
325
323
 
326
324
  ```
@@ -329,12 +327,16 @@ npm install -SD cspell
329
327
 
330
328
  **`.git/hooks/pre-commit`**
331
329
 
332
- ```
330
+ ```sh
333
331
  #!/bin/sh
334
332
 
335
333
  exec git diff --cached --name-only | npx cspell --no-summary --no-progress --no-must-find-files --file-list stdin
336
334
  ```
337
335
 
336
+ ### Using [pre-commit.com](https://pre-commit.com) Hook
337
+
338
+ Use: [`cspell-cli`](https://github.com/streetsidesoftware/cspell-cli#setup-pre-commit-hook)
339
+
338
340
  ## Requirements
339
341
 
340
342
  CSpell needs Node 22 and above.
package/dist/esm/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ApplicationError, S as width, T as console, _ as padLeft, a as parseApplicationFeatureFlags, b as pruneAnsiTextEnd, c as listDictionaries, d as validateUnitSize, f as unindent, g as tableToLines, i as lint, l as ReportChoicesAll, m as npmPackage, n as checkText, o as suggestions, p as DEFAULT_CACHE_LOCATION, r as createInit, s as trace, t as IncludeExcludeFlag, u as cvtLinterCliCommandOptionsToLinterCliOptions, v as padWidth, w as CheckFailed, x as pruneAnsiTextStart, y as ansiWidth } from "./application-Czt77ox8.js";
1
+ import { C as ApplicationError, S as width, T as console, _ as padLeft, a as parseApplicationFeatureFlags, b as pruneAnsiTextEnd, c as listDictionaries, d as validateUnitSize, f as unindent, g as tableToLines, i as lint, l as ReportChoicesAll, m as npmPackage, n as checkText, o as suggestions, p as DEFAULT_CACHE_LOCATION, r as createInit, s as trace, t as IncludeExcludeFlag, u as cvtLinterCliCommandOptionsToLinterCliOptions, v as padWidth, w as CheckFailed, x as pruneAnsiTextStart, y as ansiWidth } from "./application-CyAnKMRe.js";
2
2
  import { Link } from "cspell-lib";
3
3
  import chalk from "chalk";
4
4
  import * as iPath from "node:path";
@@ -1213,7 +1213,7 @@ try {
1213
1213
  const pkgDir = _dirname;
1214
1214
  const npmPackage = {
1215
1215
  name: "cspell",
1216
- version: "10.3.1",
1216
+ version: "10.3.2-alpha.0",
1217
1217
  engines: { node: ">=22.18.0" }
1218
1218
  };
1219
1219
  //#endregion
@@ -3532,4 +3532,4 @@ function parseApplicationFeatureFlags(flags) {
3532
3532
  //#endregion
3533
3533
  export { ApplicationError as C, width as S, console as T, padLeft as _, parseApplicationFeatureFlags as a, pruneAnsiTextEnd as b, listDictionaries as c, validateUnitSize as d, unindent as f, tableToLines as g, getReporter as h, lint as i, ReportChoicesAll as l, npmPackage as m, checkText as n, suggestions as o, DEFAULT_CACHE_LOCATION as p, createInit as r, trace as s, IncludeExcludeFlag as t, cvtLinterCliCommandOptionsToLinterCliOptions as u, padWidth as v, CheckFailed as w, pruneAnsiTextStart as x, ansiWidth as y };
3534
3534
 
3535
- //# sourceMappingURL=application-Czt77ox8.js.map
3535
+ //# sourceMappingURL=application-CyAnKMRe.js.map
@@ -1,2 +1,2 @@
1
- import { a as parseApplicationFeatureFlags, c as listDictionaries, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-Czt77ox8.js";
1
+ import { a as parseApplicationFeatureFlags, c as listDictionaries, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-CyAnKMRe.js";
2
2
  export { IncludeExcludeFlag, checkText, createInit, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace };
package/dist/esm/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as parseApplicationFeatureFlags, c as listDictionaries, h as getReporter, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-Czt77ox8.js";
1
+ import { a as parseApplicationFeatureFlags, c as listDictionaries, h as getReporter, i as lint, n as checkText, o as suggestions, r as createInit, s as trace, t as IncludeExcludeFlag } from "./application-CyAnKMRe.js";
2
2
  export * from "@cspell/cspell-types";
3
3
  export { IncludeExcludeFlag, checkText, createInit, getReporter as getDefaultReporter, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell",
3
- "version": "10.3.1",
3
+ "version": "10.3.2-alpha.0",
4
4
  "description": "A Spelling Checker for Code!",
5
5
  "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
6
6
  "bin": {
@@ -90,23 +90,23 @@
90
90
  },
91
91
  "homepage": "https://cspell.org/",
92
92
  "dependencies": {
93
- "@cspell/cspell-json-reporter": "10.3.1",
94
- "@cspell/cspell-performance-monitor": "10.3.1",
95
- "@cspell/cspell-pipe": "10.3.1",
96
- "@cspell/cspell-types": "10.3.1",
97
- "@cspell/cspell-worker": "10.3.1",
98
- "@cspell/dynamic-import": "10.3.1",
99
- "@cspell/url": "10.3.1",
93
+ "@cspell/cspell-json-reporter": "10.3.2-alpha.0",
94
+ "@cspell/cspell-performance-monitor": "10.3.2-alpha.0",
95
+ "@cspell/cspell-pipe": "10.3.2-alpha.0",
96
+ "@cspell/cspell-types": "10.3.2-alpha.0",
97
+ "@cspell/cspell-worker": "10.3.2-alpha.0",
98
+ "@cspell/dynamic-import": "10.3.2-alpha.0",
99
+ "@cspell/url": "10.3.2-alpha.0",
100
100
  "ansi-regex": "^6.3.0",
101
101
  "chalk": "^6.0.0",
102
102
  "chalk-template": "^1.1.2",
103
103
  "commander": "^15.0.0",
104
- "cspell-config-lib": "10.3.1",
105
- "cspell-dictionary": "10.3.1",
106
- "cspell-gitignore": "10.3.1",
107
- "cspell-glob": "10.3.1",
108
- "cspell-io": "10.3.1",
109
- "cspell-lib": "10.3.1",
104
+ "cspell-config-lib": "10.3.2-alpha.0",
105
+ "cspell-dictionary": "10.3.2-alpha.0",
106
+ "cspell-gitignore": "10.3.2-alpha.0",
107
+ "cspell-glob": "10.3.2-alpha.0",
108
+ "cspell-io": "10.3.2-alpha.0",
109
+ "cspell-lib": "10.3.2-alpha.0",
110
110
  "fast-json-stable-stringify": "^2.1.0",
111
111
  "flatted": "^3.4.4",
112
112
  "semver": "^7.8.5",
@@ -121,5 +121,5 @@
121
121
  "micromatch": "^4.0.8",
122
122
  "minimatch": "^9.0.9"
123
123
  },
124
- "gitHead": "793953d1c2b4f1cab257389ff6ecb3ae2dd40230"
124
+ "gitHead": "c7193065b82df0646e24ab6f6d370c12148f0efc"
125
125
  }