
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@springtree/eva-config-picker
Advanced tools
This will be for eva projects that support switching endpoints runtime.
The only component you will need in order to render all the required UI is the eva-config-picker
, you will do so the following way.
<eva-config-picker></eva-config-picker>
This component dispatches a custom event named endPointSelect
, you can listen to this event in multiple ways.
Plain JS
document.querySelector('eva-config-picker').addEventListener( 'endPointSelect', event => {
console.log(event.detail); // BaseEnvironment (endpoint, type, customerName)
})
Angular
<eva-config-picker (endPointSelect)="onEndPointSelect($event"></eva-config-picker>
import { BaseEnvironment } from '@springtree/eva-config-picker';
class Component {
onEndPointSelect(event: CustomEvent<BaseEnvironment>) {
console.log(event.detail); // BaseEnvironment
}
}
Please refer to the stencil documentation on how to consume web components created in this project. Also this project has a dependency on two image assets under src/assets/images/
make sure those are bundled in your final version.
This is how to do so for angular projects
angular.json
under build.options.assets
{
"glob": "**",
"input": "node_modules/@springtree/eva-config-picker/dist/collection/assets/images",
"output": "assets/images"
}
Make sure you first run the nvm use
command as this project has an .nvmrc
file
the start
will run a web server pointing to index.html
in this project.
Need help? Check out the stencil docs here.
This project automatically publishes when pushed to master with semantic-release
When creating new component tags, we recommend not using stencil
in the component name (ex: <stencil-datepicker>
). This is because the generated component has little to nothing to do with Stencil; it's just a web component! Instead, use the eva-config
prefix.
FAQs
Configuration picker for the eva configuration suite
The npm package @springtree/eva-config-picker receives a total of 54 weekly downloads. As such, @springtree/eva-config-picker popularity was classified as not popular.
We found that @springtree/eva-config-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.