Skip to content

Commit a58ff6b

Browse files
committed
Docs(chore[biome]): Use --write for Biome scripts
why: Biome 2.x rejects the legacy --apply flag used by workspace scripts. what: - Update biome scripts to use --write for check and lint steps - Keep formatting commands consistent across all packages
1 parent 1382f04 commit a58ff6b

7 files changed

Lines changed: 23 additions & 12 deletions

File tree

astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"ncu": "pnpm run --recursive ncu",
1616
"ncu-local": "ncu",
1717
"biome-all": "pnpm run --recursive biome",
18-
"biome-full": "biome lint . --apply --max-diagnostics=100 && biome check . --apply && biome format . --write",
18+
"biome-full": "biome lint . --write --max-diagnostics=100 && biome check . --write && biome format . --write",
1919
"test": "pnpm run --recursive test",
2020
"update": "pnpm run --recursive update",
2121
"update:all": "ncu -u; pnpm --recursive run 'ncu' -u",

astro/packages/astro/autodoc/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"description": "Astro components for libtmux API docs",
66
"main": "src/index.ts",
77
"types": "src/index.ts",
8-
"files": ["src"],
8+
"files": [
9+
"src"
10+
],
911
"scripts": {
1012
"test": "vitest run",
1113
"test:watch": "vitest",
@@ -16,7 +18,7 @@
1618
"update": "pnpm update",
1719
"ncu": "ncu",
1820
"clean": "rm -rf dist/ node_modules/.cache/",
19-
"biome": "biome check . --apply && biome format . --write"
21+
"biome": "biome check . --write && biome format . --write"
2022
},
2123
"dependencies": {
2224
"@libtmux/api-model": "workspace:*",

astro/packages/astro/intersphinx/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"description": "Astro helpers for intersphinx resolution",
66
"main": "src/index.ts",
77
"types": "src/index.ts",
8-
"files": ["src"],
8+
"files": [
9+
"src"
10+
],
911
"scripts": {
1012
"test": "vitest run",
1113
"test:watch": "vitest",
@@ -16,7 +18,7 @@
1618
"update": "pnpm update",
1719
"ncu": "ncu",
1820
"clean": "rm -rf dist/ node_modules/.cache/",
19-
"biome": "biome check . --apply && biome format . --write"
21+
"biome": "biome check . --write && biome format . --write"
2022
},
2123
"dependencies": {
2224
"@libtmux/intersphinx": "workspace:*"

astro/packages/core/api-model/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"description": "API model builder for libtmux docs",
66
"main": "src/index.ts",
77
"types": "src/index.ts",
8-
"files": ["src"],
8+
"files": [
9+
"src"
10+
],
911
"scripts": {
1012
"test": "vitest run",
1113
"test:watch": "vitest",
@@ -16,7 +18,7 @@
1618
"update": "pnpm update",
1719
"ncu": "ncu",
1820
"clean": "rm -rf dist/ node_modules/.cache/",
19-
"biome": "biome check . --apply && biome format . --write"
21+
"biome": "biome check . --write && biome format . --write"
2022
},
2123
"dependencies": {
2224
"@libtmux/py-ast": "workspace:*",

astro/packages/core/intersphinx/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"description": "Sphinx intersphinx inventory parser",
66
"main": "src/index.ts",
77
"types": "src/index.ts",
8-
"files": ["src"],
8+
"files": [
9+
"src"
10+
],
911
"scripts": {
1012
"test": "vitest run",
1113
"test:watch": "vitest",
@@ -16,7 +18,7 @@
1618
"update": "pnpm update",
1719
"ncu": "ncu",
1820
"clean": "rm -rf dist/ node_modules/.cache/",
19-
"biome": "biome check . --apply && biome format . --write"
21+
"biome": "biome check . --write && biome format . --write"
2022
},
2123
"dependencies": {
2224
"zod": "^4.3.5"

astro/packages/core/py-ast/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"description": "Python AST scanner for libtmux docs",
66
"main": "src/index.ts",
77
"types": "src/index.ts",
8-
"files": ["src", "python"],
8+
"files": [
9+
"src",
10+
"python"
11+
],
912
"scripts": {
1013
"test": "vitest run",
1114
"test:watch": "vitest",
@@ -16,7 +19,7 @@
1619
"update": "pnpm update",
1720
"ncu": "ncu",
1821
"clean": "rm -rf dist/ node_modules/.cache/",
19-
"biome": "biome check . --apply && biome format . --write"
22+
"biome": "biome check . --write && biome format . --write"
2023
},
2124
"dependencies": {
2225
"execa": "^9.6.1",

astro/packages/site/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"ncu": "ncu",
2020
"update": "pnpm update",
2121
"clean": "rm -rf dist/ node_modules/.cache/",
22-
"biome": "biome check . --apply && biome format . --write"
22+
"biome": "biome check . --write && biome format . --write"
2323
},
2424
"dependencies": {
2525
"@astrojs/mdx": "^4.3.13",

0 commit comments

Comments
 (0)