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-vite/apps/docs/.eslintrc.cjs | 4 - examples/with-vite/apps/docs/favicon.svg | 15 ---- examples/with-vite/apps/docs/index.html | 13 ---- examples/with-vite/apps/docs/package.json | 22 ------ examples/with-vite/apps/docs/public/vite.svg | 1 - examples/with-vite/apps/docs/src/main.ts | 20 ----- examples/with-vite/apps/docs/src/style.css | 97 ------------------------- examples/with-vite/apps/docs/src/typescript.svg | 1 - examples/with-vite/apps/docs/src/vite-env.d.ts | 1 - examples/with-vite/apps/docs/tsconfig.json | 4 - 10 files changed, 178 deletions(-) delete mode 100644 examples/with-vite/apps/docs/.eslintrc.cjs delete mode 100644 examples/with-vite/apps/docs/favicon.svg delete mode 100644 examples/with-vite/apps/docs/index.html delete mode 100644 examples/with-vite/apps/docs/package.json delete mode 100644 examples/with-vite/apps/docs/public/vite.svg delete mode 100644 examples/with-vite/apps/docs/src/main.ts delete mode 100644 examples/with-vite/apps/docs/src/style.css delete mode 100644 examples/with-vite/apps/docs/src/typescript.svg delete mode 100644 examples/with-vite/apps/docs/src/vite-env.d.ts delete mode 100644 examples/with-vite/apps/docs/tsconfig.json (limited to 'examples/with-vite/apps/docs') diff --git a/examples/with-vite/apps/docs/.eslintrc.cjs b/examples/with-vite/apps/docs/.eslintrc.cjs deleted file mode 100644 index c8df607..0000000 --- a/examples/with-vite/apps/docs/.eslintrc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: ["custom"], -}; diff --git a/examples/with-vite/apps/docs/favicon.svg b/examples/with-vite/apps/docs/favicon.svg deleted file mode 100644 index de4aedd..0000000 --- a/examples/with-vite/apps/docs/favicon.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/with-vite/apps/docs/index.html b/examples/with-vite/apps/docs/index.html deleted file mode 100644 index f86e483..0000000 --- a/examples/with-vite/apps/docs/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite + TS - - -
- - - diff --git a/examples/with-vite/apps/docs/package.json b/examples/with-vite/apps/docs/package.json deleted file mode 100644 index c9adc4b..0000000 --- a/examples/with-vite/apps/docs/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "docs", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "tsc && vite build", - "preview": "vite preview", - "lint": "eslint \"src/**/*.ts\"" - }, - "dependencies": { - "ui": "workspace:*" - }, - "devDependencies": { - "eslint": "^7.32.0", - "eslint-config-custom": "workspace:*", - "tsconfig": "workspace:*", - "typescript": "^4.9.4", - "vite": "^4.0.3" - } -} diff --git a/examples/with-vite/apps/docs/public/vite.svg b/examples/with-vite/apps/docs/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/examples/with-vite/apps/docs/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/examples/with-vite/apps/docs/src/main.ts b/examples/with-vite/apps/docs/src/main.ts deleted file mode 100644 index 85103f5..0000000 --- a/examples/with-vite/apps/docs/src/main.ts +++ /dev/null @@ -1,20 +0,0 @@ -import "./style.css"; -import typescriptLogo from "./typescript.svg"; -import { Header, Counter, setupCounter } from "ui"; - -document.querySelector("#app")!.innerHTML = ` -
- - - - - - - ${Header({ title: "Docs" })} -
- ${Counter()} -
-
-`; - -setupCounter(document.querySelector("#counter")!); diff --git a/examples/with-vite/apps/docs/src/style.css b/examples/with-vite/apps/docs/src/style.css deleted file mode 100644 index 1232080..0000000 --- a/examples/with-vite/apps/docs/src/style.css +++ /dev/null @@ -1,97 +0,0 @@ -:root { - font-family: Inter, Avenir, Helvetica, Arial, sans-serif; - font-size: 16px; - line-height: 24px; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-text-size-adjust: 100%; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.vanilla:hover { - filter: drop-shadow(0 0 2em #f7df1eaa); -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/examples/with-vite/apps/docs/src/typescript.svg b/examples/with-vite/apps/docs/src/typescript.svg deleted file mode 100644 index d91c910..0000000 --- a/examples/with-vite/apps/docs/src/typescript.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/examples/with-vite/apps/docs/src/vite-env.d.ts b/examples/with-vite/apps/docs/src/vite-env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/examples/with-vite/apps/docs/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/examples/with-vite/apps/docs/tsconfig.json b/examples/with-vite/apps/docs/tsconfig.json deleted file mode 100644 index a803037..0000000 --- a/examples/with-vite/apps/docs/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "tsconfig/vite.json", - "include": ["src"] -} -- cgit v1.2.3-70-g09d2