From 9de4417f03274560f3657292da30d8780fa60f9e Mon Sep 17 00:00:00 2001 From: Jamie Caprani Date: Thu, 24 Nov 2022 21:05:58 +0000 Subject: [PATCH] chore: update nix config to reference babel.config.js file (#14436) * chore: update nix config to reference babel.config.js file * chore: update component test make command --- .babelrc | 8 -------- Makefile | 4 ++-- nix/mobile/android/release.nix | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 .babelrc diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 9e5b12894e..0000000000 --- a/.babelrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "presets": [ - "module:metro-react-native-babel-preset" - ], - "plugins": [ - "react-native-reanimated/plugin" - ] -} diff --git a/Makefile b/Makefile index 6111e121f8..7cf8360623 100644 --- a/Makefile +++ b/Makefile @@ -322,8 +322,8 @@ run-visual-test-ios: ##@test Run tests once in NodeJS detox test --configuration ios.sim.debug component-test-watch: export TARGET := clojure -component-test: export COMPONENT_TEST := true -component-test: export BABEL_ENV := test +component-test-watch: export COMPONENT_TEST := true +component-test-watch: export BABEL_ENV := test component-test-watch: ##@ Watch tests and re-run no changes to cljs files yarn install nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js' -e cljs diff --git a/nix/mobile/android/release.nix b/nix/mobile/android/release.nix index b750c87f85..35d327e861 100644 --- a/nix/mobile/android/release.nix +++ b/nix/mobile/android/release.nix @@ -45,7 +45,7 @@ in stdenv.mkDerivation rec { filter = lib.mkFilter { root = path; include = [ - "package.json" "yarn.lock" "metro.config.js" ".babelrc" + "package.json" "yarn.lock" "metro.config.js" "babel.config.js" "resources/.*" "translations/.*" "src/js/worklet_factory.js" "modules/react-native-status/android.*" "android/.*" envFileName "VERSION" "status-go-version.json" "react-native.config.js"