From cfdab3562643129f564af7be9a0a551d95fa441b Mon Sep 17 00:00:00 2001 From: Jacopo Martinelli Date: Mon, 9 Nov 2020 17:45:40 +0100 Subject: [PATCH] hotfix: typo dir templates name --- .../plugins/webpack-nx-expo-config.ts | 2 +- .../files/{app => expo}/App.spec.tsx.template | 0 .../files/{app => expo}/App.tsx.template | 0 .../files/{app => expo}/app.json.template | 0 .../files/{app => expo}/assets/favicon.png | Bin .../application/files/{app => expo}/assets/icon.png | Bin .../files/{app => expo}/assets/splash.png | Bin .../files/{app => expo}/babel.config.js.template | 0 .../files/{app => expo}/index.js.template | 0 .../files/{app => expo}/metro.config.js.template | 0 .../files/{app => expo}/package.json.template | 0 .../application/files/{app => expo}/test-setup.ts | 0 .../files/{app => expo}/tsconfig.json.template | 0 .../files/{app => expo}/webpack.config.js.template | 0 packages/react-native-expo/src/utils/versions.ts | 2 +- 15 files changed, 2 insertions(+), 2 deletions(-) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/App.spec.tsx.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/App.tsx.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/app.json.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/assets/favicon.png (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/assets/icon.png (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/assets/splash.png (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/babel.config.js.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/index.js.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/metro.config.js.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/package.json.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/test-setup.ts (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/tsconfig.json.template (100%) rename packages/react-native-expo/src/schematics/application/files/{app => expo}/webpack.config.js.template (100%) diff --git a/packages/react-native-expo/plugins/webpack-nx-expo-config.ts b/packages/react-native-expo/plugins/webpack-nx-expo-config.ts index 4b796a5..79fe85d 100644 --- a/packages/react-native-expo/plugins/webpack-nx-expo-config.ts +++ b/packages/react-native-expo/plugins/webpack-nx-expo-config.ts @@ -1,4 +1,4 @@ -const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); +import { TsconfigPathsPlugin } from 'tsconfig-paths-webpack-plugin'; const babelLoaderRules = { test: /\.tsx?$/, diff --git a/packages/react-native-expo/src/schematics/application/files/app/App.spec.tsx.template b/packages/react-native-expo/src/schematics/application/files/expo/App.spec.tsx.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/App.spec.tsx.template rename to packages/react-native-expo/src/schematics/application/files/expo/App.spec.tsx.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/App.tsx.template b/packages/react-native-expo/src/schematics/application/files/expo/App.tsx.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/App.tsx.template rename to packages/react-native-expo/src/schematics/application/files/expo/App.tsx.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/app.json.template b/packages/react-native-expo/src/schematics/application/files/expo/app.json.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/app.json.template rename to packages/react-native-expo/src/schematics/application/files/expo/app.json.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/assets/favicon.png b/packages/react-native-expo/src/schematics/application/files/expo/assets/favicon.png similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/assets/favicon.png rename to packages/react-native-expo/src/schematics/application/files/expo/assets/favicon.png diff --git a/packages/react-native-expo/src/schematics/application/files/app/assets/icon.png b/packages/react-native-expo/src/schematics/application/files/expo/assets/icon.png similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/assets/icon.png rename to packages/react-native-expo/src/schematics/application/files/expo/assets/icon.png diff --git a/packages/react-native-expo/src/schematics/application/files/app/assets/splash.png b/packages/react-native-expo/src/schematics/application/files/expo/assets/splash.png similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/assets/splash.png rename to packages/react-native-expo/src/schematics/application/files/expo/assets/splash.png diff --git a/packages/react-native-expo/src/schematics/application/files/app/babel.config.js.template b/packages/react-native-expo/src/schematics/application/files/expo/babel.config.js.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/babel.config.js.template rename to packages/react-native-expo/src/schematics/application/files/expo/babel.config.js.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/index.js.template b/packages/react-native-expo/src/schematics/application/files/expo/index.js.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/index.js.template rename to packages/react-native-expo/src/schematics/application/files/expo/index.js.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/metro.config.js.template b/packages/react-native-expo/src/schematics/application/files/expo/metro.config.js.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/metro.config.js.template rename to packages/react-native-expo/src/schematics/application/files/expo/metro.config.js.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/package.json.template b/packages/react-native-expo/src/schematics/application/files/expo/package.json.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/package.json.template rename to packages/react-native-expo/src/schematics/application/files/expo/package.json.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/test-setup.ts b/packages/react-native-expo/src/schematics/application/files/expo/test-setup.ts similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/test-setup.ts rename to packages/react-native-expo/src/schematics/application/files/expo/test-setup.ts diff --git a/packages/react-native-expo/src/schematics/application/files/app/tsconfig.json.template b/packages/react-native-expo/src/schematics/application/files/expo/tsconfig.json.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/tsconfig.json.template rename to packages/react-native-expo/src/schematics/application/files/expo/tsconfig.json.template diff --git a/packages/react-native-expo/src/schematics/application/files/app/webpack.config.js.template b/packages/react-native-expo/src/schematics/application/files/expo/webpack.config.js.template similarity index 100% rename from packages/react-native-expo/src/schematics/application/files/app/webpack.config.js.template rename to packages/react-native-expo/src/schematics/application/files/expo/webpack.config.js.template diff --git a/packages/react-native-expo/src/utils/versions.ts b/packages/react-native-expo/src/utils/versions.ts index 81ca0d8..c1ed1b1 100644 --- a/packages/react-native-expo/src/utils/versions.ts +++ b/packages/react-native-expo/src/utils/versions.ts @@ -10,7 +10,7 @@ export const expoStatusBarVersion = '1.0.2'; export const reactDomVersion = '16.13.1'; export const reactNativeWebVersion = '0.13.12'; export const typesReactDomVersion = '16.9.8'; -export const expoCliVersion = '3.28.2'; +export const expoCliVersion = '3.28.5'; export const testingLibraryReactNativeVersion = '7.1.0'; export const testingLibraryJestNativeVersion = '3.4.3'; export const jestReactNativeVersion = '18.0.0';