This monorepo includes the following:
Each package and app is 100% TypeScript.
Package Name | Description | |
---|---|---|
@unblocks/react |
Collection of React utilities | |
@unblocks/react-svg |
Collection of utilities for working with SVG in React | |
@unblocks/registry |
All-purpose map data structure that supports lazy loading (sync & async) | |
@unblocks/types |
Useful TypeScript types | |
@unblocks/utils |
A collection of utility functions and classes | |
@unblocks/xyflow-react |
Helpers for working with @xyflow-react and Dagre layout |
|
d3-time-format-thai |
d3-time-format with Thai locale support |
|
global-box |
A simple key-value store singleton |
Package Name | Description |
---|---|
@unblocks/eslint-config |
ESLint configurations used throughout the monorepo |
@unblocks/jest-presets |
Jest configurations |
@unblocks/typescript-config |
tsconfig.json's used throughout the monorepo |
cd unblocks
npm install
npm run check-all
or
npm run lint:fix
npm run typecheck
npm run test
The publish process is handled by CI. To prepare a release, run:
npm run changeset
# then follow the prompt
This repo use the following dev tools:
- Turborepo for monorepo management
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
- Changesets for versioning and publishing