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 build artifacts as dependency #2732

Closed
vlio20 opened this issue Oct 16, 2016 · 4 comments
Closed

Using build artifacts as dependency #2732

vlio20 opened this issue Oct 16, 2016 · 4 comments

Comments

@vlio20
Copy link

vlio20 commented Oct 16, 2016

Is there any way to use the build artifacts in other angular-cli project?
For example, I created project "A" built it and published. Then I have created project "B" and added A to its dependencies (node_modules).
Currently this is the artifacts of project A:
111.png
Lets say that Project A has some components I want to use in project B, how can I do it - is it even possible with the current cli version?

@vlio20 vlio20 closed this as completed Oct 17, 2016
@vlio20 vlio20 reopened this Oct 17, 2016
@vlio20 vlio20 closed this as completed Oct 17, 2016
@vlio20 vlio20 reopened this Oct 17, 2016
@vlio20 vlio20 closed this as completed Oct 17, 2016
@filipesilva
Copy link
Contributor

I don't have any specific support for that, no. The recommended approach would be to create a third project, like a library, that both apps depended on.

@BernhardRode
Copy link

I think building libraries is totally missing at the moment. We should try to get "ng release" command which npm releases a package that can be consumed easily by others.

Or did I miss something?!?

@filipesilva
Copy link
Contributor

@BernhardRode that's being tracked in #1692.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
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

3 participants