@imagineoai/types
v1.0.25-prod
Published
Type definitions for Imagineo AI
Readme
@imagineoai/types
Shared TypeScript types for ImagineOAI projects.
Prerequisites
- Node.js and npm installed
- Access to the private Verdaccio registry at
https://verdaccio.baudevs.com/ - Logged in to Verdaccio (
npm login --registry=https://verdaccio.baudevs.com/)
Build the package
Before publishing, compile the TypeScript source:
cd packages/types
bun run buildThis generates the compiled JavaScript and type declarations in the dist/ directory.
Publish the package
To publish the package to the private Verdaccio registry:
npm publish --registry=https://verdaccio.baudevs.com/Update the package
- Update the version in
package.json(e.g., bump patch, minor, or major). - Build the package:
bun run build- Publish the new version:
npm publish --registry=https://verdaccio.baudevs.com/Usage in other projects
Add the package as a dependency:
npm install @imagineoai/types --registry=https://verdaccio.baudevs.com/or in package.json:
"dependencies": {
"@imagineoai/types": "^0.0.1"
}Notes
- The package is built automatically before publishing via the
prepublishOnlyscript. - Only the compiled output in
dist/is published.
