GithubHelp home page GithubHelp logo

mohanzeal / mb Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.21 MB

Yarn 3 Plug N Play, Typescript, ESLint, prettier MONOREPO.

TypeScript 55.92% Shell 0.77% HTML 10.64% CSS 17.95% JavaScript 14.72%

mb's Introduction

Monorepo with server(express), react, http-client packages - All Typescript

Yarn 3 Plug N Play, Typescript, ESLint, prettier MONOREPO.

The main goal of this repo is to create a monorepo using below features

  1. Yarn Plug N Play feature
  2. Use below deps across all the packages
  • Typescript
  • Eslint
  • Prettier
  • ts-node-dev for reloading all typescript files in development.
  • husky for git hooks

Unfortunately

As yarn's pnp is not playing nice with typescript we are having a branch(fix/fallback-node-modules) to use fallback node_modules. This disbales pnp feature of yarn. Unless typescript or yarn fixes this issue we can't move furture.

All the packages are working fine in both the master and fix/fallback-node-modules

  1. If you go with master branch you will see all the errors in your packages eg: App.tsx file because typescript is not able to resolve .yarn/cache deps. This is an issue with Typescript. We have to wait until Typescript or Yarn comes up with any solution.
  2. If you go with fix/fallback-node-modules branch you can start developing your project but you will not have yarn's pnp feature.

Development Commands

  1. server package: yarn server dev or yarn workspace @mb/server dev
  2. http-client package: yarn http-client dev or yarn workspace @mb/http-client dev
  3. react app: yarn react-app dev or yarn workspace @mb/react-app dev

mb's People

Contributors

mohanzeal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.