@cspell/dict-ar 1.1.3 → 1.1.5

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/LICENSE CHANGED
@@ -2,8 +2,7 @@ GNU LESSER GENERAL PUBLIC LICENSE
2
2
 
3
3
  Version 3, 29 June 2007
4
4
 
5
- Copyright (C) 2007
6
- Jason Dent
5
+ Copyright (C) 2022-2025 Street Side Software <support@streetsidesoftware.nl>
7
6
 
8
7
  Everyone is permitted to copy and distribute verbatim copies of this
9
8
  license document, but changing it is not allowed.
@@ -15,33 +14,33 @@ below.
15
14
 
16
15
  0. Additional Definitions.
17
16
 
18
-
17
+
19
18
 
20
19
  As used herein, "this
21
20
  License" refers to version 3 of the GNU Lesser General Public License, and the
22
21
  "GNU GPL" refers to version 3 of the GNU General Public License.
23
22
 
24
-
25
23
 
26
-
24
+
25
+
27
26
  "The Library" refers to a covered work governed by this License, other than an
28
27
  Application or a Combined Work as defined below.
29
28
 
30
-
29
+
31
30
 
32
31
  An "Application"
33
32
  is any work that makes use of an interface provided by the Library, but which is
34
33
  not otherwise based on the Library. Defining a subclass of a class defined by the
35
34
  Library is deemed a mode of using an interface provided by the Library.
36
35
 
37
-
36
+
38
37
 
39
38
 
40
39
  A "Combined Work" is a work produced by combining or linking an Application with
41
40
  the Library. The particular version of the Library with which the Combined Work
42
41
  was made is also called the "Linked Version".
43
42
 
44
-
43
+
45
44
 
46
45
  The "Minimal
47
46
  Corresponding Source" for a Combined Work means the Corresponding Source for the
@@ -49,7 +48,7 @@ Combined Work, excluding any source code for portions of the Combined Work that,
49
48
  considered in isolation, are based on the Application, and not on the Linked
50
49
  Version.
51
50
 
52
-
51
+
53
52
 
54
53
  The "Corresponding Application Code" for a Combined Work
55
54
  means the object code and/or source code for the Application, including any data
@@ -126,7 +125,7 @@ permit, the user to recombine or relink the Application with a modified version
126
125
  of the Linked Version to produce a modified Combined Work, in the manner
127
126
  specified by section 6 of the GNU GPL for conveying Corresponding Source.
128
127
 
129
-
128
+
130
129
  1) Use a suitable shared library mechanism for linking with the Library. A
131
130
  suitable mechanism is one that (a) uses at run time a copy of the Library already
132
131
  present on the user's computer system, and (b) will operate properly with a
@@ -177,8 +176,8 @@ Foundation. If the Library as you received it does not specify a version number
177
176
  of the GNU Lesser General Public License, you may choose any version of the GNU
178
177
  Lesser General Public License ever published by the Free Software Foundation.
179
178
 
180
-
179
+
181
180
  If the Library as you received it specifies that a proxy can decide whether
182
181
  future versions of the GNU Lesser General Public License shall apply, that
183
182
  proxy's public statement of acceptance of any version is permanent authorization
184
- for you to choose that version for the Library.
183
+ for you to choose that version for the Library.
package/README.md CHANGED
@@ -4,43 +4,133 @@ Arabic dictionary for cspell.
4
4
 
5
5
  This is a pre-built dictionary for use with CSpell.
6
6
 
7
- ## Installation
7
+ <!--- @@inject: ../../static/requirements.md --->
8
8
 
