@willbooster/oxfmt-config 1.1.0 → 1.2.1
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 +5 -0
- package/config.mjs +44 -0
- package/oxfmt.config.ts +3 -0
- package/package.json +13 -4
- package/.oxfmtrc.json +0 -42
package/config.d.ts
ADDED
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;
|
package/oxfmt.config.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/oxfmt-config",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Oxfmt config for WillBooster projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,16 +9,25 @@
|
|
|
9
9
|
},
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"author": "WillBooster Inc.",
|
|
12
|
-
"
|
|
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
|
-
".
|
|
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",
|
|
18
27
|
"check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true",
|
|
19
28
|
"cleanup": "yarn format",
|
|
20
29
|
"format": "sort-package-json && yarn prettify",
|
|
21
|
-
"prettify": "prettier --cache --color --write \"**/{.*/,}*.{
|
|
30
|
+
"prettify": "prettier --cache --color --no-error-on-unmatched-pattern --write \"**/{.*/,}*.{java}\" \"!**/test{-,/}fixtures/**\" || true"
|
|
22
31
|
},
|
|
23
32
|
"prettier": "@willbooster/prettier-config",
|
|
24
33
|
"devDependencies": {
|
package/.oxfmtrc.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
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
|
-
}
|