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

@gometro/mobility-observatory-visualization-module

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gometro/mobility-observatory-visualization-module

This README would normally document whatever steps are necessary to get your application up and running.

  • 5.13.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

README

Start up

Setting up local frontend

yarn install
yarn run storybook

Setting up local backend

  1. Set up the Mobility Observatory Service- https://bitbucket.org/GoMetro/gometro-mobility-observatory-service/src/master/

  2. Start the Mobility Observatory Service- See the service's read me

@todo add yarn link instructions

React version inconsistent

@todo add yarn instructions for react linking

Publish

To publish a new version...

npm version {major|minor|patch} -m "{change message here}"

yarn run build:publish

API

Defaults

  • The default production API URL is https://api.gometroapp.com
  • The default development API URL is http://localhost:8080

Overrides

If you want to use the API on a development machine or a custom domain set the below...

window.__MOBILITY_USE_DEV_API__ = true;
window.__MOBILITY_DEV_API__ = "your-custom-url-here"

Publishing an image with CI/CD

Tag image

Firstly, make sure you are on a branch named release/* (for example - release/5.0.0)

Then, run the tag script with the relevant change

./tag.sh minor

See more about semantic versioning here - https://semver.org/

Valid options are: major | minor | patch

Then push both the commit and tag up to the repository

git push
git push --tags

And wait for CI/CD to publish the new npm package :)

FAQs

Package last updated on 25 Nov 2022

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