From eca98cf2ed1bdea43563ea6c9b74ad42e7ab96f4 Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 10 Nov 2023 14:30:18 +0800 Subject: [PATCH] s/web-infra-dev/oxc-project --- CONTRIBUTING.md | 4 +-- Cargo.toml | 4 +-- README.md | 28 +++++++++---------- crates/oxc/src/lib.rs | 2 +- .../src/rules/eslint/no_obj_calls.rs | 2 +- .../oxc_linter/src/rules/eslint/no_undef.rs | 2 +- .../src/rules/react/no_render_return_value.rs | 2 +- crates/oxc_wasm/src/lib.rs | 4 +-- editors/vscode/package.json | 4 +-- npm/oxc-parser/package.json | 2 +- npm/oxc/bin/oxc | 2 +- npm/oxc/package.json | 6 ++-- npm/oxlint/README.md | 16 +++++------ npm/oxlint/bin/oxlint | 2 +- npm/oxlint/package.json | 6 ++-- tasks/benchmark/README.md | 2 +- tasks/coverage/src/test262.rs | 2 +- website/package.json | 2 +- 18 files changed, 46 insertions(+), 46 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c9b06c69..becadf5f3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,13 +1,13 @@ # Contributor License Agreement -Please note that you will be required to sign the [Contributor License Agreement](https://cla-assistant.io/web-infra-dev/oxc) before your pull request can be accepted. +Please note that you will be required to sign the [Contributor License Agreement](https://cla-assistant.io/oxc-project/oxc) before your pull request can be accepted. # Installation ## Clone Repo ```bash -git clone --recurse-submodules git@github.com:web-infra-dev/oxc.git +git clone --recurse-submodules git@github.com:oxc-project/oxc.git ``` The `--recurse-submodules` flag will install the following submodules: diff --git a/Cargo.toml b/Cargo.toml index ae480b576..4a1b285a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,10 +7,10 @@ authors = ["Boshen ", "Oxc contributors"] categories = ["development-tools", "web-programming", "compilers"] description = "Oxc is a JavaScript / TypeScript tooling suite." edition = "2021" -homepage = "https://github.com/web-infra-dev/oxc" +homepage = "https://github.com/oxc-project/oxc" keywords = ["JavaScript", "TypeScript", "parser", "linter", "minifier"] license = "MIT" -repository = "https://github.com/web-infra-dev/oxc" +repository = "https://github.com/oxc-project/oxc" rust-version = "1.60" [workspace.dependencies] diff --git a/README.md b/README.md index 9c5ed6b19..cce6d688c 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ we have dedicated significant effort to fine-tune the Rust compilation speed. Our aim is to minimize any impact on your development workflow, ensuring that developing your own Oxc based tools remains a smooth and efficient experience. -This is demonstrated by our [CI runs](https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml?query=branch%3Amain), +This is demonstrated by our [CI runs](https://github.com/oxc-project/oxc/actions/workflows/ci.yml?query=branch%3Amain), where warm runs complete in 5 minutes. ### Node.js @@ -140,7 +140,7 @@ larger monorepos. See [bench-javascript-linter](https://github.com/Boshen/bench- As an upside, the binary is approximately 3MB, whereas [ESLint] and its associated plugin dependencies can easily exceed 100. -You may also download the linter binary from the [latest release tag](https://github.com/web-infra-dev/oxc/releases/latest) as a standalone binary, +You may also download the linter binary from the [latest release tag](https://github.com/oxc-project/oxc/releases/latest) as a standalone binary, this lets you run the linter without a Node.js installation in your CI.
@@ -170,7 +170,7 @@ To address this, we are actively working on porting [enhanced-resolve]. ### 🔸 Transpiler A transpiler is responsible for turning higher versions of ECMAScript to a lower version that can be used in older browsers. -We are currently focusing on an esnext to es2015 transpiler. See the [umbrella issue](https://github.com/web-infra-dev/oxc/issues/974) for details. +We are currently focusing on an esnext to es2015 transpiler. See the [umbrella issue](https://github.com/oxc-project/oxc/issues/974) for details. ### 🔸 Minifier @@ -206,11 +206,11 @@ The type checker is available via `npx oxidation-compiler@latest check path` and See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidance. -Check out some of the [good first issues](https://github.com/web-infra-dev/oxc/contribute) or ask us on [Discord][discord-url]. +Check out some of the [good first issues](https://github.com/oxc-project/oxc/contribute) or ask us on [Discord][discord-url]. If you are unable to contribute by code, you can still participate by: -* Add a [GitHub Star](https://github.com/web-infra-dev/oxc/stargazers) to the project. +* Add a [GitHub Star](https://github.com/oxc-project/oxc/stargazers) to the project. * Join us on [Discord][discord-url]. * [Follow me on twitter](https://twitter.com/boshen_c) and tweet about this project. @@ -283,19 +283,19 @@ Oxc partially copies code from the following projects, their licenses are listed [discord-badge]: https://img.shields.io/discord/1079625926024900739?logo=discord&label=Discord [discord-url]: https://discord.gg/9uXCAwqQZW [license-badge]: https://img.shields.io/badge/license-MIT-blue.svg -[license-url]: https://github.com/web-infra-dev/oxc/blob/main/LICENSE -[ci-badge]: https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main -[ci-url]: https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain +[license-url]: https://github.com/oxc-project/oxc/blob/main/LICENSE +[ci-badge]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main +[ci-url]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain [npm-badge]: https://img.shields.io/npm/v/oxlint/latest?color=brightgreen [npm-url]: https://www.npmjs.com/package/oxlint/v/latest -[code-size-badge]: https://img.shields.io/github/languages/code-size/web-infra-dev/oxc -[code-size-url]: https://github.com/web-infra-dev/oxc -[code-coverage-badge]: https://codecov.io/github/web-infra-dev/oxc/branch/main/graph/badge.svg -[code-coverage-url]: https://codecov.io/gh/web-infra-dev/oxc +[code-size-badge]: https://img.shields.io/github/languages/code-size/oxc-project/oxc +[code-size-url]: https://github.com/oxc-project/oxc +[code-coverage-badge]: https://codecov.io/github/oxc-project/oxc/branch/main/graph/badge.svg +[code-coverage-url]: https://codecov.io/gh/oxc-project/oxc [sponsors-badge]: https://img.shields.io/github/sponsors/Boshen [sponsors-url]: https://github.com/sponsors/Boshen [playground-badge]: https://img.shields.io/badge/Playground-blue?color=9BE4E0 -[playground-url]: https://web-infra-dev.github.io/oxc/playground +[playground-url]: https://oxc-project.github.io/oxc/playground [crate-oxc-url]: https://crates.io/crates/oxc [crate-ast-url]: https://crates.io/crates/oxc_ast @@ -310,7 +310,7 @@ Oxc partially copies code from the following projects, their licenses are listed [acorn]: https://github.com/acornjs/acorn [babel]: https://babel.dev [bumpalo]: https://docs.rs/bumpalo -[contributors]: https://github.com/web-infra-dev/oxc/graphs/contributors +[contributors]: https://github.com/oxc-project/oxc/graphs/contributors [docs-ast]: https://docs.rs/oxc/latest/oxc/ast/index.html [docs-parser]: https://docs.rs/oxc/latest/oxc/parser/index.html [enhanced-resolve]: https://github.com/webpack/enhanced-resolve diff --git a/crates/oxc/src/lib.rs b/crates/oxc/src/lib.rs index 657daf0cd..1288987c4 100644 --- a/crates/oxc/src/lib.rs +++ b/crates/oxc/src/lib.rs @@ -1,6 +1,6 @@ //! # The JavaScript Oxidation Compiler //! -//! +//! pub mod allocator { #[doc(inline)] diff --git a/crates/oxc_linter/src/rules/eslint/no_obj_calls.rs b/crates/oxc_linter/src/rules/eslint/no_obj_calls.rs index f0750e36a..07a2aedec 100644 --- a/crates/oxc_linter/src/rules/eslint/no_obj_calls.rs +++ b/crates/oxc_linter/src/rules/eslint/no_obj_calls.rs @@ -176,7 +176,7 @@ fn test() { }", None, ), - // https://github.com/web-infra-dev/oxc/pull/508#issuecomment-1618850742 + // https://github.com/oxc-project/oxc/pull/508#issuecomment-1618850742 ("{const Math = () => {}; {let obj = new Math();}}", None), ]; diff --git a/crates/oxc_linter/src/rules/eslint/no_undef.rs b/crates/oxc_linter/src/rules/eslint/no_undef.rs index 669c7576d..326cff29c 100644 --- a/crates/oxc_linter/src/rules/eslint/no_undef.rs +++ b/crates/oxc_linter/src/rules/eslint/no_undef.rs @@ -35,7 +35,7 @@ declare_oxc_lint!( /// var bar = a + 1; /// ``` NoUndef, - nursery // https://github.com/web-infra-dev/oxc/issues/732 + nursery // https://github.com/oxc-project/oxc/issues/732 ); impl Rule for NoUndef { diff --git a/crates/oxc_linter/src/rules/react/no_render_return_value.rs b/crates/oxc_linter/src/rules/react/no_render_return_value.rs index 461ee6e6c..4912e959b 100644 --- a/crates/oxc_linter/src/rules/react/no_render_return_value.rs +++ b/crates/oxc_linter/src/rules/react/no_render_return_value.rs @@ -129,7 +129,7 @@ fn test() { ("var v; v = ReactDOM.render(
, document.body);", None), ("var inst = ReactDOM.render(
, document.body);", None), // This rule is only supported for react versions >= 15.0.0, so the following are not supported. - // See https://github.com/web-infra-dev/oxc/pull/1042#discussion_r1369762147 + // See https://github.com/oxc-project/oxc/pull/1042#discussion_r1369762147 // ("var inst = React.render(
, document.body);", None), // ("var inst = React.render(
, document.body);", None), ]; diff --git a/crates/oxc_wasm/src/lib.rs b/crates/oxc_wasm/src/lib.rs index deb5bd563..c1cf3c2b7 100644 --- a/crates/oxc_wasm/src/lib.rs +++ b/crates/oxc_wasm/src/lib.rs @@ -261,7 +261,7 @@ impl Oxc { let allocator = Allocator::default(); let source_text = &self.source_text; let Ok(source_type) = SourceType::from_path("test.tsx") else { - return "'test.tsx' source type invalid, this should never happen.\nPlease open an issue at https://github.com/web-infra-dev/oxc".to_string().serialize(&self.serializer); + return "'test.tsx' source type invalid, this should never happen.\nPlease open an issue at https://github.com/oxc-project/oxc".to_string().serialize(&self.serializer); }; let ParserReturn { errors: parse_errors, panicked, program: returned_program, trivias } = @@ -300,7 +300,7 @@ impl Oxc { let Ok(arguments): Result, TransparentValue>, _> = serde_json::from_str(query_arguments) else { - return "Query arguments is not valid json string, this should never happen.\nPlease open an issue at https://github.com/web-infra-dev/oxc".serialize(&self.serializer); + return "Query arguments is not valid json string, this should never happen.\nPlease open an issue at https://github.com/oxc-project/oxc".serialize(&self.serializer); }; execute_query(schema(), arc_adapter, query, arguments).map_or_else( diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 0d99f5fb3..c3627f69b 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -7,11 +7,11 @@ "publisher": "oxc", "displayName": "Oxc", "bugs": { - "url": "https://github.com/web-infra-dev/oxc/issues" + "url": "https://github.com/oxc-project/oxc/issues" }, "repository": { "type": "git", - "url": "https://github.com/web-infra-dev/oxc.git", + "url": "https://github.com/oxc-project/oxc.git", "directory": "editors/vscode" }, "categories": ["Linters"], diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index eb6604aad..3d1715322 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -10,7 +10,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/web-infra-dev/oxc.git", + "url": "https://github.com/oxc-project/oxc.git", "directory": "npm/oxc-parser" }, "funding": { diff --git a/npm/oxc/bin/oxc b/npm/oxc/bin/oxc index 4947e5f60..9eac2c78d 100755 --- a/npm/oxc/bin/oxc +++ b/npm/oxc/bin/oxc @@ -41,7 +41,7 @@ if (binPath) { } else { console.error( "The Oxc CLI package doesn't ship with prebuilt binaries for your platform yet. " + - "You can create an issue at https://github.com/web-infra-dev/oxc/issues for support." + "You can create an issue at https://github.com/oxc-project/oxc/issues for support." ); process.exitCode = 1; } diff --git a/npm/oxc/package.json b/npm/oxc/package.json index e0e4ba625..2ab55186e 100644 --- a/npm/oxc/package.json +++ b/npm/oxc/package.json @@ -5,11 +5,11 @@ "keywords": [], "author": "Boshen and oxc contributors", "license": "MIT", - "homepage": "https://github.com/web-infra-dev/oxc", - "bugs": "https://github.com/web-infra-dev/oxc/issues", + "homepage": "https://github.com/oxc-project/oxc", + "bugs": "https://github.com/oxc-project/oxc/issues", "repository": { "type": "git", - "url": "https://github.com/web-infra-dev/oxc", + "url": "https://github.com/oxc-project/oxc", "directory": "npm/oxc" }, "bin": "bin/oxc", diff --git a/npm/oxlint/README.md b/npm/oxlint/README.md index 62b3afd01..8b5194dd3 100644 --- a/npm/oxlint/README.md +++ b/npm/oxlint/README.md @@ -18,19 +18,19 @@ [discord-badge]: https://img.shields.io/discord/1079625926024900739?logo=discord&label=Discord [discord-url]: https://discord.gg/9uXCAwqQZW [license-badge]: https://img.shields.io/badge/license-MIT-blue.svg -[license-url]: https://github.com/web-infra-dev/oxc/blob/main/LICENSE -[ci-badge]: https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main -[ci-url]: https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain +[license-url]: https://github.com/oxc-project/oxc/blob/main/LICENSE +[ci-badge]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main +[ci-url]: https://github.com/oxc-project/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain [npm-badge]: https://img.shields.io/npm/v/oxlint/latest?color=brightgreen [npm-url]: https://www.npmjs.com/package/oxlint/v/latest -[code-size-badge]: https://img.shields.io/github/languages/code-size/web-infra-dev/oxc -[code-size-url]: https://github.com/web-infra-dev/oxc -[code-coverage-badge]: https://codecov.io/github/web-infra-dev/oxc/branch/main/graph/badge.svg -[code-coverage-url]: https://codecov.io/gh/web-infra-dev/oxc +[code-size-badge]: https://img.shields.io/github/languages/code-size/oxc-project/oxc +[code-size-url]: https://github.com/oxc-project/oxc +[code-coverage-badge]: https://codecov.io/github/oxc-project/oxc/branch/main/graph/badge.svg +[code-coverage-url]: https://codecov.io/gh/oxc-project/oxc [sponsors-badge]: https://img.shields.io/github/sponsors/Boshen [sponsors-url]: https://github.com/sponsors/Boshen [playground-badge]: https://img.shields.io/badge/Playground-blue?color=9BE4E0 -[playground-url]: https://web-infra-dev.github.io/oxc/playground +[playground-url]: https://oxc-project.github.io/oxc/playground
diff --git a/npm/oxlint/bin/oxlint b/npm/oxlint/bin/oxlint index 0f9550984..30c9698e4 100755 --- a/npm/oxlint/bin/oxlint +++ b/npm/oxlint/bin/oxlint @@ -41,7 +41,7 @@ if (binPath) { } else { console.error( "The oxlint CLI package doesn't ship with prebuilt binaries for your platform yet. " + - "You can create an issue at https://github.com/web-infra-dev/oxc/issues for support." + "You can create an issue at https://github.com/oxc-project/oxc/issues for support." ); process.exitCode = 1; } diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index e62017402..b06a05fe7 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -5,11 +5,11 @@ "keywords": [], "author": "Boshen and oxc contributors", "license": "MIT", - "homepage": "https://github.com/web-infra-dev/oxc", - "bugs": "https://github.com/web-infra-dev/oxc/issues", + "homepage": "https://github.com/oxc-project/oxc", + "bugs": "https://github.com/oxc-project/oxc/issues", "repository": { "type": "git", - "url": "https://github.com/web-infra-dev/oxc", + "url": "https://github.com/oxc-project/oxc", "directory": "npm/oxlint" }, "bin": "bin/oxlint", diff --git a/tasks/benchmark/README.md b/tasks/benchmark/README.md index f2fe256d7..8d81c4054 100644 --- a/tasks/benchmark/README.md +++ b/tasks/benchmark/README.md @@ -1,3 +1,3 @@ # Benchmark -See https://codspeed.io/web-infra-dev/oxc +See https://codspeed.io/oxc-project/oxc diff --git a/tasks/coverage/src/test262.rs b/tasks/coverage/src/test262.rs index 789d3a42a..6a9568afa 100644 --- a/tasks/coverage/src/test262.rs +++ b/tasks/coverage/src/test262.rs @@ -156,7 +156,7 @@ impl Case for Test262Case { fn skip_test_case(&self) -> bool { [ - // Regex parser is required. See https://github.com/web-infra-dev/oxc/issues/385#issuecomment-1755566240 + // Regex parser is required. See https://github.com/oxc-project/oxc/issues/385#issuecomment-1755566240 "regexp-v-flag", "regexp-unicode-property-escapes", // Stage 3 `https://github.com/tc39/proposal-json-modules` diff --git a/website/package.json b/website/package.json index f1025b8d6..503f5447e 100644 --- a/website/package.json +++ b/website/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "pnpm run wasm-dev && concurrently 'vite' 'cd .. && cargo watch --workdir website -s \"pnpm run wasm-dev\"'", "wasm-dev": "wasm-pack build --out-dir ../../npm/wasm-web --target web --dev --scope oxc ../crates/oxc_wasm", - "build": "pnpm run wasm-build && vite build --base=https://web-infra-dev.github.io/oxc/", + "build": "pnpm run wasm-build && vite build --base=https://oxc-project.github.io/oxc/", "wasm-build": "wasm-pack build --out-dir ../../npm/wasm-web --target web --release --scope oxc ../crates/oxc_wasm" }, "dependencies": {