mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
change name convention for modules
Summary: Following our internal discussion we want to change previously used name convention. Now it looks like: ``` #import <FBReactNativeTestSpec/FBReactNativeTestSpec.h> ``` Name is a param of `rn_codegen` and `rn_library`. Also, I found it the easiest to move replacing `::_IMPORT_::` into buck rule Reviewed By: fkgozali Differential Revision: D16646616 fbshipit-source-id: 2c33c5b4d1c42b0e6f5a42d9a318bd8bda9745f4
This commit is contained in:
committed by
Facebook Github Bot
parent
52c86a96b8
commit
0da4612f03
+5
-1
@@ -158,7 +158,11 @@ function getClassExtendString(component): string {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
generate(libraryName: string, schema: SchemaType): FilesOutput {
|
||||
generate(
|
||||
libraryName: string,
|
||||
schema: SchemaType,
|
||||
moduleSpecName: string,
|
||||
): FilesOutput {
|
||||
const files = new Map();
|
||||
Object.keys(schema.modules).forEach(moduleName => {
|
||||
const components = schema.modules[moduleName].components;
|
||||
|
||||
Reference in New Issue
Block a user