diff --git a/action/node_modules/@cspell/dict-bash/cspell-ext.json b/action/node_modules/@cspell/dict-bash/cspell-ext.json index a96eb4a8..b20b6675 100644 --- a/action/node_modules/@cspell/dict-bash/cspell-ext.json +++ b/action/node_modules/@cspell/dict-bash/cspell-ext.json @@ -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", diff --git a/action/node_modules/@cspell/dict-bash/package.json b/action/node_modules/@cspell/dict-bash/package.json index dcc28dbe..230d85e0 100644 --- a/action/node_modules/@cspell/dict-bash/package.json +++ b/action/node_modules/@cspell/dict-bash/package.json @@ -1,6 +1,6 @@ { "name": "@cspell/dict-bash", - "version": "4.1.10", + "version": "4.2.0", "description": "Bash dictionary for cspell.", "publishConfig": { "access": "public", @@ -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" }, @@ -39,5 +39,8 @@ "dict/*", "cspell-ext.json" ], - "gitHead": "c5d2ed0b1b50a03fbf32b6848bfeb3b1fc335a02" + "dependencies": { + "@cspell/dict-shell": "1.1.0" + }, + "gitHead": "3b96e0ab2641bbc840fdc4decd1168a4d7232454" } diff --git a/action/node_modules/@cspell/dict-shell/LICENSE b/action/node_modules/@cspell/dict-shell/LICENSE new file mode 100644 index 00000000..ee80b7c1 --- /dev/null +++ b/action/node_modules/@cspell/dict-shell/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017-2020 Jason Dent + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/action/node_modules/@cspell/dict-shell/README.md b/action/node_modules/@cspell/dict-shell/README.md new file mode 100644 index 00000000..2a8e7ff6 --- /dev/null +++ b/action/node_modules/@cspell/dict-shell/README.md @@ -0,0 +1,45 @@ +# CSpell Shell Script Dictionary + +Shell Script dictionary for cspell. + +This is a pre-built dictionary for use with cspell. + +## Requirements + +| Tool | Version | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------- | +| [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` | +| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` | + +## Installation + +Global Install and add to cspell global settings. + +```sh +npm install -g @cspell/dict-shell +cspell link add @cspell/dict-shell +``` + +## Uninstall from cspell + +```sh +cspell link remove @cspell/dict-shell +``` + +## Manual Installation + +The `cspell-ext.json` file in this package should be added to the import section in your cspell.json file. + +```javascript +{ + // … + "import": ["@cspell/dict-shell/cspell-ext.json"], + // … +} +``` + +## License + +MIT + +> Some packages may have other licenses included. diff --git a/action/node_modules/@cspell/dict-shell/cspell-ext.json b/action/node_modules/@cspell/dict-shell/cspell-ext.json new file mode 100644 index 00000000..90b26f38 --- /dev/null +++ b/action/node_modules/@cspell/dict-shell/cspell-ext.json @@ -0,0 +1,31 @@ +{ + "id": "shellscript", + "name": "ShellScript", + "description": "ShellScript dictionary.", + "readonly": true, + "dictionaryDefinitions": [ + { + "name": "bash", + "path": "./dict/bash-words.txt", + "description": "Bash dictionary." + }, + { + "name": "shellscript", + "path": "./dict/shell-all-words.txt", + "description": "ShellScript dictionary." + } + ], + "dictionaries": [], + "languageSettings": [ + { + "languageId": "shellscript", + "locale": "*", + "dictionaries": ["shellscript"] + }, + { + "languageId": "bashscript", + "locale": "*", + "dictionaries": ["bash"] + } + ] +} diff --git a/action/node_modules/@cspell/dict-bash/dict/README.md b/action/node_modules/@cspell/dict-shell/dict/README.md similarity index 100% rename from action/node_modules/@cspell/dict-bash/dict/README.md rename to action/node_modules/@cspell/dict-shell/dict/README.md diff --git a/action/node_modules/@cspell/dict-bash/dict/bash-words.txt b/action/node_modules/@cspell/dict-shell/dict/bash-words.txt similarity index 100% rename from action/node_modules/@cspell/dict-bash/dict/bash-words.txt rename to action/node_modules/@cspell/dict-shell/dict/bash-words.txt diff --git a/action/node_modules/@cspell/dict-shell/dict/shell-all-words.txt b/action/node_modules/@cspell/dict-shell/dict/shell-all-words.txt new file mode 100644 index 00000000..bafa7bf4 --- /dev/null +++ b/action/node_modules/@cspell/dict-shell/dict/shell-all-words.txt @@ -0,0 +1,251 @@ + +# cspell-tools: keep-case no-split + +--no-globalrcs +--noprofile +--norc +--rcfile +ARCHFLAGS +BASHOPTS +BASH_ARGV0 +BASH_COMPAT +BASH_SOURCE +BASH_VERSINFO +BASH_XTRACEFD +CHILD_MAX +COLUMNS +COMPREPLY +COMP_WORDBREAKS +CWORD +EPOCHREALTIME +EUID +EXECIGNORE +FUNCNAME +FUNCNEST +GLOBIGNORE +HISTCONTROL +HISTFILE +HISTFILESIZE +HISTIGNORE +HISTSIZE +HISTTIMEFORMAT +HOME +HOSTFILE +HOSTNAME +HOSTTYPE +IFS +LANG +LC_ALL +LC_COLLATE +LC_CTYPE +LC_MESSAGES +LC_NUMERIC +LC_TIME +LINES +LOGCHECK +MACHTYPE +MAIL +MAILCHECK +MAILPATH +MANPAGER +MANPATH +OLDPWD +OPTARG +OPTERR +OPTIND +OSTYPE +PATH +PIPESTATUS +POSIXLY_CORRECT +POSIX_PEDANTIC +PPID +PROMPT_COMMAND +PS1 +PS2 +PS3 +PS4 +READLINE_LINE +READLINE_MARK +READLINE_POINT +SCRIPTDIR +SECONDS +SHELL +SHELLOPTS +SRANDOM +SSH2_CLIENT +SSH_CLIENT +TERM +TERMCAP +TERMINFO +TEXTDOMAIN +TEXTDOMAINDIR +TIMEFMT +TIMEFORMAT +TMOUT +TTYIDLE +TZ +UID +WATCHFMT +alias +allexport +alnum +autoload +autoremove +bashcompinit +bashscript +bg +bind +bindkey +braceexpand +break +builtin +caller +case +cd +chpwd +chsh +cntrl +command +compadd +compctl +compdef +compgen +compinit +complete +compopt +continue +coproc +cword +dbus +dearmor +declare +dirs +disown +do +done +dpkg +echo +elif +else +emacs +enable +enarmor +epochtime +errexit +errtrace +esac +euxo +eval +exec +exit +export +fallocate +false +fc +fg +fi +for +fstype +funcfiletrace +function +functrace +getopts +globstar +hash +hashall +help +histexpand +history +if +ignoreeof +in +inlib +jobs +keymap +keymaps +keyrings +keyword +kill +let +local +logout +ltrim +mapfile +mkdir +mktemp +monitor +mvim +myzsh +neovim +newgidmap +newuidmap +noclobber +noexec +noglob +nolog +notify +nounset +nvim +ohmyzsh +onecmd +pgrep +physical +pipefail +popd +posix +precmd +preexec +printf +privileged +promptinit +proxyd +punct +pushd +pwd +read +readarray +readline +readlink +readonly +realpath +return +select +set +setopt +shellcheck +shellscript +shfmt +shift +shopt +source +strftime +suspend +tabtab +test +then +time +times +tput +trap +true +type +typeset +uidmap +ulimit +umask +unalias +unset +unsetopt +until +verbose +vi +vim +wait +while +xdigit +xtrace +zdotdir +zshaddhistory +zshconfig +zshexit +zstyle diff --git a/action/node_modules/@cspell/dict-shell/package.json b/action/node_modules/@cspell/dict-shell/package.json new file mode 100644 index 00000000..9f4d1051 --- /dev/null +++ b/action/node_modules/@cspell/dict-shell/package.json @@ -0,0 +1,44 @@ +{ + "name": "@cspell/dict-shell", + "version": "1.1.0", + "description": "Shell Script dictionary for cspell.", + "publishConfig": { + "access": "public", + "provenance": true + }, + "exports": { + ".": "./cspell-ext.json", + "./cspell": "./cspell-ext.json", + "./cspell-ext.json": "./cspell-ext.json" + }, + "scripts": { + "build": "cspell-tools-cli build", + "test": "shx cat test/legacy-words.txt | cspell -c ./cspell-ext.json \"--locale=*\" \"--languageId=shellscript\" stdin", + "prepublishOnly": "echo pre-publish", + "prepare:dictionary": "pnpm run build" + }, + "repository": { + "type": "git", + "url": "https://github.com/streetsidesoftware/cspell-dicts", + "directory": "dictionaries/shell" + }, + "keywords": [ + "cspell", + "bash", + "shell", + "POSIX", + "dictionary", + "spelling" + ], + "author": "Street Side Software ", + "license": "MIT", + "bugs": { + "url": "https://github.com/streetsidesoftware/cspell-dicts/issues" + }, + "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/bash#readme", + "files": [ + "dict/*", + "cspell-ext.json" + ], + "gitHead": "3b96e0ab2641bbc840fdc4decd1168a4d7232454" +}