From e76a12e68eb4eb3a090df746365a3856c521287e Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sun, 27 Oct 2024 09:58:17 +0100 Subject: [PATCH] fix: include AL dictionary by default (#6425) --- .../cspell-default.config.js | 1 + .../cspell-default.config.ts | 1 + packages/cspell-bundled-dicts/package.json | 1 + .../src/app/__snapshots__/app.test.ts.snap | 1 + pnpm-lock.yaml | 34 ++++++++++++------- 5 files changed, 25 insertions(+), 13 deletions(-) diff --git a/packages/cspell-bundled-dicts/cspell-default.config.js b/packages/cspell-bundled-dicts/cspell-default.config.js index a77cfbe4306..cd795109d74 100644 --- a/packages/cspell-bundled-dicts/cspell-default.config.js +++ b/packages/cspell-bundled-dicts/cspell-default.config.js @@ -117,6 +117,7 @@ const settings = { enableFiletypes: ['svelte', 'julia'], import: [ '@cspell/dict-ada/cspell-ext.json', + '@cspell/dict-al/cspell-ext.json', '@cspell/dict-aws/cspell-ext.json', '@cspell/dict-bash/cspell-ext.json', '@cspell/dict-companies/cspell-ext.json', diff --git a/packages/cspell-bundled-dicts/cspell-default.config.ts b/packages/cspell-bundled-dicts/cspell-default.config.ts index 7f723b0cd4d..b680b7643b0 100644 --- a/packages/cspell-bundled-dicts/cspell-default.config.ts +++ b/packages/cspell-bundled-dicts/cspell-default.config.ts @@ -120,6 +120,7 @@ const settings: AdvancedCSpellSettings = { enableFiletypes: ['svelte', 'julia'], import: [ '@cspell/dict-ada/cspell-ext.json', + '@cspell/dict-al/cspell-ext.json', '@cspell/dict-aws/cspell-ext.json', '@cspell/dict-bash/cspell-ext.json', '@cspell/dict-companies/cspell-ext.json', diff --git a/packages/cspell-bundled-dicts/package.json b/packages/cspell-bundled-dicts/package.json index 4dd03308f10..eb543a66060 100644 --- a/packages/cspell-bundled-dicts/package.json +++ b/packages/cspell-bundled-dicts/package.json @@ -49,6 +49,7 @@ "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-bundled-dicts#readme", "dependencies": { "@cspell/dict-ada": "^4.0.5", + "@cspell/dict-al": "^1.0.3", "@cspell/dict-aws": "^4.0.7", "@cspell/dict-bash": "^4.1.8", "@cspell/dict-companies": "^3.1.7", diff --git a/packages/cspell/src/app/__snapshots__/app.test.ts.snap b/packages/cspell/src/app/__snapshots__/app.test.ts.snap index 8c3f9c2fe20..bda2120d6cf 100644 --- a/packages/cspell/src/app/__snapshots__/app.test.ts.snap +++ b/packages/cspell/src/app/__snapshots__/app.test.ts.snap @@ -3473,6 +3473,7 @@ hello - [ignoreWords]* From Settings \`ignoreWords\` hello - [suggestWords]* From Settings \`suggestWords\` hello - [words]* From Settings \`words\` hello - ada node_modules/@cspell/dict-ada/dict/ada.txt +hello - al node_modules/@cspell/dict-al/dict/al.txt hello - aws* node_modules/@cspell/dict-aws/dict/aws.txt hello - bash node_modules/@cspell/dict-bash/dict/bash-words.txt hello - companies* node_modules/@cspell/.../dict/companies.txt diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c65a1085bc6..7a41503fe15 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -283,6 +283,9 @@ importers: '@cspell/dict-ada': specifier: ^4.0.5 version: 4.0.5 + '@cspell/dict-al': + specifier: ^1.0.3 + version: 1.0.3 '@cspell/dict-aws': specifier: ^4.0.7 version: 4.0.7 @@ -1095,7 +1098,7 @@ importers: version: link:../../../packages/cspell-types ts-loader: specifier: ^9.5.1 - version: 9.5.1(typescript@5.6.3)(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)) + version: 9.5.1(typescript@5.6.3)(webpack@5.95.0) webpack: specifier: ^5.95.0 version: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) @@ -2115,6 +2118,9 @@ packages: '@cspell/dict-ada@4.0.5': resolution: {integrity: sha512-6/RtZ/a+lhFVmrx/B7bfP7rzC4yjEYe8o74EybXcvu4Oue6J4Ey2WSYj96iuodloj1LWrkNCQyX5h4Pmcj0Iag==} + '@cspell/dict-al@1.0.3': + resolution: {integrity: sha512-V1HClwlfU/qwSq2Kt+MkqRAsonNu3mxjSCDyGRecdLGIHmh7yeEeaxqRiO/VZ4KP+eVSiSIlbwrb5YNFfxYZbw==} + '@cspell/dict-aws@4.0.7': resolution: {integrity: sha512-PoaPpa2NXtSkhGIMIKhsJUXB6UbtTt6Ao3x9JdU9kn7fRZkwD4RjHDGqulucIOz7KeEX/dNRafap6oK9xHe4RA==} @@ -11097,6 +11103,8 @@ snapshots: '@cspell/dict-ada@4.0.5': {} + '@cspell/dict-al@1.0.3': {} + '@cspell/dict-aws@4.0.7': {} '@cspell/dict-bash@4.1.8': {} @@ -13899,17 +13907,17 @@ snapshots: '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 - '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4(webpack@5.95.0))(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4))': + '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4)(webpack@5.95.0)': dependencies: webpack: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack@5.95.0) - '@webpack-cli/info@2.0.2(webpack-cli@5.1.4(webpack@5.95.0))(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4))': + '@webpack-cli/info@2.0.2(webpack-cli@5.1.4)(webpack@5.95.0)': dependencies: webpack: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack@5.95.0) - '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4(webpack@5.95.0))(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4))': + '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4)(webpack@5.95.0)': dependencies: webpack: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack@5.95.0) @@ -20427,25 +20435,25 @@ snapshots: temp-dir@3.0.0: {} - terser-webpack-plugin@5.3.10(@swc/core@1.7.26)(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)): + terser-webpack-plugin@5.3.10(@swc/core@1.7.26)(webpack@5.95.0(@swc/core@1.7.26)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.36.0 - webpack: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.7.26) optionalDependencies: '@swc/core': 1.7.26 - terser-webpack-plugin@5.3.10(@swc/core@1.7.26)(webpack@5.95.0(@swc/core@1.7.26)): + terser-webpack-plugin@5.3.10(@swc/core@1.7.26)(webpack@5.95.0): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.36.0 - webpack: 5.95.0(@swc/core@1.7.26) + webpack: 5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4) optionalDependencies: '@swc/core': 1.7.26 @@ -20547,7 +20555,7 @@ snapshots: tslib: 2.8.0 typescript: 5.6.3 - ts-loader@9.5.1(typescript@5.6.3)(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)): + ts-loader@9.5.1(typescript@5.6.3)(webpack@5.95.0): dependencies: chalk: 4.1.2 enhanced-resolve: 5.17.1 @@ -21060,9 +21068,9 @@ snapshots: webpack-cli@5.1.4(webpack@5.95.0): dependencies: '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4(webpack@5.95.0))(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)) - '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4(webpack@5.95.0))(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)) - '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4(webpack@5.95.0))(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)) + '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4)(webpack@5.95.0) + '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4)(webpack@5.95.0) + '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4)(webpack@5.95.0) colorette: 2.0.20 commander: 10.0.1 cross-spawn: 7.0.3 @@ -21183,7 +21191,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.7.26)(webpack@5.95.0(@swc/core@1.7.26)(webpack-cli@5.1.4)) + terser-webpack-plugin: 5.3.10(@swc/core@1.7.26)(webpack@5.95.0) watchpack: 2.4.2 webpack-sources: 3.2.3 optionalDependencies: