1.1.0 • Published 1 year ago
etendo-subapp-data-template-typescript v1.1.0
Overview
The etendo-subapp-data-template-typescript package is a template designed for generating subapplications for Etendo Mobile. This example provides the basic structure required for a subapplication, allowing developers to quickly set up and extend functionalities within the Etendo Mobile ecosystem.
Publishing the etendo-subapp-data-template-typescript Library on NPM
To publish the etendo-subapp-data-template-typescript library on NPM, follow these steps:
Ensure NPM Authentication:
- Verify that you are logged in to NPM:
npm whoami - If not logged in, execute:
npm login - Provide your NPM username, password, and email as prompted.
- Verify that you are logged in to NPM:
Navigate to Your Project Directory:
- Open your terminal and navigate to the root directory of the
etendo-subapp-data-template-typescriptlibrary:cd path/to/etendo-subapp-data-template-typescript
- Open your terminal and navigate to the root directory of the
Update
package.json(Optional):Ensure the
versionfield in yourpackage.jsonis updated to reflect the new version you intend to publish:{ "name": "etendo-subapp-data-template-typescript", "version": "1.0.1", ... }
Run the Publish Command:
- Execute the following command to publish your library under the
latesttag:yarn publish --tag latest
- Execute the following command to publish your library under the
Verify the Publication:
- Once the command completes, verify that the library has been published by checking your package on the NPM website:
npm view etendo-subapp-data-template-typescript - Ensure that the new version is listed under the
latesttag.
- Once the command completes, verify that the library has been published by checking your package on the NPM website: