A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/facebook/react-native/commit/5ed749e1b254d7dffcacb5b47b679f71523bddcf below:

Move codegen into packages/react-native-codegen · facebook/react-native@5ed749e · GitHub

File tree Expand file treeCollapse file tree 46 files changed

+21

-14

lines changed

Filter options

Expand file treeCollapse file tree 46 files changed

+21

-14

lines changed Original file line number Diff line number Diff line change

@@ -10,7 +10,7 @@

10 10 11 11

'use strict';

12 12 13 -

import type {SchemaType} from '../../../codegen/src/CodegenSchema.js';

13 +

import type {SchemaType} from '../../../packages/react-native-codegen/src/CodegenSchema.js';

14 14 15 15

const SwitchSchema: SchemaType = {

16 16

modules: {

Original file line number Diff line number Diff line change

@@ -2,7 +2,7 @@ load("@fbsource//tools/build_defs:default_platform_defs.bzl", "ANDROID", "APPLE"

2 2

load("@fbsource//tools/build_defs:fb_native_wrapper.bzl", "fb_native")

3 3

load("@fbsource//tools/build_defs:fb_xplat_cxx_binary.bzl", "fb_xplat_cxx_binary")

4 4

load("@fbsource//tools/build_defs/oss:rn_defs.bzl", "rn_xplat_cxx_library")

5 -

load("@fbsource//xplat/js/react-native-github/codegen:DEFS.bzl", "rn_codegen_test")

5 +

load("@fbsource//xplat/js/react-native-github/packages/react-native-codegen:DEFS.bzl", "rn_codegen_test")

6 6 7 7

fb_native.sh_binary(

8 8

name = "copy_fixture_schema",

Original file line number Diff line number Diff line change

@@ -17,7 +17,7 @@ def rn_codegen_test(

17 17

fb_native.genrule(

18 18

name = copy_schema_name,

19 19

srcs = [],

20 -

cmd = "$(exe xplat//js/react-native-github/codegen:copy_fixture_schema) {} $OUT".format(fixture_name),

20 +

cmd = "$(exe xplat//js/react-native-github/packages/react-native-codegen:copy_fixture_schema) {} $OUT".format(fixture_name),

21 21

out = "schema-{}.json".format(fixture_name),

22 22

)

23 23

@@ -38,7 +38,7 @@ def rn_codegen(

38 38

fb_native.genrule(

39 39

name = generate_fixtures_rule_name,

40 40

srcs = [],

41 -

cmd = "$(exe xplat//js/react-native-github/codegen:rn_codegen) $(location {}) {} $OUT".format(schema_target, name),

41 +

cmd = "$(exe xplat//js/react-native-github/packages/react-native-codegen:rn_codegen) $(location {}) {} $OUT".format(schema_target, name),

42 42

out = "codegenfiles-{}".format(name),

43 43

)

44 44

File renamed without changes.

Original file line number Diff line number Diff line change

@@ -6,6 +6,6 @@ set -u

6 6

THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)

7 7 8 8

# shellcheck source=xplat/js/env-utils/setup_env_vars.sh

9 -

source "$THIS_DIR/../../../env-utils/setup_env_vars.sh"

9 +

source "$THIS_DIR/../../../../env-utils/setup_env_vars.sh"

10 10 11 11

exec "$FLOW_NODE_BINARY" "$THIS_DIR/combine-js-to-schema.js" "$@"

File renamed without changes.

Original file line number Diff line number Diff line change

@@ -6,6 +6,6 @@ set -u

6 6

THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)

7 7 8 8

# shellcheck source=xplat/js/env-utils/setup_env_vars.sh

9 -

source "$THIS_DIR/../../../env-utils/setup_env_vars.sh"

9 +

source "$THIS_DIR/../../../../env-utils/setup_env_vars.sh"

10 10 11 11

exec "$FLOW_NODE_BINARY" "$THIS_DIR/copy-fixture.js" "$@"

File renamed without changes.

File renamed without changes.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4