9
- Global Install and add to CSpell global settings.
9
+ ## Requirements
10
+
11
+ | Tool | Version |
12
+ | ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
13
+ | [cspell](https://github.com/streetsidesoftware/cspell) | `>= 8` |
14
+ | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4` |
15
+
16
+ <!--- @@inject-end: ../../static/requirements.md --->
17
+
18
+ <!--- @@inject: ./static/install.md --->
19
+
20
+ ## Local Installation
10
21
 
11
22
  ```sh
12
- npm install -g @cspell/dict-ar
13
- cspell link add @cspell/dict-ar
23
+ npm install -D @cspell/dict-ar
14
24
  ```
15
25
 
16
- ## Uninstall from CSpell
26
+ ## Configuration
17
27
 
18
- ```sh
19
- cspell link remove @cspell/dict-ar
28
+ <details>
29
+ <summary>VSCode Settings</summary>
30
+
31
+ Add the following to your VSCode settings:
32
+
33
+ **`.vscode/settings.json`**
34
+
35
+ ```jsonc
36
+ {
37
+ "cSpell.import": ["@cspell/dict-ar/cspell-ext.json"],
38
+ "cSpell.language": "ar",
39
+ }
20
40
  ```
21
41
 
22
- ## Manual Installation
42
+ </details>
43
+
44
+ <details>
45
+ <summary>CSpell Settings `cspell.json`</summary>
23
46
 
24
- Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.
47
+ **`cspell.json`**
25
48
 
49
+ ```jsonc
50
+ {
51
+ "import": ["@cspell/dict-ar/cspell-ext.json"],
52
+ "language": "ar",
53
+ }
54
+ ```
55
+
56
+ </details>
57
+
58
+ <details>
59
+ <summary>CSpell Settings `cspell.config.yaml`</summary>
60
+
61
+ **`cspell.config.yaml`**
62
+
63
+ ```yaml
64
+ import:
65
+ - '@cspell/dict-ar/cspell-ext.json'
66
+ language: ar
26
67
  ```
27
- npm i @cspell/dict-ar
68
+
69
+ </details>
70
+
71
+ ## CDN Configuration
72
+
73
+ <details>
74
+ <summary>VSCode Settings</summary>
75
+
76
+ Add the following to your VSCode settings:
77
+
78
+ **`.vscode/settings.json`**
79
+
80
+ ```jsonc
81
+ {
82
+ "cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-ar@latest/cspell-ext.json/cspell-ext.json"],
83
+ "cSpell.language": "ar",
84
+ }
28
85
  ```
29
86
 
30
- The `cspell-ext.json` file in this package should be added to the import section in your `cspell.json` file.
87
+ </details>
31
88
 
32
- ```javascript
89
+ <details>
90
+ <summary>CSpell Settings `cspell.json`</summary>
91
+
92
+ **`cspell.json`**
93
+
94
+ ```jsonc
33
95
  {
34
- //
35
- "import": ["@cspell/dict-ar/cspell-ext.json"],
36
- // …
96
+ "import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-ar@latest/cspell-ext.json/cspell-ext.json"],
97
+ "language": "ar",
37
98
  }
38
99
  ```
39
100
 
40
- # Dictionary Development
101
+ </details>
102
+
103
+ <details>
104
+ <summary>CSpell Settings `cspell.config.yaml`</summary>
105
+
106
+ **`cspell.config.yaml`**
107
+
108
+ ```yaml
109
+ import:
110
+ - https://cdn.jsdelivr.net/npm/@cspell/dict-ar@latest/cspell-ext.json/cspell-ext.json
111
+ language: ar
112
+ ```
113
+
114
+ </details>
115
+
116
+ <!--- @@inject-end: ./static/install.md --->
117
+
118
+ <!--- @@inject: ../../static/contributing.md --->
119
+
120
+ ## Contributing
121
+
122
+ Please help correct any mistakes in the dictionaries.
123
+
124
+ See: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing)
125
+
126
+ Special thanks to all of our amazing contributors!
127
+
128
+ ### Dictionary Development
41
129
 
42
130
  See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)
43
131
 
132
+ <!--- @@inject-end: ../../static/contributing.md --->
133
+
44
134
  ## Source
45
135
 
46
136
  [AyaSpell Arabic Dictionary for Hunspell Spellchecker](https://github.com/linuxscout/ayaspell)
@@ -50,3 +140,17 @@ See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspe
50
140
  LGPL
51
141
 
52
142
  > Some packages may have other licenses included.
143
+
144
+ <!--- @@inject: ../../static/footer.md --->
145
+
146
+ <br/>
147
+
148
+ ---
149
+
150
+ <p align="center">
151
+ Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software">
152
+ <img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software
153
+ </a>
154
+ </p>
155
+
156
+ <!--- @@inject-end: ../../static/footer.md --->
package/cspell-ext.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "id": "ar",
4
4
  "version": "0.2",
5
5
  "name": "Arabic",
6
- "description": "Arabic dictionary for CSpell.",
6
+ "description": "Arabic dictionary.",
7
7
  "readonly": true,
8
8
  "dictionaryDefinitions": [
9
9
  {
10
10
  "name": "ar",
11
11
  "path": "./ar.trie.gz",
12
- "description": "Arabic dictionary for CSpell.",
12
+ "description": "Arabic dictionary.",
13
13
  "dictionaryInformation": {
14
14
  "alphabet": "\u0600-\u06ff",
15
15
  "locale": "ar",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-ar",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Arabic dictionary for CSpell.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -54,5 +54,5 @@
54
54
  "*.js",
55
55
  "*.d.ts"
56
56
  ],
57
- "gitHead": "4d80f37a50593b93afd0876b09ec3c879fedf021"
57
+ "gitHead": "30c5c53b8e28152fc1d8a6cf0c872b068a64221a"
58
58
  }