From dabc64b9f9a90eb73f45ef50fe5fe6656b2b8114 Mon Sep 17 00:00:00 2001 From: Barbara Honhoff Date: Thu, 6 Apr 2023 16:30:36 +0200 Subject: [PATCH] Remove the example apps --- apps/docs/.eslintrc.js | 4 ---- apps/docs/README.md | 30 ------------------------------ apps/docs/next-env.d.ts | 5 ----- apps/docs/next.config.js | 4 ---- apps/docs/package.json | 27 --------------------------- apps/docs/pages/index.tsx | 10 ---------- apps/docs/tsconfig.json | 5 ----- apps/web/.eslintrc.js | 4 ---- apps/web/README.md | 30 ------------------------------ apps/web/next-env.d.ts | 5 ----- apps/web/next.config.js | 4 ---- apps/web/package.json | 27 --------------------------- apps/web/pages/index.tsx | 10 ---------- apps/web/tsconfig.json | 5 ----- 14 files changed, 170 deletions(-) delete mode 100644 apps/docs/.eslintrc.js delete mode 100644 apps/docs/README.md delete mode 100644 apps/docs/next-env.d.ts delete mode 100644 apps/docs/next.config.js delete mode 100644 apps/docs/package.json delete mode 100644 apps/docs/pages/index.tsx delete mode 100644 apps/docs/tsconfig.json delete mode 100644 apps/web/.eslintrc.js delete mode 100644 apps/web/README.md delete mode 100644 apps/web/next-env.d.ts delete mode 100644 apps/web/next.config.js delete mode 100644 apps/web/package.json delete mode 100644 apps/web/pages/index.tsx delete mode 100644 apps/web/tsconfig.json diff --git a/apps/docs/.eslintrc.js b/apps/docs/.eslintrc.js deleted file mode 100644 index 03ee743..0000000 --- a/apps/docs/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: ['custom'], -}; diff --git a/apps/docs/README.md b/apps/docs/README.md deleted file mode 100644 index 4fae62a..0000000 --- a/apps/docs/README.md +++ /dev/null @@ -1,30 +0,0 @@ -## Getting Started - -First, run the development server: - -```bash -yarn dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn/foundations/about-nextjs) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/apps/docs/next-env.d.ts b/apps/docs/next-env.d.ts deleted file mode 100644 index 4f11a03..0000000 --- a/apps/docs/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/apps/docs/next.config.js b/apps/docs/next.config.js deleted file mode 100644 index 9863ce4..0000000 --- a/apps/docs/next.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - reactStrictMode: true, - transpilePackages: ['ui'], -}; diff --git a/apps/docs/package.json b/apps/docs/package.json deleted file mode 100644 index 371f57c..0000000 --- a/apps/docs/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "docs", - "version": "0.0.0", - "private": true, - "scripts": { - "dev": "next dev --port 3001", - "build": "next build", - "start": "next start", - "lint": "next lint" - }, - "dependencies": { - "next": "^13.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "ui": "*" - }, - "devDependencies": { - "@babel/core": "^7.0.0", - "eslint": "7.32.0", - "eslint-config-custom": "*", - "tsconfig": "*", - "@types/node": "^17.0.12", - "@types/react": "^18.0.22", - "@types/react-dom": "^18.0.7", - "typescript": "^4.5.3" - } -} diff --git a/apps/docs/pages/index.tsx b/apps/docs/pages/index.tsx deleted file mode 100644 index e648b1d..0000000 --- a/apps/docs/pages/index.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import {Button} from 'ui'; - -export default function Docs() { - return ( -
-

Docs

-
- ); -} diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json deleted file mode 100644 index a355365..0000000 --- a/apps/docs/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "tsconfig/nextjs.json", - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] -} diff --git a/apps/web/.eslintrc.js b/apps/web/.eslintrc.js deleted file mode 100644 index c8df607..0000000 --- a/apps/web/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: ["custom"], -}; diff --git a/apps/web/README.md b/apps/web/README.md deleted file mode 100644 index 4fae62a..0000000 --- a/apps/web/README.md +++ /dev/null @@ -1,30 +0,0 @@ -## Getting Started - -First, run the development server: - -```bash -yarn dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn/foundations/about-nextjs) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/apps/web/next-env.d.ts b/apps/web/next-env.d.ts deleted file mode 100644 index 4f11a03..0000000 --- a/apps/web/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/apps/web/next.config.js b/apps/web/next.config.js deleted file mode 100644 index fdda6aa..0000000 --- a/apps/web/next.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - reactStrictMode: true, - transpilePackages: ["ui"], -}; diff --git a/apps/web/package.json b/apps/web/package.json deleted file mode 100644 index 35b7758..0000000 --- a/apps/web/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "web", - "version": "0.0.0", - "private": true, - "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "lint": "next lint" - }, - "dependencies": { - "next": "^13.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "ui": "*" - }, - "devDependencies": { - "@babel/core": "^7.0.0", - "eslint": "7.32.0", - "eslint-config-custom": "*", - "tsconfig": "*", - "@types/node": "^17.0.12", - "@types/react": "^18.0.22", - "@types/react-dom": "^18.0.7", - "typescript": "^4.5.3" - } -} diff --git a/apps/web/pages/index.tsx b/apps/web/pages/index.tsx deleted file mode 100644 index 055e015..0000000 --- a/apps/web/pages/index.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import {Button} from 'ui'; - -export default function Web() { - return ( -
-

Web

-
- ); -} diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json deleted file mode 100644 index a355365..0000000 --- a/apps/web/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "tsconfig/nextjs.json", - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] -}