Replies: 1 comment 2 replies
-
have you take a look to : |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to get advice on the following:
My module exports a Passport.js strategy, i publish on npm already and am looking to do jsr as well, it does not have a runtime dependecy on passport, nor express, but in the source is as follows, basically @types/express nor @types/passport is required to run the module but if the user has those installed (because he's also using express and passport) he's going to get the types necessary. I do not wish to add @types/* as a dependency.
Now,
npx jsr publish --dry-run
does not complain but I wonder what will happen when this is processed and published on jsr, will jsr users get their intellisense as expected (like they would if they installed via npm)In that same vein I have a direct dependency on the jose and oauth4webapi modules. I keep those imports in the source code without specifiers but I added the following into jsr.json which I believe is going to rewrite the imports to their respective jsr distributions during publishing?
Beta Was this translation helpful? Give feedback.
All reactions