Merge pull request #8144 from BeniCheni/add-labels-to-readmes
Add Labels to READMEs Generator & Update README's w. Links To Open Issues (for some pkg's)
This commit is contained in:
commit
5bd79c70a5
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> Turns an AST into code.
|
> Turns an AST into code.
|
||||||
|
|
||||||
See our website [@babel/generator](https://new.babeljs.io/docs/en/next/babel-generator.html) for more information.
|
See our website [@babel/generator](https://new.babeljs.io/docs/en/next/babel-generator.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen) associated with this package.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> Babel command line
|
> Babel command line
|
||||||
|
|
||||||
See our website [@babel/node](https://new.babeljs.io/docs/en/next/babel-node.html) for more information.
|
See our website [@babel/node](https://new.babeljs.io/docs/en/next/babel-node.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20node%22+is%3Aopen) associated with this package.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> Standalone build of Babel for use in non-Node.js environments.
|
> Standalone build of Babel for use in non-Node.js environments.
|
||||||
|
|
||||||
See our website [@babel/standalone](https://new.babeljs.io/docs/en/next/babel-standalone.html) for more information.
|
See our website [@babel/standalone](https://new.babeljs.io/docs/en/next/babel-standalone.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20standalone%22+is%3Aopen) associated with this package.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> Generate an AST from a string template.
|
> Generate an AST from a string template.
|
||||||
|
|
||||||
See our website [@babel/template](https://new.babeljs.io/docs/en/next/babel-template.html) for more information.
|
See our website [@babel/template](https://new.babeljs.io/docs/en/next/babel-template.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20template%22+is%3Aopen) associated with this package.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|||||||
@ -21,17 +21,21 @@ const getIssueLabelLink = l =>
|
|||||||
)}%22+is%3Aopen`;
|
)}%22+is%3Aopen`;
|
||||||
|
|
||||||
const labels = {
|
const labels = {
|
||||||
"babel-preset-typescript": getIssueLabelLink("area: typescript"),
|
|
||||||
"babel-preset-flow": getIssueLabelLink("area: flow"),
|
"babel-preset-flow": getIssueLabelLink("area: flow"),
|
||||||
|
"babel-preset-node": getIssueLabelLink("area: node"),
|
||||||
"babel-preset-react": getIssueLabelLink("area: react"),
|
"babel-preset-react": getIssueLabelLink("area: react"),
|
||||||
|
"babel-preset-typescript": getIssueLabelLink("area: typescript"),
|
||||||
"babel-parser": getIssueLabelLink("pkg: babylon"),
|
"babel-parser": getIssueLabelLink("pkg: babylon"),
|
||||||
"babel-cli": getIssueLabelLink("pkg: cli"),
|
"babel-cli": getIssueLabelLink("pkg: cli"),
|
||||||
"babel-core": getIssueLabelLink("pkg: core"),
|
"babel-core": getIssueLabelLink("pkg: core"),
|
||||||
|
"babel-generator": getIssueLabelLink("pkg: generator"),
|
||||||
"babel-polyfill": getIssueLabelLink("pkg: polyfill"),
|
"babel-polyfill": getIssueLabelLink("pkg: polyfill"),
|
||||||
"babel-preset-env": getIssueLabelLink("pkg: preset-env"),
|
"babel-preset-env": getIssueLabelLink("pkg: preset-env"),
|
||||||
"babel-register": getIssueLabelLink("pkg: register"),
|
"babel-register": getIssueLabelLink("pkg: register"),
|
||||||
|
"babel-template": getIssueLabelLink("pkg: template"),
|
||||||
"babel-traverse": getIssueLabelLink("pkg: traverse"),
|
"babel-traverse": getIssueLabelLink("pkg: traverse"),
|
||||||
"babel-types": getIssueLabelLink("pkg: types"),
|
"babel-types": getIssueLabelLink("pkg: types"),
|
||||||
|
"babel-standalone": getIssueLabelLink("pkg: standalone"),
|
||||||
};
|
};
|
||||||
|
|
||||||
const generateReadme = ({ websiteLink, issuesLink, name, description }) =>
|
const generateReadme = ({ websiteLink, issuesLink, name, description }) =>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user