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

flight-std

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flight-std

- [Setup](#setup) - [How to Publish](#how-to-publish)

  • 0.0.1-alpha.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Web Package Template

  • Setup
  • How to Publish

Setup

Step 1: Create a new repo using this template

Option 1: via new repo page Screen Shot 2020-01-07 at 18 58 28

Option 2: via this repo Screen Shot 2020-01-09 at 13 59 08

Step 2: Clone your new repo

$ git clone git@github.com:traveloka/<repo_name>.git
& cd <repo_name>

Step 3: Setup your new repo

$ yarn setup

Step 4: Register this repo to Circle CI

  1. Go to https://circleci.com/add-projects/gh/traveloka (authorize github if needed)

  2. Search your new repo & click "Setup Project" (may take a while) Screen Shot 2020-01-07 at 19 04 07

  3. Trigger your first build!

That's it! Have fun 😉

How to Publish

Step 1: Register NPM publish token

Note: you only need to do this once.

In order for us to automate the publishing process, you will need to register the NPM publish token to the repo. Since access to this token is limited to certain group of people only, please ask @web-infra team on Slack to register it for you using the following template:

Hi @web-infra, please help register NPM publish token to our repo (https://github.com/traveloka/<your-repo-name>) for automatic publishing.

Repo purpose: (provide some details about the repo).

How to register NPM publish token (for @web-infra): Screen Shot 2020-01-13 at 17 04 17 Key: NPM_AUTH_TOKEN

Step 2: Cut a tag

$ yarn release
$ git push --follow-tags

Under the hood, the yarn release command uses standard-version utility to do the following tasks (simplified):

  • NPM package version bump
  • Changelog generation (if your commit message follows the Conventional Commits standard)
  • Git tagging

Finally, the second command will push your newly created tag to your remote & trigger the automated publishing process. To see the progress, just click on the "Actions" tab on your Github repo page.

Screen Shot 2020-01-13 at 17 37 28

FAQs

Package last updated on 14 Jan 2020

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