Skip to content

AhmedNassar147/create-monorepo-boilerplate

Repository files navigation

Note: before installing the the app IF you are a windows user please run this command on your machine

 git config --global core.autocrlf false

Note: Please checkout the engines property in package.json

 make sure you have globally the required engines/versions installed.

Getting installation started.

- Please install the following globally on your machine.
  - lerna ">= 3.20.2".
  - typescript ">= 4.1.4"
- then in the project root  run `yarn bootstrap` .

yarn bootstrap

  It will install the required dependencies / bins for the project and builds the packages .

Project overview

See development tools devpackages details.

The `devpackages` contains development only packages/tools like clis eg.`domain-validate-packages-deps`.
  1. What is the (domain-optimize-images)
- the package will optimize the given image or a folder containing them,
  if the image/s already optimized it will skip it else it will optimize it,
  then write the optimized image to it\'s path, and add it to,
  `generated/optimizedAssetsManifest.json` to skip it next time.
- you can also try `domain-optimize-images --h` to see all options.
  1. What is the (domain-validate-packages-deps)
- the package will validate the packages and modules dependencies along with typescript
  references.
- you can also try `domain-validate-packages-deps --h` to see all options.
  1. What is the (domain-precommit-linter)
- the package will prettify, linting and validate dependencies staged files only
 if you want to include also unstaged files run `yarn lint:modified`.
  1. What is the (domain-prepush-linter)
- the package will prettify, linting, validate dependencies if current branch is
`master`.
  1. What is the (domain-validate-packages-assets)
- the package will validate the packages and modules assets.
- you can also try `domain-validate-packages-assets --h` to see all options.
  1. What is the (domain-validate-app-assets)
- the package will validate the current app assets from its routes data config up
  to their dependencies by checking `assetsPaths` in their package.json file.
- you can also try `domain-validate-app-assets --h` to see all options.
  1. What is the (domain-post-whatsapp-build-message)
- the package will zip/uploads the build folder and upload it to 'https://file.io'
  then posts a message to whatsapp with build info and down file link.
  1. What is the (domain-serve-app)
- the package locally serve a given `app` build static files.
- you can also try `domain-serve-app --h` to see all options.

See packages and modules details.

these folders only for developing code that runs in the browser
  1. What is the packages folder
Contains `sharable and reusable` packages across the project.
  1. What is the xxx-modules folders
Contains pages/components are only rendered in current module.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published