@willbooster/oxfmt-config 1.0.0 → 1.2.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/config.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const config: object;
2
+
3
+ export default config;
package/config.mjs ADDED
@@ -0,0 +1,44 @@
1
+ const config = {
2
+ $schema: './node_modules/oxfmt/configuration_schema.json',
3
+ ignorePatterns: [
4
+ '**/.agents/**',
5
+ '**/.claude/**',
6
+ '**/.devcontainer/**',
7
+ '**/.idea/AugmentWebviewStateStore.xml',
8
+ '**/.idea/copilot.*/**',
9
+ '**/.idea/copilot/**',
10
+ '**/.playwright-cli/**',
11
+ '**/.serena/**',
12
+ '**/.tmp/**',
13
+ '**/.venv/**',
14
+ '**/.yarn/**',
15
+ '**/3rd-party/**',
16
+ '**/@types/**',
17
+ '**/@willbooster/**',
18
+ '**/__generated__/**',
19
+ '**/android/**',
20
+ '**/bin/**',
21
+ '**/build/**',
22
+ '**/coverage/**',
23
+ '**/dist/**',
24
+ '**/ios/**',
25
+ '**/no-format/**',
26
+ '**/node_modules/**',
27
+ '**/temp/**',
28
+ '**/tmp/**',
29
+ '**/test-fixtures/**',
30
+ '**/test-results/**',
31
+ '**/test/fixtures/**',
32
+ '**/.aider*',
33
+ '**/.env.production',
34
+ '**/.pnp.js',
35
+ '**/*/mount/*.hash',
36
+ '**/*.d.ts',
37
+ '**/*.min.*js',
38
+ ],
39
+ printWidth: 120,
40
+ singleQuote: true,
41
+ trailingComma: 'es5',
42
+ };
43
+
44
+ export default config;
@@ -0,0 +1,3 @@
1
+ import config from './config.mjs';
2
+
3
+ export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/oxfmt-config",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Oxfmt config for WillBooster projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,9 +9,18 @@
9
9
  },
10
10
  "license": "Apache-2.0",
11
11
  "author": "WillBooster Inc.",
12
- "main": ".oxfmtrc.json",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./config.d.ts",
15
+ "default": "./config.mjs"
16
+ }
17
+ },
18
+ "main": "config.mjs",
19
+ "types": "config.d.ts",
13
20
  "files": [
14
- ".oxfmtrc.json"
21
+ "config.d.ts",
22
+ "config.mjs",
23
+ "oxfmt.config.ts"
15
24
  ],
16
25
  "scripts": {
17
26
  "check-all-for-ai": "yarn check-for-ai && yarn test",
@@ -22,7 +31,6 @@
22
31
  },
23
32
  "prettier": "@willbooster/prettier-config",
24
33
  "devDependencies": {
25
- "lint-staged": "16.4.0",
26
34
  "prettier": "3.8.1",
27
35
  "prettier-plugin-java": "2.8.1",
28
36
  "sort-package-json": "3.6.1"
package/.oxfmtrc.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "$schema": "./node_modules/oxfmt/configuration_schema.json",
3
- "printWidth": 120,
4
- "singleQuote": true,
5
- "trailingComma": "es5"
6
- }