@d-zero/prettier-config 5.0.0-alpha.72 → 5.0.0-alpha.73
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/README.md +3 -1
- package/package.json +8 -3
- package/pug.js +1 -3
package/README.md
CHANGED
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
## 個別インストール
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm install -D @d-zero/prettier-config
|
|
6
|
+
npm install -D @d-zero/prettier-config @prettier/plugin-pug
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
`@d-zero/prettier-config/base`を利用する場合は、`@prettier/plugin-pug`をインストールする必要はありません。
|
|
10
|
+
|
|
9
11
|
## 使い方
|
|
10
12
|
|
|
11
13
|
`.prettierrc.mjs`を作成し、設定を読み込みエクスポートします。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/prettier-config",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.73",
|
|
4
4
|
"description": "Configurations of Prettier",
|
|
5
5
|
"repository": "https://github.com/d-zero-dev/linters.git",
|
|
6
6
|
"author": "D-ZERO Co., Ltd.",
|
|
@@ -27,8 +27,13 @@
|
|
|
27
27
|
"*.js"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@prettier/plugin-pug": "3.4.2",
|
|
31
30
|
"prettier": "3.6.2"
|
|
32
31
|
},
|
|
33
|
-
"
|
|
32
|
+
"optionalDependencies": {
|
|
33
|
+
"@prettier/plugin-pug": ">=3.0.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@prettier/plugin-pug": "3.4.2"
|
|
37
|
+
},
|
|
38
|
+
"gitHead": "a4e8a1e38c0ea98ebc77bdadf0c4890a072c7cd0"
|
|
34
39
|
}
|