Comments (10)
+1 :)
As workaround I'm checking package.repository.url
for internal domain on frontend.
from kappa.
Yeah, though that comes from the package, not the registry -- one of the uses of this change would be to identify things published to the wrong registry.
from kappa.
Interesting, can you elaborate on use case?
from kappa.
We had a package that should have been published to registry.npmjs.com
get published to our internal registry by mistake (shadowing the real package) -- diagnosing this was a little bit of guesswork since nothing outright said which registry the answer came from.
from kappa.
I see. We're trying to have only-local-per-package-npmrc rule to fight this kind of issues. But more visibility will definitely help.
from kappa.
Unfortunately, this is a tough thing to accomplish given we're operating within the confines of an application we don't own. That said, we do add an x-registry
header to every response. I believe (without looking ... fingers crossed) you can see that information if you set verbose logging.
Any ideas how else we might be able to accomplish this?
from kappa.
Perhaps add "kappaRegistryInfo": { "origin": "registryname" }
to the returned JSON?
from kappa.
(and no, it doesn't show with --verbose
to npm)
from kappa.
Shows up with --loglevel=silly
but, it is, after all, a silly amount of logging.
from kappa.
That is indeed silly.
from kappa.
Related Issues (20)
- Will kappa still be maintained after private modules are released for NPM? HOT 1
- Undefined is not a function in Good Module HOT 4
- Question: NPM CLI setup for Kappa HOT 6
- Usable in read-only mode HOT 2
- npm ERR! shasum check failed HOT 4
- Scope passthrough support HOT 1
- vhost issue + NPM install shasum check failed HOT 3
- Fallback is not happening in Kappa, HOT 2
- Unexpected token when running kappa through docker-compose HOT 2
- Where to find documentation? HOT 3
- Nvm
- Publishing scoped packages HOT 8
- Update kappa example to work with newest version of `good` HOT 3
- npm search should search in all registries HOT 1
- Update to work with hapi@8 HOT 3
- Document increasing (or disabling) socket timeout.
- Log IP addresses
- gzip not supported? HOT 15
- HEAD Requests HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kappa.