/om

code meditation

Primary LanguageTypeScript

Om

Code meditation

Init

git clone ...
npx lefthook install

Packages

  • @nonlux/fetcher node-fetch extension
    • avoid json parse if server send html
    • chunk loading paginated data
    • errors
    • DEBUG
    • metrics

Mono Features

NX

Guide

Running tasks

To execute tasks with Nx use the following syntax:

npx nx <target> <project> <...options>

You can also run multiple targets:

npx nx run-many -t <target1> <target2>

..or add -p to filter specific projects

npx nx run-many -t <target1> <target2> -p <proj1> <proj2>

Defined in projects.json

Learn more in the docs.

View project details

npx nx show project @nonlux/fetcher --web

Run npx nx list

Explore the project graph

Run npx nx graph to show the graph of the workspace.

Biome

Configuration

Required manual installtion for project

biome init
 #vim project.json to add lint task

Volta

Required manual installtion for project

volta pin node@22

Lefthook

npx lefthook install

PNMP

add deps for nested from root

pnpm add node-fetch --filter @nonlux/fetcher