Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/oxc-project/oxc into feat/e…
Browse files Browse the repository at this point in the history
…xhaustive-deps
  • Loading branch information
alisnic committed Mar 7, 2024
2 parents 7827f7f + 8e3e404 commit bdc8a38
Show file tree
Hide file tree
Showing 658 changed files with 19,983 additions and 6,922 deletions.
9 changes: 3 additions & 6 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,26 @@
"ignorePaths": [
"crates/oxc_linter/fixtures/**"
],
"assignees": ["@Boshen"],
"packageRules": [
{
"groupName": "github-actions",
"matchManagers": ["github-actions"],
"assignees": ["@Boshen"]
"matchManagers": ["github-actions"]
},
{
"groupName": "rust crates",
"matchManagers": ["cargo"],
"assignees": ["@Boshen"],
"ignoreDeps": ["textwrap", "owo-colors", "syn", "miette", "ureq"]
},
{
"groupName": "website npm packages",
"matchFileNames": ["website/package.json"],
"matchManagers": ["npm"],
"assignees": ["@Boshen"]
"matchManagers": ["npm"]
},
{
"groupName": "vscode npm packages",
"matchFileNames": ["editors/vscode/package.json"],
"matchManagers": ["npm"],
"assignees": ["@Boshen"],
"ignoreDeps": ["@types/vscode"]
},
{
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
- '**/*.rs'
- 'Cargo.lock'
- '.github/workflows/benchmark.yml'
- '!crates/oxc_codegen'
push:
branches:
- main
Expand All @@ -17,7 +16,6 @@ on:
- '**/*.rs'
- 'Cargo.lock'
- '.github/workflows/benchmark.yml'
- '!crates/oxc_codegen'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
Expand Down Expand Up @@ -50,14 +48,15 @@ jobs:
RUSTFLAGS: "-C debuginfo=2 -C strip=none -g --cfg codspeed"
shell: bash
run: |
cargo build --release -p oxc_benchmark --features codspeed --bench lexer --bench parser --bench transformer --bench semantic --bench linter --bench minifier
cargo build --release -p oxc_benchmark --features codspeed --bench lexer --bench parser --bench transformer --bench semantic --bench linter --bench minifier --bench codegen_sourcemap
mkdir -p target/codspeed/oxc_benchmark/
mv target/release/deps/lexer-* target/codspeed/oxc_benchmark
mv target/release/deps/parser-* target/codspeed/oxc_benchmark
mv target/release/deps/transformer-* target/codspeed/oxc_benchmark
mv target/release/deps/semantic-* target/codspeed/oxc_benchmark
mv target/release/deps/linter-* target/codspeed/oxc_benchmark
mv target/release/deps/minifier-* target/codspeed/oxc_benchmark
mv target/release/deps/codegen_sourcemap-* target/codspeed/oxc_benchmark
rm -rf target/codspeed/oxc_benchmark/*.d
- name: Run benchmark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
docs: true

- name: Run doc
run: RUSTDOCFLAGS='-D warnings' cargo doc -p oxc
run: RUSTDOCFLAGS='-D warnings' cargo doc

test:
name: Test
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release_vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,14 @@ jobs:
working-directory: editors/vscode
run: pnpm install

- name: Publish extension to Microsoft Marketplace
- name: Publish to Microsoft Marketplace
working-directory: editors/vscode
run: pnpm exec vsce publish --packagePath oxc_language_server-*.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_PERSONAL_ACCESS_TOKEN }}

- name: Publish to Open VSX Registry
working-directory: editors/vscode
run: pnpm exec ovsx publish --packagePath oxc_language_server-*.vsix
env:
OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ tasks/coverage/babel/
tasks/coverage/test262/
tasks/coverage/typescript/
tasks/prettier_conformance/prettier/

# Ignore the failures directory, which is used to store the results of the codegen coverage tests
tasks/coverage/failures/

0 comments on commit bdc8a38

Please sign in to comment.