@ledgy/pricing v2.0.9
@ledgy/pricing
This is an npm-publishable Ledgy modules that exposes the LedgyPricing
component and Ledgy plan features. This module allows us to have the pricing information centralized and reutilize the same component on both app and landing page.
How to publish:
Go to the
package.json
file and update its version. Please update version number based on severity of changes.The first step is to build the module.
.tsconfig.json
in this module is hidden to avoid clashes with the maintsconfig
file. To allow the TS compiler to run normally, remove the leading.
on.tsconfig.json
.Once that file is no longer hidden, we can run
npm run build
on the CLI. That will compile our project and copy images andscss
files. Thedist
folder will include our ready-to-go project.Make sure you have the
NPM_PUBLISH_TOKEN
environment variable exportedRun
npm publish
to send the project to npm
Troubleshooting
When publishing the new package, if an error is thrown (404 - package not found), most likely there is an authentication error.
Might be that the token is not exported correctly or it is expired. A new token can be generated and use for publishing the package.
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago