Comments (9)
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.
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.
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.
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.
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.
@pmeyerson do you have some specific format of the js dependencies in mind?
from addonfactory-ucc-generator.
I don't. It's also possible this is better solved by some sbom generating tool or similar.
from addonfactory-ucc-generator.
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.
Awesome thank you!
from addonfactory-ucc-generator.
Related Issues (20)
- BUG: openapi.json in wrong directory HOT 2
- BUG: Empty line in .uccignore results in files being deleted
- BUG: entry_page.js referred to in template doesn't exist HOT 2
- BUG: update command fails in some circumstances HOT 2
- BUG: globalConfig does not allow "placeholder" property for Basic/OAuth fields HOT 4
- Deprecation Notice: `placeholder` usage is going to be deprecated HOT 2
- BUG: ucc-gen init doesn't validate addon-name HOT 3
- Feature request: Add a verbose mode to build command for file copy/overwrite report
- BUG: Multiple helplink with an empty label leads to breaking the configuration page due to duplicate HOT 6
- Feature request: Switch to enterprise dark theme via globalConfig.json HOT 3
- BUG: Fix child keys warning HOT 7
- Feature request: Deploy Storybook to GitHub pages HOT 5
- BUG: If Enter clicked on dialog, it does not behave as expected HOT 2
- Feature request: Number validators should be more specific about integers HOT 1
- Feature request: Make sure button with to indicator is available for TA developers HOT 2
- BUG: package command doesn't compress archive HOT 1
- BUG: Deprecation warning for placeholder doesn't appear in the console HOT 1
- BUG: fix input label accessibility
- BUG: multi-level menu pop-up animation breaking
- Feature request: Preserve ucc version used when creating the TA HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addonfactory-ucc-generator.