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

Please list the dependencies for the npm package @abp/ng.theme.lepton-x in its own package.json #21576

Open
Xerner opened this issue Dec 9, 2024 · 0 comments

Comments

@Xerner
Copy link

Xerner commented Dec 9, 2024

Request

Please list the dependencies for the npm package @abp/ng.theme.lepton-x in its own package.json instead of inheriting its dependencies from npm/ng-packs/package.json

Details

  • ABP framework version 9.0.1
  • Angular front-end

I am trying to include abp.io's angular source code in my own angular application. I have done so by adding the abp.io repository as a submodule in my repo, and then adding path replacements in my tsconfig.json. Similar to how abp.io devs have done it. This is working for all packages except @abp/ng.theme.lepton-x because @abp/ng.theme.lepton-x is not included in the open sourced code. Therefore, I assume @abp/ng.theme.lepton-x is simply a closed source package distributed solely through npm. If so, please include the packages necessary for @abp/ng.theme.lepton-x to function on its own in its own package.json and not ng-packs/package.json.

The packages I know of that @abp/ng.theme.lepton-x depends on and are missing from its package.json are

  • angular-oauth2-oidc
  • @abp/ng.components/page

Some packages are listed under peerDependencies but that does not cause yarn to install them, and I must still include the peer dependencies in my own package.jsons dependencies. This is fine, but not optimal.

  • @abp/ng.core
  • @abp/ng.theme.shared
  • @abp/ng.account.core

To replicate,

  • clone git clone -b abp-issue-21576 --recurse-submodules https://github.com/Xerner/OpenQueue.git
  • run yarn to install packages
  • cd into the abp folder found in src/abp and also run yarn
  • cd back to the root angular projects folder
  • run ng build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant