Code Monkey home page Code Monkey logo

Comments (9)

artemrys avatar artemrys commented on June 1, 2024 1

We are using fossa right now in the UCC UI repository as well, I'll check now if we can get what we want without doing anything :)

from addonfactory-ucc-generator.

artemrys avatar artemrys commented on June 1, 2024 1

I made a #479 PR to add a dependencies.txt file under appserver/static/js folder when the add-on will be generated after running ucc-gen command.

This is available for splunk-add-on-ucc-framework>=5.12.0

from addonfactory-ucc-generator.

harshpatel-crest avatar harshpatel-crest commented on June 1, 2024

Hi @pmeyerson, could you please share your reason for pulling the lock file in this repo? Since the requirements are resolved and bundled into build generated at ucc-base-ui repo. Only bundled JS files are imported in the ucc-generator repo and hence there seems to be no reason for pulling a lock file here.

from addonfactory-ucc-generator.

pmeyerson avatar pmeyerson commented on June 1, 2024

Hi sorry if this wasn't clear or I am doing something crazy because I am still learning about js packaging.

My goal is to be able to report on the js dependencies included in my app built with ucc-gen.

I couldn't find any easy way with the ucc-gen build out put to easily list the js libraries, so I looked at the lock file in the base-ui repo. But it seems to include development dependencies and not just prod dependencies so I generate it myself to exclude those.

from addonfactory-ucc-generator.

pmeyerson avatar pmeyerson commented on June 1, 2024

But from my perspective, it would be preferred if ucc-gen could perform this step on its own, so the ask is to provide list of js dependencies injected by ucc-gen in some way of your choosing that would make sense for everyone. Hope that helps clarify things.

from addonfactory-ucc-generator.

artemrys avatar artemrys commented on June 1, 2024

@pmeyerson do you have some specific format of the js dependencies in mind?

from addonfactory-ucc-generator.

pmeyerson avatar pmeyerson commented on June 1, 2024

I don't. It's also possible this is better solved by some sbom generating tool or similar.

from addonfactory-ucc-generator.

artemrys avatar artemrys commented on June 1, 2024

Actually, checked yarn documentation.

Found that we can use something like yarn list --prod --depth=0.

Sample output for the UCC UI repo:

yarn list v1.22.19
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @babel/[email protected]
├─ @emotion/[email protected]
├─ @emotion/[email protected]
├─ @emotion/[email protected]
├─ @emotion/[email protected]
├─ @splunk/[email protected]
├─ @splunk/[email protected]
├─ @splunk/[email protected]
├─ @splunk/[email protected]
├─ @splunk/[email protected]
├─ @splunk/[email protected]
├─ @splunk/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ @types/[email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
✨  Done in 0.40s.

I'll think about it next week as well.

from addonfactory-ucc-generator.

pmeyerson avatar pmeyerson commented on June 1, 2024

Awesome thank you!

from addonfactory-ucc-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.