Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
broccoli-kss
Advanced tools
The broccoli-kss plugin generates a living styleguide based on the KSS-Node project. Note that currently this implementation supports only SASS.
npm install --save-dev broccoli-kss
var compileKss = require('broccoli-kss');
var outputTree = compileKss(inputTree, options);
inputTrees
: An broccoli tree that is the KSS source directory containing all your SCSS files to be parsed for styleguide documentation.
options
: A hash of options for kss-node. Supported options are
templateDir
, sassFile
, destDir
.
templateDir
: the directory where your KSS template files live for custom styling of KSS output.sassFile
: the top level *.scss file containing the styleguide documentation.destDir
: the output directory (relative to the broccoli build output folder) to place the generated stylesheet.var inputTree = pickFiles('kss', {
srcDir: '/',
destDir: '/'
});
var styleguide = compileKss(inputTree, {
templateDir: 'kss/template',
sassFile: 'kss/styles.scss',
destDir: 'styleguide'
});
Where your KSS documentation lives under {project_home}/kss
, your KSS templates live under the {project_home}/kss/template
folder, and the top level scss file for your documentation lives is at {project_home}/kss/styles.scss
. This will output your style guide in the folder: {broccoli_output}/styleguide
.
FAQs
A broccoli plugin for KSS
The npm package broccoli-kss receives a total of 0 weekly downloads. As such, broccoli-kss popularity was classified as not popular.
We found that broccoli-kss 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.