Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using private template with cli #927

Open
lucianomlima opened this issue Jan 29, 2020 · 12 comments
Open

Using private template with cli #927

lucianomlima opened this issue Jan 29, 2020 · 12 comments
Labels
feature request no-stale-bot This issue cannot be marked as stale by stale bot

Comments

@lucianomlima
Copy link
Contributor

lucianomlima commented Jan 29, 2020

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?

@lucianomlima lucianomlima added the question Further information is requested label Jan 29, 2020
@thymikee
Copy link
Member

thymikee commented Mar 9, 2020

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/"

@thymikee thymikee closed this as completed Mar 9, 2020
@lucianomlima
Copy link
Contributor Author

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.

@thymikee
Copy link
Member

thymikee commented Mar 10, 2020

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

@lucianomlima
Copy link
Contributor Author

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

I try this too

@thymikee
Copy link
Member

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

@thymikee thymikee reopened this May 26, 2020
@thymikee thymikee added feature request and removed question Further information is requested labels May 26, 2020
@ThallyssonKlein
Copy link

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

@MONTYYYYY
Copy link

Any temp solution for this?

@github-actions
Copy link

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.

@github-actions github-actions bot added the stale label Nov 29, 2022
@thymikee
Copy link
Member

Still valid, anyone up for grabs? :)

@github-actions github-actions bot removed the stale label Nov 30, 2022
@lucianomlima
Copy link
Contributor Author

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

@adamTrz
Copy link
Collaborator

adamTrz commented Dec 2, 2022

Any help is welcomed @lucianomlima :)

@lucianomlima
Copy link
Contributor Author

Any help is welcomed @lucianomlima :)

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

@TMisiukiewicz TMisiukiewicz added the no-stale-bot This issue cannot be marked as stale by stale bot label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request no-stale-bot This issue cannot be marked as stale by stale bot
Projects
None yet
Development

No branches or pull requests

6 participants