@w5s/cspell-config 1.0.0-alpha.6 → 1.0.0-alpha.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/dict/names.txt CHANGED
@@ -1,4 +1,5 @@
1
1
  dbaeumer
2
+ espree
2
3
  jpolo
3
4
  rushstack
4
5
  seatonjiang
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
- // @ts-ignore
5
+ // @ts-ignore CSpell config is not typed
6
6
  const cspell_default_config_js_1 = __importDefault(require("@cspell/cspell-bundled-dicts/cspell-default.config.js"));
7
7
  const toArray = (value) => (Array.isArray(value) ? value : value == null ? [] : [value]);
8
8
  const defaultSettings = cspell_default_config_js_1.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/cspell-config",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "CSpell configuration presets",
5
5
  "keywords": [
6
6
  "cspell"
@@ -36,10 +36,10 @@
36
36
  "scripts": {
37
37
  "__build:dict": "cd dict;cspell-tools-cli compile filetypes.txt",
38
38
  "build": "concurrently \"npm:build:*\" \":\"",
39
- "build:src": "tsc",
39
+ "build:tsc": "tsc -b tsconfig.build.json",
40
40
  "clean": "concurrently \"npm:clean:*\" \":\"",
41
- "clean:src": "rm -rf lib/*",
42
- "docs": "md-magic --path '**/*.md' --ignore='node_modules'",
41
+ "clean:tsc": "rm -rf lib",
42
+ "docs": "node ../../markdown.mjs",
43
43
  "format": "concurrently \"npm:format:*\" \":\"",
44
44
  "format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
45
45
  "lint": "concurrently \"npm:lint:*\" \":\"",
@@ -70,7 +70,7 @@
70
70
  "devDependencies": {
71
71
  "@cspell/cspell-tools": "6.19.2",
72
72
  "@cspell/cspell-types": "6.19.2",
73
- "@jest/globals": "29.4.1"
73
+ "@jest/globals": "29.4.2"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "cspell": "^6.0.0"
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "dd093c2907cf8e136f4adec9a14b176e0851de17"
89
+ "gitHead": "918c1157da6808ff19124ee96a4fe499f0da1877"
90
90
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { AdvancedCSpellSettings } from '@cspell/cspell-types';
2
- // @ts-ignore
2
+ // @ts-ignore CSpell config is not typed
3
3
  import cSpellSettings from '@cspell/cspell-bundled-dicts/cspell-default.config.js';
4
4
 
5
5
  const toArray = <T>(value: T | T[] | undefined) => (Array.isArray(value) ? value : value == null ? [] : [value]);