Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

source npmrc for custom repositories #115

Open
shcarrico opened this issue Aug 13, 2019 · 1 comment
Open

source npmrc for custom repositories #115

shcarrico opened this issue Aug 13, 2019 · 1 comment

Comments

@shcarrico
Copy link

Our internal company oclif plugins reside on a custom NPM repository. We commonly source this using an .npmrc file in the root of our projects. For OSX, we are using a shell script to install the tar created by the pack command and then appending to the user .npmrc. For Windows, as the exe is generated by the installer, we don't have an opportunity to do this. Are there any hooks in the pack command we should be using to add a custom section to the install script? If not, perhaps we could submit a pull to source a custom build section section from the source files during the pack process.. What do you folks think?

@pimterry
Copy link

+1 - I've been trying to customize the packaging process myself this week too, and having some hooks into how that works would really help. I'd love a hook that let me run code in the built but not yet packaged build directory, just before buildBaseTarball.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants