Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

feat: Schematic for extracting libraries from projects #19

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeka-gom
Copy link
Contributor

@jeka-gom jeka-gom commented Dec 20, 2023

JIRA-Ticket: AV-27910

This schematic creates a libraries from the extracted folders from a specific project.

Schematic: extract-app-libs

Generates libraries for a specific Avrio's app scope.

inputs:

  • **name:** The name of the project this libraries belong to. If none given then the libraries are added to the the shared scope.
  • **namespace:** The namespace of the Library. Normally matches the project name. Ex: `@secure, @shared``.
  • **tags:** The list of tags the libraries are allowed to use.
  • **prefix:** The prefix to apply to the generated libraries.

For this schematic to work you have to:

  • extract the apps folders that you want to convert to libraries to the path libs//src/lib
  • run npm run ng generate avrios-schematics:extract-app-libs <app-name>
  • update references within the libraries and the app folders

@jeka-gom jeka-gom force-pushed the feat/AV-27910_extract-libraries-from-projects branch from 504e1ef to 9565fe2 Compare December 20, 2023 20:50
@jeka-gom jeka-gom force-pushed the feat/AV-27910_extract-libraries-from-projects branch from 9565fe2 to b1e54f1 Compare January 3, 2024 16:09
@jeka-gom jeka-gom force-pushed the feat/AV-27910_extract-libraries-from-projects branch from b1e54f1 to cbd9b67 Compare January 3, 2024 17:23
@jeka-gom jeka-gom requested a review from xarlio January 3, 2024 17:23
@xarlio
Copy link
Member

xarlio commented Jan 4, 2024

Looks good! I have added some comments in https://github.com/avrios/frontend-service/pull/4082. I believe all of them are to address here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants