@willbooster/prettier-config 10.0.0 → 10.1.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/.prettierrc.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "plugins": ["prettier-plugin-java"],
2
3
  "printWidth": 120,
3
4
  "singleQuote": true,
4
5
  "trailingComma": "es5"
package/README.md CHANGED
@@ -4,5 +4,6 @@ A prettier config file for my repositories.
4
4
  You need to do the following command to install peer dependencies.
5
5
 
6
6
  ```
7
- yarn add -D prettier
7
+ yarn add -D prettier \
8
+ prettier-plugin-java
8
9
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/prettier-config",
3
- "version": "10.0.0",
3
+ "version": "10.1.0",
4
4
  "description": "A Prettier config for WillBooster projects",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
@@ -9,17 +9,20 @@
9
9
  ".prettierrc.json"
10
10
  ],
11
11
  "scripts": {
12
+ "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null && yarn lint-fix --quiet && yarn typecheck && yarn test --silent",
12
13
  "cleanup": "yarn format",
13
14
  "format": "sort-package-json && yarn prettify",
14
- "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\""
15
+ "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,java,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\""
15
16
  },
16
17
  "devDependencies": {
17
- "lint-staged": "15.4.3",
18
- "prettier": "3.5.3",
19
- "sort-package-json": "3.0.0"
18
+ "lint-staged": "16.1.2",
19
+ "prettier": "3.6.1",
20
+ "prettier-plugin-java": "2.6.8",
21
+ "sort-package-json": "3.3.1"
20
22
  },
21
23
  "peerDependencies": {
22
- "prettier": ">=2"
24
+ "prettier": ">=3",
25
+ "prettier-plugin-java": ">=2.6"
23
26
  },
24
27
  "publishConfig": {
25
28
  "access": "public"