npm install --save @gurovdmitriy/be-todo-core
Provide the most complete templates for building a library.
Provide an example of how the LernaJs & Nx monorepo works, the example contains 2 packages, be-todo-core depends on be-todo-strike. Explore this to start building packages. The example template supercharged with linters and Rollup.
import { beTodoCore } from "@gurovdmitriy/be-todo-core"
const todoManager = beTodoCore()
todoManager.add("buy milk")
todoManager.add("buy bread")
todoManager.strike(1)
console.log(todoManager.todos)
- Lerna
- Nx
- TurboBuild
- Rollup
- Parcel
- Husky
- Lint-staged
- Commitlint
- Eslit
- Prettier
- Conventional commits
- Semver
- [x] Be-todo-core, todo manager fn
- [x] Be-todo-strike, mark done fn