Skip to content

Commit 74df66d

Browse files
rhuanbarretoclaude
andcommitted
chore: enable package.json sorting in oxfmt
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 379d598 commit 74df66d

5 files changed

Lines changed: 51 additions & 51 deletions

File tree

.oxfmtrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"trailingComma": "es5",
33
"printWidth": 80,
4-
"sortPackageJson": false,
4+
"sortPackageJson": true,
55
"ignorePatterns": [
66
"node_modules/",
77
"dist",

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,43 @@
22
"name": "archgate",
33
"version": "0.11.1",
44
"description": "Enforce Architecture Decision Records as executable rules — for both humans and AI agents",
5-
"readme": "README.md",
6-
"license": "Apache-2.0",
7-
"homepage": "https://cli.archgate.dev",
8-
"bin": {
9-
"archgate": "bin/archgate.cjs"
10-
},
11-
"exports": {
12-
"./rules": "./src/formats/rules.ts"
13-
},
14-
"files": [
15-
"src/formats/rules.ts",
16-
"bin/archgate.cjs"
17-
],
18-
"author": {
19-
"name": "Archgate",
20-
"url": "https://archgate.dev"
21-
},
225
"keywords": [
23-
"archgate",
246
"adr",
7+
"archgate",
258
"architecture-decision-records",
9+
"cli",
2610
"governance",
27-
"linter",
28-
"cli"
11+
"linter"
2912
],
13+
"homepage": "https://cli.archgate.dev",
3014
"bugs": {
3115
"url": "https://github.com/archgate/cli/issues"
3216
},
17+
"license": "Apache-2.0",
18+
"author": {
19+
"name": "Archgate",
20+
"url": "https://archgate.dev"
21+
},
3322
"repository": {
3423
"type": "git",
3524
"url": "git+https://github.com/archgate/cli.git"
3625
},
26+
"bin": {
27+
"archgate": "bin/archgate.cjs"
28+
},
29+
"files": [
30+
"src/formats/rules.ts",
31+
"bin/archgate.cjs"
32+
],
3733
"os": [
3834
"darwin",
3935
"linux",
4036
"win32"
4137
],
38+
"type": "module",
39+
"exports": {
40+
"./rules": "./src/formats/rules.ts"
41+
},
4242
"scripts": {
4343
"cli": "bun run src/cli.ts",
4444
"check": "bun run src/cli.ts check",
@@ -56,7 +56,6 @@
5656
"docs:build": "cd docs && bunx --bun astro build",
5757
"docs:preview": "cd docs && bunx --bun astro preview"
5858
},
59-
"type": "module",
6059
"devDependencies": {
6160
"@commander-js/extra-typings": "14.0.0",
6261
"@commitlint/cli": "19.8.1",
@@ -68,8 +67,8 @@
6867
"conventional-changelog": "7.1.1",
6968
"conventional-changelog-angular": "8.0.0",
7069
"inquirer": "12.9.4",
71-
"oxlint": "1.14.0",
7270
"oxfmt": "0.41.0",
71+
"oxlint": "1.14.0",
7372
"zod": "4.3.6"
7473
},
7574
"peerDependencies": {
@@ -79,5 +78,6 @@
7978
"archgate-darwin-arm64": "0.11.1",
8079
"archgate-linux-x64": "0.11.1",
8180
"archgate-win32-x64": "0.11.1"
82-
}
81+
},
82+
"readme": "README.md"
8383
}

packages/archgate-darwin-arm64/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"name": "archgate-darwin-arm64",
33
"version": "0.0.0",
44
"description": "darwin arm64 binary for archgate",
5+
"license": "Apache-2.0",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/archgate/cli.git"
9+
},
10+
"files": [
11+
"bin/archgate"
12+
],
513
"os": [
614
"darwin"
715
],
816
"cpu": [
917
"arm64"
10-
],
11-
"files": [
12-
"bin/archgate"
13-
],
14-
"license": "Apache-2.0",
15-
"repository": {
16-
"type": "git",
17-
"url": "git+https://github.com/archgate/cli.git"
18-
}
18+
]
1919
}

packages/archgate-linux-x64/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"name": "archgate-linux-x64",
33
"version": "0.0.0",
44
"description": "linux x64 binary for archgate",
5+
"license": "Apache-2.0",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/archgate/cli.git"
9+
},
10+
"files": [
11+
"bin/archgate"
12+
],
513
"os": [
614
"linux"
715
],
816
"cpu": [
917
"x64"
10-
],
11-
"files": [
12-
"bin/archgate"
13-
],
14-
"license": "Apache-2.0",
15-
"repository": {
16-
"type": "git",
17-
"url": "git+https://github.com/archgate/cli.git"
18-
}
18+
]
1919
}

packages/archgate-win32-x64/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"name": "archgate-win32-x64",
33
"version": "0.0.0",
44
"description": "windows x64 binary for archgate",
5+
"license": "Apache-2.0",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/archgate/cli.git"
9+
},
10+
"files": [
11+
"bin/archgate.exe"
12+
],
513
"os": [
614
"win32"
715
],
816
"cpu": [
917
"x64"
10-
],
11-
"files": [
12-
"bin/archgate.exe"
13-
],
14-
"license": "Apache-2.0",
15-
"repository": {
16-
"type": "git",
17-
"url": "git+https://github.com/archgate/cli.git"
18-
}
18+
]
1919
}

0 commit comments

Comments
 (0)