Skip to content

Using private template with cli #927

Description

@lucianomlima

Ask your Question

Hello guys. Is there a way to use private package as template?
I'm trying several ways to make this work but have no success.
I'm trying with github package registry, but fails in the download step.

I'm try to add the registry URL in .npmrc, in .yarnrc, but doesn't work.
Any advices?

Activity

  1. thymikee commented on Mar 9, 2020

    @thymikee
    Member

    Using .yarnrc in the directory your run command from should work:

    registry "https://registry.yarnpkg.com"
    "@your-org:registry" "https://artifactory.yourorg.com/artifactory/api/npm/"
  2. lucianomlima commented on Mar 10, 2020

    @lucianomlima
    ContributorAuthor

    Doesn't work. I try this with .npmrc and .yarnrc. Both files only works to get the first code, get error when try to download the template.

  3. thymikee commented on Mar 10, 2020

    @thymikee
    Member

    Um, add the config file to your template then, it's gonna be copied as is.

  4. lucianomlima commented on Mar 11, 2020

    @lucianomlima
    ContributorAuthor

    Um, add the config file to your template then, it's gonna be copied as is.

    I try this too

  5. thymikee commented on May 26, 2020

    @thymikee
    Member

    You're right, that won't work. We'd have to introduce the registry flag passed to the npm/yarn. Reopening

  6. added and removed
    questionFurther information is requested
    on May 26, 2020
  7. ThallyssonKlein commented on May 26, 2020

    @ThallyssonKlein

    is there any temporary solution while the feature is in development?

  8. MONTYYYYY commented on Jul 22, 2021

    @MONTYYYYY

    Any temp solution for this?

  9. github-actions commented on Nov 29, 2022

    @github-actions

    There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.

  10. thymikee commented on Nov 29, 2022

    @thymikee
    Member

    Still valid, anyone up for grabs? :)

  11. lucianomlima commented on Dec 2, 2022

    @lucianomlima
    ContributorAuthor

    Is there a way to implements this? If yes, I can try code it.

  12. adamTrz commented on Dec 2, 2022

    @adamTrz
    Collaborator

    Any help is welcomed @lucianomlima :)

  13. lucianomlima commented on Dec 2, 2022

    @lucianomlima
    ContributorAuthor

    Any help is welcomed @lucianomlima :)

    I need some guidance, about this. I don't know where this can be implemented.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions