Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

Install Biome in the server workspace so its lint script no longer reaches into client/

[._.]/ Adam Eivya36bde05f843
diff --git a/server/biome.jsonc b/server/biome.jsonc
index c60e255290..468dcc51e1 100644
--- a/server/biome.jsonc
+++ b/server/biome.jsonc
@@ -1,5 +1,5 @@
{
- "$schema": "../client/node_modules/@biomejs/biome/configuration_schema.json",
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"root": true,
"files": { "includes": ["**/*.js", "**/*.mjs", "!node_modules", "!native", "!coverage"] },
"formatter": { "enabled": false },
diff --git a/server/dependency-overrides.test.js b/server/dependency-overrides.test.js
index 3092a1a3a8..1419759712 100644
--- a/server/dependency-overrides.test.js
+++ b/server/dependency-overrides.test.js
@@ -350,3 +350,19 @@ describe('direct dependency pinning (#5699)', () => {
expect(EXACT_VERSION.test('1.2.0-beta.15')).toBe(true);
});
});
+
+// Biome is installed twice: client/ owns the CI lint job (`scripts/run-ci-lint.js`
+// lints BOTH trees with the client binary) and server/ owns `npm run lint --prefix
+// server` (#12051). A Dependabot bump that lands in one workspace and not the other
+// would lint the server with two rule sets — green locally, red in CI, or the
+// reverse. Shared tooling is pinned identically or not at all.
+describe('shared lint tooling (#12051)', () => {
+ it('pins @biomejs/biome to one version across client/ and server/', () => {
+ const pins = ['client/package.json', 'server/package.json'].map((rel) => {
+ const version = readDirectDeps(rel).find(({ name }) => name === '@biomejs/biome')?.range;
+ return `${rel}=${version}`;
+ });
+ expect(pins.map((pin) => pin.split('=')[1])).not.toContain('undefined');
+ expect(new Set(pins.map((pin) => pin.split('=')[1])).size, pins.join(', ')).toBe(1);
+ });
+});
diff --git a/server/package-lock.json b/server/package-lock.json
index 937721afd1..b5b31f23bf 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -30,6 +30,7 @@
"zod": "4.6.5"
},
"devDependencies": {
+ "@biomejs/biome": "2.5.15",
"@vitest/coverage-v8": "5.0.3",
"vitest": "5.0.3"
},
@@ -128,6 +129,181 @@
"node": ">=18"
}
},
+ "node_modules/@biomejs/biome": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.15.tgz",
+ "integrity": "sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==",
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "bin": {
+ "biome": "bin/biome"
+ },
+ "engines": {
+ "node": ">=14.21.3"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/biome"
+ },
+ "optionalDependencies": {
+ "@biomejs/cli-darwin-arm64": "2.5.15",
+ "@biomejs/cli-darwin-x64": "2.5.15",
+ "@biomejs/cli-linux-arm64": "2.5.15",
+ "@biomejs/cli-linux-arm64-musl": "2.5.15",
+ "@biomejs/cli-linux-x64": "2.5.15",
+ "@biomejs/cli-linux-x64-musl": "2.5.15",
+ "@biomejs/cli-win32-arm64": "2.5.15",
+ "@biomejs/cli-win32-x64": "2.5.15"
+ }
+ },
+ "node_modules/@biomejs/cli-darwin-arm64": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.5.15.tgz",
+ "integrity": "sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-darwin-x64": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.5.15.tgz",
+ "integrity": "sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-linux-arm64": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.5.15.tgz",
+ "integrity": "sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-linux-arm64-musl": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.5.15.tgz",
+ "integrity": "sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-linux-x64": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.5.15.tgz",
+ "integrity": "sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-linux-x64-musl": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.5.15.tgz",
+ "integrity": "sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-win32-arm64": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.5.15.tgz",
+ "integrity": "sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-win32-x64": {
+ "version": "2.5.15",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.5.15.tgz",
+ "integrity": "sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
"node_modules/@cantoo/pdf-lib": {
"version": "2.11.1",
"resolved": "https://registry.npmjs.org/@cantoo/pdf-lib/-/pdf-lib-2.11.1.tgz",
diff --git a/server/package.json b/server/package.json
index e482875bb4..02d91c83fe 100644
--- a/server/package.json
+++ b/server/package.json
@@ -10,7 +10,7 @@
"scripts": {
"dev": "node --watch start.js",
"start": "node start.js",
- "lint": "node ../client/node_modules/@biomejs/biome/bin/biome lint --max-diagnostics=20 .",
+ "lint": "biome lint --error-on-warnings --max-diagnostics=20 .",
"test": "vitest run --configLoader runner",
"test:fast": "vitest run --configLoader runner",
"test:watch": "vitest --configLoader runner",
@@ -44,6 +44,7 @@
"zod": "4.6.5"
},
"devDependencies": {
+ "@biomejs/biome": "2.5.15",
"@vitest/coverage-v8": "5.0.3",
"vitest": "5.0.3"
},