Skip to content

Shuunen/monorepo

Repository files navigation

Shuunen Monorepo

Project license

logo

Prerequisites

  • Enable pnpm once with corepack enable pnpm
  • Select the typescript version of the workspace (>=5.9.3)
    • ctrl-shift-P: select typescript version: Use workspace version

Installing and starting the app

npm install nx --global
pnpm install
nx dev sample-web-app

Todo

  • remove noUndeclaredDependencies: "off" from biome.json when Biome supports monorepo, for no it's reporting falsy undeclared dependencies
  • remove explicit-module-boundary-types: off from oxlint conf and declare types everywhere ?
  • investigate why biome is showing warnings
  • add knip (does it works with monorepo ?)
  • investigate if we need to split output from tsc and build ( right now lib/app go to dist but tsconfig.spec goes to out-tsc)
  • investigate why we need local dependencies like react in utils when react is already in the root package.json, in the other hand apps/sample-web-app works without local react dependency
  • Add optional handling on form-field-field-list component, array level

Performances

  • check if splitting exports like in the business lib helps with performances or not
  • check if we can merge typecheck with building ( we need to find a solution that can leverage ts-go ) ( or wait for typescript 7)

Thanks

  • Biome : super fast linter & formatter
  • Boxy Svg : simple & effective svg editor
  • Bun : super fast runtime for JavaScript and TypeScript
  • Github : for all their great work year after year, pushing OSS forward
  • Oxc : a lovely super-fast collection of JavaScript tools written in Rust
  • React : great library for web and native user interfaces
  • Repo-checker : eslint cover /src code and this tool the rest ^^
  • Shields.io : for the nice badges on top of this readme
  • Svg Omg : the great king of svg file size reduction
  • TailwindCss : awesome lib to produce maintainable style
  • V8 : simple & effective cli for code coverage
  • Vite : super fast frontend tooling
  • Vitest : super fast vite-native testing framework
  • Zod : typeScript-first schema validation

Page views

Views Counter

demo