5.13.2 • Published 1 year ago

@gometro/mobility-observatory-visualization-module v5.13.2

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
1 year ago

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

Using npm link in dependant project

@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 :)

5.13.2

1 year ago

5.12.0

2 years ago

5.11.0

3 years ago

5.10.0

3 years ago

5.9.0

3 years ago

5.8.8

3 years ago

5.8.2

3 years ago

5.7.4

3 years ago

5.7.3

3 years ago

5.7.2

3 years ago

5.7.1

3 years ago

5.7.0

3 years ago

5.6.1

3 years ago

5.6.0

3 years ago

5.5.1

3 years ago

5.5.0

3 years ago

5.4.0

3 years ago

5.5.4

3 years ago

5.5.3

3 years ago

5.5.2

3 years ago

5.3.2

3 years ago

5.3.0

3 years ago

5.2.4

3 years ago

5.2.3

3 years ago

5.2.2

3 years ago

5.2.0

3 years ago

5.1.0

3 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.0.4

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.0-beta-3

3 years ago

4.0.0-beta-2

3 years ago

4.0.0-beta-1

3 years ago

4.0.0-beta

3 years ago

4.0.0-alpha

3 years ago

4.0.0-alpha-8

3 years ago

4.0.0-alpha-6

3 years ago

4.0.0-alpha-7

3 years ago

4.0.0-alpha-4

3 years ago

4.0.0-alpha-5

3 years ago

4.0.0-alpha-3

3 years ago

4.0.0-alpha-1

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

1.0.0-rc1

3 years ago

0.1.0

3 years ago