@cspell/dict-npm 5.0.14 → 5.0.15
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 +53 -0
- package/dict/npm.txt +2 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# CSpell NPM Dictionary
|
|
2
|
+
|
|
3
|
+
This dictionary contains a list of popular JavaScript packages found on [npmjs.com](https://www.npmjs.com/).
|
|
4
|
+
|
|
5
|
+
This is a pre-built dictionary for use with CSpell.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
| Tool | Version |
|
|
10
|
+
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
|
|
11
|
+
| [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` |
|
|
12
|
+
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` |
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
Global Install and add to CSpell global settings.
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npm install -g @cspell/dict-npm
|
|
20
|
+
cspell link add @cspell/dict-npm
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Uninstall from CSpell
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
cspell link remove @cspell/dict-npm
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Manual Installation
|
|
30
|
+
|
|
31
|
+
The `cspell-ext.json` file in this package should be added to the import section in your cspell.json file.
|
|
32
|
+
|
|
33
|
+
```javascript
|
|
34
|
+
{
|
|
35
|
+
// …
|
|
36
|
+
"import": ["@cspell/dict-npm/cspell-ext.json"],
|
|
37
|
+
// …
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
# Dictionary Development
|
|
42
|
+
|
|
43
|
+
See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
MIT
|
|
48
|
+
|
|
49
|
+
> Some packages may have other licenses included.
|
|
50
|
+
|
|
51
|
+
<!---
|
|
52
|
+
cspell:ignore npmjs
|
|
53
|
+
--->
|
package/dict/npm.txt
CHANGED
|
@@ -167,6 +167,7 @@ extract-text-webpack-plugin
|
|
|
167
167
|
fast-csv
|
|
168
168
|
fast-glob
|
|
169
169
|
fast-plist
|
|
170
|
+
fastify
|
|
170
171
|
fibers
|
|
171
172
|
figlet
|
|
172
173
|
firebase
|
|
@@ -555,6 +556,7 @@ phantomjs
|
|
|
555
556
|
phantomjs-prebuilt
|
|
556
557
|
phonegap
|
|
557
558
|
pi-gpio
|
|
559
|
+
pino
|
|
558
560
|
pm2
|
|
559
561
|
pnpify
|
|
560
562
|
pnpm
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/dict-npm",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.15",
|
|
4
4
|
"description": "Dictionary of common NPM packages for cspell.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "cspell-tools-cli compile --split \"src/npm.txt\" --no-compress -o ./dict -m npm",
|
|
15
|
-
"test": "shx head -n 100 \"src/npm.txt\" | cspell -v -c ./cspell-ext.json \"--
|
|
15
|
+
"test": "shx head -n 100 \"src/npm.txt\" | cspell -v -c ./cspell-ext.json \"--locale=*\" \"--languageId=javascript\" stdin",
|
|
16
16
|
"prepublishOnly": "echo pre-publish",
|
|
17
17
|
"prepare:dictionary": "pnpm run build"
|
|
18
18
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"dict/npm.txt",
|
|
38
38
|
"cspell-ext.json"
|
|
39
39
|
],
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "dc56f6f63e68134c012456f796ef5f67d745ff06"
|
|
41
41
|
}
|