Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide native executable #32

Closed
matthewadams opened this issue Nov 8, 2023 · 4 comments
Closed

Provide native executable #32

matthewadams opened this issue Nov 8, 2023 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@matthewadams
Copy link

Is your feature request related to a problem? Please describe.
I use asdf to manage my node versions. I want to have inshellisense available across all of my versions. As it stands, I have to run npm install -g @microsoft/inshellisense for each version of node that I install. It'd be easer if you used bun or similar to provide a native executable that I could use independently of my current node runtimes.

Describe the solution you'd like
I want to be able to run inshellisense no matter which version of node that is currently on my path.

Describe alternatives you've considered
npx inshellisense

Additional context
None.

@matthewadams matthewadams added the feature-request Request for new features or functionality label Nov 8, 2023
@cpendery
Copy link
Member

cpendery commented Nov 8, 2023

Hey @matthewadams, I'll look into options to provide this. I'm familiar with pkg, but I'll look into bun's --compile flag as well.

@tnfssc
Copy link

tnfssc commented Jan 31, 2024

@matthewadams @cpendery, I made something like this a while ago. Here's the code to build the binaries https://github.com/tnfssc/inshellisense-bin

@cpendery
Copy link
Member

cpendery commented Mar 7, 2024

Just a follow up here, most of the projects like caxa or pkg have been deprecated with Node 21's support of sea. node-pty; however, only supports Node 18 officially (with Node 16 & 20 making the cut, but not 21). As a result, there isn't a good solution for building a native executable via Node. Bun might work in the future, but for now, node-pty doesn't support Bun (see microsoft/node-pty#632).

@cpendery
Copy link
Member

cpendery commented Mar 9, 2024

Closing as duplicate of #199

@cpendery cpendery closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants