Official TypeScript Monorepo
| Name | Description | Type | Package | Docs |
|---|---|---|---|---|
| Class Names | Class name builder | Library | class-names | README |
| Clone | Deep cloning | Library | clone | README |
| Color | Color manipulation | Library | color | README |
| Equals | Deep structural equality checking | Library | equals | README |
| JSON-Patch | Types and tools for JSON-Patches | Library | json-patch | README |
| JSON-Pointer | Types and tools for JSON-Pointers | Library | json-pointer | README |
| JSON-Ref | Types and tools for JSON-Refs | Library | json-ref | README |
| JSON-Schema | Types and tools for JSON-Schemas | Library | json-schema | README |
| OpenAPI | Types and tools for OpenAPI | Library | openapi | README |
| React Overlay | Base component for overlays of any kind | React Library | react-overlay | README |
| React Reduce-Context | Poor mans redux | React Library | react-reduce-context | README |
| React useCalc | Reactive CSS-style calc function |
React Hook | react-use-calc | README |
| React useDocumentVisibility | Reactive green-coding document.hidden wrapper |
React Hook | react-use-document-visibility | README |
| React useIntersectionObserver | Reactive IntersectionObserver wrapper | React Hook | react-use-intersection-observer | README |
| React useMediaQueryMatch | Reactive CSS-like media queries | React Hook | react-use-media-query-match | README |
| React useMergedRef | Merge multiple refs into one | React Hook | react-use-merged-ref | README |
| Types | Types and tools for...Types | Library | types | README |
| Unit | Unit parsing and conversion tools | Library | unit | README |
| URI | Types and tools for URIs and IRIs | Library | uri | README |
- Clone and open in IDE
- Install extensions if possible (e.g. prettier, eslint)
- Run
$ yarn(Will install all dependencies and sub-dependencies)- either: build all projects with
$ yarn build:all - or: build your specific project with
$ yarn nx build @stackmeister/<project-name>
- either: build all projects with
- Enter your specific project, e.g.
$ cd packages/uri - Use local mechanisms to develop it, e.g.
$ yarn build,$ yarn devetc.- Add dependencies by running
$ yarn add [package-name]in a specific projects folder, it will automatically be hoisted in the root folder
- Add dependencies by running
- To release, increase the version in the respective
package.json(or usenpm version major/minor/patch) and then push to main
- This is an NX repository with Yarn Workspace.
- All sub-projects try to reference root configs if possible, by means of inclusion or extension. All projects share common configuration.
rollup.config.jsin the root is a start to create a template/management-system for this repository