info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
# Monorepo package management workflows
One project or Git repository can contain multiple different subprojects or submodules that are all
packaged and published individually.
## Publishing different packages to the parent project
The number and name of packages you can publish to one project is not limited.
You can accomplish this by setting up different configuration files for each
package. See the documentation for the package manager of your choice since
each has its own specific files and instructions to follow to publish
a given package.
The example here uses [NPM](../npm_registry/index.md).
In this example, `MyProject` is the parent project. It contains a sub-project `Foo` in the
`components` directory:
```plaintext
MyProject/
|- src/
| |- components/
| |- Foo/
|- package.json
```
The goal is to publish the packages for `MyProject` and `Foo`. Following the instructions in the