mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-09-11 14:46:37 +03:00
Summary: Release notes: upgrades Prepack to use Babel 7.0.0-beta.53 This is a big PR that updates all of Prepack to Babel 7. Babylon is now `babel/parser` and pretty much all of the the previous Babel packages are now located in scoped packages. I had to make a bunch of changes around Jest/Flow/Webpack to get this all working. The build times of building Prepack itself seem considerably faster (easily twice as fast locally). I followed most of the Babel 6 -> 7 upgrade guide from the Babel site in terms of changing nodes and type definitions to match the new ones. Pull Request resolved: https://github.com/facebook/prepack/pull/2256 Differential Revision: D8850583 Pulled By: trueadm fbshipit-source-id: 2d2aaec25c6a1ccd1ec0c08c5e7e2a71f78ac2d8
158 lines
5.3 KiB
JavaScript
158 lines
5.3 KiB
JavaScript
// flow-typed signature: 39d8e3656d5637c82acf64987fba7b5e
|
|
// flow-typed version: <<STUB>>/eslint-plugin-babel_v^3.3.0/flow_v0.76.0
|
|
|
|
/**
|
|
* This is an autogenerated libdef stub for:
|
|
*
|
|
* 'eslint-plugin-babel'
|
|
*
|
|
* Fill this stub out by replacing all the `any` types.
|
|
*
|
|
* Once filled out, we encourage you to share your work with the
|
|
* community by sending a pull request to:
|
|
* https://github.com/flowtype/flow-typed
|
|
*/
|
|
|
|
declare module 'eslint-plugin-babel' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
/**
|
|
* We include stubs for each file inside this npm package in case you need to
|
|
* require those files directly. Feel free to delete any files that aren't
|
|
* needed.
|
|
*/
|
|
declare module 'eslint-plugin-babel/rules/array-bracket-spacing' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/arrow-parens' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/flow-object-type' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/func-params-comma-dangle' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/generator-star-spacing' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/new-cap' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/no-await-in-loop' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/object-curly-spacing' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/rules/object-shorthand' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/array-bracket-spacing' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/arrow-parens' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/flow-object-type' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/func-params-comma-dangle' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/generator-star-spacing' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/new-cap' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/no-await-in-loop' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/object-curly-spacing' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'eslint-plugin-babel/tests/object-shorthand' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
// Filename aliases
|
|
declare module 'eslint-plugin-babel/index' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/index.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/array-bracket-spacing.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/array-bracket-spacing'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/arrow-parens.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/arrow-parens'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/flow-object-type.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/flow-object-type'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/func-params-comma-dangle.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/func-params-comma-dangle'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/generator-star-spacing.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/generator-star-spacing'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/new-cap.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/new-cap'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/no-await-in-loop.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/no-await-in-loop'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/object-curly-spacing.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/object-curly-spacing'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/rules/object-shorthand.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/rules/object-shorthand'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/array-bracket-spacing.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/array-bracket-spacing'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/arrow-parens.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/arrow-parens'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/flow-object-type.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/flow-object-type'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/func-params-comma-dangle.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/func-params-comma-dangle'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/generator-star-spacing.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/generator-star-spacing'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/new-cap.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/new-cap'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/no-await-in-loop.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/no-await-in-loop'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/object-curly-spacing.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/object-curly-spacing'>;
|
|
}
|
|
declare module 'eslint-plugin-babel/tests/object-shorthand.js' {
|
|
declare module.exports: $Exports<'eslint-plugin-babel/tests/object-shorthand'>;
|
|
}
|