aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/basic/apps/web
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:17:06 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:17:06 +0800
commit94071d7ce16c56641d67d488e2bac6be84ffe731 (patch)
treed837b71575aba805e18b3db3d056a106d81818fe /examples/basic/apps/web
parent9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff)
downloadHydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz
HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip
chore: delete useless files
Diffstat (limited to 'examples/basic/apps/web')
-rw-r--r--examples/basic/apps/web/.eslintrc.js4
-rw-r--r--examples/basic/apps/web/.gitignore34
-rw-r--r--examples/basic/apps/web/README.md30
-rw-r--r--examples/basic/apps/web/next-env.d.ts5
-rw-r--r--examples/basic/apps/web/next.config.js4
-rw-r--r--examples/basic/apps/web/package.json25
-rw-r--r--examples/basic/apps/web/pages/index.tsx10
-rw-r--r--examples/basic/apps/web/tsconfig.json5
8 files changed, 0 insertions, 117 deletions
diff --git a/examples/basic/apps/web/.eslintrc.js b/examples/basic/apps/web/.eslintrc.js
deleted file mode 100644
index c8df607..0000000
--- a/examples/basic/apps/web/.eslintrc.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- root: true,
- extends: ["custom"],
-};
diff --git a/examples/basic/apps/web/.gitignore b/examples/basic/apps/web/.gitignore
deleted file mode 100644
index 1437c53..0000000
--- a/examples/basic/apps/web/.gitignore
+++ /dev/null
@@ -1,34 +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/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
-
-# vercel
-.vercel
diff --git a/examples/basic/apps/web/README.md b/examples/basic/apps/web/README.md
deleted file mode 100644
index 4fae62a..0000000
--- a/examples/basic/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/examples/basic/apps/web/next-env.d.ts b/examples/basic/apps/web/next-env.d.ts
deleted file mode 100644
index 4f11a03..0000000
--- a/examples/basic/apps/web/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-/// <reference types="next" />
-/// <reference types="next/image-types/global" />
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/basic/apps/web/next.config.js b/examples/basic/apps/web/next.config.js
deleted file mode 100644
index fdda6aa..0000000
--- a/examples/basic/apps/web/next.config.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- reactStrictMode: true,
- transpilePackages: ["ui"],
-};
diff --git a/examples/basic/apps/web/package.json b/examples/basic/apps/web/package.json
deleted file mode 100644
index f1a4a37..0000000
--- a/examples/basic/apps/web/package.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "name": "web",
- "version": "1.0.0",
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start",
- "lint": "next lint"
- },
- "dependencies": {
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "ui": "workspace:*"
- },
- "devDependencies": {
- "@types/node": "^17.0.12",
- "@types/react": "^18.0.22",
- "@types/react-dom": "^18.0.7",
- "eslint-config-custom": "workspace:*",
- "tsconfig": "workspace:*",
- "typescript": "^4.5.3"
- }
-}
diff --git a/examples/basic/apps/web/pages/index.tsx b/examples/basic/apps/web/pages/index.tsx
deleted file mode 100644
index 6ec0887..0000000
--- a/examples/basic/apps/web/pages/index.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Button } from "ui";
-
-export default function Web() {
- return (
- <div>
- <h1>Web</h1>
- <Button />
- </div>
- );
-}
diff --git a/examples/basic/apps/web/tsconfig.json b/examples/basic/apps/web/tsconfig.json
deleted file mode 100644
index a355365..0000000
--- a/examples/basic/apps/web/tsconfig.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "extends": "tsconfig/nextjs.json",
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}