@willbooster/oxfmt-config 1.2.0 → 1.2.2

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/config.d.mts ADDED
@@ -0,0 +1 @@
1
+ export { default } from './config.js';
package/config.d.ts CHANGED
@@ -1,3 +1,5 @@
1
- declare const config: object;
1
+ import type { OxfmtConfig } from 'oxfmt';
2
+
3
+ declare const config: OxfmtConfig;
2
4
 
3
5
  export default config;
package/config.mjs CHANGED
@@ -24,6 +24,7 @@ const config = {
24
24
  '**/ios/**',
25
25
  '**/no-format/**',
26
26
  '**/node_modules/**',
27
+ '**/package.json',
27
28
  '**/temp/**',
28
29
  '**/tmp/**',
29
30
  '**/test-fixtures/**',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/oxfmt-config",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Oxfmt config for WillBooster projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "license": "Apache-2.0",
11
11
  "author": "WillBooster Inc.",
12
+ "type": "module",
12
13
  "exports": {
13
14
  ".": {
14
15
  "types": "./config.d.ts",
@@ -20,19 +21,16 @@
20
21
  "files": [
21
22
  "config.d.ts",
22
23
  "config.mjs",
23
- "oxfmt.config.ts"
24
+ "oxfmt.config.ts",
25
+ "config.d.mts"
24
26
  ],
25
27
  "scripts": {
26
28
  "check-all-for-ai": "yarn check-for-ai && yarn test",
27
29
  "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true",
28
30
  "cleanup": "yarn format",
29
- "format": "sort-package-json && yarn prettify",
30
- "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/**\" || true"
31
+ "format": "sort-package-json"
31
32
  },
32
- "prettier": "@willbooster/prettier-config",
33
33
  "devDependencies": {
34
- "prettier": "3.8.1",
35
- "prettier-plugin-java": "2.8.1",
36
34
  "sort-package-json": "3.6.1"
37
35
  },
38
36
  "peerDependencies": {