@cspell/dict-npm 1.0.16 → 2.0.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/cspell-ext.json +4 -3
- package/package.json +3 -3
package/cspell-ext.json
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
"id": "npm",
|
|
4
4
|
"name": "NPM",
|
|
5
5
|
"description": "NPM dictionary for cspell.",
|
|
6
|
+
"readonly": true,
|
|
6
7
|
// List of dictionary files to add to the global list of dictionaries
|
|
7
8
|
"dictionaryDefinitions": [
|
|
8
9
|
{
|
|
9
10
|
"name": "npm",
|
|
10
|
-
"
|
|
11
|
+
"path": "./npm.txt.gz",
|
|
11
12
|
"description": "NPM dictionary for cspell."
|
|
12
13
|
}
|
|
13
14
|
],
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"languageId": "javascript,typescript",
|
|
24
25
|
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
|
|
25
26
|
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
|
|
26
|
-
"
|
|
27
|
+
"locale": "*",
|
|
27
28
|
// By default the whole text of a file is included for spell checking
|
|
28
29
|
// Adding patterns to the "includeRegExpList" to only include matching patterns
|
|
29
30
|
"includeRegExpList": [],
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"patterns": [],
|
|
36
37
|
// List of dictionaries to enable by name in `dictionaryDefinitions`
|
|
37
38
|
"dictionaries": ["npm"],
|
|
38
|
-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "
|
|
39
|
+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
|
|
39
40
|
"dictionaryDefinitions": []
|
|
40
41
|
}
|
|
41
42
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/dict-npm",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Dictionary of common NPM packages for cspell.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "cspell-tools compile \"npm.txt\" -o .",
|
|
15
15
|
"test": "head -n 100 \"npm.txt\" | cspell -v -c ./cspell-ext.json \"--local=*\" \"--languageId=javascript\" stdin",
|
|
16
|
-
"prepublishOnly": "
|
|
16
|
+
"prepublishOnly": "echo pre-publish",
|
|
17
17
|
"prepare": "yarn run build"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"npm.txt.gz",
|
|
38
38
|
"cspell-ext.json"
|
|
39
39
|
],
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "5fe03a7c9c10459a3c50242737f27bcf3e980f5e"
|
|
41
41
|
}
|