Skip to content

Commit

Permalink
chore: format package.json like npm does
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jun 10, 2024
1 parent 04745f4 commit 7a5acd9
Show file tree
Hide file tree
Showing 13 changed files with 84 additions and 33 deletions.
21 changes: 13 additions & 8 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@
"_fonts/**",
"packages/@biomejs/wasm-*"
],
"include": [
"packages/@biomejs/**",
"packages/tailwindcss-config-analyzer"
]
"include": ["packages/@biomejs/**", "packages/tailwindcss-config-analyzer"]
},
"formatter": {
"ignore": [
"configuration_schema.json"
]
"ignore": ["configuration_schema.json"]
},
"json": {
"formatter": {
Expand All @@ -44,5 +39,15 @@
},
"organizeImports": {
"enabled": true
}
},
"overrides": [
{
"include": ["package.json"],
"json": {
"formatter": {
"lineWidth": 1
}
}
}
]
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.0.0",
"private": true,
"scripts": {
"check:apply": "cargo biome-cli-dev check --apply-unsafe .",
"check": "cargo biome-cli-dev check .",
"ci": "cargo biome-cli-dev ci ."
"check:apply": "cargo biome-cli-dev check --write --unsafe",
"check": "cargo biome-cli-dev check",
"ci": "cargo biome-cli-dev ci"
},
"keywords": [],
"author": "Biome Developers and Contributors",
Expand Down
8 changes: 7 additions & 1 deletion packages/@biomejs/backend-jsonrpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
"author": "Biome Developers and Contributors",
"bugs": "https://github.com/biomejs/biome/issues",
"description": "Bindings to the JSON-RPC Workspace API of the Biome daemon",
"keywords": ["JavaScript", "TypeScript", "format", "lint", "toolchain"],
"keywords": [
"JavaScript",
"TypeScript",
"format",
"lint",
"toolchain"
],
"engines": {
"node": ">=14.21.3"
},
Expand Down
8 changes: 6 additions & 2 deletions packages/@biomejs/cli-darwin-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["darwin"],
"cpu": ["arm64"]
"os": [
"darwin"
],
"cpu": [
"arm64"
]
}
8 changes: 6 additions & 2 deletions packages/@biomejs/cli-darwin-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["darwin"],
"cpu": ["x64"]
"os": [
"darwin"
],
"cpu": [
"x64"
]
}
12 changes: 9 additions & 3 deletions packages/@biomejs/cli-linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["linux"],
"cpu": ["arm64"],
"libc": ["musl"]
"os": [
"linux"
],
"cpu": [
"arm64"
],
"libc": [
"musl"
]
}
8 changes: 6 additions & 2 deletions packages/@biomejs/cli-linux-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["linux"],
"cpu": ["arm64"]
"os": [
"linux"
],
"cpu": [
"arm64"
]
}
12 changes: 9 additions & 3 deletions packages/@biomejs/cli-linux-x64-musl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["linux"],
"cpu": ["x64"],
"libc": ["musl"]
"os": [
"linux"
],
"cpu": [
"x64"
],
"libc": [
"musl"
]
}
8 changes: 6 additions & 2 deletions packages/@biomejs/cli-linux-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["linux"],
"cpu": ["x64"]
"os": [
"linux"
],
"cpu": [
"x64"
]
}
8 changes: 6 additions & 2 deletions packages/@biomejs/cli-win32-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["win32"],
"cpu": ["arm64"]
"os": [
"win32"
],
"cpu": [
"arm64"
]
}
8 changes: 6 additions & 2 deletions packages/@biomejs/cli-win32-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"node": ">=14.21.3"
},
"homepage": "https://biomejs.dev",
"os": ["win32"],
"cpu": ["x64"]
"os": [
"win32"
],
"cpu": [
"x64"
]
}
7 changes: 6 additions & 1 deletion packages/@biomejs/js-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"keywords": ["JavaScript", "bindings", "APIs", "biome"],
"keywords": [
"JavaScript",
"bindings",
"APIs",
"biome"
],
"license": "MIT OR Apache-2.0",
"homepage": "https://biomejs.dev",
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions shared/biome.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{
}
{}

0 comments on commit 7a5acd9

Please sign in to comment.