
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.
ember-cli-feature-manager
Advanced tools
Feature Manager addon allows developers to define and turn on/off features for different reasons. It also allows them to test different implementations of a particular feature.
This addon can only be used by the latest version of ember-cli (0.2.3)
You can add the addon into your application with the command below:
ember install ember-cli-feature-manager
This addon reads the setup/configuration data from the ENV.APP
of the config/environment.js
file.
You can specify the names of the service and feature-data using
featureManagerService
and featureManagerFixturesName
attributes respectively.
These default to features
and FEATURES
respectively.
The service name is what get used when injecting the addon into routes, controllers, and components. The feature-data name specifies the array object that contains a list of features. Below is the data format:
[{
"name": "<string>",
"flag": "<boolean>",
"implementations": "<[]>",
"selected": "<string>"
}, {
}
...
]
Ex:
APP: {
featureManagerService: 'features'
featureManagerFixtures: 'FEATURES',
FEATURES: [{
name: 'search',
flag: true,
implementations: ['facetView', 'backend-solr', 'backend-essearch', 'google'],
selected: 'facetView'
},{
name: 'login',
flag: true
}]
}
git clone
this repositorynpm install
bower install
ember server
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
implementation
and selected
attributes, will be usedFAQs
The default blueprint for ember-cli addons.
The npm package ember-cli-feature-manager receives a total of 2 weekly downloads. As such, ember-cli-feature-manager popularity was classified as not popular.
We found that ember-cli-feature-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.