GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add tsgolint to bin · Issue #1800 · voidzero-dev/vite-plus

Add tsgolint to bin #1800

New issue
Copy link
New issue
Copy link
Closed
Feature
#1811
Closed
Add tsgolint to bin#1800
Feature
#1811
Copy link
Assignees
jong-kyung
Labels
bugSomething isn't workingcontribution welcome
Milestone
Beta

Description

@mo36924
mo36924
opened on Jun 10, 2026
Issue body actions

Description

When you install vite-plus in a project with pnpm (pnpm i -D vite-plus), oxfmt, oxlint, and vp are installed as binaries.
oxlint-tsgolint is installed as a dependency of vite-plus, but not as a binary (tsgolint).

vp check (typeAware: true) can be executed successfully, but the following error occurs with the oxc-vscode extension.

WARN oxlint::lsp::server_linter: Failed to initialize type-aware linting: Failed to find tsgolint executable. You may need to add the `oxlint-tsgolint` package to your project?

Suggested solution

If you install oxlint-tsgolint, the warning will disappear, but I would like to match the version of oxlint-tsgolint used with vite-plus.
How about adding a wrapper script like oxfmt or oxlint and adding tsgolint to the bin field?

vite-plus/packages/cli/package.json

Lines 16 to 20 in 24ac727

"bin": {
"oxfmt": "./bin/oxfmt",
"oxlint": "./bin/oxlint",
"vp": "./bin/vp"
},

Related PR
#629

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Reacted by JongKyung Lee

Activity

  1. mo36924
    added the
    Feature
    issue type on Jun 10, 2026
  2. mo36924
    added
    pending triage
    on Jun 10, 2026
  3. fengmk2 commented on Jun 10, 2026

    @fengmk2
    fengmk2
    on Jun 10, 2026
    Member
    More actions

    The oxlint wrapper should find the right tsgolint bin from vite-plus, I'll look into it.

    Reacted by JongKyung Lee and mo36924
  4. fengmk2
    self-assigned this
    on Jun 10, 2026
  5. fengmk2
    added
    bugSomething isn't working
    and removed
    pending triage
    on Jun 10, 2026
  6. fengmk2
    added this to the Beta milestone on Jun 10, 2026
  7. fengmk2
    removed their assignment
    on Jun 10, 2026
  8. fengmk2
    added
    contribution welcome
    on Jun 10, 2026
  9. mo36924 commented on Jun 10, 2026

    @mo36924
    mo36924
    on Jun 10, 2026
    Author
    More actions

    It may be found from oxlint but not from vscode-oxc.
    The node_modules/.bin/ directory contains oxfmt, oxlint, I only have vp

    Reacted by JongKyung Lee
  10. jong-kyung
    self-assigned this
    on Jun 10, 2026
  11. jong-kyung commented on Jun 10, 2026

    @jong-kyung
    jong-kyung
    on Jun 10, 2026
    Collaborator
    More actions

    @mo36924 I tried to reproduce this by creating a Vite application with vp create and checking whether the reported warning appears in VS Code with oxc-vscode, but I couldn’t reproduce it locally.

    Could you provide a minimal reproduction repository or exact reproduction steps?

    cc. @fengmk2

    Reacted by MK (fengmk2) and mo36924
  12. mo36924 commented on Jun 10, 2026

    @mo36924
    mo36924
    on Jun 10, 2026
    Author
    More actions

    Thank you for your reply.

    I also tried the same method (vp create) but no warning was displayed. But after removing node_modules, when I ran vp install and restarted vscode, I got a warning.
    Warning will be displayed if node_modules/.bin/tsgolint does not exist.
    If the lock file (pnpm-lock.yaml) is missing, the transitive dependency tsgolint appears to be installed in the node_modules/.bin directory.
    As a result, the warning will not be displayed correctly immediately after vp create, but after that, if you run vp install when node_modules is not present, a warning will be displayed.

    Minimal steps to reproduce.
    package.json

    {
      "devDependencies": {
        "vite-plus": "0.1.24"
      },
      "packageManager": "[email protected]"
    }

    pnpm-workspace.yaml

    # empty file

    Place the above two files in an empty directory and run the following command.

    vp install
    # At this point node_modules/.bin/tsgolint exists.
    rm -rf node_modules
    vp install
    # At this point, node_modules/.bin/tsgolint does not exist.

    Related issues and PR
    #629
    #633

    Reacted by JongKyung Lee
  13. jong-kyung commented on Jun 11, 2026

    @jong-kyung
    jong-kyung
    on Jun 11, 2026
    Collaborator
    More actions

    @mo36924 Thanks for the detailed reproduction steps!

    I was able to reproduce the issue. After reinstalling from the existing lockfile, node_modules/.bin/tsgolint is missing, which causes oxc-vscode to fail type-aware linting discovery.

    I’ll prepare a PR to fix this by exposing a tsgolint wrapper from Vite+.

    Reacted by mo36924
  14. fengmk2
    closed this as completedin #1811on Jun 11, 2026
  15. jong-kyung
    added a commit that references this issue on Jun 11, 2026

    fix(cli): set tsgolint path in oxlint wrapper (voidzero-dev#1811)

    This issue will close once commit 8271eaf is merged into the 'main' branch.
    8271eaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jong-kyung
    jong-kyung

Labels

bugSomething isn't workingcontribution welcome

Type

Feature

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    • Beta

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.