@cspell/cspell-types 6.18.1 → 6.19.1

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.
@@ -1,4 +1,4 @@
1
- import { TextDocumentOffset, TextOffset } from './TextOffset';
1
+ import type { TextDocumentOffset, TextOffset } from './TextOffset';
2
2
  export interface Suggestion {
3
3
  /**
4
4
  * Word to suggest.
@@ -1,4 +1,4 @@
1
- import { DictionaryInformation } from './DictionaryInformation';
1
+ import type { DictionaryInformation } from './DictionaryInformation';
2
2
  export type DictionaryDefinition = DictionaryDefinitionPreferred | DictionaryDefinitionCustom | DictionaryDefinitionAugmented | DictionaryDefinitionAlternate | DictionaryDefinitionLegacy;
3
3
  export type DictionaryFileTypes = 'S' | 'W' | 'C' | 'T';
4
4
  export interface DictionaryDefinitionBase {
@@ -1,4 +1,4 @@
1
- import { SuggestionCostsDefs } from './suggestionCostsDef';
1
+ import type { SuggestionCostsDefs } from './suggestionCostsDef';
2
2
  /**
3
3
  * Use by dictionary authors to help improve the quality of suggestions
4
4
  * given from the dictionary.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { ConfigFields } from './configFields';
2
1
  export type { CSpellUserSettingsFields } from './configFields';
3
- export { IssueType, MessageTypes } from './CSpellReporter';
2
+ export { ConfigFields } from './configFields';
4
3
  export type { CSpellReporter, CSpellReporterModule, DebugEmitter, ErrorEmitter, ErrorLike, Issue, MessageEmitter, MessageType, MessageTypeLookup, ProgressBase, ProgressEmitter, ProgressFileBase, ProgressFileBegin, ProgressFileComplete, ProgressItem, ProgressTypes, ResultEmitter, RunResult, SpellingErrorEmitter, } from './CSpellReporter';
4
+ export { IssueType, MessageTypes } from './CSpellReporter';
5
5
  export type { AdvancedCSpellSettings, AdvancedCSpellSettingsWithSourceTrace, BaseSetting, CacheFormat, CacheSettings, CacheStrategy, CommandLineSettings, CSpellPackageSettings, CSpellSettings, CSpellSettingsWithSourceTrace, CSpellUserSettings, CSpellUserSettingsWithComments, ExperimentalBaseSettings, ExperimentalFileSettings, ExtendableSettings, FileSettings, FileSource, FsPath, FSPathResolvable, Glob, GlobDef, ImportFileRef, InMemorySource, LanguageId, LanguageIdMultiple, LanguageIdMultipleNeg, LanguageIdSingle, LanguageSetting, LanguageSettingFilterFields, LanguageSettingFilterFieldsDeprecated, LanguageSettingFilterFieldsPreferred, LegacySettings, LocaleId, LocalId, MergeSource, OverrideFilterFields, OverrideSettings, Pattern, PatternId, PatternRef, Plugin, PnPSettings, PredefinedPatterns, RegExpPatternDefinition, RegExpPatternList, ReporterSettings, ReportingConfiguration, Settings, SimpleGlob, Source, SuggestionsConfiguration, TrustLevel, Version, VersionLatest, VersionLegacy, WorkspaceTrustSettings, } from './CSpellSettingsDef';
6
6
  export type { CustomDictionaryPath, CustomDictionaryScope, DictionaryDefinition, DictionaryDefinitionAlternate, DictionaryDefinitionAugmented, DictionaryDefinitionBase, DictionaryDefinitionCustom, DictionaryDefinitionLegacy, DictionaryDefinitionPreferred, DictionaryFileTypes, DictionaryId, DictionaryNegRef, DictionaryPath, DictionaryRef, DictionaryReference, ReplaceEntry, ReplaceMap, } from './DictionaryDefinition';
7
7
  export type { CharacterSet, CharacterSetCosts, DictionaryInformation, EditCosts } from './DictionaryInformation';
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MessageTypes = exports.IssueType = exports.ConfigFields = void 0;
4
- // Using old-style of `type` exports because the new style breaks some integrations.
5
4
  var configFields_1 = require("./configFields");
6
5
  Object.defineProperty(exports, "ConfigFields", { enumerable: true, get: function () { return configFields_1.ConfigFields; } });
7
6
  var CSpellReporter_1 = require("./CSpellReporter");
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "6.18.1",
6
+ "version": "6.19.1",
7
7
  "description": "Types for cspell and cspell-lib",
8
8
  "type": "commonjs",
9
9
  "main": "dist/index.js",
@@ -30,10 +30,10 @@
30
30
  "./ajv.config.js": "./ajv.config.js"
31
31
  },
32
32
  "scripts": {
33
- "clean": "rimraf dist coverage .tsbuildinfo",
33
+ "clean": "shx rm -rf dist coverage .tsbuildinfo",
34
34
  "build": "pnpm run compile && pnpm run build-schema",
35
35
  "build-dev": "tsc -p tsconfig.dev.json",
36
- "build-schema": "ts-json-schema-generator --no-top-ref --path src/CSpellSettingsDef.ts --type CSpellSettings --validation-keywords markdownDescription --validation-keywords scope --validation-keywords deprecated --validation-keywords deprecationMessage -o ./cspell.schema.json && cp ./cspell.schema.json ../..",
36
+ "build-schema": "ts-json-schema-generator --no-top-ref --path src/CSpellSettingsDef.ts --type CSpellSettings --validation-keywords markdownDescription --validation-keywords scope --validation-keywords deprecated --validation-keywords deprecationMessage -o ./cspell.schema.json && shx cp ./cspell.schema.json ../..",
37
37
  "clean-build": "pnpm run clean && pnpm run build",
38
38
  "compile": "tsc -p .",
39
39
  "test-schema": "ajv -s ./cspell.schema.json -d \"cspell.test.{json,yaml}\" -c ./ajv.config.js",
@@ -65,9 +65,8 @@
65
65
  "devDependencies": {
66
66
  "ajv-cli": "^5.0.0",
67
67
  "jest": "^29.3.1",
68
- "rimraf": "^3.0.2",
69
68
  "ts-json-schema-generator": "^1.2.0",
70
69
  "typescript": "^4.9.4"
71
70
  },
72
- "gitHead": "2570a9bb03e68864d30ed8024786b3b2eeddab2b"
71
+ "gitHead": "1e9b8823fb92689fc0f598df3def7a5abf8bc005"
73
72
  }