This package provides a set of tools and components for document engineering within the Powerhouse ecosystem.
npm install @powerhousedao/document-engineeringThis package provides a set of tools and components for document engineering within the Powerhouse ecosystem.


``bashUsing npm
npm install @powerhousedao/document-engineering
Usage
The package provides several entry points for different use cases:
$3
`typescript
import { ... } from '@powerhousedao/document-engineering';
`$3
`typescript
import { ... } from '@powerhousedao/document-engineering/ui';
`$3
For data manipulation and transformation utilities:
`typescript
import { ... } from '@powerhousedao/document-engineering/scalars';
`$3
For GraphQL related utilities and schema definitions:
`typescript
import { ... } from '@powerhousedao/document-engineering/graphql';
`$3
To include the package's styles:
`typescript
import '@powerhousedao/document-engineering/style.css';
`#### Font Requirements
This package uses the Inter font family. You must include it in your HTML
section:`html
`The
preconnect links optimize font loading performance by establishing early connections to Google Fonts servers.Import Maps
Within the project, the following import maps are available:
-
#assets - Assets utilities and components
- #scalars - Scalar transformations and utilities
- #ui - UI components
- #graphql - GraphQL related utilitiesDevelopment
$3
- Node.js (LTS version)
- pnpm
$3
`bash
Install dependencies
pnpm installRun storybook for development
pnpm storybookBuild the package
pnpm build
`$3
`bash
Run tests
pnpm testRun tests in watch mode
pnpm test:watch
`$3
This project uses semantic-release for versioning. Commit messages should follow the Conventional Commits specification.
Release channels:
-
main branch - Latest stable release
- staging branch - Pre-release with staging tag
- dev branch - Development pre-releaseTo make a commit using the conventional format:
`bash
pnpm commit
``AGPL-3.0-only