From 30eedf7056541521e927bab001e868390ea86161 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sat, 31 Oct 2020 21:59:31 +0100 Subject: [PATCH] ci: update dictionaries (#479) * ci: Reduce the output size * ci: update spelling dictionaries * Update package.json * fix: Update libraries and snapshots --- integration-tests/.vscode/launch.json | 2 +- .../Azure/azure-rest-api-specs/snapshot.txt | 3 +- .../TheAlgorithms/Python/snapshot.txt | 6 +--- .../snapshots/django/django/snapshot.txt | 6 +--- .../snapshots/liriliri/licia/snapshot.txt | 12 +------- .../microsoft/TypeScript-Website/snapshot.txt | 4 +-- .../snapshots/php/php-src/snapshot.txt | 9 +----- .../typescript-cheatsheets/react/snapshot.txt | 8 +---- .../wireapp/wire-webapp/snapshot.txt | 4 +-- integration-tests/src/check.ts | 4 +-- integration-tests/src/snapshots.ts | 2 +- package.json | 2 ++ packages/cspell-lib/package-lock.json | 30 +++++++++---------- packages/cspell-lib/package.json | 10 +++---- 14 files changed, 34 insertions(+), 68 deletions(-) diff --git a/integration-tests/.vscode/launch.json b/integration-tests/.vscode/launch.json index eb23938e879..f12b9cc91c0 100644 --- a/integration-tests/.vscode/launch.json +++ b/integration-tests/.vscode/launch.json @@ -11,7 +11,7 @@ "skipFiles": [ "/**" ], - "program": "${workspaceFolder}/bin.js", + "program": "${workspaceFolder}/tester.js", "outFiles": [ "${workspaceFolder}/**/*.js" ] diff --git a/integration-tests/snapshots/Azure/azure-rest-api-specs/snapshot.txt b/integration-tests/snapshots/Azure/azure-rest-api-specs/snapshot.txt index 8587a8ec7a3..3dbb86dc5ef 100644 --- a/integration-tests/snapshots/Azure/azure-rest-api-specs/snapshot.txt +++ b/integration-tests/snapshots/Azure/azure-rest-api-specs/snapshot.txt @@ -3,7 +3,7 @@ Repository: Azure/azure-rest-api-specs Url: "https://github.com/Azure/azure-rest-api-specs.git" Args: ["--config=cSpell.json","**/*.{md,ts,js}","*.{md,ts,js}"] Lines: - CSpell: Files checked: 1468, Issues found: 2394 in 613 files + CSpell: Files checked: 1468, Issues found: 2393 in 613 files exit code: 1 ./Azure/azure-rest-api-specs/README.md:20:179 - Unknown word (Dataplane) ./Azure/azure-rest-api-specs/README.md:30:134 - Unknown word (dataplane) @@ -251,7 +251,6 @@ Lines: ./Azure/azure-rest-api-specs/specification/storagecache/resource-manager/readme.az.md:7:15 - Unknown word (storagecache) ./Azure/azure-rest-api-specs/specification/synapse/data-plane/readme.go.md:48:12 - Unknown word (accesscontrol) ./Azure/azure-rest-api-specs/specification/synapse/data-plane/readme.go.md:68:12 - Unknown word (managedvirtualnetwork) -./Azure/azure-rest-api-specs/specification/synapse/data-plane/readme.md:119:57 - Unknown word (jupyter) ./Azure/azure-rest-api-specs/specification/synapse/data-plane/readme.md:119:97 - Unknown word (proeprties) ./Azure/azure-rest-api-specs/specification/synapse/resource-manager/readme.azureresourceschema.md:45:50 - Unknown word (privatelinkhub) ./Azure/azure-rest-api-specs/specification/vmwarecloudsimple/resource-manager/readme.azureresourceschema.md:9:17 - Unknown word (vmwarecloudsimple) diff --git a/integration-tests/snapshots/TheAlgorithms/Python/snapshot.txt b/integration-tests/snapshots/TheAlgorithms/Python/snapshot.txt index 78057dd1c6d..96e5b25bed5 100644 --- a/integration-tests/snapshots/TheAlgorithms/Python/snapshot.txt +++ b/integration-tests/snapshots/TheAlgorithms/Python/snapshot.txt @@ -3,13 +3,12 @@ Repository: TheAlgorithms/Python Url: "https://github.com/TheAlgorithms/Python.git" Args: ["**/*.{md,py}","*.{md,py}"] Lines: - CSpell: Files checked: 700, Issues found: 2638 in 395 files + CSpell: Files checked: 700, Issues found: 2625 in 395 files exit code: 1 ./TheAlgorithms/Python/CONTRIBUTING.md:118:33 - Unknown word (pytest) ./TheAlgorithms/Python/CONTRIBUTING.md:121:14 - Unknown word (doctest) ./TheAlgorithms/Python/CONTRIBUTING.md:129:11 - Unknown word (eval) ./TheAlgorithms/Python/CONTRIBUTING.md:138:171 - Unknown word (mypy) -./TheAlgorithms/Python/CONTRIBUTING.md:152:54 - Unknown word (Jupyter) ./TheAlgorithms/Python/CONTRIBUTING.md:158:79 - Unknown word (autogenerated) ./TheAlgorithms/Python/CONTRIBUTING.md:167:10 - Unknown word (poyea) ./TheAlgorithms/Python/CONTRIBUTING.md:46:8 - Unknown word (docstrings) @@ -866,13 +865,10 @@ Lines: ./TheAlgorithms/Python/web_programming/covid_stats_via_xpath.py:2:51 - Unknown word (worldometers) ./TheAlgorithms/Python/web_programming/covid_stats_via_xpath.py:2:75 - Unknown word (lxml) ./TheAlgorithms/Python/web_programming/current_stock_price.py:13:25 - Unknown word (AMZN) -./TheAlgorithms/Python/web_programming/current_stock_price.py:13:34 - Unknown word (GOOG) ./TheAlgorithms/Python/web_programming/current_stock_price.py:13:39 - Unknown word (MSFT) ./TheAlgorithms/Python/web_programming/current_stock_price.py:13:44 - Unknown word (ORCL) ./TheAlgorithms/Python/web_programming/current_stock_price.py:5:32 - Unknown word (AAPL) ./TheAlgorithms/Python/web_programming/current_weather.py:12:32 - Unknown word (Kolkata) -./TheAlgorithms/Python/web_programming/current_weather.py:3:1 - Unknown word (APPID) -./TheAlgorithms/Python/web_programming/current_weather.py:3:43 - Unknown word (appid) ./TheAlgorithms/Python/web_programming/emails_from_url.py:2:24 - Unknown word (Umer) ./TheAlgorithms/Python/web_programming/emails_from_url.py:2:29 - Unknown word (Farooq) ./TheAlgorithms/Python/web_programming/get_imdb_top_250_movies_csv.py:9:9 - Unknown word (imdb) diff --git a/integration-tests/snapshots/django/django/snapshot.txt b/integration-tests/snapshots/django/django/snapshot.txt index 44ece1e8234..91f1c9dc309 100644 --- a/integration-tests/snapshots/django/django/snapshot.txt +++ b/integration-tests/snapshots/django/django/snapshot.txt @@ -3,7 +3,7 @@ Repository: django/django Url: "https://github.com/django/django.git" Args: ["**/*.{md,py}","*.{md,py}"] Lines: - CSpell: Files checked: 2116, Issues found: 8152 in 936 files + CSpell: Files checked: 2116, Issues found: 8139 in 935 files exit code: 1 ./django/django/django/apps/config.py:115:76 - Unknown word (isclass) ./django/django/django/apps/config.py:192:41 - Unknown word (isupper) @@ -709,7 +709,6 @@ Lines: ./django/django/django/template/defaulttags.py:853:12 - Unknown word (ifnotequal) ./django/django/django/template/library.py:41:40 - Unknown word (somefunc) ./django/django/django/template/loader_tags.py:285:49 - Unknown word (BAZZ) -./django/django/django/template/loader_tags.py:285:61 - Unknown word (BING) ./django/django/django/test/client.py:397:45 - Unknown word (doseq) ./django/django/django/test/runner.py:112:36 - Unknown word (unpythonic) ./django/django/django/test/runner.py:136:16 - Unknown word (unpicklable) @@ -1084,7 +1083,6 @@ Lines: ./django/django/tests/aggregation_regress/tests.py:745:9 - Unknown word (qstr) ./django/django/tests/annotations/tests.py:215:14 - Unknown word (Catelyn) ./django/django/tests/annotations/tests.py:520:56 - Unknown word (APPL) -./django/django/tests/annotations/tests.py:522:65 - Unknown word (GOOG) ./django/django/tests/apps/apps.py:11:14 - Unknown word (myauth) ./django/django/tests/apps/namespace_package_base/nsapp/apps.py:8:13 - Unknown word (nsapp) ./django/django/tests/apps/tests.py:338:64 - Unknown word (lazya) @@ -1223,7 +1221,6 @@ Lines: ./django/django/tests/distinct_on_fields/tests.py:38:9 - Unknown word (qsets) ./django/django/tests/expressions/tests.py:1306:13 - Unknown word (sday) ./django/django/tests/expressions/tests.py:1307:13 - Unknown word (stime) -./django/django/tests/expressions/tests.py:1462:13 - Unknown word (exps) ./django/django/tests/expressions/tests.py:1740:20 - Unknown word (ouput) ./django/django/tests/expressions/tests.py:279:36 - Unknown word (Funcs) ./django/django/tests/expressions/tests.py:402:9 - Unknown word (mustermanns) @@ -2047,7 +2044,6 @@ Lines: ./django/django/tests/utils_tests/test_archive.py:34:53 - Unknown word (IRWXO) ./django/django/tests/utils_tests/test_autoreload.py:108:75 - Unknown word (zipf) ./django/django/tests/utils_tests/test_autoreload.py:171:32 - Unknown word (Werror) -./django/django/tests/utils_tests/test_autoreload.py:24:23 - Unknown word (macos) ./django/django/tests/utils_tests/test_autoreload.py:83:30 - Unknown word (Ceci) ./django/django/tests/utils_tests/test_autoreload.py:83:35 - Unknown word (n'est) ./django/django/tests/utils_tests/test_baseconv.py:37:32 - Unknown word (cjdhel) diff --git a/integration-tests/snapshots/liriliri/licia/snapshot.txt b/integration-tests/snapshots/liriliri/licia/snapshot.txt index 5a40326416e..2723cf005df 100644 --- a/integration-tests/snapshots/liriliri/licia/snapshot.txt +++ b/integration-tests/snapshots/liriliri/licia/snapshot.txt @@ -3,7 +3,7 @@ Repository: liriliri/licia Url: "https://github.com/liriliri/licia.git" Args: ["**/*.*","*.*"] Lines: - CSpell: Files checked: 1345, Issues found: 444 in 88 files + CSpell: Files checked: 1345, Issues found: 425 in 80 files exit code: 1 ./liriliri/licia/CHANGELOG.md:187:26 - Unknown word (unenumerable) ./liriliri/licia/CHANGELOG.md:45:22 - Unknown word (eval) @@ -41,21 +41,13 @@ Lines: ./liriliri/licia/README_CN.md:27:9 - Unknown word (zepto) ./liriliri/licia/demo/MediaQuery.demo.html:6:20 - Unknown word (unmatch) ./liriliri/licia/demo/scrollTo.demo.html:52:40 - Unknown word (arrrived) -./liriliri/licia/lib/demo.js:69:9 - Unknown word (sourcemap) ./liriliri/licia/lib/setup.js:3:7 - Unknown word (execa) ./liriliri/licia/lib/tpl/karma.conf.tpl:15:9 - Unknown word (preprocessors) ./liriliri/licia/lib/tpl/karma.conf.tpl:19:32 - Unknown word (lcovonly) ./liriliri/licia/lib/tpl/karma.conf.tpl:4:45 - Unknown word (jquery) ./liriliri/licia/lib/tpl/karma.sauce.tpl:33:30 - Unknown word (saucelabs) ./liriliri/licia/package.json:14:52 - Unknown word (copyfiles) -./liriliri/licia/src/$insert.js:56:28 - Unknown word (beforebegin) -./liriliri/licia/src/$insert.js:57:27 - Unknown word (afterend) -./liriliri/licia/src/$insert.js:58:28 - Unknown word (beforeend) -./liriliri/licia/src/$insert.js:59:29 - Unknown word (afterbegin) -./liriliri/licia/src/Color.js:141:51 - Unknown word (Hsla) -./liriliri/licia/src/Color.js:96:27 - Unknown word (hsla) ./liriliri/licia/src/Promise.js:62:19 - Unknown word (deferreds) -./liriliri/licia/src/convertBin.js:71:19 - Unknown word (arraybuffer) ./liriliri/licia/src/crc1.js:37:9 - Unknown word (accum) ./liriliri/licia/src/dateFormat.js:147:61 - Unknown word (SZWN) ./liriliri/licia/src/dateFormat.js:148:28 - Unknown word (PMCEA) @@ -124,7 +116,6 @@ Lines: ./liriliri/licia/src/isWindows.js:21:33 - Unknown word (cygwin) ./liriliri/licia/src/isWindows.js:22:33 - Unknown word (msys) ./liriliri/licia/src/kill.js:29:20 - Unknown word (taskkill) -./liriliri/licia/src/mime.js:34:7 - Unknown word (exts) ./liriliri/licia/src/mime.js:42:22 - Unknown word (photoshop) ./liriliri/licia/src/mime.js:47:21 - Unknown word (mpga) ./liriliri/licia/src/mime.js:52:14 - Unknown word (matroska) @@ -143,7 +134,6 @@ Lines: ./liriliri/licia/src/slugify.js:43:2024 - Unknown word (shequel) ./liriliri/licia/src/stripAnsi.js:22:84 - Unknown word (nqry) ./liriliri/licia/src/topoSort.js:65:19 - Unknown word (preds) -./liriliri/licia/src/uncaught.js:82:30 - Unknown word (unhandledrejection) ./liriliri/licia/test/Promise.js:20:19 - Unknown word (aplus) ./liriliri/licia/test/ReduceStore.js:55:11 - Unknown word (unscribe) ./liriliri/licia/test/abbrev.js:18:10 - Unknown word (foom) diff --git a/integration-tests/snapshots/microsoft/TypeScript-Website/snapshot.txt b/integration-tests/snapshots/microsoft/TypeScript-Website/snapshot.txt index 9e6e41791f7..83c9bd914c3 100644 --- a/integration-tests/snapshots/microsoft/TypeScript-Website/snapshot.txt +++ b/integration-tests/snapshots/microsoft/TypeScript-Website/snapshot.txt @@ -3,7 +3,7 @@ Repository: microsoft/TypeScript-Website Url: "https://github.com/microsoft/TypeScript-Website.git" Args: ["--config=../cspell.json","**/*.*","*.*"] Lines: - CSpell: Files checked: 704, Issues found: 399 in 123 files + CSpell: Files checked: 704, Issues found: 370 in 119 files exit code: 1 ./microsoft/TypeScript-Website/packages/community-meta/README.md:38:81 - Unknown word (lanaguge) ./microsoft/TypeScript-Website/packages/community-meta/scripts/generateRichMeetupData.js:22:13 - Unknown word (Deets) @@ -90,8 +90,6 @@ Lines: ./microsoft/TypeScript-Website/packages/playground/src/exporter.ts:255:42 - Unknown word (drpdown) ./microsoft/TypeScript-Website/packages/sandbox/src/tsWorker.ts:44:5 - Unknown word (postion) ./microsoft/TypeScript-Website/packages/sandbox/src/tsWorker.ts:50:5 - Unknown word (positon) -./microsoft/TypeScript-Website/packages/sandbox/src/typeAcquisition.ts:174:46 - Unknown word (algolia) -./microsoft/TypeScript-Website/packages/sandbox/src/typeAcquisition.ts:185:36 - Unknown word (Algolia) ./microsoft/TypeScript-Website/packages/sandbox/src/vendor/lzstring.min.js:6:28 - Unknown word (Hocevar) ./microsoft/TypeScript-Website/packages/ts-twoslasher/README.md:382:16 - Unknown word (unneccessary) ./microsoft/TypeScript-Website/packages/ts-twoslasher/scripts/makeGlobals.js:3:29 - Unknown word (tstwoslash) diff --git a/integration-tests/snapshots/php/php-src/snapshot.txt b/integration-tests/snapshots/php/php-src/snapshot.txt index 89b6110d3d2..397128c49ab 100644 --- a/integration-tests/snapshots/php/php-src/snapshot.txt +++ b/integration-tests/snapshots/php/php-src/snapshot.txt @@ -3,7 +3,7 @@ Repository: php/php-src Url: "https://github.com/php/php-src.git" Args: ["--config=../cspell.json","**/*.{md,c,h,php}","*.{md}"] Lines: - CSpell: Files checked: 1887, Issues found: 23360 in 1119 files + CSpell: Files checked: 1887, Issues found: 23325 in 1119 files exit code: 1 ./php/php-src/CODING_STANDARDS.md:107:8 - Unknown word (setclientencoding) ./php/php-src/CODING_STANDARDS.md:128:5 - Unknown word (fooselect) @@ -4941,7 +4941,6 @@ Lines: ./php/php-src/ext/spl/spl_observer.c:128:31 - Unknown word (pelement) ./php/php-src/ext/spl/spl_observer.c:685:17 - Unknown word (pmembers) ./php/php-src/ext/spl/spl_observer.c:940:7 - Unknown word (zinfo) -./php/php-src/ext/sqlite3/sqlite3.stub.php:8:77 - Unknown word (READWRITE) ./php/php-src/ext/standard/array.c:1398:15 - Unknown word (thash) ./php/php-src/ext/standard/array.c:2684:57 - Unknown word (lstep) ./php/php-src/ext/standard/array.c:2698:15 - Unknown word (zhigh) @@ -4988,7 +4987,6 @@ Lines: ./php/php-src/ext/standard/basic_functions.stub.php:1496:26 - Unknown word (conv) ./php/php-src/ext/standard/basic_functions.stub.php:16:90 - Unknown word (STDFLAGS) ./php/php-src/ext/standard/basic_functions.stub.php:374:4 - Unknown word (browscap) -./php/php-src/ext/standard/basic_functions.stub.php:440:4 - Unknown word (hrtime) ./php/php-src/ext/standard/basic_functions.stub.php:454:4 - Unknown word (pageinfo) ./php/php-src/ext/standard/basic_functions.stub.php:46:17 - Unknown word (userspace) ./php/php-src/ext/standard/basic_functions.stub.php:523:55 - Unknown word (SPECIALCHARS) @@ -5528,7 +5526,6 @@ Lines: ./php/php-src/run-tests.php:1350:45 - Unknown word (REDIR) ./php/php-src/run-tests.php:141:13 - Unknown word (cfgfiles) ./php/php-src/run-tests.php:141:24 - Unknown word (cfgtypes) -./php/php-src/run-tests.php:142:13 - Unknown word (exts) ./php/php-src/run-tests.php:1432:20 - Unknown word (parallelization) ./php/php-src/run-tests.php:1442:52 - Unknown word (comms) ./php/php-src/run-tests.php:146:45 - Unknown word (phpdbg) @@ -5550,7 +5547,6 @@ Lines: ./php/php-src/run-tests.php:1888:54 - Unknown word (REDIRECTTEST) ./php/php-src/run-tests.php:1891:18 - Unknown word (SKIPIF) ./php/php-src/run-tests.php:18:22 - Unknown word (Rethans) -./php/php-src/run-tests.php:1954:6 - Unknown word (shortname) ./php/php-src/run-tests.php:196:74 - Unknown word (GPCS) ./php/php-src/run-tests.php:19:22 - Unknown word (Roobol) ./php/php-src/run-tests.php:2004:44 - Unknown word (suitename) @@ -5568,7 +5564,6 @@ Lines: ./php/php-src/run-tests.php:295:24 - Unknown word (LEODS) ./php/php-src/run-tests.php:3121:12 - Unknown word (xfailed) ./php/php-src/run-tests.php:3122:12 - Unknown word (xleaked) -./php/php-src/run-tests.php:3136:1 - Unknown word (Exts) ./php/php-src/run-tests.php:3147:7 - Unknown word (borked) ./php/php-src/run-tests.php:3268:45 - Unknown word (PHPTEST) ./php/php-src/run-tests.php:332:17 - Unknown word (memleaks) @@ -5611,7 +5606,6 @@ Lines: ./php/php-src/sapi/cgi/cgi_main.c:202:9 - Unknown word (CGIG) ./php/php-src/sapi/cgi/cgi_main.c:77:29 - Unknown word (RISCOSIFY) ./php/php-src/sapi/cgi/cgi_main.c:77:7 - Unknown word (riscosify) -./php/php-src/sapi/cli/generate_mime_type_map.php:16:56 - Unknown word (iana) ./php/php-src/sapi/cli/generate_mime_type_map.php:25:45 - Unknown word (jshttp) ./php/php-src/sapi/cli/php_cli.c:165:12 - Unknown word (rfunction) ./php/php-src/sapi/cli/php_cli.c:167:12 - Unknown word (rclass) @@ -5703,7 +5697,6 @@ Lines: ./php/php-src/sapi/litespeed/README.md:182:10 - Unknown word (PPID) ./php/php-src/sapi/litespeed/README.md:204:52 - Unknown word (litespeedtech) ./php/php-src/sapi/litespeed/README.md:39:50 - Unknown word (fcgi) -./php/php-src/sapi/litespeed/README.md:6:67 - Unknown word (htaccess) ./php/php-src/sapi/litespeed/lsapi_main.c:1548:12 - Unknown word (criu) ./php/php-src/sapi/litespeed/lsapi_main.c:1548:19 - Unknown word (LSCRIU) ./php/php-src/sapi/litespeed/lsapi_main.c:1619:29 - Unknown word (LSPHP) diff --git a/integration-tests/snapshots/typescript-cheatsheets/react/snapshot.txt b/integration-tests/snapshots/typescript-cheatsheets/react/snapshot.txt index 85ef6a9a9df..e31b4064a03 100644 --- a/integration-tests/snapshots/typescript-cheatsheets/react/snapshot.txt +++ b/integration-tests/snapshots/typescript-cheatsheets/react/snapshot.txt @@ -3,9 +3,8 @@ Repository: typescript-cheatsheets/react Url: "https://github.com/typescript-cheatsheets/react.git" Args: ["**/*.{ts,js,md}","*.{ts,js,md}"] Lines: - CSpell: Files checked: 60, Issues found: 749 in 44 files + CSpell: Files checked: 60, Issues found: 729 in 44 files exit code: 1 -./typescript-cheatsheets/react/CONTRIBUTING.md:18:116 - Unknown word (Algolia) ./typescript-cheatsheets/react/CONTRIBUTING.md:20:39 - Unknown word (swyx's) ./typescript-cheatsheets/react/CONTRIBUTING.md:22:12 - Unknown word (docsite) ./typescript-cheatsheets/react/CONTRIBUTING.md:43:57 - Unknown word (wanshawn) @@ -111,7 +110,6 @@ Lines: ./typescript-cheatsheets/react/docs/basic/getting-started/forms-and-events.md:48:173 - Unknown word (Hubelbauer) ./typescript-cheatsheets/react/docs/basic/getting-started/forms-and-events.md:61:318 - Unknown word (artisanally) ./typescript-cheatsheets/react/docs/basic/getting-started/forms-and-events.md:78:42 - Unknown word (typechecks) -./typescript-cheatsheets/react/docs/basic/getting-started/function-components.md:29:15 - Unknown word (typechecking) ./typescript-cheatsheets/react/docs/basic/getting-started/function-components.md:80:117 - Unknown word (destructured) ./typescript-cheatsheets/react/docs/basic/getting-started/hooks.md:134:6 - Unknown word (initialise) ./typescript-cheatsheets/react/docs/basic/getting-started/hooks.md:156:22 - Unknown word (Baumgartner) @@ -152,13 +150,11 @@ Lines: ./typescript-cheatsheets/react/docs/basic/troubleshooting/learn-ts.md:12:10 - Unknown word (Hejlsberg's) ./typescript-cheatsheets/react/docs/basic/troubleshooting/learn-ts.md:15:9 - Unknown word (Matei) ./typescript-cheatsheets/react/docs/basic/troubleshooting/learn-ts.md:16:7 - Unknown word (Uesugi) -./typescript-cheatsheets/react/docs/basic/troubleshooting/official-typings-bugs.md:13:8 - Unknown word (mobx) ./typescript-cheatsheets/react/docs/basic/troubleshooting/official-typings-bugs.md:19:13 - Unknown word (adamrackis) ./typescript-cheatsheets/react/docs/basic/troubleshooting/official-typings-bugs.md:25:17 - Unknown word (plotly) ./typescript-cheatsheets/react/docs/basic/troubleshooting/official-typings-bugs.md:26:13 - Unknown word (Plotly) ./typescript-cheatsheets/react/docs/basic/troubleshooting/official-typings-bugs.md:51:12 - Unknown word (utiltity) ./typescript-cheatsheets/react/docs/basic/troubleshooting/operators.md:13:8 - Unknown word (Nonnull) -./typescript-cheatsheets/react/docs/basic/troubleshooting/ts-config.md:15:16 - Unknown word (esnext) ./typescript-cheatsheets/react/docs/basic/troubleshooting/types.md:333:78 - Unknown word (Koshelev) ./typescript-cheatsheets/react/docs/basic/troubleshooting/types.md:351:9 - Unknown word (Isnt) ./typescript-cheatsheets/react/docs/basic/troubleshooting/types.md:369:275 - Unknown word (Basarat) @@ -200,7 +196,6 @@ Lines: ./typescript-cheatsheets/react/docs/migration/index.md:21:60 - Unknown word (pleo) ./typescript-cheatsheets/react/docs/migration/index.md:31:57 - Unknown word (typedefs) ./typescript-cheatsheets/react/docs/migration/index.md:42:127 - Unknown word (awesome's) -./typescript-cheatsheets/react/docs/migration/index.md:54:1 - Unknown word (devtool) ./typescript-cheatsheets/react/docs/migration/index.md:89:4 - Unknown word (Lyft) ./typescript-cheatsheets/react/docs/migration/index.md:97:6 - Unknown word (Blogpost) ./typescript-cheatsheets/react/docs/migration/js-docs.md:16:15 - Unknown word (Tayar) @@ -212,6 +207,5 @@ Lines: ./typescript-cheatsheets/react/genReadme.js:20:27 - Unknown word (repos) ./typescript-cheatsheets/react/genReadme.js:248:50 - Unknown word (frontmatter) ./typescript-cheatsheets/react/genReadme.js:64:49 - Unknown word (inteface) -./typescript-cheatsheets/react/website/docusaurus.config.js:177:5 - Unknown word (algolia) ./typescript-cheatsheets/react/website/docusaurus.config.js:1:21 - Unknown word (orgs) ./typescript-cheatsheets/react/website/src/pages/index.js:22:35 - Unknown word (Btns) diff --git a/integration-tests/snapshots/wireapp/wire-webapp/snapshot.txt b/integration-tests/snapshots/wireapp/wire-webapp/snapshot.txt index c8af6e11220..8aea47e8d92 100644 --- a/integration-tests/snapshots/wireapp/wire-webapp/snapshot.txt +++ b/integration-tests/snapshots/wireapp/wire-webapp/snapshot.txt @@ -3,7 +3,7 @@ Repository: wireapp/wire-webapp Url: "https://github.com/wireapp/wire-webapp.git" Args: ["src/script/**/*.{js,ts,tsx,md}"] Lines: - CSpell: Files checked: 510, Issues found: 75 in 27 files + CSpell: Files checked: 510, Issues found: 59 in 20 files exit code: 1 ./wireapp/wire-webapp/src/script/Config.ts:42:12 - Unknown word (COUNTLY) ./wireapp/wire-webapp/src/script/assets/AssetRepository.test.ts:88:1004 - Unknown word (Dlem) @@ -18,7 +18,6 @@ Lines: ./wireapp/wire-webapp/src/script/calling/CallingRepository.ts:425:49 - Unknown word (Insertable) ./wireapp/wire-webapp/src/script/calling/CallingRepository.ts:585:33 - Unknown word (CONFSTART) ./wireapp/wire-webapp/src/script/components/asset/controls/audioSeekBar.ts:77:37 - Unknown word (viewbox) -./wireapp/wire-webapp/src/script/components/mentionSuggestions.ts:45:15 - Unknown word (Scrollbar) ./wireapp/wire-webapp/src/script/components/message.ts:497:14 - Unknown word (nbsp) ./wireapp/wire-webapp/src/script/components/message.ts:545:159 - Unknown word (timestam) ./wireapp/wire-webapp/src/script/conversation/ConversationRepository.ts:469:47 - Unknown word (Datas) @@ -26,4 +25,3 @@ Lines: ./wireapp/wire-webapp/src/script/tracking/EventTrackingRepository.ts:38:26 - Unknown word (countly) ./wireapp/wire-webapp/src/script/util/FileTypeUtil.ts:25:16 - Unknown word (Extentions) ./wireapp/wire-webapp/src/script/view_model/ImageDetailViewViewModel.ts:88:30 - Unknown word (lightbox) -./wireapp/wire-webapp/src/script/view_model/bindings/CommonBindings.ts:391:90 - Unknown word (scrollbar) diff --git a/integration-tests/src/check.ts b/integration-tests/src/check.ts index cbe49a1b3c3..f0e5016f88f 100644 --- a/integration-tests/src/check.ts +++ b/integration-tests/src/check.ts @@ -57,7 +57,8 @@ function execCommand(path: string, command: string, args: string[]): Result { function logResult(result: Result) { const { elapsedTime } = result; - const output = assembleOutput(result) + const fullOutputLines = assembleOutput(result).split('\n') + const output = (fullOutputLines.length > 5 ? '...\n' : '') + fullOutputLines.slice(-5).join('\n') console.log(`${output} \n time: ${(elapsedTime / 1000).toFixed(3)}s`) } @@ -102,7 +103,6 @@ function report(reposChecked: Repository[], failed: Repository[]) { return r.join('\n'); } - export interface CheckOptions { /** Exclusion patterns */ exclude: string[]; diff --git a/integration-tests/src/snapshots.ts b/integration-tests/src/snapshots.ts index 45c45647d1c..48ad033149b 100644 --- a/integration-tests/src/snapshots.ts +++ b/integration-tests/src/snapshots.ts @@ -37,7 +37,7 @@ export function checkAgainstSnapshot(rep: Repository, output: string, update: bo const cleanSnapText = linesToCleanText(snapLines); if (cleanText !== cleanSnapText) { - const diff = Diff.diffLinesUnified(snapLines, lines); + const diff = Diff.diffLinesUnified(snapLines, lines, { contextLines: 5, expand: false }); return { match: false, diff }; } diff --git a/package.json b/package.json index 8258c5e8b05..9c600ee43cd 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "scripts": { "build": "lerna run build", "build-schema": "lerna run build-schema", + "build-integration-tests": "cd ./integration-tests && npm i", "check-spelling": "npx cspell **/{*.ts,*.md}", "clean-build": "lerna run clean-build", "clean": "lerna run clean", @@ -22,6 +23,7 @@ "test-ts": "lerna run test-ts", "test-watch": "lerna run --parallel test-watch", "test": "lerna run test && ajv -s ./cspell.schema.json -d cspell.json", + "test-integrations": "cd ./integration-tests && npm run integration-tests", "update-packages": "lerna exec \"npm update -S && rm -rf node_modules package-lock.json && npm i\" && lerna bootstrap" }, "repository": { diff --git a/packages/cspell-lib/package-lock.json b/packages/cspell-lib/package-lock.json index 1c6a01a6a78..772050a3b21 100644 --- a/packages/cspell-lib/package-lock.json +++ b/packages/cspell-lib/package-lock.json @@ -91,9 +91,9 @@ } }, "cspell-dict-companies": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/cspell-dict-companies/-/cspell-dict-companies-1.0.28.tgz", - "integrity": "sha512-8gTLHwtKxtnbfyG9ySQJ3+xyRqy0dwF9iNYe9uL1O1OcMI8hMmEFR1mNOkdBGjKXtIbYesgyXkljJ0nMV/LUHA==", + "version": "1.0.30", + "resolved": "https://registry.npmjs.org/cspell-dict-companies/-/cspell-dict-companies-1.0.30.tgz", + "integrity": "sha512-h+agGF0t+/rNJdpb5sBTZAHGZL7uKCOJfCLVakYi/9E6juocISTq/zDls/Junb1SKiWulbH8y1CeEMgyKAsCaA==", "requires": { "configstore": "^5.0.1" } @@ -211,9 +211,9 @@ } }, "cspell-dict-html": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cspell-dict-html/-/cspell-dict-html-1.0.6.tgz", - "integrity": "sha512-8FNSb1MaFhJDMg0l57T7ts3a0H26s3kWUXJnr7DCsgFQ+2QuYOZQDvsC0bdcDmORq409sPKW8VAAgY9oCqNGpw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cspell-dict-html/-/cspell-dict-html-1.1.0.tgz", + "integrity": "sha512-KXXqOE6QM/3OdIh0ax0YlfOg/+ogqt7f/WoBTjb+1L2CReYfWsOfYVjuZG+L6j5GW34wnMyq1QYo9APX4NF3nw==", "requires": { "configstore": "^5.0.0" } @@ -267,9 +267,9 @@ } }, "cspell-dict-npm": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/cspell-dict-npm/-/cspell-dict-npm-1.0.3.tgz", - "integrity": "sha512-468l3ldZTsElElpuTqUhZoCzzfYL1UZXfeww8NB3/545BIuZ8iLrnHbZEjWgKy854l2FurXZVVNhMTnNyj7wAQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/cspell-dict-npm/-/cspell-dict-npm-1.0.5.tgz", + "integrity": "sha512-gdEf1obAPnWC9fzU99nCFEV3UGVZ2FSbbsh15hvv9VHe/w5n5RaxQGsd4dDvjdHTYqsRimjX15ppuJb7xjN93Q==", "requires": { "configstore": "^5.0.0" } @@ -323,17 +323,17 @@ } }, "cspell-dict-software-terms": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/cspell-dict-software-terms/-/cspell-dict-software-terms-1.0.16.tgz", - "integrity": "sha512-FWkE3v9/4nEAGTfvHzkAdjBMebG81BXBrsGPmngkHQ0GII2mVdxkqK8I5hUgX5ByDwURwtGs8+OLrKjcR9DFSg==", + "version": "1.0.18", + "resolved": "https://registry.npmjs.org/cspell-dict-software-terms/-/cspell-dict-software-terms-1.0.18.tgz", + "integrity": "sha512-vi3DPagUre2hyQ6n+pTpOe2HLJlIBWaaazKyHG+/KSWH7pkxQHYvic7bRM6W6enDs5hBQIzBSnxKqaGhbleGDA==", "requires": { "configstore": "^5.0.1" } }, "cspell-dict-typescript": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/cspell-dict-typescript/-/cspell-dict-typescript-1.0.7.tgz", - "integrity": "sha512-P7NMk4fBzjZZhpHzJwmKLcmxUtkY2s/rTbEoEr8hghUCLtNjoL42BDUocALub0tjnGbo4wF1RKlsU4tK1f8N3w==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/cspell-dict-typescript/-/cspell-dict-typescript-1.0.11.tgz", + "integrity": "sha512-w6IUN6jVrW8SsPT8I9isFD9Tca3qRGegk63+SJZrtgAe9gM6c/HKz34VmS0cYhoZRtCFOuWuNXVFW96mSrErWw==", "requires": { "configstore": "^5.0.1" } diff --git a/packages/cspell-lib/package.json b/packages/cspell-lib/package.json index be1d0da85c5..ed851128d77 100644 --- a/packages/cspell-lib/package.json +++ b/packages/cspell-lib/package.json @@ -54,7 +54,7 @@ "configstore": "^5.0.1", "cspell-dict-aws": "^1.0.7", "cspell-dict-bash": "^1.0.5", - "cspell-dict-companies": "^1.0.28", + "cspell-dict-companies": "^1.0.30", "cspell-dict-cpp": "^1.1.29", "cspell-dict-cryptocurrencies": "^1.0.4", "cspell-dict-csharp": "^1.0.5", @@ -69,22 +69,22 @@ "cspell-dict-fullstack": "^1.0.31", "cspell-dict-golang": "^1.1.16", "cspell-dict-haskell": "^1.0.6", - "cspell-dict-html": "^1.0.6", + "cspell-dict-html": "^1.1.0", "cspell-dict-html-symbol-entities": "^1.0.15", "cspell-dict-java": "^1.0.14", "cspell-dict-latex": "^1.0.15", "cspell-dict-lorem-ipsum": "^1.0.14", "cspell-dict-lua": "^1.0.10", "cspell-dict-node": "^1.0.3", - "cspell-dict-npm": "^1.0.3", + "cspell-dict-npm": "^1.0.5", "cspell-dict-php": "^1.0.15", "cspell-dict-powershell": "^1.0.8", "cspell-dict-python": "^1.0.23", "cspell-dict-ruby": "^1.0.6", "cspell-dict-rust": "^1.0.14", "cspell-dict-scala": "^1.0.13", - "cspell-dict-software-terms": "^1.0.16", - "cspell-dict-typescript": "^1.0.7", + "cspell-dict-software-terms": "^1.0.18", + "cspell-dict-typescript": "^1.0.11", "cspell-io": "^5.0.1-alpha.6", "cspell-trie-lib": "^5.0.1-alpha.6", "cspell-util-bundle": "^5.0.1-alpha.6",