Registry / crm-productivity / uangcermat-web-toolkit-v2

uangcermat-web-toolkit-v2

JSON →
library0.2.30jsnpmunverified

A React component library and utility toolkit for building UangCermat financial web applications. Currently at version 0.2.30 (pre-1.0), it ships TypeScript types and requires React 18.2+, react-dom 18.2+, and husky ^8.0.0 as peer dependencies. The package is in early development with a TODO indicating missing test and commit lint setup. Compared to general UI libraries, it is tightly coupled to UangCermat's design system and internal conventions, and may have breaking changes frequently.

npm install uangcermat-web-toolkit-v2
INSTALL
IMPORT
SIG · UANGCERMAT-WEB-TOO
U
uangcermat-web-toolkit-v2
crm-productivityjavascriptv0.2.30
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Button
import { Button } from 'uangcermat-web-toolkit-v2'
import Button from 'uangcermat-web-toolkit-v2'
Named export, not default. CJS require works with destructuring.
theme
import { theme } from 'uangcermat-web-toolkit-v2'
const theme = require('uangcermat-web-toolkit-v2').theme
Also a named export. Supports both ESM and CJS.
useAuth
import { useAuth } from 'uangcermat-web-toolkit-v2'
import { useAuth } from 'uangcermat-web-toolkit-v2/hooks'
Exported from main entry; no subpath exports documented.

Quickstart showing installation with peer deps, named imports, and usage of Button component with theme.

// Install with peer dependencies npm install uangcermat-web-toolkit-v2 react@^18.2.0 react-dom@^18.2.0 husky@^8.0.0 // Use in a React component import { Button, theme } from 'uangcermat-web-toolkit-v2'; function App() { return ( <div style={{ background: theme.colors.primary }}> <Button label="Click me" onClick={() => alert('Clicked')} /> </div> ); } export default App;
Debug
Known issues
breakingFATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
fix
Increase Node.js max_old_space_size: add 'NODE_OPTIONS=--max_old_space_size=8129' to dev script.
affects: >=0.0.0
gotchaPackage is early stage (v0.2.30) with missing test and commit lint setup; expect frequent breaking changes.
fix
Pin to specific version and test upgrades thoroughly.
affects: >=0.0.0
deprecatedHusky v8 is a peer dependency but may be superseded by v9; ensure compatibility.
fix
If using husky v9, check for breaking changes and update scripts accordingly.
affects: >=0.0.0
Errors
Common errors & fixes
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
Default Node memory limit insufficient for storybook or build
fix
Set NODE_OPTIONS=--max_old_space_size=8129 in dev script.
Cannot find module 'react' or 'react-dom'
Peer dependencies not installed
fix
Run npm install react@^18.2.0 react-dom@^18.2.0
TypeError: Cannot read properties of undefined (reading 'colors')
Theme object not initialized or imported incorrectly
fix
Ensure import { theme } from 'uangcermat-web-toolkit-v2' is correct and theme provider wraps app.
Upgrade
Version history
0.2.30latest on npm
Audit
Dependencies
huskyoptionalpeer dependency (^8.0.0) for git hooks
reactrequiredpeer dependency (^18.2.0) for React components
react-domrequiredpeer dependency (^18.2.0) for React DOM rendering
Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
uangcermat-web-toolkit-v2 — npm install uangcermat-web-toolkit-v2 · libregistry