@w5s/cspell-config 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare const meta: Readonly<{
|
|
|
5
5
|
buildNumber: number;
|
|
6
6
|
}>;
|
|
7
7
|
//#endregion
|
|
8
|
-
//#region ../../node_modules/.pnpm/@cspell+cspell-types@10.0.
|
|
8
|
+
//#region ../../node_modules/.pnpm/@cspell+cspell-types@10.0.1/node_modules/@cspell/cspell-types/dist/index-ufqGDeKQ.d.mts
|
|
9
9
|
//#region src/Parser/types.d.ts
|
|
10
10
|
/**
|
|
11
11
|
* A SourceMap is used to map or transform the location of a piece of text back to its original offsets.
|
|
@@ -165,7 +165,7 @@ type ScopeString = string;
|
|
|
165
165
|
type Scope = ScopeChain | ScopeString; //#endregion
|
|
166
166
|
//#region src/Parser/TextMap.d.ts
|
|
167
167
|
//#endregion
|
|
168
|
-
//#region ../../node_modules/.pnpm/@cspell+cspell-types@10.0.
|
|
168
|
+
//#region ../../node_modules/.pnpm/@cspell+cspell-types@10.0.1/node_modules/@cspell/cspell-types/dist/index.d.mts
|
|
169
169
|
//#region src/cspell-vfs.d.ts
|
|
170
170
|
/**
|
|
171
171
|
* Binary data for CSpellVFS file.
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/meta.ts","../src/config.ts"],"sourcesContent":["export const meta = Object.freeze({\n // @ts-ignore - these variables are injected at build time\n name: (typeof __PACKAGE_NAME__ === 'undefined' ? '' : __PACKAGE_NAME__) as string,\n // @ts-ignore - these variables are injected at build time\n version: (typeof __PACKAGE_VERSION__ === 'undefined' ? '' : __PACKAGE_VERSION__) as string,\n // @ts-ignore - these variables are injected at build time\n buildNumber: 1 as number, // (typeof __PACKAGE_BUILD_NUMBER__ === 'undefined' ? 0 : __PACKAGE_BUILD_NUMBER__) as number,\n});\n","import type { AdvancedCSpellSettings } from '@cspell/cspell-types';\n// @ts-ignore CSpell config is not typed\nimport cSpellSettings from '@cspell/cspell-bundled-dicts/cspell-default.config.js';\n\nconst toArray = <T>(value: T | T[] | undefined) => (Array.isArray(value) ? value : value == null ? [] : [value]);\nconst defaultSettings = cSpellSettings as AdvancedCSpellSettings;\n// eslint-disable-next-line unicorn/no-useless-collection-argument\nconst excludeImport = new Set<string>([\n // Put here the imports you want to exclude\n]);\nconst dictionaryDefinitions: AdvancedCSpellSettings['dictionaryDefinitions'] = [\n {\n addWords: false,\n name: 'w5s-filetypes',\n path: '../dict/filetypes.txt',\n description: 'Additional file types',\n },\n {\n addWords: false,\n name: 'w5s-fullstack',\n path: '../dict/fullstack.txt',\n description: 'Fullstack terms',\n },\n {\n addWords: false,\n name: 'w5s-typescript',\n path: '../dict/typescript.txt',\n description: 'Typescript keywords',\n },\n {\n addWords: false,\n name: 'w5s-names',\n path: '../dict/names.txt',\n description: 'Known names',\n },\n {\n addWords: false,\n name: 'w5s-npm',\n path: '../dict/npm.txt',\n description: 'NPM packages',\n },\n];\n\nexport const config: AdvancedCSpellSettings = {\n ...defaultSettings,\n name: 'W5S default settings .js',\n id: 'w5s-default-js',\n language: 'en',\n description: 'Default cspell configuration.',\n words: [],\n flagWords: [],\n useGitignore: true,\n dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],\n dictionaries: [\n ...toArray(defaultSettings.dictionaries),\n ...dictionaryDefinitions\n .map((dictionaryDefinition) => dictionaryDefinition.name)\n .filter((name) => !['w5s-typescript'].includes(name)),\n ],\n ignoreWords: [],\n import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),\n ignorePaths: [\n ...toArray(defaultSettings.ignorePaths),\n '**/CHANGELOG.md',\n '**/__snapshots__/**',\n // '**/.git/**',\n '**/.vscode/**',\n '**/*.snap',\n '**/dist/**',\n '**/node_modules/**',\n '**/package.json',\n '**/package-lock.json',\n '**/renovate.json',\n '**/vscode-extension/**',\n '**/yarn.lock',\n '**/pnpm-lock.yaml',\n\n // Ignore common media files\n '**/*.svg',\n '**/*.webp',\n '**/*.webm',\n ],\n languageSettings: [\n ...toArray(defaultSettings.languageSettings),\n {\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n includeRegExpList: [],\n ignoreRegExpList: ['js-hex-escape', 'js-unicode-escape', 'js-regexp-flags'],\n patterns: [],\n dictionaries: ['w5s-typescript'],\n dictionaryDefinitions: [],\n },\n {\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n // eslint-disable-next-line unicorn/prefer-string-raw\n ignoreRegExpList: ['\\\\/\\\\* eslint-disable.+', '\\\\/\\\\/ eslint-disable.+'],\n },\n ],\n};\n"],"mappings":";;AAAA,MAAa,OAAO,OAAO,OAAO;CAEhC,MAAA;CAEA,SAAA;CAEA,aAAa;AACf,CAAC;;;ACHD,MAAM,WAAc,UAAgC,MAAM,QAAQ,KAAK,IAAI,QAAQ,SAAS,OAAO,CAAC,IAAI,CAAC,KAAK;AAC9G,MAAM,kBAAkB;AAExB,MAAM,gCAAgB,IAAI,IAAY,CAEtC,CAAC;AACD,MAAM,wBAAyE;CAC7E;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;AACF;AAEA,MAAa,SAAiC;CAC5C,GAAG;CACH,MAAM;CACN,IAAI;CACJ,UAAU;CACV,aAAa;CACb,OAAO,CAAC;CACR,WAAW,CAAC;CACZ,cAAc;CACd,uBAAuB,CAAC,GAAG,QAAQ,gBAAgB,qBAAqB,GAAG,GAAG,qBAAqB;CACnG,cAAc,CACZ,GAAG,QAAQ,gBAAgB,YAAY,GACvC,GAAG,sBACA,KAAK,yBAAyB,qBAAqB,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/meta.ts","../src/config.ts"],"sourcesContent":["export const meta = Object.freeze({\n // @ts-ignore - these variables are injected at build time\n name: (typeof __PACKAGE_NAME__ === 'undefined' ? '' : __PACKAGE_NAME__) as string,\n // @ts-ignore - these variables are injected at build time\n version: (typeof __PACKAGE_VERSION__ === 'undefined' ? '' : __PACKAGE_VERSION__) as string,\n // @ts-ignore - these variables are injected at build time\n buildNumber: 1 as number, // (typeof __PACKAGE_BUILD_NUMBER__ === 'undefined' ? 0 : __PACKAGE_BUILD_NUMBER__) as number,\n});\n","import type { AdvancedCSpellSettings } from '@cspell/cspell-types';\n// @ts-ignore CSpell config is not typed\nimport cSpellSettings from '@cspell/cspell-bundled-dicts/cspell-default.config.js';\n\nconst toArray = <T>(value: T | T[] | undefined) => (Array.isArray(value) ? value : value == null ? [] : [value]);\nconst defaultSettings = cSpellSettings as AdvancedCSpellSettings;\n// eslint-disable-next-line unicorn/no-useless-collection-argument\nconst excludeImport = new Set<string>([\n // Put here the imports you want to exclude\n]);\nconst dictionaryDefinitions: AdvancedCSpellSettings['dictionaryDefinitions'] = [\n {\n addWords: false,\n name: 'w5s-filetypes',\n path: '../dict/filetypes.txt',\n description: 'Additional file types',\n },\n {\n addWords: false,\n name: 'w5s-fullstack',\n path: '../dict/fullstack.txt',\n description: 'Fullstack terms',\n },\n {\n addWords: false,\n name: 'w5s-typescript',\n path: '../dict/typescript.txt',\n description: 'Typescript keywords',\n },\n {\n addWords: false,\n name: 'w5s-names',\n path: '../dict/names.txt',\n description: 'Known names',\n },\n {\n addWords: false,\n name: 'w5s-npm',\n path: '../dict/npm.txt',\n description: 'NPM packages',\n },\n];\n\nexport const config: AdvancedCSpellSettings = {\n ...defaultSettings,\n name: 'W5S default settings .js',\n id: 'w5s-default-js',\n language: 'en',\n description: 'Default cspell configuration.',\n words: [],\n flagWords: [],\n useGitignore: true,\n dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],\n dictionaries: [\n ...toArray(defaultSettings.dictionaries),\n ...dictionaryDefinitions\n .map((dictionaryDefinition) => dictionaryDefinition.name)\n .filter((name) => !['w5s-typescript'].includes(name)),\n ],\n ignoreWords: [],\n import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),\n ignorePaths: [\n ...toArray(defaultSettings.ignorePaths),\n '**/CHANGELOG.md',\n '**/__snapshots__/**',\n // '**/.git/**',\n '**/.vscode/**',\n '**/*.snap',\n '**/dist/**',\n '**/node_modules/**',\n '**/package.json',\n '**/package-lock.json',\n '**/renovate.json',\n '**/vscode-extension/**',\n '**/yarn.lock',\n '**/pnpm-lock.yaml',\n\n // Ignore common media files\n '**/*.svg',\n '**/*.webp',\n '**/*.webm',\n ],\n languageSettings: [\n ...toArray(defaultSettings.languageSettings),\n {\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n includeRegExpList: [],\n ignoreRegExpList: ['js-hex-escape', 'js-unicode-escape', 'js-regexp-flags'],\n patterns: [],\n dictionaries: ['w5s-typescript'],\n dictionaryDefinitions: [],\n },\n {\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n // eslint-disable-next-line unicorn/prefer-string-raw\n ignoreRegExpList: ['\\\\/\\\\* eslint-disable.+', '\\\\/\\\\/ eslint-disable.+'],\n },\n ],\n};\n"],"mappings":";;AAAA,MAAa,OAAO,OAAO,OAAO;CAEhC,MAAA;CAEA,SAAA;CAEA,aAAa;AACf,CAAC;;;ACHD,MAAM,WAAc,UAAgC,MAAM,QAAQ,KAAK,IAAI,QAAQ,SAAS,OAAO,CAAC,IAAI,CAAC,KAAK;AAC9G,MAAM,kBA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ACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/cspell-config",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
4
4
|
"description": "CSpell configuration presets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cspell"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"sideEffect": false,
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "9102f7149f4d1faa4a9c96e7e910cbb296bd63e5"
|
|
60
60
|
}
|