@d-zero/cspell-config 5.0.0-dev.92 → 5.0.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 D-ZERO Co., Ltd.
3
+ Copyright (c) 2024 D-ZERO Co., Ltd.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,4 +1,30 @@
1
1
  # `@d-zero/cspell-config`
2
2
 
3
- - 使用: 🆗 使用可
4
- - 解説: 🚧 準備中
3
+ ## 個別インストール
4
+
5
+ ```sh
6
+ npm install -D @d-zero/cspell-config
7
+ ```
8
+
9
+ ## 使い方
10
+
11
+ `cspell.json`を作成し、[`import`](https://cspell.org/configuration/imports/#importing-configuration)機能を使って読み込みます。
12
+
13
+ ```json
14
+ {
15
+ "import": ["@d-zero/cspell-config"]
16
+ }
17
+ ```
18
+
19
+ ### 拡張
20
+
21
+ プロジェクトに合わせて設定を追加します。
22
+
23
+ ```json
24
+ {
25
+ "import": ["@d-zero/cspell-config"],
26
+
27
+ // 例: 単語を追加する
28
+ "words": ["example", "word"]
29
+ }
30
+ ```
package/cspell.json CHANGED
@@ -5,9 +5,11 @@
5
5
  "useGitignore": true,
6
6
  "ignorePaths": [
7
7
  //
8
+ "**/.git/**",
8
9
  "**/.gitignore",
9
10
  "**/*.svg",
10
11
  "**/cspell.json",
12
+ "**/LICENSE",
11
13
  "**/package.json"
12
14
  ],
13
15
  "dictionaries": [
@@ -22,15 +24,38 @@
22
24
  "softwareTerms",
23
25
  "typescript"
24
26
  ],
25
- "words": ["astrojs", "htdocs", "tsconfigs"],
27
+ "words": [
28
+ "astrojs",
29
+ "ckeditor",
30
+ "execa",
31
+ "htdocs",
32
+ "nocjsp",
33
+ "destyle",
34
+
35
+ // File extensions
36
+ "webp",
37
+
38
+ // Configurations
39
+ "commitlintrc",
40
+ "lintrc",
41
+ "markuplintrc",
42
+ "stylelintrc",
43
+ "textlintrc",
44
+ "tsconfigs",
45
+ // Font
46
+ "FOUT",
47
+ "noto",
48
+ // Layout
49
+ "trbl" // top, right, bottom, left
50
+ ],
26
51
  "overrides": [
27
52
  {
28
53
  "filename": ["**/*.{css,scss}", "**/tailwind.config.*"],
29
54
  "words": [
30
55
  // Font settings
31
56
  "noto",
32
- "pcap",
33
- "palt"
57
+ "palt",
58
+ "pcap"
34
59
  ]
35
60
  }
36
61
  ]
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "@d-zero/cspell-config",
3
- "version": "5.0.0-dev.92+cac5756",
3
+ "version": "5.0.0",
4
4
  "description": "Configurations of CSpell",
5
- "repository": "https://github.com/d-zero-dev/node-dev-env.git",
5
+ "repository": "https://github.com/d-zero-dev/linters.git",
6
6
  "author": "D-ZERO Co., Ltd.",
7
7
  "license": "MIT",
8
- "private": false,
9
8
  "publishConfig": {
10
9
  "access": "public"
11
10
  },
11
+ "engines": {
12
+ "node": ">=22.0.0"
13
+ },
12
14
  "files": [
13
15
  "cspell.json"
14
16
  ],
15
17
  "main": "cspell.json",
16
18
  "dependencies": {
17
- "cspell": "8.2.3"
19
+ "cspell": "9.4.0"
18
20
  },
19
- "gitHead": "cac5756806a90edaa73a57e49f0dcd45495290ab"
21
+ "gitHead": "7f635ad8bbb1455d0d362fe00478a2f7bd216924"
20
22
  }