Skip to content

Commit

Permalink
feat!: Upgrade to CSpell 6 format (#1552)
Browse files Browse the repository at this point in the history
Support case-insensitive searches.
  • Loading branch information
Jason3S committed Oct 29, 2022
1 parent 485d3db commit 6102d07
Show file tree
Hide file tree
Showing 7 changed files with 27,569 additions and 366 deletions.
26,866 changes: 26,866 additions & 0 deletions dictionaries/cs_CZ/Czech.trie

Large diffs are not rendered by default.

Binary file removed dictionaries/cs_CZ/Czech.trie.gz
Binary file not shown.
1,052 changes: 689 additions & 363 deletions dictionaries/cs_CZ/LICENSE

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dictionaries/cs_CZ/cspell-tools.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-tools/cspell-tools.config.schema.json

targets:
- name: Czech
sources:
- src/Czech.dic
format: trie3
targetDirectory: "."
generateNonStrict: true
8 changes: 5 additions & 3 deletions dictionaries/cs_CZ/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"./cspell-ext.json": "./cspell-ext.json"
},
"scripts": {
"build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 cspell-tools compile-trie \"Czech.dic\" -o .",
"test": "hunspell-reader words -n 1000 \"Czech.dic\" | cspell -v -c ./cspell-ext.json --local=cs --languageId=* stdin",
"build": "cspell-tools-cli build && yarn prepare",
"test": "hunspell-reader words -n 1000 src/Czech.dic | cspell -v -c ./cspell-ext.json --local=cs --languageId=* stdin",
"prepare": "gzip -f -k *.trie",
"prepublishOnly": "echo pre-publish"
},
"repository": {
Expand All @@ -27,12 +28,13 @@
"spelling"
],
"author": "Jason Dent",
"license": "MIT",
"license": "GPL-3.0+",
"bugs": {
"url": "https://github.com/streetsidesoftware/cspell-dicts/issues"
},
"homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/cs_CZ#readme",
"files": [
"Czech.txt",
"Czech.trie.gz",
"cspell-ext.json"
]
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 6102d07

Please sign in to comment.