Skip to content

Using build artifacts as dependency #2732

Closed

Description

@vlio20

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?

Activity

  1. reopened this on Oct 17, 2016
  2. reopened this on Oct 17, 2016
  3. filipesilva commented on Oct 17, 2016

    @filipesilva
    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.

  4. BernhardRode commented on Oct 18, 2016

    @BernhardRode

    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?!?

  5. reopened this on Oct 18, 2016
  6. filipesilva commented on Oct 23, 2016

    @filipesilva
    Contributor

    @BernhardRode that's being tracked in #1692.

  7. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  8. locked and limited conversation to collaborators on Sep 6, 2019
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