Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
triage:
runs-on: ubuntu-latest
if: github.repository_owner == 'rome'
if: github.repository_owner == 'biomejs'
steps:
- uses: actions/labeler@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website_deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches-ignore:
pull_request:
branches:
- main
jobs:
Deploy-Preview:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website_deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches-ignore:
branches:
- main
jobs:
Deploy-Preview:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand All @@ -40,7 +40,7 @@
**Rome** has first-class IDE support, with a sophisticated parser that represents the source text in full fidelity
and top-notch error recovery.

**Rome** is [MIT licensed](https://github.com/rome/tools/tree/main/LICENSE) and moderated under the [Contributor Covenant Code of Conduct](https://github.com/rome/tools/tree/main/CODE_OF_CONDUCT.md).
**Rome** is [MIT licensed](https://github.com/biomejs/biome/tree/main/LICENSE) and moderated under the [Contributor Covenant Code of Conduct](https://github.com/biomejs/biome/tree/main/CODE_OF_CONDUCT.md).


## Documentation
Expand Down
6 changes: 3 additions & 3 deletions benchmark/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ const { dir } = require("console");
const TMP_DIRECTORY = path.resolve("./target");

function buildRome() {
console.log("Build Rome...");
console.log("Build Biome...");

child_process.execSync("cargo build --bin rome --release", {
child_process.execSync("cargo build --bin biome --release", {
stdio: "inherit",
});

return path.resolve("../target/release/rome");
return path.resolve("../target/release/biome");
}

const BENCHMARKS = {
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_analyze/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ just test-lintrule myRuleName
and if you've done everything correctly,
you should see some snapshots emitted with diagnostics and code actions.

Check our main [contribution document](https://github.com/rome/tools/blob/main/CONTRIBUTING.md#snapshot-tests)
Check our main [contribution document](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#snapshot-tests)
to know how to deal with the snapshot tests.

### Promote a rule
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_css_parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_formatter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_js_factory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_js_formatter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_js_parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_js_semantic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_js_syntax/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_json_formatter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
4 changes: 2 additions & 2 deletions crates/rome_json_parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand Down
3 changes: 1 addition & 2 deletions crates/rome_lsp/tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,7 @@ async fn pull_diagnostics() -> Result<()> {
"lint/suspicious/noDoubleEquals",
))),
code_description: Some(CodeDescription {
href: Url::parse("https://docs.rome.tools/lint/rules/noDoubleEquals")
.unwrap()
href: Url::parse("https://biomejs.dev/lint/rules/noDoubleEquals").unwrap()
}),
source: Some(String::from("rome")),
message: String::from(
Expand Down
7 changes: 6 additions & 1 deletion editors/vscode/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ export async function activate(context: ExtensionContext) {
traceOutputChannel,
};

client = new LanguageClient("biome_lsp", "Biome", serverOptions, clientOptions);
client = new LanguageClient(
"biome_lsp",
"Biome",
serverOptions,
clientOptions,
);

const session = new Session(context, client);

Expand Down
10 changes: 5 additions & 5 deletions packages/@biomejs/backend-jsonrpc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@rometools/backend-jsonrpc",
"name": "@biomejs/backend-jsonrpc",
"version": "0.0.0",
"main": "dist/index.js",
"scripts": {
Expand All @@ -8,14 +8,14 @@
"tsc": "tsc --noEmit",
"build": "tsc"
},
"homepage": "https://rome.tools",
"homepage": "https://biomejs.dev",
"repository": {
"type": "git",
"url": "https://github.com/rome/tools.git",
"url": "https://github.com/biomejs/biome.git",
"directory": "npm/backend-jsonrpc"
},
"author": "Rome Tools Developers and Contributors",
"bugs": "https://github.com/rome/tools/issues",
"bugs": "https://github.com/biomejs/biome/issues",
"description": "Bindings to the JSON-RPC Workspace API of the Rome daemon",
"keywords": [
"JavaScript",
Expand All @@ -34,4 +34,4 @@
"vite": "^3.0.8",
"vitest": "^0.22.0"
}
}
}
2 changes: 1 addition & 1 deletion packages/@biomejs/backend-jsonrpc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function createWorkspaceWithBinary(
await transport.request("initialize", {
capabilities: {},
client_info: {
name: "@rometools/backend-jsonrpc",
name: "@biomejs/backend-jsonrpc",
version: "0.10.1-next",
},
});
Expand Down
4 changes: 2 additions & 2 deletions packages/@biomejs/backend-jsonrpc/tests/workspace.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ describe("Workspace API", () => {
const extension = process.platform === "win32" ? ".exe" : "";
const command = resolve(
fileURLToPath(import.meta.url),
"../../../..",
`target/release/rome${extension}`,
"../../../../..",
`target/release/biome${extension}`,
);

const workspace = await createWorkspaceWithBinary(command);
Expand Down
6 changes: 3 additions & 3 deletions packages/@biomejs/biome/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
[mit-url]: LICENSE
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen
[discord-url]: https://discord.gg/rome
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml
[ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
[ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
Expand All @@ -40,7 +40,7 @@
**Rome** has first-class IDE support, with a sophisticated parser that represents the source text in full fidelity
and top-notch error recovery.

**Rome** is [MIT licensed](https://github.com/rome/tools/tree/main/LICENSE) and moderated under the [Contributor Covenant Code of Conduct](https://github.com/rome/tools/tree/main/CODE_OF_CONDUCT.md).
**Rome** is [MIT licensed](https://github.com/biomejs/biome/tree/main/LICENSE) and moderated under the [Contributor Covenant Code of Conduct](https://github.com/biomejs/biome/tree/main/CODE_OF_CONDUCT.md).


## Documentation
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/biome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"author": "Emanuele Stoppa",
"license": "MIT",
"bugs": "https://github.com/rome/tools/issues",
"bugs": "https://github.com/biomejs/biome/issues",
"description": "Rome is a toolchain for the web: formatter, linter and more",
"files": [
"bin/rome",
Expand Down
8 changes: 4 additions & 4 deletions packages/@biomejs/js-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ npm i @rometools/wasm-<dist>
```

You need to install one of the `@rometools/wasm-*` package as a **peer dependency** for this package to work correctly, out of the following distributions:
- `@rometools/wasm-bundler`: Install this package if you're using a bundler that supports importing `*.wasm` files directly
- `@rometools/wasm-nodejs`: Install this package if you're using Node.js to load the WebAssembly bundle use the `fs` API
- `@rometools/wasm-web`: Install this package if you are targeting the web platform to load the WASM bundle using the `fetch` API
- `@biomejs/wasm-bundler`: Install this package if you're using a bundler that supports importing `*.wasm` files directly
- `@biomejs/wasm-nodejs`: Install this package if you're using Node.js to load the WebAssembly bundle use the `fs` API
- `@biomejs/wasm-web`: Install this package if you are targeting the web platform to load the WASM bundle using the `fetch` API

## Usage

```js
import { Rome, Distribution } from "@rometools/js-api";
import { Rome, Distribution } from "@biomejs/js-api";

const rome = await Rome.create({
distribution: Distribution.NODE, // Or BUNDLER / WEB depending on the distribution package you've installed
Expand Down
12 changes: 6 additions & 6 deletions packages/@biomejs/js-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"format": "cargo biome-cli-dev format ./ --write",
"ci": "cargo biome-cli-dev ci ./src && tsc --noEmit",
"check": "pnpm rome:check && tsc --noEmit",
"rome:check": "cargo biome-cli-dev check ./",
"check:apply": "cargo biome-cli-dev check ./ --apply-unsafe",
"rome:check": "cargo biome-cli-dev check ./",
"check:apply": "cargo biome-cli-dev check ./ --apply-unsafe",
"build:wasm-bundler-dev": "wasm-pack build --out-dir ../../packages/@biomejs/wasm-bundler --target bundler --dev --scope biomedev ../../../crates/rome_wasm",
"build:wasm-bundler": "wasm-pack build --out-dir ../../packages/@biomejs/wasm-bundler --target bundler --release --scope biomedev ../../../crates/rome_wasm",
"build:wasm-node-dev": "wasm-pack build --out-dir ../../packages/@biomejs/wasm-nodejs --target nodejs --dev --scope biomedev ../../../crates/rome_wasm",
Expand All @@ -29,17 +29,17 @@
"JavaScript",
"bindings",
"APIs",
"rome"
"biome"
],
"license": "MIT",
"homepage": "https://rome.tools",
"homepage": "https://biomejs.dev",
"repository": {
"type": "git",
"url": "https://github.com/rome/tools.git",
"url": "https://github.com/biomejs/biome.git",
"directory": "packages/@biomejs/js-api"
},
"author": "Rome Tools Developers and Contributors",
"bugs": "https://github.com/rome/tools/issues",
"bugs": "https://github.com/biomejs/biome/issues",
"devDependencies": {
"typescript": "^4.8.2",
"vitest": "^0.22.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/js-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
PullDiagnosticsResult,
RomePath,
Workspace,
} from "@rometools/wasm-nodejs";
} from "@biomejs/wasm-nodejs";
import { Distribution, WasmModule, loadModule, wrapError } from "./wasm";

// Re-export of some useful types for users
Expand Down
12 changes: 6 additions & 6 deletions packages/@biomejs/js-api/src/wasm.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type WasmBundler = typeof import("@rometools/wasm-bundler");
export type WasmNodejs = typeof import("@rometools/wasm-nodejs");
export type WasmWeb = typeof import("@rometools/wasm-web");
export type WasmBundler = typeof import("@biomejs/wasm-bundler");
export type WasmNodejs = typeof import("@biomejs/wasm-nodejs");
export type WasmWeb = typeof import("@biomejs/wasm-web");

export type WasmModule = WasmBundler | WasmNodejs | WasmWeb;

Expand Down Expand Up @@ -33,15 +33,15 @@ export async function loadModule(dist: Distribution): Promise<WasmModule> {

switch (dist) {
case Distribution.BUNDLER: {
modulePromise = import("@rometools/wasm-bundler");
modulePromise = import("@biomejs/wasm-bundler");
break;
}
case Distribution.NODE: {
modulePromise = import("@rometools/wasm-nodejs");
modulePromise = import("@biomejs/wasm-nodejs");
break;
}
case Distribution.WEB: {
modulePromise = import("@rometools/wasm-web");
modulePromise = import("@biomejs/wasm-web");
break;
}
}
Expand Down
4 changes: 2 additions & 2 deletions website/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import fs from "node:fs/promises";
import path from "node:path";
import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import compress from "astro-compress";
import vercel from "@astrojs/vercel/static";
import type { AstroIntegration } from "astro";
import compress from "astro-compress";
import { defineConfig } from "astro/config";
import { globby } from "globby";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import rehypeSlug from "rehype-slug";
import remarkToc from "remark-toc";
import vercel from "@astrojs/vercel/static";

function resolveFile(relative: string, parent: string, root: string): string {
if (relative[0] === "/") {
Expand Down
Loading