Skip to content

Commit 5b8fb30

Browse files
rebase
2 parents 57d67a0 + 26af302 commit 5b8fb30

File tree

480 files changed

+21456
-8188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

480 files changed

+21456
-8188
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
apps/oxfmt/tests/fixtures/** text=auto eol=lf

.github/generated/ast_changes_watch_list.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ src:
55
- '.github/generated/ast_changes_watch_list.yml'
66
- 'crates/oxc_allocator/src/generated/assert_layouts.rs'
77
- 'crates/oxc_allocator/src/generated/fixed_size_constants.rs'
8-
- 'crates/oxc_allocator/src/pool_fixed_size.rs'
8+
- 'crates/oxc_allocator/src/pool/fixed_size.rs'
99
- 'crates/oxc_ast/src/ast/comment.rs'
1010
- 'crates/oxc_ast/src/ast/js.rs'
1111
- 'crates/oxc_ast/src/ast/jsx.rs'
@@ -64,8 +64,8 @@ src:
6464
- 'crates/oxc_syntax/src/serialize.rs'
6565
- 'crates/oxc_syntax/src/symbol.rs'
6666
- 'crates/oxc_traverse/src/generated/scopes_collector.rs'
67-
- 'napi/oxlint2/src-js/generated/constants.mjs'
68-
- 'napi/oxlint2/src/generated/raw_transfer_constants.rs'
67+
- 'napi/oxlint/src-js/generated/constants.mjs'
68+
- 'napi/oxlint/src/generated/raw_transfer_constants.rs'
6969
- 'napi/parser/generated/constants.mjs'
7070
- 'napi/parser/generated/deserialize/js.mjs'
7171
- 'napi/parser/generated/deserialize/ts.mjs'

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
rm target/codspeed/instrumentation/oxc_benchmark/*.d
7979
8080
- name: Run benchmark
81-
uses: CodSpeedHQ/action@6eeb021fd0f305388292348b775d96d95253adf4 # v4.0.0
81+
uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1 # v4.0.1
8282
timeout-minutes: 30
8383
with:
8484
token: ${{ secrets.CODSPEED_TOKEN }}

.github/workflows/cargo_llvm_lines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0
2323

2424
- name: Install cargo-llvm-lines
25-
uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1
25+
uses: taiki-e/install-action@67cc679904bee382389bf22082124fa963c6f6bd # v2.61.3
2626
with:
2727
tool: cargo-llvm-lines
2828

.github/workflows/ci_security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
2525

26-
- uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1
26+
- uses: taiki-e/install-action@67cc679904bee382389bf22082124fa963c6f6bd # v2.61.3
2727
with:
2828
tool: zizmor
2929

@@ -33,7 +33,7 @@ jobs:
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Upload SARIF file
36-
uses: github/codeql-action/upload-sarif@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1
36+
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
3737
with:
3838
sarif_file: results.sarif
3939
category: zizmor

.github/workflows/claude.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Claude Code
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
13+
jobs:
14+
claude:
15+
if: |
16+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
17+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
18+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
20+
runs-on: ubuntu-latest
21+
permissions:
22+
contents: write
23+
pull-requests: write
24+
issues: write
25+
id-token: write
26+
actions: read # Required for Claude to read CI results on PRs
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 1
32+
33+
- name: Run Claude Code
34+
id: claude
35+
uses: anthropics/claude-code-action@v1
36+
with:
37+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38+
39+
# Optional: Customize the trigger phrase (default: @claude)
40+
# trigger_phrase: "/claude"
41+
42+
# Optional: Trigger when specific user is assigned to an issue
43+
# assignee_trigger: "claude-bot"
44+
45+
# Optional: Configure Claude's behavior with CLI arguments
46+
# claude_args: |
47+
# --model claude-opus-4-1-20250805
48+
# --max-turns 10
49+
# --allowedTools "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
50+
# --system-prompt "Follow our coding standards. Ensure all new code has tests. Use TypeScript for new files."
51+
52+
# Optional: Advanced settings configuration
53+
# settings: |
54+
# {
55+
# "env": {
56+
# "NODE_ENV": "test"
57+
# }
58+
# }

.github/workflows/dprint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
1919

20-
- uses: taiki-e/install-action@57511bcdf8cdb0eab6448cb7fa632952d9f25742 # v2.59.1
20+
- uses: taiki-e/install-action@67cc679904bee382389bf22082124fa963c6f6bd # v2.61.3
2121
with:
2222
tool: dprint
2323

.github/workflows/lint_rules.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
- name: Checkout Branch
2323
uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
2424

25-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
26-
with:
27-
node-version-file: .node-version
25+
- uses: oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
2826

2927
- name: Install latest plugins
3028
working-directory: tasks/lint_rules
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Prepare Release Oxfmt
2+
3+
permissions: {}
4+
5+
on:
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
prepare:
14+
name: Prepare Release Oxfmt
15+
uses: ./.github/workflows/reusable_prepare_release.yml
16+
with:
17+
name: oxfmt
18+
secrets:
19+
OXC_BOT_PAT: ${{ secrets.OXC_BOT_PAT }}

0 commit comments

Comments
 (0)