![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Management for collections of packages across teams
For the increasingly common scenario where teams need to work on more
than one npm
package at a time, mondorepo
enables collaboration on
a collection of jointly developed repositories that may contain one or
multiple projects themselves.
One project, multiple packages and repositories, all aware of each other at runtime.
The Node.js package ecosystem has been traditionally developed following the one package per repository rule, which is a workable solution for developing packages that are small in size or complexity and live in relative isolation.
As projects' scale increases this approach has a couple significant problems.
Traditional approaches to solve these problems are:
node_modules
directory.monorepo
approach (mono
not mondo
).While there are potential advantages to each of these approaches, here at Sencha we decided to tackle the problem in a way that projects remain modular and sub packages can be developed on their own.
We call these mondorepos
.
mondo
: large, big")As an alternative to monolithic repositories, mondorepo
enables teams to collaborate
on big complex projects that span across multiple repositories. Each subpackage can be a
mondorepo
on its own and so on.
An example of this project structure would look like this:
Repository: 'awesomecorp/MyAwesomeProject'
MyAwesomeProject/
index.js
package.json // <- contains a reference to "awesomecorp/My-pkg" under "mondo.uses.My-pkg"
Repository: 'awesomecorp/My-pkg'
MyAwesomeProject/
index.js
package.json
Running mondo install
will connect all used repositories (declared inside mondo.uses
) and make My-pkg
available to be used on a simple require('My-pkg')
statement, isn't that neat?
This effectively means that each subpackage can be developed on its own if needed, but also can be included as part of any other project that wants to jointly develop a bunch of its own requirements.
mondorepo
globallyWe prefer yarn
but npm
is also fine:
$ yarn global add mondorepo
Once you checked out a project that uses mondorepo
, just run:
$ mondo install
If you have a set of known forks configured and wish to use them when installing the project, run:
$ mondo install --forks
For help on how to use the CLI tool run:
$ mondo help
For help configuring your project as a mondorepo
, check our Getting started guide.
Please read CONTRIBUTING.md for details on the code of conduct, and the process for submitting pull requests.
mondorepo
uses SemVer for versioning. For the versions available, see the
tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Management for collections of packages across teams
The npm package mondorepo receives a total of 9 weekly downloads. As such, mondorepo popularity was classified as not popular.
We found that mondorepo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.