0.17.0 • Published 1 month ago

stellar-web-shared v0.17.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Prerequisities

Install Node.js

Follow the rules here.

Install NPM

Detailed information could be found here.

Install Dependencies

npm install --force

Local development

If you want to test your changes locally in a consumer app prior to pushing any code or creating a new globally available package, you should follow these steps:

  • from the root directory of this repo, run npm run build-lib to build a production-alike version of the package
  • then run sudo npm link to make your local package available globally on your machine
  • open a new terminal at the root directory of your consumer app and run npm link stellar-web-shared --force to link to that global package on your machine instead of downloading it from NPM registry. You may also need to run yarn install to make yarn.lock file up-to-date
  • launch your app, test the changes, ensure local package is used
  • once finished, from the root of your consumer app run npm unlink --no-save stellar-web-shared to unlink the package from your consumer app so that it can download from registry again. Discard any yarn.lock updates and run yarn install again
  • (optional) run npm unlink from the root of shared repo to clean up global NPM links. Alternatively, you can launch a local Storybook server to check your UI previews by simply running npm run storybook. Note: in order for it to properly open in browser, you may need to hard refresh your browser cache.

Publishing to NPM

Automatic publish takes place on every push to your PR and on every merge to master branch, so in most cases you don't need to worry about it. In case there is a necessity to publish from your machine, here are the steps to follow:

  • create ./.loadenv.sh file at the root directory similar to how we do that in our web app. Make sure to add NPM_ACCESS_TOKEN variable. Token value can be found in 1Password
  • run source ./.loadenv.sh to expose NPM token and any other important variables to your node environment. This will allow you to execute any further commands to NPM without any need to log in.
  • run npm version with specific flags or manually change package version in package.json in order to avoid conflicts with already published package versions.
  • run npm publish and ensure new package version is available here.

NPM account

If you would like to log in to NPM using your browser and see what we have from within, feel free to find credentials in 1Password.

0.17.0

1 month ago

0.16.2-0

1 month ago

0.16.1-0

1 month ago

0.15.3-0

1 month ago

0.16.0

1 month ago

0.15.1-0

2 months ago

0.15.2-0

2 months ago

0.15.0

2 months ago

0.14.1-0

2 months ago

0.13.0

3 months ago

0.13.1-0

3 months ago

0.14.0

3 months ago

0.13.2-0

3 months ago

0.12.1-0

3 months ago

0.10.2-0

3 months ago

0.11.0

3 months ago

0.11.1-0

3 months ago

0.10.1-0

3 months ago

0.12.0

3 months ago

0.10.0

3 months ago

0.9.2-0

3 months ago

0.9.1-0

3 months ago

0.8.7-0

3 months ago

0.8.5-0

3 months ago

0.9.0

3 months ago

0.8.4-0

3 months ago

0.8.6-0

3 months ago

0.8.3-0

4 months ago

0.8.1-0

4 months ago

0.8.2-0

4 months ago

0.7.11-0

4 months ago

0.8.0

4 months ago

0.7.7-0

4 months ago

0.7.9-0

4 months ago

0.7.10-0

4 months ago

0.7.8-0

4 months ago

0.7.6-0

4 months ago

0.7.3-0

4 months ago

0.7.5-0

4 months ago

0.7.4-0

4 months ago

0.7.2-0

5 months ago

0.7.1-0

5 months ago

0.0.23-0

7 months ago

0.0.24-0

7 months ago

0.0.25-0

6 months ago

0.0.26-0

6 months ago

0.0.27-0

6 months ago

0.0.28-0

6 months ago

0.0.29-0

6 months ago

0.6.1-0

6 months ago

0.3.1-0

6 months ago

0.1.0

6 months ago

0.3.0

6 months ago

0.2.0

6 months ago

0.5.0

6 months ago

0.4.0

6 months ago

0.7.0

6 months ago

0.6.0

6 months ago

0.4.1-0

6 months ago

0.0.17-0

8 months ago

0.0.18-0

8 months ago

0.0.19-0

8 months ago

0.0.20-0

8 months ago

0.0.21-0

8 months ago

0.0.22-0

8 months ago

0.0.16-0

8 months ago

0.0.15-0

8 months ago

0.0.14-0

8 months ago

0.0.13-0

8 months ago

0.0.12-0

8 months ago

0.0.11-0

8 months ago

0.0.10-0

8 months ago

0.0.9-0

8 months ago

0.0.8-0

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago