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

feat: set up npm publish for standalone server executable #411

Merged
merged 2 commits into from
Aug 1, 2023

Commits on Jul 29, 2023

  1. feat: set up npm publish for standalone server executable

    The only thing I didn't do is change the `package.json` `name`, since
    that would also change the VSCode extension name. But `solidity` is
    taken on NPM, so you'll need to temporarily change the name each time
    you run `npm publish` and then change it back.
    
    Publish to NPM: `npm publish`
    
    Users:
    ```
    npm install -g @juanfranblano/vscode-solidity-server
    vscode-solidity-server --stdio
    ```
    
    This PR does two things to make this possible:
    - adds "files" and "prePublishOnly" to `package.json` to use `tsup`
    - updates `server.ts` to read the default config from `package.json` so
      that even if the client doesn't send a config, they'll still get the
      default behavior. This is because if the non-VSCode client has to keep
      manually copying the client config from `package.json`, it's hard to keep it
      up-to-date.
    llllvvuu committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    57ad53c View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2023

  1. Configuration menu
    Copy the full SHA
    8511c40 View commit details
    Browse the repository at this point in the history