# Add a package to an existing project

  1. Create your package in a new directory in /packages.
  • If you want to add CI steps for it, you will need to add a .gitlabl-ci.yml file to this package and include it in the root .gitlabl-ci.yml (See existing includes for examples).
  • If you want to add Docker configuration, you will need to add a Dockerfile file to this package and, if using docker-compose add a service to the root docker-compose.yml file (See existing includes for examples).
  1. If you want other packages to make use of your new package and vice-versa within the repo do this:
  • In the package consumer's package.json dependencies, add "<package-name>": "*", ex: "rs-utilities": "*"
  • Run npx lerna bootstrap to link the new dependency as a local one.