prepack/.flowconfig
James Nolan d9dc4d2fd1 Website publication script should remove its temporary directories
Summary:
The [website publication script](https://github.com/facebook/prepack/blob/master/scripts/publish-gh-pages.sh) creates a temporary directory (`build`) to fetch fresh copies of the `master` and `gh-pages` branches.

This temporary directory is not removed and causes `flow` to check it when running `yarn flow`, causing many errors.

To address this issue, this PR:
- Changes the publication script to clean up temporary directories at the end of its execution
- Renames the temporary directory name from `build` to `tmp_website_build` to make it clearer that it can be safely removed, should the script fail to remove it
- Changes `.gitignore` and `.flowconfig` to ignore the temporary directory, should the script fail to remove it

Thanks to hermanventer for reporting the issue
Closes https://github.com/facebook/prepack/pull/1302

Differential Revision: D6648852

Pulled By: j-nolan

fbshipit-source-id: 099963bf6907ff7e69301acafcfb3aeedfbb5b20
2018-01-01 14:27:47 -08:00

20 lines
351 B
Plaintext

[ignore]
.*/node_modules/babel.*
.*/test262/.*
.*/node_modules/.*\.json
.*/lib/.*
.*/test/serializer/.*
.*/scripts/prettier.js
.*/tmp_website_build/.*
[include]
[libs]
flow-libs
[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
module.name_mapper='/lib/' -> '/src/'