Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
generator-common
Advanced tools
A Yeoman composable generator to scaffold out default app files for other generators
In the generator that would like to use this one, add the following code in a method that is in yeoman.generators.Base.extend
:
this.composeWith('common', {
options: {}
});
Using options:
this.composeWith('common', {
options: {
'skip-messages': true,
jshintrc: false,
gitignore: false,
editorconfig: true,
gitattributes: true,
'test-jshintrc': false
}
});
var yeoman = require('yeoman-generator');
module.exports = yeoman.generators.Base.extend({
setupRoot: function () {
this.composeWith('common', {
options: {
'skip-messages': true,
jshintrc: false,
gitignore: false,
editorconfig: true,
gitattributes: true,
'test-jshintrc': true
}
});
},
doOtherThings: function () {
this.copy('app');
}
});
Default: false Display the usage messages. Set to false for quieter output
Default: true
Set to true to create a .editorconfig
file or false to skip it
Default: true
Set to true to create a .gitattributes
file or false to skip it
Default: true
Set to true to create a .gitignore
file or false to skip it
Default: true
Set to true to create a .jshintrc
file or false to skip it
Default: true
Set to true to create a test
folder and a .jshintrc file in that folder. False does not create the folder or file
FAQs
Yeoman generator
The npm package generator-common receives a total of 0 weekly downloads. As such, generator-common popularity was classified as not popular.
We found that generator-common 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.