Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Sep 11, 2025

Pure refactor. Simplify the build script for napi/oxlint. Does not alter the files which end up in dist directory.

Copy link
Member Author

overlookmotel commented Sep 11, 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.

@graphite-app graphite-app bot changed the base branch from 09-11-refactor_napi_oxlint_rename_napi_oxlint2_to_napi_oxlint_ to graphite-base/13695 September 12, 2025 03:44
@camc314 camc314 added A-linter Area - Linter 0-merge Merge with Graphite Merge Queue labels Sep 12, 2025
Copy link
Contributor

camc314 commented Sep 12, 2025

Merge activity

  • Sep 12, 3:44 AM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Sep 12, 3:44 AM UTC: camc314 added this pull request to the Graphite merge queue.
  • Sep 12, 3:50 AM UTC: The Graphite merge queue couldn't merge this PR because it had merge conflicts.
  • Sep 12, 3:58 AM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Sep 12, 4:10 AM UTC: overlookmotel added this pull request to the Graphite merge queue.
  • Sep 12, 4:15 AM UTC: Merged by the Graphite merge queue.

@graphite-app graphite-app bot changed the base branch from graphite-base/13695 to main September 12, 2025 03:50
@github-actions github-actions bot added A-cli Area - CLI A-ast-tools Area - AST tools labels Sep 12, 2025
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
Copilot AI review requested due to automatic review settings September 12, 2025 03:55
@overlookmotel overlookmotel force-pushed the 09-11-build_napi_oxlint_simplify_build_script branch from 16ae6bb to 80f3ca5 Compare September 12, 2025 03:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the build script for napi/oxlint to simplify and streamline the code while maintaining the same functionality. The script now uses more concise patterns and eliminates redundant code.

Key changes:

  • Simplified file copying logic with a reusable copyFile helper function
  • Replaced explicit file existence checks with automatic directory creation
  • Used dynamic file discovery for .node files instead of hardcoded list

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
Pure refactor. Simplify the build script for `napi/oxlint`. Does not alter the files which end up in `dist` directory.
@graphite-app graphite-app bot force-pushed the 09-11-build_napi_oxlint_simplify_build_script branch from 80f3ca5 to d13b5b2 Compare September 12, 2025 04:10
@graphite-app graphite-app bot merged commit d13b5b2 into main Sep 12, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 09-11-build_napi_oxlint_simplify_build_script branch September 12, 2025 04:15
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools A-cli Area - CLI A-linter Area - Linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants