Skip to content

Comments

refactor(oxfmt): Fix up directory structure#16487

Merged
graphite-app[bot] merged 1 commit intomainfrom
12-04-refactor_oxfmt_fix_up_directory_structure
Dec 4, 2025
Merged

refactor(oxfmt): Fix up directory structure#16487
graphite-app[bot] merged 1 commit intomainfrom
12-04-refactor_oxfmt_fix_up_directory_structure

Conversation

@leaysgur
Copy link
Member

@leaysgur leaysgur commented Dec 4, 2025

Until now, most files were stored flat.

From now on:

  • cli/: CLI-specific code (command, format, init, reporter, result, service,
    walk)
  • core/: Shared formatting logic (format, support, external_formatter)
  • lsp/: LSP related files
src
├── cli
│   ├── command.rs
│   ├── format.rs
│   ├── init.rs
│   ├── mod.rs
│   ├── reporter.rs
│   ├── result.rs
│   ├── service.rs
│   └── walk.rs
├── core
│   ├── external_formatter.rs
│   ├── format.rs
│   ├── mod.rs
│   └── support.rs
├── lib.rs
├── lsp
│   └── mod.rs
├── main.rs
└── main_napi.rs

@github-actions github-actions bot added A-cli Area - CLI A-formatter Area - Formatter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Dec 4, 2025
Copy link
Member Author

leaysgur commented Dec 4, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@leaysgur leaysgur marked this pull request as draft December 4, 2025 08:17
@leaysgur leaysgur changed the base branch from 12-04-feat_oxfmt_support_non-js_ts_files_with_prettier to graphite-base/16487 December 4, 2025 08:31
@leaysgur leaysgur force-pushed the 12-04-refactor_oxfmt_fix_up_directory_structure branch from 7260766 to 48554f1 Compare December 4, 2025 08:32
@leaysgur leaysgur force-pushed the graphite-base/16487 branch from 9169801 to 1c715a0 Compare December 4, 2025 08:32
@leaysgur leaysgur changed the base branch from graphite-base/16487 to 12-04-feat_oxfmt_support_non-js_ts_files_with_prettier December 4, 2025 08:32
@leaysgur leaysgur force-pushed the 12-04-refactor_oxfmt_fix_up_directory_structure branch from 48554f1 to 25110da Compare December 4, 2025 08:52
@leaysgur leaysgur marked this pull request as ready for review December 4, 2025 08:52
@leaysgur leaysgur requested a review from Dunqing December 4, 2025 08:52
@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Dec 4, 2025
@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 4, 2025

Merge activity

Until now, most files were stored flat.

From now on:

- `cli/`: CLI-specific code (command, format, init, reporter, result, service,
walk)
- `core/`: Shared formatting logic (format, support, external_formatter)
- `lsp/`: LSP related files

```
src
├── cli
│   ├── command.rs
│   ├── format.rs
│   ├── init.rs
│   ├── mod.rs
│   ├── reporter.rs
│   ├── result.rs
│   ├── service.rs
│   └── walk.rs
├── core
│   ├── external_formatter.rs
│   ├── format.rs
│   ├── mod.rs
│   └── support.rs
├── lib.rs
├── lsp
│   └── mod.rs
├── main.rs
└── main_napi.rs
```
@graphite-app graphite-app bot force-pushed the 12-04-feat_oxfmt_support_non-js_ts_files_with_prettier branch from 1c715a0 to 4767926 Compare December 4, 2025 10:06
@graphite-app graphite-app bot force-pushed the 12-04-refactor_oxfmt_fix_up_directory_structure branch from 25110da to f766a23 Compare December 4, 2025 10:06
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Dec 4, 2025
Base automatically changed from 12-04-feat_oxfmt_support_non-js_ts_files_with_prettier to main December 4, 2025 10:12
@graphite-app graphite-app bot merged commit f766a23 into main Dec 4, 2025
19 checks passed
@graphite-app graphite-app bot deleted the 12-04-refactor_oxfmt_fix_up_directory_structure branch December 4, 2025 10:13
taearls pushed a commit to taearls/oxc that referenced this pull request Dec 11, 2025
Until now, most files were stored flat.

From now on:

- `cli/`: CLI-specific code (command, format, init, reporter, result, service,
walk)
- `core/`: Shared formatting logic (format, support, external_formatter)
- `lsp/`: LSP related files

```
src
├── cli
│   ├── command.rs
│   ├── format.rs
│   ├── init.rs
│   ├── mod.rs
│   ├── reporter.rs
│   ├── result.rs
│   ├── service.rs
│   └── walk.rs
├── core
│   ├── external_formatter.rs
│   ├── format.rs
│   ├── mod.rs
│   └── support.rs
├── lib.rs
├── lsp
│   └── mod.rs
├── main.rs
└── main_napi.rs
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-formatter Area - Formatter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants