@cspell/cspell-tools 8.10.2 → 8.11.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/compiler/compile.js +3 -2
- package/package.json +6 -6
package/dist/compiler/compile.js
CHANGED
|
@@ -12,7 +12,7 @@ import { compileTrie, compileWordList } from './wordListCompiler.js';
|
|
|
12
12
|
import { normalizeTargetWords } from './wordListParser.js';
|
|
13
13
|
export async function compile(request, options) {
|
|
14
14
|
const { targets } = request;
|
|
15
|
-
// console.
|
|
15
|
+
// console.warn('Request: %o', request);
|
|
16
16
|
const rootDir = path.resolve(request.rootDir || '.');
|
|
17
17
|
const cwd = options?.cwd;
|
|
18
18
|
const targetOptions = {
|
|
@@ -28,6 +28,7 @@ export async function compile(request, options) {
|
|
|
28
28
|
if (!keep)
|
|
29
29
|
continue;
|
|
30
30
|
const adjustedTarget = { ...targetOptions, ...target };
|
|
31
|
+
// console.warn('adjustedTarget: %o', adjustedTarget);
|
|
31
32
|
const deps = await compileTarget(adjustedTarget, request, {
|
|
32
33
|
rootDir,
|
|
33
34
|
cwd,
|
|
@@ -55,7 +56,7 @@ export async function compileTarget(target, options, compileOptions) {
|
|
|
55
56
|
const { rootDir, cwd, checksumFile, conditional } = compileOptions;
|
|
56
57
|
const { format, sources, trieBase, sort = true, generateNonStrict = false, excludeWordsFrom } = target;
|
|
57
58
|
const targetDirectory = path.resolve(rootDir, target.targetDirectory ?? cwd ?? process.cwd());
|
|
58
|
-
const dictionaryDirectives = compileOptions.dictionaryDirectives;
|
|
59
|
+
const dictionaryDirectives = target.dictionaryDirectives ?? compileOptions.dictionaryDirectives;
|
|
59
60
|
const excludeFilter = await createExcludeFilter(excludeWordsFrom);
|
|
60
61
|
const generateNonStrictTrie = target.generateNonStrict ?? true;
|
|
61
62
|
const name = normalizeTargetName(target.name);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/cspell-tools",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.0",
|
|
4
4
|
"description": "Tools to assist with the development of cSpell",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/streetsidesoftware/cspell#readme",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@cspell/cspell-pipe": "8.
|
|
53
|
+
"@cspell/cspell-pipe": "8.11.0",
|
|
54
54
|
"commander": "^12.1.0",
|
|
55
55
|
"cosmiconfig": "9.0.0",
|
|
56
|
-
"cspell-trie-lib": "8.
|
|
56
|
+
"cspell-trie-lib": "8.11.0",
|
|
57
57
|
"gensequence": "^7.0.0",
|
|
58
|
-
"glob": "^10.4.
|
|
59
|
-
"hunspell-reader": "8.
|
|
58
|
+
"glob": "^10.4.5",
|
|
59
|
+
"hunspell-reader": "8.11.0",
|
|
60
60
|
"yaml": "^2.4.5"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"ts-json-schema-generator": "^2.3.0"
|
|
69
69
|
},
|
|
70
70
|
"module": "bin.mjs",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "2b85b2b458b1117870a4f0aee18fb45ce991848d"
|
|
72
72
|
}
|