Tools: Package manager

Created on 27 Feb 2020  路  5Comments  路  Source: rome/tools

There's a plan to make Rome a package manager too? This way the only external dependency would be the Node itself.

Most helpful comment

Tentatively, yes. Rome already parses package.json files, as well as normalizing and validating them. There also exists hooks in the module resolver for fetching packages that don't exist. This would be very long-term functionality though and need to be done very deliberately to avoid disrupting the JS package management ecosystem.

All 5 comments

Tentatively, yes. Rome already parses package.json files, as well as normalizing and validating them. There also exists hooks in the module resolver for fetching packages that don't exist. This would be very long-term functionality though and need to be done very deliberately to avoid disrupting the JS package management ecosystem.

I don't think there is a benefit in doing this.
There are great package managers already and long term may split the rome's community and direction: folks who use rome as a package manager, and folks who use it as a companion tool (as intended I guess).
Also we're trying to minimize the API here.

Actually, rome already supports pulling in packages from url's which is kind of approach deno is also following. Doesn't that make rome already a package manager?

It does I guess. I was thinking more about managing packages from npm though which is essential for Node development and what most people think of as a package manager.

Closing since the question has been answered.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  5Comments

ChristopherBiscardi picture ChristopherBiscardi  路  5Comments

yoshixmk picture yoshixmk  路  4Comments

RaviVaranasi picture RaviVaranasi  路  5Comments

ematipico picture ematipico  路  4Comments