From 9e844905244ac4eba6c3bd4c2ba569a073c5d419 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Tue, 5 Mar 2024 19:29:26 +0100 Subject: [PATCH] chore: add `directory` to package.json repository field (#3035) --- dictionaries/ada/package.json | 3 +- dictionaries/al/package.json | 3 +- dictionaries/ar/package.json | 3 +- dictionaries/aws/package.json | 3 +- dictionaries/bash/package.json | 3 +- dictionaries/bg_BG/package.json | 3 +- dictionaries/ca/package.json | 3 +- dictionaries/city-names-finland/package.json | 3 +- dictionaries/clojure/package.json | 3 +- dictionaries/companies/package.json | 3 +- dictionaries/cpp/package.json | 3 +- dictionaries/cryptocurrencies/package.json | 3 +- dictionaries/cs_CZ/package.json | 3 +- dictionaries/csharp/package.json | 3 +- dictionaries/css/package.json | 3 +- dictionaries/da_DK/package.json | 3 +- dictionaries/dart/package.json | 3 +- dictionaries/data-science/package.json | 3 +- dictionaries/de_AT/package.json | 3 +- dictionaries/de_CH/package.json | 3 +- dictionaries/de_DE/package.json | 3 +- dictionaries/django/package.json | 3 +- dictionaries/docker/package.json | 3 +- dictionaries/dotnet/package.json | 3 +- dictionaries/el/package.json | 3 +- dictionaries/elixir/package.json | 3 +- .../en-common-misspellings/package.json | 3 +- dictionaries/en_AU/package.json | 3 +- dictionaries/en_CA/package.json | 3 +- dictionaries/en_GB-MIT/package.json | 3 +- dictionaries/en_GB/package.json | 3 +- dictionaries/en_US/package.json | 3 +- dictionaries/en_shared/package.json | 3 +- dictionaries/eo/package.json | 3 +- dictionaries/es_ES/package.json | 3 +- dictionaries/et-EE/package.json | 3 +- dictionaries/eu/package.json | 3 +- dictionaries/fa_IR/package.json | 3 +- dictionaries/fi_FI/package.json | 3 +- dictionaries/filetypes/package.json | 3 +- dictionaries/fonts/package.json | 3 +- dictionaries/fr_FR/package.json | 3 +- dictionaries/fr_FR_90/package.json | 3 +- dictionaries/fsharp/package.json | 3 +- dictionaries/fullstack/package.json | 3 +- dictionaries/gaming-terms/package.json | 3 +- dictionaries/git/package.json | 3 +- dictionaries/golang/package.json | 3 +- dictionaries/haskell/package.json | 3 +- dictionaries/he/package.json | 3 +- dictionaries/hr_HR/package.json | 3 +- .../html-symbol-entities/package.json | 3 +- dictionaries/html/package.json | 3 +- dictionaries/hu_HU/package.json | 3 +- dictionaries/id_ID/package.json | 3 +- dictionaries/it_IT/package.json | 3 +- dictionaries/java/package.json | 3 +- dictionaries/k8s/package.json | 3 +- dictionaries/kotlin/package.json | 3 +- dictionaries/la/package.json | 3 +- dictionaries/latex/package.json | 3 +- dictionaries/lorem-ipsum/package.json | 3 +- dictionaries/lt_LT/package.json | 3 +- dictionaries/lua/package.json | 3 +- dictionaries/lv/package.json | 3 +- dictionaries/makefile/package.json | 3 +- dictionaries/markdown/package.json | 3 +- dictionaries/medicalterms/package.json | 3 +- dictionaries/mnemonics/package.json | 3 +- dictionaries/monkeyc/package.json | 3 +- dictionaries/nb_NO/package.json | 3 +- dictionaries/nl_NL/package.json | 3 +- dictionaries/node/package.json | 3 +- dictionaries/npm/package.json | 3 +- dictionaries/php/package.json | 3 +- dictionaries/pl_PL/package.json | 3 +- dictionaries/powershell/package.json | 3 +- dictionaries/pt_BR/package.json | 3 +- dictionaries/pt_PT/package.json | 3 +- dictionaries/public-licenses/package.json | 3 +- dictionaries/python/package.json | 3 +- dictionaries/r/package.json | 3 +- dictionaries/redis/package.json | 3 +- dictionaries/ro_RO/package.json | 3 +- dictionaries/ru_RU/package.json | 3 +- dictionaries/ruby/package.json | 3 +- dictionaries/rust/package.json | 3 +- dictionaries/scala/package.json | 3 +- dictionaries/scientific_terms_GB/package.json | 3 +- dictionaries/scientific_terms_US/package.json | 3 +- dictionaries/shell/package.json | 3 +- dictionaries/sk_SK/package.json | 3 +- dictionaries/sl_SI/package.json | 3 +- dictionaries/software-terms/package.json | 3 +- dictionaries/sql/package.json | 3 +- dictionaries/sr_Cyrl/package.json | 3 +- dictionaries/sr_Latn/package.json | 3 +- dictionaries/sv/package.json | 3 +- dictionaries/svelte/package.json | 3 +- dictionaries/swift/package.json | 3 +- dictionaries/tr_TR/package.json | 3 +- dictionaries/typescript/package.json | 3 +- dictionaries/uk_UA/package.json | 3 +- dictionaries/vi_VN/package.json | 3 +- dictionaries/vim/package.json | 3 +- dictionaries/vue/package.json | 3 +- dictionaries/win32/package.json | 3 +- scripts/package.json | 7 ++++ scripts/update-package-json.mjs | 39 +++++++++++++++++++ 109 files changed, 260 insertions(+), 107 deletions(-) create mode 100755 scripts/update-package-json.mjs diff --git a/dictionaries/ada/package.json b/dictionaries/ada/package.json index 457f81b954a..42fb99830ac 100644 --- a/dictionaries/ada/package.json +++ b/dictionaries/ada/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/ada" }, "keywords": [ "cspell", diff --git a/dictionaries/al/package.json b/dictionaries/al/package.json index ae855cd1469..8cfd1578c41 100644 --- a/dictionaries/al/package.json +++ b/dictionaries/al/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/al" }, "keywords": [ "cspell", diff --git a/dictionaries/ar/package.json b/dictionaries/ar/package.json index 994ce4a0114..f373b711d9d 100644 --- a/dictionaries/ar/package.json +++ b/dictionaries/ar/package.json @@ -25,7 +25,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/ar" }, "keywords": [ "cspell", diff --git a/dictionaries/aws/package.json b/dictionaries/aws/package.json index f0ad832f9eb..fc2bcbc060e 100644 --- a/dictionaries/aws/package.json +++ b/dictionaries/aws/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/aws" }, "keywords": [ "cspell", diff --git a/dictionaries/bash/package.json b/dictionaries/bash/package.json index 3530c404f9d..6eafda10031 100644 --- a/dictionaries/bash/package.json +++ b/dictionaries/bash/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/bash" }, "keywords": [ "cspell", diff --git a/dictionaries/bg_BG/package.json b/dictionaries/bg_BG/package.json index 50855e739b1..56ced956f7b 100644 --- a/dictionaries/bg_BG/package.json +++ b/dictionaries/bg_BG/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/bg_BG" }, "keywords": [ "cspell", diff --git a/dictionaries/ca/package.json b/dictionaries/ca/package.json index 3c449d1c34e..c61df6cf370 100644 --- a/dictionaries/ca/package.json +++ b/dictionaries/ca/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/ca" }, "keywords": [ "cspell", diff --git a/dictionaries/city-names-finland/package.json b/dictionaries/city-names-finland/package.json index 110890982db..8f6dc7bd014 100644 --- a/dictionaries/city-names-finland/package.json +++ b/dictionaries/city-names-finland/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/city-names-finland" }, "keywords": [ "cspell", diff --git a/dictionaries/clojure/package.json b/dictionaries/clojure/package.json index 942053f0707..42a0fb34318 100644 --- a/dictionaries/clojure/package.json +++ b/dictionaries/clojure/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/clojure" }, "keywords": [ "cspell", diff --git a/dictionaries/companies/package.json b/dictionaries/companies/package.json index 260a28e1c4b..b9b22393f15 100644 --- a/dictionaries/companies/package.json +++ b/dictionaries/companies/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/companies" }, "keywords": [ "cspell", diff --git a/dictionaries/cpp/package.json b/dictionaries/cpp/package.json index af4f918e622..fae5669e77d 100644 --- a/dictionaries/cpp/package.json +++ b/dictionaries/cpp/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/cpp" }, "keywords": [ "cspell", diff --git a/dictionaries/cryptocurrencies/package.json b/dictionaries/cryptocurrencies/package.json index 7245e95ae84..81ccc0c460f 100644 --- a/dictionaries/cryptocurrencies/package.json +++ b/dictionaries/cryptocurrencies/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/cryptocurrencies" }, "keywords": [ "cspell", diff --git a/dictionaries/cs_CZ/package.json b/dictionaries/cs_CZ/package.json index 32b8fecf435..7d4f9c8b998 100644 --- a/dictionaries/cs_CZ/package.json +++ b/dictionaries/cs_CZ/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/cs_CZ" }, "keywords": [ "cspell", diff --git a/dictionaries/csharp/package.json b/dictionaries/csharp/package.json index 0e429b4e4e3..66bd81d3d15 100644 --- a/dictionaries/csharp/package.json +++ b/dictionaries/csharp/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/csharp" }, "keywords": [ "cspell", diff --git a/dictionaries/css/package.json b/dictionaries/css/package.json index dd9b0813050..c4d0be121a1 100644 --- a/dictionaries/css/package.json +++ b/dictionaries/css/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/css" }, "keywords": [ "cspell", diff --git a/dictionaries/da_DK/package.json b/dictionaries/da_DK/package.json index 79d78d7c0a4..afd21c20698 100644 --- a/dictionaries/da_DK/package.json +++ b/dictionaries/da_DK/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/da_DK" }, "keywords": [ "cspell", diff --git a/dictionaries/dart/package.json b/dictionaries/dart/package.json index 622d6546402..43d3008ed9c 100644 --- a/dictionaries/dart/package.json +++ b/dictionaries/dart/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/dart" }, "keywords": [ "cspell", diff --git a/dictionaries/data-science/package.json b/dictionaries/data-science/package.json index d23ee947254..8b82d0fd9d9 100644 --- a/dictionaries/data-science/package.json +++ b/dictionaries/data-science/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/data-science" }, "keywords": [ "cspell", diff --git a/dictionaries/de_AT/package.json b/dictionaries/de_AT/package.json index ccc9f4daede..de30206f6f0 100644 --- a/dictionaries/de_AT/package.json +++ b/dictionaries/de_AT/package.json @@ -23,7 +23,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/de_AT" }, "keywords": [ "cspell", diff --git a/dictionaries/de_CH/package.json b/dictionaries/de_CH/package.json index 420c0414e50..56f586a65c5 100644 --- a/dictionaries/de_CH/package.json +++ b/dictionaries/de_CH/package.json @@ -23,7 +23,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/de_CH" }, "keywords": [ "cspell", diff --git a/dictionaries/de_DE/package.json b/dictionaries/de_DE/package.json index 3178597dca8..ed3764389a4 100644 --- a/dictionaries/de_DE/package.json +++ b/dictionaries/de_DE/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/de_DE" }, "keywords": [ "cspell", diff --git a/dictionaries/django/package.json b/dictionaries/django/package.json index 60ad3995328..86d239b29fe 100644 --- a/dictionaries/django/package.json +++ b/dictionaries/django/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/django" }, "keywords": [ "cspell", diff --git a/dictionaries/docker/package.json b/dictionaries/docker/package.json index ad88c9bc7c1..b513b3f72a3 100644 --- a/dictionaries/docker/package.json +++ b/dictionaries/docker/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/docker" }, "keywords": [ "cspell", diff --git a/dictionaries/dotnet/package.json b/dictionaries/dotnet/package.json index 0862f10d901..80c2695301f 100644 --- a/dictionaries/dotnet/package.json +++ b/dictionaries/dotnet/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/dotnet" }, "keywords": [ "cspell", diff --git a/dictionaries/el/package.json b/dictionaries/el/package.json index a6703453b88..e619be68374 100644 --- a/dictionaries/el/package.json +++ b/dictionaries/el/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/el" }, "keywords": [ "cspell", diff --git a/dictionaries/elixir/package.json b/dictionaries/elixir/package.json index b6b37619e2f..4f3dac7d79a 100644 --- a/dictionaries/elixir/package.json +++ b/dictionaries/elixir/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/elixir" }, "keywords": [ "cspell", diff --git a/dictionaries/en-common-misspellings/package.json b/dictionaries/en-common-misspellings/package.json index 2ddc781329a..b537e4c861c 100644 --- a/dictionaries/en-common-misspellings/package.json +++ b/dictionaries/en-common-misspellings/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en-common-misspellings" }, "keywords": [ "cspell", diff --git a/dictionaries/en_AU/package.json b/dictionaries/en_AU/package.json index 86772368783..5e13b087c6d 100644 --- a/dictionaries/en_AU/package.json +++ b/dictionaries/en_AU/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en_AU" }, "keywords": [ "cspell", diff --git a/dictionaries/en_CA/package.json b/dictionaries/en_CA/package.json index fb6ac461c3b..f7e27cb5185 100644 --- a/dictionaries/en_CA/package.json +++ b/dictionaries/en_CA/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en_CA" }, "keywords": [ "cspell", diff --git a/dictionaries/en_GB-MIT/package.json b/dictionaries/en_GB-MIT/package.json index 74653bccc72..976c4fe7085 100644 --- a/dictionaries/en_GB-MIT/package.json +++ b/dictionaries/en_GB-MIT/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en_GB-MIT" }, "keywords": [ "cspell", diff --git a/dictionaries/en_GB/package.json b/dictionaries/en_GB/package.json index 25174d087bb..fef058ac524 100644 --- a/dictionaries/en_GB/package.json +++ b/dictionaries/en_GB/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en_GB" }, "keywords": [ "cspell", diff --git a/dictionaries/en_US/package.json b/dictionaries/en_US/package.json index df2893bde1b..1b1574aa825 100644 --- a/dictionaries/en_US/package.json +++ b/dictionaries/en_US/package.json @@ -24,7 +24,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en_US" }, "keywords": [ "cspell", diff --git a/dictionaries/en_shared/package.json b/dictionaries/en_shared/package.json index ead8c47ef00..66ce7f6a4a6 100644 --- a/dictionaries/en_shared/package.json +++ b/dictionaries/en_shared/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/en_shared" }, "keywords": [ "cspell", diff --git a/dictionaries/eo/package.json b/dictionaries/eo/package.json index d941076a67f..167c4f9d81f 100644 --- a/dictionaries/eo/package.json +++ b/dictionaries/eo/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/eo" }, "keywords": [ "cspell", diff --git a/dictionaries/es_ES/package.json b/dictionaries/es_ES/package.json index 66dfa03f103..5d60d3d5b0c 100644 --- a/dictionaries/es_ES/package.json +++ b/dictionaries/es_ES/package.json @@ -26,7 +26,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/es_ES" }, "keywords": [ "cspell", diff --git a/dictionaries/et-EE/package.json b/dictionaries/et-EE/package.json index 98a60901665..ae064c18ad5 100644 --- a/dictionaries/et-EE/package.json +++ b/dictionaries/et-EE/package.json @@ -25,7 +25,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/et-EE" }, "keywords": [ "cspell", diff --git a/dictionaries/eu/package.json b/dictionaries/eu/package.json index 0d1a961d9f0..70377903462 100644 --- a/dictionaries/eu/package.json +++ b/dictionaries/eu/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/eu" }, "keywords": [ "cspell", diff --git a/dictionaries/fa_IR/package.json b/dictionaries/fa_IR/package.json index 1ace08e2319..2d5c8eee927 100644 --- a/dictionaries/fa_IR/package.json +++ b/dictionaries/fa_IR/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fa_IR" }, "keywords": [ "cspell", diff --git a/dictionaries/fi_FI/package.json b/dictionaries/fi_FI/package.json index dbc8ae692af..3fc73483ae5 100644 --- a/dictionaries/fi_FI/package.json +++ b/dictionaries/fi_FI/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fi_FI" }, "keywords": [ "cspell", diff --git a/dictionaries/filetypes/package.json b/dictionaries/filetypes/package.json index fe3d71bb796..a683717b0b2 100644 --- a/dictionaries/filetypes/package.json +++ b/dictionaries/filetypes/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/filetypes" }, "keywords": [ "cspell", diff --git a/dictionaries/fonts/package.json b/dictionaries/fonts/package.json index 452995f289f..ccc1e021e17 100644 --- a/dictionaries/fonts/package.json +++ b/dictionaries/fonts/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fonts" }, "keywords": [ "cspell", diff --git a/dictionaries/fr_FR/package.json b/dictionaries/fr_FR/package.json index 55b6d3630e2..7e60fb8c334 100644 --- a/dictionaries/fr_FR/package.json +++ b/dictionaries/fr_FR/package.json @@ -23,7 +23,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fr_FR" }, "keywords": [ "cspell", diff --git a/dictionaries/fr_FR_90/package.json b/dictionaries/fr_FR_90/package.json index 6816a8034da..84754046045 100644 --- a/dictionaries/fr_FR_90/package.json +++ b/dictionaries/fr_FR_90/package.json @@ -23,7 +23,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fr_FR_90" }, "keywords": [ "cspell", diff --git a/dictionaries/fsharp/package.json b/dictionaries/fsharp/package.json index b654968c62c..0bd8f1ea670 100644 --- a/dictionaries/fsharp/package.json +++ b/dictionaries/fsharp/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fsharp" }, "keywords": [ "cspell", diff --git a/dictionaries/fullstack/package.json b/dictionaries/fullstack/package.json index 0cec66d393b..032cf6b6bba 100644 --- a/dictionaries/fullstack/package.json +++ b/dictionaries/fullstack/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/fullstack" }, "keywords": [ "cspell", diff --git a/dictionaries/gaming-terms/package.json b/dictionaries/gaming-terms/package.json index 12afcc11915..e7cdcfa981a 100644 --- a/dictionaries/gaming-terms/package.json +++ b/dictionaries/gaming-terms/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/gaming-terms" }, "keywords": [ "cspell", diff --git a/dictionaries/git/package.json b/dictionaries/git/package.json index 41abf9e63d8..72898969824 100644 --- a/dictionaries/git/package.json +++ b/dictionaries/git/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/git" }, "keywords": [ "cspell", diff --git a/dictionaries/golang/package.json b/dictionaries/golang/package.json index db32bc4e70a..baa874e4269 100644 --- a/dictionaries/golang/package.json +++ b/dictionaries/golang/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/golang" }, "keywords": [ "cspell", diff --git a/dictionaries/haskell/package.json b/dictionaries/haskell/package.json index 01802389854..5851a00e1dc 100644 --- a/dictionaries/haskell/package.json +++ b/dictionaries/haskell/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/haskell" }, "keywords": [ "cspell", diff --git a/dictionaries/he/package.json b/dictionaries/he/package.json index 41d0d9b3a23..bdf233336e7 100644 --- a/dictionaries/he/package.json +++ b/dictionaries/he/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/he" }, "keywords": [ "cspell", diff --git a/dictionaries/hr_HR/package.json b/dictionaries/hr_HR/package.json index 31b161b5542..80cacfb48c7 100644 --- a/dictionaries/hr_HR/package.json +++ b/dictionaries/hr_HR/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/hr_HR" }, "keywords": [ "cspell", diff --git a/dictionaries/html-symbol-entities/package.json b/dictionaries/html-symbol-entities/package.json index a753fc34be5..b0e2e05f0b6 100644 --- a/dictionaries/html-symbol-entities/package.json +++ b/dictionaries/html-symbol-entities/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/html-symbol-entities" }, "keywords": [ "cspell", diff --git a/dictionaries/html/package.json b/dictionaries/html/package.json index 0eb1951f11e..b8447185d70 100644 --- a/dictionaries/html/package.json +++ b/dictionaries/html/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/html" }, "keywords": [ "cspell", diff --git a/dictionaries/hu_HU/package.json b/dictionaries/hu_HU/package.json index 88638b663a8..3024a1389c9 100644 --- a/dictionaries/hu_HU/package.json +++ b/dictionaries/hu_HU/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/hu_HU" }, "keywords": [ "cspell", diff --git a/dictionaries/id_ID/package.json b/dictionaries/id_ID/package.json index 0b76c36568f..e983389bf76 100644 --- a/dictionaries/id_ID/package.json +++ b/dictionaries/id_ID/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/id_ID" }, "keywords": [ "cspell", diff --git a/dictionaries/it_IT/package.json b/dictionaries/it_IT/package.json index 39bfe5bbaa1..e5072d995e5 100644 --- a/dictionaries/it_IT/package.json +++ b/dictionaries/it_IT/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/it_IT" }, "keywords": [ "cspell", diff --git a/dictionaries/java/package.json b/dictionaries/java/package.json index f56512b0c98..130ac3723e7 100644 --- a/dictionaries/java/package.json +++ b/dictionaries/java/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/java" }, "keywords": [ "cspell", diff --git a/dictionaries/k8s/package.json b/dictionaries/k8s/package.json index c48803c3248..80e76b681ca 100644 --- a/dictionaries/k8s/package.json +++ b/dictionaries/k8s/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/k8s" }, "keywords": [ "cspell", diff --git a/dictionaries/kotlin/package.json b/dictionaries/kotlin/package.json index ec10da9529c..1130294814f 100644 --- a/dictionaries/kotlin/package.json +++ b/dictionaries/kotlin/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/kotlin" }, "keywords": [ "cspell", diff --git a/dictionaries/la/package.json b/dictionaries/la/package.json index a5d3cf6707c..5067b66d9b0 100644 --- a/dictionaries/la/package.json +++ b/dictionaries/la/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/la" }, "keywords": [ "cspell", diff --git a/dictionaries/latex/package.json b/dictionaries/latex/package.json index cfaf07a0ad0..5ecd84b1989 100644 --- a/dictionaries/latex/package.json +++ b/dictionaries/latex/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/latex" }, "keywords": [ "cspell", diff --git a/dictionaries/lorem-ipsum/package.json b/dictionaries/lorem-ipsum/package.json index 3191b18e1cb..96d3ce893f1 100644 --- a/dictionaries/lorem-ipsum/package.json +++ b/dictionaries/lorem-ipsum/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/lorem-ipsum" }, "keywords": [ "cspell", diff --git a/dictionaries/lt_LT/package.json b/dictionaries/lt_LT/package.json index c84d96f1231..6063623497e 100644 --- a/dictionaries/lt_LT/package.json +++ b/dictionaries/lt_LT/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/lt_LT" }, "keywords": [ "cspell", diff --git a/dictionaries/lua/package.json b/dictionaries/lua/package.json index c584abd93f3..b439db0b88d 100644 --- a/dictionaries/lua/package.json +++ b/dictionaries/lua/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/lua" }, "keywords": [ "cspell", diff --git a/dictionaries/lv/package.json b/dictionaries/lv/package.json index ad594a27aa2..23a3a2c3d6a 100644 --- a/dictionaries/lv/package.json +++ b/dictionaries/lv/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/lv" }, "keywords": [ "cspell", diff --git a/dictionaries/makefile/package.json b/dictionaries/makefile/package.json index eccd4cef2e4..cb27a16185a 100644 --- a/dictionaries/makefile/package.json +++ b/dictionaries/makefile/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/makefile" }, "keywords": [ "cspell", diff --git a/dictionaries/markdown/package.json b/dictionaries/markdown/package.json index fc42c4beb74..e8d4b294761 100644 --- a/dictionaries/markdown/package.json +++ b/dictionaries/markdown/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/markdown" }, "keywords": [ "cspell", diff --git a/dictionaries/medicalterms/package.json b/dictionaries/medicalterms/package.json index e5c465c5749..0d66f6af7c8 100644 --- a/dictionaries/medicalterms/package.json +++ b/dictionaries/medicalterms/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/medicalterms" }, "keywords": [ "cspell", diff --git a/dictionaries/mnemonics/package.json b/dictionaries/mnemonics/package.json index 814b1314bc5..77479c92acd 100644 --- a/dictionaries/mnemonics/package.json +++ b/dictionaries/mnemonics/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/mnemonics" }, "keywords": [ "cspell", diff --git a/dictionaries/monkeyc/package.json b/dictionaries/monkeyc/package.json index 303ae537561..7076f4bdcc2 100644 --- a/dictionaries/monkeyc/package.json +++ b/dictionaries/monkeyc/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/monkeyc" }, "keywords": [ "cspell", diff --git a/dictionaries/nb_NO/package.json b/dictionaries/nb_NO/package.json index f0236b31352..9090341d154 100644 --- a/dictionaries/nb_NO/package.json +++ b/dictionaries/nb_NO/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/nb_NO" }, "keywords": [ "cspell", diff --git a/dictionaries/nl_NL/package.json b/dictionaries/nl_NL/package.json index 68756579ba0..e7c1c86838e 100644 --- a/dictionaries/nl_NL/package.json +++ b/dictionaries/nl_NL/package.json @@ -25,7 +25,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/nl_NL" }, "keywords": [ "cspell", diff --git a/dictionaries/node/package.json b/dictionaries/node/package.json index cc9b788dd61..893a4eb45f2 100644 --- a/dictionaries/node/package.json +++ b/dictionaries/node/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/node" }, "keywords": [ "cspell", diff --git a/dictionaries/npm/package.json b/dictionaries/npm/package.json index a2cbfc53171..90372a50519 100644 --- a/dictionaries/npm/package.json +++ b/dictionaries/npm/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/npm" }, "keywords": [ "cspell", diff --git a/dictionaries/php/package.json b/dictionaries/php/package.json index 3fc9bd5ad21..6247b59ed07 100644 --- a/dictionaries/php/package.json +++ b/dictionaries/php/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/php" }, "keywords": [ "cspell", diff --git a/dictionaries/pl_PL/package.json b/dictionaries/pl_PL/package.json index 3977138e0c5..4cc71853919 100644 --- a/dictionaries/pl_PL/package.json +++ b/dictionaries/pl_PL/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/pl_PL" }, "keywords": [ "cspell", diff --git a/dictionaries/powershell/package.json b/dictionaries/powershell/package.json index ce40a54d5ac..3b3a09a8cb6 100644 --- a/dictionaries/powershell/package.json +++ b/dictionaries/powershell/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/powershell" }, "keywords": [ "cspell", diff --git a/dictionaries/pt_BR/package.json b/dictionaries/pt_BR/package.json index 649e1079174..0f24014c3b3 100644 --- a/dictionaries/pt_BR/package.json +++ b/dictionaries/pt_BR/package.json @@ -23,7 +23,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/pt_BR" }, "keywords": [ "cspell", diff --git a/dictionaries/pt_PT/package.json b/dictionaries/pt_PT/package.json index 0fca8391394..e445f3e4ff4 100644 --- a/dictionaries/pt_PT/package.json +++ b/dictionaries/pt_PT/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/pt_PT" }, "keywords": [ "cspell", diff --git a/dictionaries/public-licenses/package.json b/dictionaries/public-licenses/package.json index 767eaec555a..e0eae78b522 100644 --- a/dictionaries/public-licenses/package.json +++ b/dictionaries/public-licenses/package.json @@ -25,7 +25,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/public-licenses" }, "keywords": [ "cspell", diff --git a/dictionaries/python/package.json b/dictionaries/python/package.json index 0b8f6a2b616..e3a988e18c1 100644 --- a/dictionaries/python/package.json +++ b/dictionaries/python/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/python" }, "keywords": [ "cspell", diff --git a/dictionaries/r/package.json b/dictionaries/r/package.json index b18171e609e..953cb432bb8 100644 --- a/dictionaries/r/package.json +++ b/dictionaries/r/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/r" }, "keywords": [ "cspell", diff --git a/dictionaries/redis/package.json b/dictionaries/redis/package.json index cfb4a1a3cb0..00974d280a8 100644 --- a/dictionaries/redis/package.json +++ b/dictionaries/redis/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/redis" }, "keywords": [ "cspell", diff --git a/dictionaries/ro_RO/package.json b/dictionaries/ro_RO/package.json index 32752c5d60a..8da89fbac32 100644 --- a/dictionaries/ro_RO/package.json +++ b/dictionaries/ro_RO/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/ro_RO" }, "keywords": [ "cspell", diff --git a/dictionaries/ru_RU/package.json b/dictionaries/ru_RU/package.json index a01b258292b..2a8909f7205 100644 --- a/dictionaries/ru_RU/package.json +++ b/dictionaries/ru_RU/package.json @@ -23,7 +23,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/ru_RU" }, "keywords": [ "cspell", diff --git a/dictionaries/ruby/package.json b/dictionaries/ruby/package.json index 19f627b5bb8..71ae21f40a6 100644 --- a/dictionaries/ruby/package.json +++ b/dictionaries/ruby/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/ruby" }, "keywords": [ "cspell", diff --git a/dictionaries/rust/package.json b/dictionaries/rust/package.json index fb43eac8224..26396db4e41 100644 --- a/dictionaries/rust/package.json +++ b/dictionaries/rust/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/rust" }, "keywords": [ "cspell", diff --git a/dictionaries/scala/package.json b/dictionaries/scala/package.json index 7b7728ff7b1..6985dabd57a 100644 --- a/dictionaries/scala/package.json +++ b/dictionaries/scala/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/scala" }, "keywords": [ "cspell", diff --git a/dictionaries/scientific_terms_GB/package.json b/dictionaries/scientific_terms_GB/package.json index e4f5de2a51f..149b3f8b8e4 100644 --- a/dictionaries/scientific_terms_GB/package.json +++ b/dictionaries/scientific_terms_GB/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/scientific_terms_GB" }, "keywords": [ "cspell", diff --git a/dictionaries/scientific_terms_US/package.json b/dictionaries/scientific_terms_US/package.json index 09bb6b98fff..4e81be90c48 100644 --- a/dictionaries/scientific_terms_US/package.json +++ b/dictionaries/scientific_terms_US/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/scientific_terms_US" }, "keywords": [ "cspell", diff --git a/dictionaries/shell/package.json b/dictionaries/shell/package.json index 6917de3996c..a69600338ad 100644 --- a/dictionaries/shell/package.json +++ b/dictionaries/shell/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/shell" }, "keywords": [ "cspell", diff --git a/dictionaries/sk_SK/package.json b/dictionaries/sk_SK/package.json index 6b8816549e3..00c0b5f62dd 100644 --- a/dictionaries/sk_SK/package.json +++ b/dictionaries/sk_SK/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/sk_SK" }, "keywords": [ "cspell", diff --git a/dictionaries/sl_SI/package.json b/dictionaries/sl_SI/package.json index 141c9a9ac0c..b11e3eb5e04 100644 --- a/dictionaries/sl_SI/package.json +++ b/dictionaries/sl_SI/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/sl_SI" }, "keywords": [ "cspell", diff --git a/dictionaries/software-terms/package.json b/dictionaries/software-terms/package.json index 40f5e46adb8..889d4678462 100644 --- a/dictionaries/software-terms/package.json +++ b/dictionaries/software-terms/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/software-terms" }, "keywords": [ "cspell", diff --git a/dictionaries/sql/package.json b/dictionaries/sql/package.json index 4d77fcb01b7..6d1f10bbced 100644 --- a/dictionaries/sql/package.json +++ b/dictionaries/sql/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/sql" }, "keywords": [ "cspell", diff --git a/dictionaries/sr_Cyrl/package.json b/dictionaries/sr_Cyrl/package.json index 008a22940fe..872dd809340 100644 --- a/dictionaries/sr_Cyrl/package.json +++ b/dictionaries/sr_Cyrl/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/sr_Cyrl" }, "keywords": [ "cspell", diff --git a/dictionaries/sr_Latn/package.json b/dictionaries/sr_Latn/package.json index e93df9f0521..642b9282b61 100644 --- a/dictionaries/sr_Latn/package.json +++ b/dictionaries/sr_Latn/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/sr_Latn" }, "keywords": [ "cspell", diff --git a/dictionaries/sv/package.json b/dictionaries/sv/package.json index 0156c7b3697..ceeaa3b59f0 100644 --- a/dictionaries/sv/package.json +++ b/dictionaries/sv/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/sv" }, "keywords": [ "cspell", diff --git a/dictionaries/svelte/package.json b/dictionaries/svelte/package.json index ca40c1e434b..56b0ade05e3 100644 --- a/dictionaries/svelte/package.json +++ b/dictionaries/svelte/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/svelte" }, "keywords": [ "cspell", diff --git a/dictionaries/swift/package.json b/dictionaries/swift/package.json index 062e45216b7..3157796791c 100644 --- a/dictionaries/swift/package.json +++ b/dictionaries/swift/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/swift" }, "keywords": [ "cspell", diff --git a/dictionaries/tr_TR/package.json b/dictionaries/tr_TR/package.json index 134e805ce5f..3a37341452b 100644 --- a/dictionaries/tr_TR/package.json +++ b/dictionaries/tr_TR/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/tr_TR" }, "keywords": [ "cspell", diff --git a/dictionaries/typescript/package.json b/dictionaries/typescript/package.json index 39a887b22aa..7d699f724c8 100644 --- a/dictionaries/typescript/package.json +++ b/dictionaries/typescript/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/typescript" }, "keywords": [ "cspell", diff --git a/dictionaries/uk_UA/package.json b/dictionaries/uk_UA/package.json index ceae49ee4af..9a464ae2441 100644 --- a/dictionaries/uk_UA/package.json +++ b/dictionaries/uk_UA/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/uk_UA" }, "keywords": [ "cspell", diff --git a/dictionaries/vi_VN/package.json b/dictionaries/vi_VN/package.json index 0d96946aa9e..59247c70f68 100644 --- a/dictionaries/vi_VN/package.json +++ b/dictionaries/vi_VN/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/vi_VN" }, "keywords": [ "cspell", diff --git a/dictionaries/vim/package.json b/dictionaries/vim/package.json index 764a10b15d6..4094729ef57 100644 --- a/dictionaries/vim/package.json +++ b/dictionaries/vim/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/vim" }, "keywords": [ "cspell", diff --git a/dictionaries/vue/package.json b/dictionaries/vue/package.json index a688ef53500..526b106d88b 100644 --- a/dictionaries/vue/package.json +++ b/dictionaries/vue/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/vue" }, "keywords": [ "cspell", diff --git a/dictionaries/win32/package.json b/dictionaries/win32/package.json index 439b54fb21b..b91c5c9b6c5 100644 --- a/dictionaries/win32/package.json +++ b/dictionaries/win32/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git" + "url": "https://github.com/streetsidesoftware/cspell-dict.git", + "directory": "dictionaries/win32" }, "keywords": [ "cspell", diff --git a/scripts/package.json b/scripts/package.json index 6e3bbddd1f3..fbd069c0898 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "Scripts used with maintaining the dictionaries.", "private": true, + "type": "module", + "bin": { + "update-package-json": "update-package-json.mjs" + }, "scripts": { "test": "echo \"Error: no test specified\"" }, @@ -12,5 +16,8 @@ "dependencies": { "commander": "^12.0.0", "globby": "^14.0.1" + }, + "engines": { + "node": ">=18.0.0" } } diff --git a/scripts/update-package-json.mjs b/scripts/update-package-json.mjs new file mode 100755 index 00000000000..bff6faa043a --- /dev/null +++ b/scripts/update-package-json.mjs @@ -0,0 +1,39 @@ +#!/usr/bin/env node + +import fs from 'node:fs/promises'; +import { globby } from 'globby'; + +const rootUrl = new URL('../', import.meta.url); + +/** + * Update fields in the package.json file. + * - the repository - see: [package.json repository](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository) + * @param {string[]} pkgFile + */ +async function updatePackageJson(pkgFile) { + const directory = pkgFile.split(/[/\\]/g).slice(-3, -1).join('/'); + console.log(directory); + + const pkg = JSON.parse(await fs.readFile(pkgFile, 'utf-8')); + + const repository = { + type: 'git', + url: 'https://github.com/streetsidesoftware/cspell-dict.git', + directory, + }; + + pkg.repository = repository; + + await fs.writeFile(pkgFile, JSON.stringify(pkg, null, 2) + '\n'); +} + +async function run() { + console.log('Updating package.json files...\n'); + + const files = await globby('dictionaries/*/package.json', { cwd: rootUrl, absolute: true }); + + await Promise.all(files.map(updatePackageJson)); + console.log('\nDone.'); +} + +run();