-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: get build working under pnpm. (#2321)
- Loading branch information
Showing
54 changed files
with
666 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
declare namespace load { | ||
/** | ||
* Object representing a hunspell dictionary, with `aff` and `dic` fields. | ||
*/ | ||
interface Dictionary { | ||
/** | ||
* Buffer in UTF-8 for the affix file (defines the language, keyboard, flags, and more). | ||
*/ | ||
aff: Buffer | ||
|
||
/** | ||
* Buffer in UTF-8 for the dictionary file (contains words and flags applying to those words). | ||
*/ | ||
dic: Buffer | ||
} | ||
|
||
/** | ||
* Callback called when dictionary is loaded. | ||
*/ | ||
type Callback = ( | ||
error: NodeJS.ErrnoException | undefined, | ||
result: Dictionary | ||
) => void | ||
} | ||
|
||
declare const load: (callback: load.Callback) => void | ||
|
||
export = load |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
87a3ecd9c3aad91d14f924020f1935b96ef7d827 ./en_AU.trie | ||
8377a01ab4c2c14830d500113fc827563f593ab9 ./node_modules/@cspell/dict-en-shared/src/shared-additional-words.txt | ||
354217d27720ae7d76db72a626a0e68d20fe9747 ./source-dependencies.txt | ||
8b330ba6b7b6530bb8db47f92bfc8af74ad8dc35 ./source-files.txt | ||
6faca7cc75a0372205cb95afcd21cef47b38ac4d ./source-files.txt | ||
b18dfb4f67e28a7e5ef1850dd1aceef880ac3331 ./src/additional_words.txt | ||
e22be4b305584c419dbfdad2f69bfa1bb181d239 ./src/aoo-mozilla-en-dict/en_AU.aff | ||
21191f1108e608d1b96076d141586fccd6c79a1c ./src/aoo-mozilla-en-dict/en_AU.dic | ||
e22be4b305584c419dbfdad2f69bfa1bb181d239 ./src/hunspell-en_AU-large/en_AU-large.aff | ||
d81a3ca0b48c0653a48de7b76a68c8a2d40f2de5 ./src/hunspell-en_AU-large/en_AU-large.dic | ||
8377a01ab4c2c14830d500113fc827563f593ab9 ./src/shared-additional-words.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
./src/additional_words.txt | ||
./src/aoo-mozilla-en-dict/en_AU.dic | ||
./src/hunspell-en_AU-large/en_AU-large.dic | ||
./src/shared-additional-words.txt | ||
./node_modules/@cspell/dict-en-shared/src/shared-additional-words.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
0a195047e8a4cfdb59f810ea1ed647c152e454c9 ./en_CA.trie | ||
8377a01ab4c2c14830d500113fc827563f593ab9 ./node_modules/@cspell/dict-en-shared/src/shared-additional-words.txt | ||
bcbd0578ba621fc42f85dbc5ebbe19dd0ca06558 ./source-dependencies.txt | ||
a8673b6f0fe7b06c54cd679f013f17f1a06bc31f ./source-files.txt | ||
40f65c083372129fbbafabc8a9d232e039da0ab4 ./source-files.txt | ||
b18dfb4f67e28a7e5ef1850dd1aceef880ac3331 ./src/additional_words.txt | ||
e22be4b305584c419dbfdad2f69bfa1bb181d239 ./src/aoo-mozilla-en-dict/en_CA.aff | ||
8bcb82e787d390561c0ac4416a811a7323b1ef97 ./src/aoo-mozilla-en-dict/en_CA.dic | ||
e22be4b305584c419dbfdad2f69bfa1bb181d239 ./src/hunspell-en_CA-large/en_CA-large.aff | ||
c36c7cb4f498bc5c23443434a7bc31a4db802894 ./src/hunspell-en_CA-large/en_CA-large.dic | ||
8377a01ab4c2c14830d500113fc827563f593ab9 ./src/shared-additional-words.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
./src/additional_words.txt | ||
./src/aoo-mozilla-en-dict/en_CA.dic | ||
./src/hunspell-en_CA-large/en_CA-large.dic | ||
./src/shared-additional-words.txt | ||
./node_modules/@cspell/dict-en-shared/src/shared-additional-words.txt |
Oops, something went wrong.