Skip to content

Commit

Permalink
feat: Merge bash package into shell
Browse files Browse the repository at this point in the history
Merge the legacy bash dictionary package into the shell package.
  • Loading branch information
Jason3S committed Jan 7, 2025
1 parent fa63eb3 commit a8c9af6
Show file tree
Hide file tree
Showing 13 changed files with 112 additions and 249 deletions.
10 changes: 1 addition & 9 deletions dictionaries/bash/cspell-ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@
"id": "bash",
"name": "bash",
"description": "Bash dictionary.",
"readonly": true,
"dictionaryDefinitions": [
{
"name": "bash",
"path": "./dict/bash-words.txt",
"description": "Bash dictionary."
}
],
"dictionaries": [],
"import": ["@cspell/dict-shell"],
"languageSettings": [
{
"languageId": "shellscript",
Expand Down
11 changes: 0 additions & 11 deletions dictionaries/bash/cspell-tools.config.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions dictionaries/bash/dict/README.md

This file was deleted.

217 changes: 0 additions & 217 deletions dictionaries/bash/dict/bash-words.txt

This file was deleted.

9 changes: 6 additions & 3 deletions dictionaries/bash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"./cspell-ext.json": "./cspell-ext.json"
},
"scripts": {
"build": "cspell-tools-cli build",
"test": "shx cat src/bash-words.txt | cspell -c ./cspell-ext.json \"--locale=*\" \"--languageId=shellscript\" stdin",
"build": "echo ok",
"test": "shx cat samples/bash-words.txt | cspell -c ./cspell-ext.json \"--locale=*\" \"--languageId=shellscript\" stdin",
"prepublishOnly": "echo pre-publish",
"prepare:dictionary": "pnpm run build"
},
Expand All @@ -38,5 +38,8 @@
"files": [
"dict/*",
"cspell-ext.json"
]
],
"dependencies": {
"@cspell/dict-shell": "workspace:*"
}
}
File renamed without changes.
3 changes: 0 additions & 3 deletions dictionaries/bash/src/README.md

This file was deleted.

1 change: 0 additions & 1 deletion dictionaries/shell/cspell-tools.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ targets:
sources:
- listFile: ./common-source-files.txt
- ./src/shell-bash-words.txt
- ../bash/src/bash-words.txt
format: plaintext
targetDirectory: './dict'
generateNonStrict: false
Expand Down
14 changes: 14 additions & 0 deletions dictionaries/shell/dict/shell-all-words.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a8c9af6

Please sign in to comment.