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 b07621f
Show file tree
Hide file tree
Showing 15 changed files with 89 additions and 31 deletions.
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
},
"json": {
"formatter": {
"indentStyle": "space"
"indentStyle": "space",
"lineWidth": 1
}
},
"vcs": {
Expand Down
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
13 changes: 10 additions & 3 deletions packages/@biomejs/js-api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"lib": ["ES2021"]
"lib": [
"ES2021"
]
},
"exclude": ["./tests", "./dist"],
"include": ["./src"]
"exclude": [
"./tests",
"./dist"
],
"include": [
"./src"
]
}
8 changes: 6 additions & 2 deletions packages/tailwindcss-config-analyzer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"compilerOptions": {
"lib": ["ESNext"],
"lib": [
"ESNext"
],
"module": "NodeNext",
"target": "esnext",
"moduleResolution": "NodeNext",
Expand All @@ -14,5 +16,7 @@
"forceConsistentCasingInFileNames": true,
"allowJs": true
},
"include": ["src/**/*"]
"include": [
"src/**/*"
]
}
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 b07621f

Please sign in to comment.