* generate typescript types * improve type generator output * move generator scripts to scripts/generators * use new stringifier for generating flow types too * export summary types * add support for oneOfNodeOrValueTypes to improve type generation * export typescript types from top level, and remove module declaration * generate typescript/flow types and copy typescript types to babel-types/lib as part of make build * copy flow types to babel-types/lib as part of make build (fix #6839) * improve typing: Identifier->name should be a string, not any * avoid destructuring, to support node 4 * update doc generator to share more code, regenerate babel-types readme, pipe all generator output to stdout * regenerate babel-types readme as part of make build * improve typing: ClassProperty->key should be Identifier | StringLiteral | NumericLiteral | Expression, not any * improve typing: optional node properties are nullable, not undefinedable * improve docs: FlowClassImplements should be ClassImplements * make ts usage more friendly: when using babel-types api, make optional params | undefined, and when reading nodes keep optional params | null * rm lib/types.d.ts and lib/types.js in favor of packages/babel-types/lib * add missing variance node type, address review comments * add tests for flow variance * Comment should be a disjoint union of tagged types * update .flowconfig
28 lines
641 B
Plaintext
28 lines
641 B
Plaintext
[ignore]
|
|
.*/build/.*
|
|
.*/packages/.*/lib
|
|
.*/packages/.*/test
|
|
.*/codemods/.*/lib
|
|
.*/codemods/.*/test
|
|
.*/node_modules/conventional-changelog-core/
|
|
|
|
[include]
|
|
packages/*/src
|
|
codemods/*/src
|
|
|
|
[libs]
|
|
lib/file.js
|
|
lib/parser.js
|
|
lib/packages/babel-types/lib/index.js.flow
|
|
lib/third-party-libs.js.flow
|
|
|
|
[options]
|
|
include_warnings=true
|
|
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
|
|
suppress_comment= \\(.\\|\n\\)*\\$FlowIssue
|
|
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
|
|
suppress_type=$FlowFixMe
|
|
suppress_type=$FlowSubtype
|
|
esproposal.export_star_as=enable
|
|
module.name_mapper='^@babel\/\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/packages/babel-\1/src/index'
|