Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@acot/acot-runner-storybook
Advanced tools
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/**/*"]
}
}
}
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!
0.0.10-canary.0 (2021-04-04)
debug
package (85f8ea4)init
subcommand (982553b)BrowserPool
hangs (93da5cb)--(reporter|runner)-with
options (64944e1)--no-open
options for preset serve
sub-command (0a43e58)@acot/sitemap
to init sub-command (336196a)verbose
flag (0cd3e16)GET
request instead of HEAD
request #34 (5a48d8a)BrowserPool
(21f7228)help
from tags
(7ac5678)pattern
to specify test target (67c319f)@acot/acot-runner-sitemap
package (9a760b7)@acot/mock
package (fb6e4ba)acot-head
flag to test <head>
in rule documentation (a1c5760)page-has-title
rule (4353cab)page-has-valid-lang
rule (8ee766c)FAQs
An acot custom runner for Storybook.
The npm package @acot/acot-runner-storybook receives a total of 0 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.