diff --git a/action/node_modules/@cspell/dict-public-licenses/README.md b/action/node_modules/@cspell/dict-public-licenses/README.md new file mode 100644 index 000000000..9fdc9539f --- /dev/null +++ b/action/node_modules/@cspell/dict-public-licenses/README.md @@ -0,0 +1,59 @@ +# CSpell Common Public Licenses Dictionary + +Common Public Licenses 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-public-licenses +cspell link add @cspell/dict-public-licenses +``` + +## Uninstall from cspell + +```sh +cspell link remove @cspell/dict-public-licenses +``` + +## Manual Installation + +Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process. + +``` +npm i @cspell/dict-public-licenses +``` + +The `cspell-ext.json` file in this package should be added to the import section in your `cspell.json` file. + +```javascript +{ + // … + "import": ["@cspell/dict-public-licenses/cspell-ext.json"], + // … +} +``` + +# Source + +[spdx-license-ids: a list of SPDX license identifiers](https://github.com/jslicense/spdx-license-ids) + +# Dictionary Development + +See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary) + +## License + +MIT + +> Some packages may have other licenses included. diff --git a/action/node_modules/@cspell/dict-public-licenses/package.json b/action/node_modules/@cspell/dict-public-licenses/package.json index 930614334..85187ac82 100644 --- a/action/node_modules/@cspell/dict-public-licenses/package.json +++ b/action/node_modules/@cspell/dict-public-licenses/package.json @@ -1,6 +1,6 @@ { "name": "@cspell/dict-public-licenses", - "version": "2.0.5", + "version": "2.0.6", "description": "Common Public Licenses dictionary for cspell.", "private": false, "publishConfig": { @@ -17,7 +17,7 @@ "checksum": "cspell-tools-cli shasum -c checksum.txt", "compile": "cspell-tools-cli build", "conditional-build": "pnpm run --silent checksum || pnpm run build && pnpm run gen-checksum", - "test-dict": "cspell -v -c ./cspell-ext.json --local=en --languageId=* --file-list source-files.txt", + "test-dict": "cspell -v -c ./cspell-ext.json --locale=en --languageId=* --file-list source-files.txt", "gen-checksum": "cspell-tools-cli shasum -u checksum.txt --list-file source-files.txt source-dependencies.txt", "test": "pnpm run test-dict", "prepublishOnly": "echo pre-publish", @@ -41,7 +41,7 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/public-licenses#readme", "devDependencies": { - "spdx-license-ids": "^3.0.16" + "spdx-license-ids": "^3.0.17" }, "files": [ "public-licenses.txt.gz", @@ -49,5 +49,5 @@ "*.js", "*.d.ts" ], - "gitHead": "ba5eeaa193322f92924e448eefe902d9830f3078" + "gitHead": "6ef94d019ff0de7963b85bc642ba93cf8a0c23ac" } diff --git a/action/node_modules/@cspell/dict-public-licenses/public-licenses.txt.gz b/action/node_modules/@cspell/dict-public-licenses/public-licenses.txt.gz index a77e5f283..b5fe430a3 100644 Binary files a/action/node_modules/@cspell/dict-public-licenses/public-licenses.txt.gz and b/action/node_modules/@cspell/dict-public-licenses/public-licenses.txt.gz differ