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

source npmrc for custom repositories #115

Open

Description

@shcarrico

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?

Activity

  1. pimterry commented on Sep 19, 2019

    @pimterry

    +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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions