Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prestodb/presto-js-client

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prestodb/presto-js-client

This library was generated with [Nx](https://nx.dev).

  • 0.1.0-beta.0
  • presto-client-0.1.0-beta.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13K
decreased by-18.26%
Maintainers
3
Weekly downloads
 
Created
Source

presto-client

This library was generated with Nx.

Building

To build the library using SWC, run the following command:

npm run build presto-client

Linting

To lint the library using ESLint, run the following command:

npm run lint presto-client

Publishing

Locally

To publish a new version to a private local registry, follow these steps:

Steps
  1. Start by cleaning your workspace using the following command:

    git stash
    
  2. Start a private local registry using Verdaccio:

    npm run local-registry presto-js-client
    
  3. In another terminal, publish the new version by running the following command:

    npm run publish:local presto-client
    

    If you're publishing a Pre-release version, run instead:

    npm run publish:local presto-client -- --releaseAs=premajor|preminor|prepatch --preid=beta
    

    Check the semver options for all available options.

  4. If the output of the previous command is successful, check that:

  • A new local git tag was generated.
  • presto-client/CHANGELOG.md file was updated.
  • presto-client/package.json file was updated.
  1. Visit http://localhost:4873 and ensure that @prestodb/presto-js-client was pushed successfully to the private local registry, including the git tag, CHANGELOG.md, and package.json files reviewed above.

  2. Now you can run npm i @prestodb/presto-js-client in any other project locally to test the released version before releasing it to NPM.

NPM

To publish a new version to NPM, follow these steps:

Pre-requisites
Steps
  1. Start by cleaning your workspace using the following command:

    git stash
    
  2. Publish a new version by running the following command:

    npm run publish presto-client
    

    If you're publishing a Pre-release version, run instead:

    npm run publish presto-client -- --releaseAs=premajor|preminor|prepatch --preid=beta
    

    Check the semver options for all available options.

  3. As part of the previous command, a draft GitHub release is also created. Go to GitHub Releases, review and edit it if necessary, and then click "Publish release" to make it public.

    *If you published the package as a Pre-release version, please also mark the GitHub release as a "Pre-release."

Testing

To test the library using Jest, run the following command:

npm run test presto-client

FAQs

Package last updated on 04 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc