Types for DPU
  • TypeScript 100%
Find a file
2026-03-05 19:47:21 +01:00
dist status => stats 2026-03-05 19:47:14 +01:00
src status => stats 2026-03-05 19:47:14 +01:00
.gitignore Generic Commit; Most likely a fix or small feature 2025-11-17 21:38:41 +01:00
package-lock.json 1.10.0 2026-03-05 19:47:21 +01:00
package.json 1.10.0 2026-03-05 19:47:21 +01:00
README.md Update README.md 2025-11-17 20:35:16 +00:00
tsconfig.json change to ES2022 2025-11-18 21:46:48 +01:00

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:

  1. Update the version in package.json
  2. Build the package: npm run build
  3. Commit and push changes
  4. Update consuming applications: npm update @dpu/types