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

Enhancement Request: Pin aemsync and less-tree to versioned packages #13

Open
jstirnaman opened this issue Oct 29, 2019 · 6 comments
Open

Comments

@jstirnaman
Copy link

Aemfed has 2 dependencies (aemsync, and less-tree) that point to github urls of tarball files for a specific commit. Since these are compiled commits and not a specific version, our corporate NPM registry intake has no way of scanning the dependency for vulnerabilities and therefore cannot know for certain if they are safe to use.

@skbhardwaj
Copy link

skbhardwaj commented Dec 20, 2019

In our project we are facing similar issue, hence the deployment is failing, as the deployment agency has added a check to allow "All dependencies from NPM Registry only".
They also asked us to remove the package and use some other alternative which doesn't have Github dependencies.

@abmaonline - could you please suggest as to what can be done?

Thanks,

@ahmed-musallam
Copy link

@abmaonline this is actually a concerning issue. Any reason for the use of github URLs as opposed to published NPM modules?

@skbhardwaj aemfed is a development tool only, this means you can remove it from your package.json and install it globally on your local machine: npm install -g aemfed and then use it only locally on your developer machine without it ever making it to your CI/CD build.

@jstirnaman
Copy link
Author

@ahmed-musallam Problems with global install:

  • doesn't solve the core issue - our internal repo prevents me from depositing it without a published build.
  • doesn't scale easily for teams where we'd prefer configuration as code.

@ahmed-musallam
Copy link

Yes. I suggested it as a work-around :)

@abmaonline
Copy link
Owner

These tarballs start to create a lot of issues. Let me check if I can merge the changes back into the original projects or otherwise publish them as custom npm packages.

@abmaonline
Copy link
Owner

Just published a release candidate with scoped npm packages instead of tarballs for the customized modules. Maybe you could give it a try and let me know if it solves the issue?

Please use npm install aemfed@next to install the latest release candidate (or npm install [email protected] when you want to be explicit).

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

4 participants