From 94071d7ce16c56641d67d488e2bac6be84ffe731 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 3 Nov 2023 21:17:06 +0800 Subject: chore: delete useless files --- examples/with-react-native-web/.gitignore | 37 - examples/with-react-native-web/README.md | 32 - .../apps/native/.expo-shared/assets.json | 4 - .../with-react-native-web/apps/native/.gitignore | 14 - examples/with-react-native-web/apps/native/App.tsx | 33 - .../with-react-native-web/apps/native/README.md | 3 - .../with-react-native-web/apps/native/app.json | 31 - .../apps/native/assets/adaptive-icon.png | Bin 17547 -> 0 bytes .../apps/native/assets/favicon.png | Bin 1466 -> 0 bytes .../apps/native/assets/icon.png | Bin 22380 -> 0 bytes .../apps/native/assets/splash.png | Bin 47346 -> 0 bytes .../apps/native/babel.config.js | 6 - .../with-react-native-web/apps/native/index.js | 8 - .../apps/native/metro.config.js | 21 - .../with-react-native-web/apps/native/package.json | 29 - .../apps/native/tsconfig.json | 6 - .../apps/web/.babel.config.js | 4 - examples/with-react-native-web/apps/web/.gitignore | 34 - examples/with-react-native-web/apps/web/README.md | 30 - .../with-react-native-web/apps/web/next-env.d.ts | 5 - .../with-react-native-web/apps/web/next.config.js | 18 - .../with-react-native-web/apps/web/package.json | 27 - .../with-react-native-web/apps/web/pages/_app.tsx | 6 - .../with-react-native-web/apps/web/pages/index.tsx | 12 - .../apps/web/styles/global.css | 8 - .../apps/web/styles/index.module.css | 3 - .../with-react-native-web/apps/web/tsconfig.json | 5 - examples/with-react-native-web/meta.json | 6 - examples/with-react-native-web/package.json | 18 - .../packages/tsconfig/base.json | 20 - .../packages/tsconfig/nextjs.json | 20 - .../packages/tsconfig/package.json | 9 - .../packages/tsconfig/react-native-library.json | 13 - .../with-react-native-web/packages/ui/.gitignore | 28 - .../with-react-native-web/packages/ui/package.json | 22 - .../packages/ui/src/button.tsx | 37 - .../packages/ui/src/index.tsx | 1 - .../packages/ui/tsconfig.json | 8 - examples/with-react-native-web/turbo.json | 18 - examples/with-react-native-web/yarn.lock | 8148 -------------------- 40 files changed, 8724 deletions(-) delete mode 100644 examples/with-react-native-web/.gitignore delete mode 100644 examples/with-react-native-web/README.md delete mode 100644 examples/with-react-native-web/apps/native/.expo-shared/assets.json delete mode 100644 examples/with-react-native-web/apps/native/.gitignore delete mode 100644 examples/with-react-native-web/apps/native/App.tsx delete mode 100644 examples/with-react-native-web/apps/native/README.md delete mode 100644 examples/with-react-native-web/apps/native/app.json delete mode 100644 examples/with-react-native-web/apps/native/assets/adaptive-icon.png delete mode 100644 examples/with-react-native-web/apps/native/assets/favicon.png delete mode 100644 examples/with-react-native-web/apps/native/assets/icon.png delete mode 100644 examples/with-react-native-web/apps/native/assets/splash.png delete mode 100644 examples/with-react-native-web/apps/native/babel.config.js delete mode 100644 examples/with-react-native-web/apps/native/index.js delete mode 100644 examples/with-react-native-web/apps/native/metro.config.js delete mode 100644 examples/with-react-native-web/apps/native/package.json delete mode 100644 examples/with-react-native-web/apps/native/tsconfig.json delete mode 100644 examples/with-react-native-web/apps/web/.babel.config.js delete mode 100644 examples/with-react-native-web/apps/web/.gitignore delete mode 100644 examples/with-react-native-web/apps/web/README.md delete mode 100644 examples/with-react-native-web/apps/web/next-env.d.ts delete mode 100644 examples/with-react-native-web/apps/web/next.config.js delete mode 100644 examples/with-react-native-web/apps/web/package.json delete mode 100644 examples/with-react-native-web/apps/web/pages/_app.tsx delete mode 100644 examples/with-react-native-web/apps/web/pages/index.tsx delete mode 100644 examples/with-react-native-web/apps/web/styles/global.css delete mode 100644 examples/with-react-native-web/apps/web/styles/index.module.css delete mode 100644 examples/with-react-native-web/apps/web/tsconfig.json delete mode 100644 examples/with-react-native-web/meta.json delete mode 100644 examples/with-react-native-web/package.json delete mode 100644 examples/with-react-native-web/packages/tsconfig/base.json delete mode 100644 examples/with-react-native-web/packages/tsconfig/nextjs.json delete mode 100644 examples/with-react-native-web/packages/tsconfig/package.json delete mode 100644 examples/with-react-native-web/packages/tsconfig/react-native-library.json delete mode 100644 examples/with-react-native-web/packages/ui/.gitignore delete mode 100644 examples/with-react-native-web/packages/ui/package.json delete mode 100644 examples/with-react-native-web/packages/ui/src/button.tsx delete mode 100644 examples/with-react-native-web/packages/ui/src/index.tsx delete mode 100644 examples/with-react-native-web/packages/ui/tsconfig.json delete mode 100644 examples/with-react-native-web/turbo.json delete mode 100644 examples/with-react-native-web/yarn.lock (limited to 'examples/with-react-native-web') diff --git a/examples/with-react-native-web/.gitignore b/examples/with-react-native-web/.gitignore deleted file mode 100644 index 419ad3c..0000000 --- a/examples/with-react-native-web/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -node_modules -.pnp -.pnp.js - -# testing -coverage - -# next.js -.next/ -.swc/ -out/ -build - -# expo -.expo - -# misc -.DS_Store -*.pem -dist - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# turbo -.turbo \ No newline at end of file diff --git a/examples/with-react-native-web/README.md b/examples/with-react-native-web/README.md deleted file mode 100644 index 327ca66..0000000 --- a/examples/with-react-native-web/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# Turborepo react-native starter - -This is an official starter Turborepo. - -## Using this example - -Run the following command: - -```sh -npx create-turbo@latest -e with-react-native-web -``` - -## What's inside? - -This Turborepo includes the following packages/apps: - -### Apps and Packages - -- `native`: a [react-native](https://reactnative.dev/) app built with [expo](https://docs.expo.dev/) -- `web`: a [Next.js](https://nextjs.org/) app built with [react-native-web](https://necolas.github.io/react-native-web/) -- `ui`: a stub [react-native](https://reactnative.dev/) component library shared by both `web` and `native` applications -- `tsconfig`: `tsconfig.json`s used throughout the monorepo - -Each package/app is 100% [TypeScript](https://www.typescriptlang.org/). - -### Utilities - -This Turborepo has some additional tools already setup for you: - -- [Expo](https://docs.expo.dev/) for native development -- [TypeScript](https://www.typescriptlang.org/) for static type checking -- [Prettier](https://prettier.io) for code formatting diff --git a/examples/with-react-native-web/apps/native/.expo-shared/assets.json b/examples/with-react-native-web/apps/native/.expo-shared/assets.json deleted file mode 100644 index 1e6decf..0000000 --- a/examples/with-react-native-web/apps/native/.expo-shared/assets.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true, - "40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true -} diff --git a/examples/with-react-native-web/apps/native/.gitignore b/examples/with-react-native-web/apps/native/.gitignore deleted file mode 100644 index ec8a36a..0000000 --- a/examples/with-react-native-web/apps/native/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -node_modules/ -.expo/ -dist/ -npm-debug.* -*.jks -*.p8 -*.p12 -*.key -*.mobileprovision -*.orig.* -web-build/ - -# macOS -.DS_Store diff --git a/examples/with-react-native-web/apps/native/App.tsx b/examples/with-react-native-web/apps/native/App.tsx deleted file mode 100644 index e6fbd5b..0000000 --- a/examples/with-react-native-web/apps/native/App.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import { StyleSheet, Text, View } from "react-native"; -import { StatusBar } from "expo-status-bar"; -import { Button } from "ui"; - -export default function Native() { - return ( - - Native -