@cspell/dict-scientific-terms-us 3.0.7 → 3.1.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
@@ -37,28 +37,28 @@ Add the following to your VSCode settings:
37
37
  ```jsonc
38
38
  {
39
39
  "cSpell.import": ["@cspell/dict-scientific-terms-us/cspell-ext.json"],
40
- "cSpell.dictionaries": ["scientific-terms-us"],
40
+ "cSpell.dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
41
41
  }
42
42
  ```
43
43
 
44
44
  </details>
45
45
 
46
46
  <details>
47
- <summary>CSpell Settings `cspell.json`</summary>
47
+ <summary>CSpell Settings <code>cspell.json</code></summary>
48
48
 
49
49
  **`cspell.json`**
50
50
 
51
51
  ```jsonc
52
52
  {
53
53
  "import": ["@cspell/dict-scientific-terms-us/cspell-ext.json"],
54
- "dictionaries": ["scientific-terms-us"],
54
+ "dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
55
55
  }
56
56
  ```
57
57
 
58
58
  </details>
59
59
 
60
60
  <details>
61
- <summary>CSpell Settings `cspell.config.yaml`</summary>
61
+ <summary>CSpell Settings <code>cspell.config.yaml</code></summary>
62
62
 
63
63
  **`cspell.config.yaml`**
64
64
 
@@ -67,10 +67,13 @@ import:
67
67
  - '@cspell/dict-scientific-terms-us/cspell-ext.json'
68
68
  dictionaries:
69
69
  - scientific-terms-us
70
+ - mathematics-terms-us
70
71
  ```
71
72
 
72
73
  </details>
73
74
 
75
+ ## Local Installation using CDN
76
+
74
77
  ## CDN Configuration
75
78
 
76
79
  <details>
@@ -82,43 +85,56 @@ Add the following to your VSCode settings:
82
85
 
83
86
  ```jsonc
84
87
  {
85
- "cSpell.import": [
86
- "https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@latest/cspell-ext.json/cspell-ext.json",
87
- ],
88
- "cSpell.dictionaries": ["scientific-terms-us"],
88
+ "cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@3/cspell-ext.json"],
89
+ "cSpell.dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
89
90
  }
90
91
  ```
91
92
 
92
93
  </details>
93
94
 
94
95
  <details>
95
- <summary>CSpell Settings `cspell.json`</summary>
96
+ <summary>CSpell Settings <code>cspell.json</code></summary>
96
97
 
97
98
  **`cspell.json`**
98
99
 
99
100
  ```jsonc
100
101
  {
101
- "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@latest/cspell-ext.json/cspell-ext.json"],
102
- "dictionaries": ["scientific-terms-us"],
102
+ "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@3/cspell-ext.json"],
103
+ "dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
103
104
  }
104
105
  ```
105
106
 
106
107
  </details>
107
108
 
108
109
  <details>
109
- <summary>CSpell Settings `cspell.config.yaml`</summary>
110
+ <summary>CSpell Settings <code>cspell.config.yaml</code></summary>
110
111
 
111
112
  **`cspell.config.yaml`**
112
113
 
113
114
  ```yaml
114
115
  import:
115
- - https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@latest/cspell-ext.json/cspell-ext.json
116
+ - https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@3/cspell-ext.json
116
117
  dictionaries:
117
118
  - scientific-terms-us
