![New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions](https://cdn.sanity.io/images/cgdhsj6q/production/86e6ebdea652d20da070ebbda20134b839972db7-1024x1024.webp?w=800&fit=max&auto=format)
Security News
New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
@acot/acot-runner-storybook
Advanced tools
Changelog
Readme
An acot custom runner for Storybook.
The @acot/acot-runner-storybook
crawls all the Stories in Storybook and sets them up for acot to audit.
Install via npm:
$ npm install --save-dev @acot/acot-runner-storybook
Add @acot/storybook
to the runner
field of the configuration file.
{
"runner": "@acot/storybook"
}
You can pass a custom config to the parameters.acot
field in Story's metadata, as in the following example:
// Component Story Format (CSF) Example:
export default {
title: 'Button',
component: Button,
parameters: {
acot: {
rules: {
'@acot/wcag/button-has-name': 'off',
},
},
},
};
include
Type: string[]
Required: false
The Story name pattern to include in the audit target. See the micromatch documentation for pattern strings.
{
"runner": {
"uses": "@acot/storybook",
"with": {
"include": ["*", "/atoms/**/*"]
}
}
}
exclude
Type: string[]
Required: false
The Story name pattern to exclude in the audit target. See the micromatch documentation for pattern strings.
{
"runner": {
"uses": "@acot/storybook",
"with": {
"exclude": ["/utils/**/*"]
}
}
}
timeout
Type: number
Default: 60000
Required: false
Maximum time in milliseconds to wait for the browser instance to collect stories.
{
"runner": {
"uses": "@acot/storybook",
"with": {
"timeout": 120000
}
}
}
Since @acot/acot-runner-storybook
doesn't rely on UI frameworks like React, Angular, or Vue.js, it can be used in conjunction with any UI framework of your choice!
FAQs
An acot custom runner for Storybook.
The npm package @acot/acot-runner-storybook receives a total of 68 weekly downloads. As such, @acot/acot-runner-storybook popularity was classified as not popular.
We found that @acot/acot-runner-storybook 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
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
Security News
Results from the 2023 State of JavaScript Survey highlight key trends, including Vite's dominance, rising TypeScript adoption, and the enduring popularity of React. Discover more insights on developer preferences and technology usage.
Security News
The US Justice Department has penalized two consulting firms $11.3 million for failing to meet cybersecurity requirements on federally funded projects, emphasizing strict enforcement to protect sensitive government data.