f49c8680075c08b9a34e6d4d884bde01f4d42ed2
Shared TypeScript Types
This package contains shared TypeScript type definitions used across multiple applications.
Setup
1. Initialize the package
npm install
npm run build
Usage in Other Projects
Add to your project's package.json:
{
"dependencies": {
"@dpu/types": "git+https://git.dariusbag.dev/DarDarBinks/dpu-types.git",
}
}
Or install via command:
npm install git+https://git.dariusbag.dev/DarDarBinks/dpu-types.git
Updating the Package
When you make changes to the types:
- Update the version in
package.json - Build the package:
npm run build - Commit and push changes
- Update consuming applications:
npm update @dpu/types
Description
Languages
TypeScript
100%