119
+ - mathematics-terms-us
118
120
  ```
119
121
 
120
122
  </details>
121
123
 
124
+ ## Dictionary Information
125
+
126
+ | Name | Enabled | Description |
127
+ | ---------------------- | ------- | -------------------------------- |
128
+ | `scientific-terms-us` | **Yes** | Scientific Terms US dictionary. |
129
+ | `mathematics-terms-us` | **Yes** | Mathematics Terms US dictionary. |
130
+
131
+ ## Language Settings
132
+
133
+ | Name | Locale | File Type |
134
+ | ---------------------- | ------ | --------- |
135
+ | `scientific-terms-us` | `*` | `*` |
136
+ | `mathematics-terms-us` | `*` | `*` |
137
+
122
138
  <!--- @@inject-end: ./static/install.md --->
123
139
 
124
140
  <!--- @@inject: ../../static/contributing.md --->
package/cspell-ext.json CHANGED
@@ -1,42 +1,29 @@
1
- // cSpell Settings
2
1
  {
3
2
  "id": "scientific-terms-us",
4
3
  "name": "Scientific Terms US",
5
4
  "description": "Scientific Terms US dictionary.",
6
5
  "readonly": true,
7
- // List of dictionary files to add to the global list of dictionaries
8
6
  "dictionaryDefinitions": [
9
7
  {
10
8
  "name": "scientific-terms-us",
11
- "path": "./custom_scientific_US.trie.gz",
9
+ "path": "./dict/custom_scientific_US.trie.gz",
12
10
  "description": "Scientific Terms US dictionary."
11
+ },
12
+ {
13
+ "name": "mathematics-terms-us",
14
+ "path": "./dict/mathematics_US.txt.gz",
15
+ "description": "Mathematics Terms US dictionary."
13
16
  }
14
17
  ],
15
- // Dictionaries to always be used.
16
- // Generally left empty
17
18
  "dictionaries": [],
18
- // Language Rules to apply to matching files.
19
- // Files are matched on `languageId` and `locale`
20
19
  "languageSettings": [
21
20
  {
22
- // VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
23
- // * will match against any file type.
24
21
  "languageId": "*",
25
- // Language locale. i.e. en-US, de-AT, or ru. * will match all locals.
26
- // Multiple locals can be specified like: "en, en-US" to match both English and English US.
27
22
  "locale": "*",
28
- // By default the whole text of a file is included for spell checking
29
- // Adding patterns to the "includeRegExpList" to only include matching patterns
30
23
  "includeRegExpList": [],
31
- // To exclude patterns, add them to "ignoreRegExpList"
32
24
  "ignoreRegExpList": [],
33
- // regex patterns than can be used with ignoreRegExpList or includeRegExpList
34
- // Example: "pattern": [{ "name": "mdash", "pattern": "&mdash;" }]
35
- // This could be included in "ignoreRegExpList": ["mdash"]
36
25
  "patterns": [],
37
- // List of dictionaries to enable by name in `dictionaryDefinitions`
38
- "dictionaries": ["scientific-terms-us"],
39
- // Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
26
+ "dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
40
27
  "dictionaryDefinitions": []
41
28
  }
42
29
  ]
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-scientific-terms-us",
3
- "version": "3.0.7",
3
+ "version": "3.1.0",
4
4
  "description": "Scientific Terms US dictionary for cspell.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -12,10 +12,10 @@
12
12
  "./cspell-ext.json": "./cspell-ext.json"
13
13
  },
14
14
  "scripts": {
15
- "build": "cspell-tools-cli build && pnpm gz",
16
- "conditional-build": "cspell-tools-cli build --conditional && pnpm gz",
15
+ "build": "cspell-tools-cli build",
16
+ "conditional-build": "cspell-tools-cli build --conditional",
17
17
  "test": "shx head -n 1000 \"src/custom_scientific_US.dic.txt\" | cspell -c ./cspell-ext.json --locale=en --languageId=* stdin",
18
- "gz": "cspell-tools-cli gzip \"*.trie\"",
18
+ "gz": "cspell-tools-cli gzip \"dict/*.trie\" \"dict/*.txt\"",
19
19
  "prepare:dictionary": "pnpm gz",
20
20
  "prepublishOnly": "echo pre-publish"
21
21
  },
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/scientific_terms_US#readme",
40
40
  "files": [
41
- "custom_scientific_US.trie.gz",
41
+ "dict/*.gz",
42
42
  "cspell-ext.json"
43
43
  ],
44
- "gitHead": "30c5c53b8e28152fc1d8a6cf0c872b068a64221a"
44
+ "gitHead": "2a78e5990618ad1f4baeacac4602141622d55ea5"
45
45
  }
Binary file