jspm / npm

NPM Location Service
19 stars 34 forks source link

Scoped packages rules #54

Closed guybedford closed 9 years ago

guybedford commented 9 years ago

It would be good to allow a configuration of scoped packages.

Currently scoped packages install from the same npm registry they are dependencies on, but it could be useful to allow scopes to directly map to different npm endpoint instances.

guybedford commented 9 years ago

We can actually support these rules via the existing npmrc mechanism of npm as well.

guybedford commented 9 years ago

Despite the above, I'm tempted to say different types of scopes should be mapped into endpoint instances. We should be able to construct this mapping table from the npmrc.

guybedford commented 9 years ago

Tracking in https://github.com/jspm/npm/issues/80.