@royalinvest/dto
v0.31.0
Published
Data Transfer Objects (DTOs) to carry data between frontend and backend processes.
Downloads
1,394
Keywords
Readme
How to Contribute to NPM Packages
Configuring the Remote URL
To configure the remote NPM registry URL, use the following command:
Replace <your_auth_token>
with the token generated from the NPM website.
Access Token
You can generate the _authToken
by visiting npmjs.com.
For access to the company's NPM account, contact the administrator to either request a token or obtain access to generate a new one.
NPM Packages
You can view the company's public NPM packages here:
Company NPM Packages
Creating a New Package
To create a new NPM package:
- Add a new directory.
- Ensure that it includes the same
tsconfig.json
andpackage.json
configuration as found in thedto
package.
Building the NPM Package
To build the NPM package, run the following command. Refer to dto/package.json
for configuration details:
Versioning a Package
Follow Semantic Versioning (SemVer) standards for package versioning.
Versioning should be updated manually by modifying the version number in the package.json
file.
Publishing a Package
Use the following command to publish a new package:
The current scope is set to public
by default in the package.json
file, making all packages publicly accessible.