Socket
Socket
Sign inDemoInstall

@nlazzos/gittix-common

Package Overview
Dependencies
105
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nlazzos/gittix-common

Shared code across the services.


Version published
Maintainers
1
Created

Readme

Source

How to publish the package to NPM

The package must be in a git repository, so we first commit the changes.

git add .
git commit -m "some message"

Then every time we are going to publish a new version, we have to update the version number, so with that command, npm will automatically update the version for us.

npm version patch

In this case, we are writing the package in TypeScript but we want to publish it as JavaScript and add the TypeScript types separately, so with the build script, we are generating the corresponging files in the ./build folder (see package.json).

npm run build

Finally we can publish it to npm running the following command.

npm publish

FAQs

Last updated on 12 Feb 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc