/my-projects

Primary LanguageShellOtherNOASSERTION

My Projects

Monorepo + submodules of personal projects.

Why

Each project is treated as a submodule (git submodules) and a workspace (npm workspaces).

Workspaces

  • I can make a change in one project and it is instantly reflected in every project that uses it
  • one node_modules for all projects, since most share the same dependencies

Submodules

  • every project has its own place in github
  • handle all projects as one in VsCode, easy to make mass changes
  • parent project holds content relevant to multiple projects, like CONTRIBUTING.md

Build files

I'm trying to DRY my projects while keeping easy for people to create MRs.

  • rollup.config.js
  • .eslintrc.json
  • run.sh
  • jsconfig.json
    • user's must set "js/ts.implicitProjectConfig.module": "NodeNext" in theirs vscode settings
      • it allows code navigation with packages using exports in package.json
    • I might put this in .vscode
  • LICENSE
    • github NEEDS a separate file, I'm stubborn, I only put it in the README.md
  • CONTRIBUTING.md
    • linked in README.md
  • cspell.json
  • .gitignore
    • needed
  • package-lock.json
    • I think I can get away without this

Contributing
License (MIT)