-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into linter/no_duplicate_imports
- Loading branch information
Showing
1,433 changed files
with
35,749 additions
and
63,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
# https://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Default to project owner @Boshen | ||
|
||
@Boshen | ||
|
||
# Ignore lock files | ||
|
||
Cargo.lock | ||
pnpm-lock.yaml | ||
|
||
# Crates | ||
|
||
/crates/oxc_transformer @overlookmotel @dunqing | ||
/crates/oxc_semantic @Boshen @dunqing | ||
/crates/oxc_data_structures @overlookmotel | ||
/crates/oxc_traverse @overlookmotel | ||
/crates/oxc_isolated_declarations @dunqing | ||
/tasks/ast_tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ jobs: | |
RUSTFLAGS: "--cfg tokio_unstable -C target-feature=+atomics,+bulk-memory,+mutable-globals,+simd128 -C link-args=--max-memory=67108864" | ||
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --dir=${{ github.workspace }}::${{ github.workspace }} --" | ||
# Insta is not able to run on wasmtime, omit the packages that depend on it | ||
TEST_FLAGS: "-p oxc_sourcemap -p oxc_ast -p oxc_cfg -p oxc_index -p oxc_regular_expression -p oxc_module_lexer -- --nocapture" | ||
TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_index -p oxc_regular_expression -p oxc_module_lexer -- --nocapture" | ||
steps: | ||
- uses: taiki-e/checkout-action@v1 | ||
- uses: Boshen/setup-rust@main | ||
|
@@ -142,7 +142,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiki-e/checkout-action@v1 | ||
- uses: crate-ci/[email protected].0 | ||
- uses: crate-ci/[email protected].3 | ||
with: | ||
files: . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: CI VSCode | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [opened, synchronize] | ||
paths: | ||
- "pnpm-lock.yaml" | ||
- "crates/oxc_language_server/**" | ||
- "editors/vscode/**" | ||
- ".github/worfkflows/ci_vscode.yml" | ||
push: | ||
branches: | ||
- main | ||
- "renovate/**" | ||
paths: | ||
- "pnpm-lock.yaml" | ||
- "crates/oxc_language_server/**" | ||
- "editors/vscode/**" | ||
- ".github/worfkflows/ci_vscode.yml" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: ${{ github.ref_name != 'main' }} | ||
|
||
jobs: | ||
compile: | ||
name: Compile | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiki-e/checkout-action@v1 | ||
- uses: ./.github/actions/pnpm | ||
|
||
- name: Compile VSCode | ||
working-directory: editors/vscode | ||
run: pnpm run compile | ||
|
||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiki-e/checkout-action@v1 | ||
- uses: ./.github/actions/pnpm | ||
|
||
- name: Lint VSCode | ||
working-directory: editors/vscode | ||
run: pnpm run lint | ||
|
||
type-check: | ||
name: Type-Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiki-e/checkout-action@v1 | ||
- uses: ./.github/actions/pnpm | ||
|
||
- name: Type-Check VSCode | ||
working-directory: editors/vscode | ||
run: pnpm run type-check | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiki-e/checkout-action@v1 | ||
- uses: ./.github/actions/pnpm | ||
|
||
- name: Test VSCode | ||
working-directory: editors/vscode | ||
run: xvfb-run -a pnpm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"rust-lang.rust-analyzer", // official rust extension | ||
"vadimcn.vscode-lldb", // for debugging | ||
"tamasfe.even-better-toml" // toml syntax | ||
] | ||
} |
Oops, something went wrong.