diff --git a/app/demo-create-vite/.eslintrc.cjs b/app/demo-create-vite/.eslintrc.cjs deleted file mode 100644 index c2c6516..0000000 --- a/app/demo-create-vite/.eslintrc.cjs +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-env node */ -require('@rushstack/eslint-patch/modern-module-resolution'); - -module.exports = { - root: true, - extends: [ - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/eslint-config-typescript', - '@vue/eslint-config-prettier/skip-formatting', - ], - parserOptions: { - ecmaVersion: 'latest', - }, - rules: { - 'no-console': 'warn', - }, -}; diff --git a/app/demo-create-vite/index.html b/app/demo-create-vite/index.html deleted file mode 100644 index dde16aa..0000000 --- a/app/demo-create-vite/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite + Vue + TS - - -
- - - diff --git a/app/demo-create-vite/package.json b/app/demo-create-vite/package.json deleted file mode 100644 index c774b3f..0000000 --- a/app/demo-create-vite/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "demo-create-vite", - "version": "0.0.0", - "private": true, - "type": "module", - "engines": { - "node": ">=20.10.0", - "pnpm": ">=8.14.0" - }, - "scripts": { - "clean": "rm -rf dist", - "start": "vite", - "start:fresh": "vite --force", - "preview": "vite preview --host", - "build": "vue-tsc && vite build", - "lint": "eslint . --ext .vue,.ts", - "lint:fix": "eslint . --fix --ext .vue,.ts", - "type-check": "vue-tsc" - }, - "dependencies": { - "@earwurm/utilities": "workspace:*", - "earwurm": "workspace:*", - "vue": "^3.4.15" - }, - "devDependencies": { - "@earwurm/types": "workspace:*", - "@rushstack/eslint-patch": "^1.7.0", - "@vitejs/plugin-vue": "^5.0.3", - "vue-tsc": "^1.8.27" - } -} diff --git a/app/demo-create-vite/public/vite.svg b/app/demo-create-vite/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/app/demo-create-vite/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/demo-create-vite/src/App.vue b/app/demo-create-vite/src/App.vue deleted file mode 100644 index 4d620b2..0000000 --- a/app/demo-create-vite/src/App.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - diff --git a/app/demo-create-vite/src/assets/vue.svg b/app/demo-create-vite/src/assets/vue.svg deleted file mode 100644 index 770e9d3..0000000 --- a/app/demo-create-vite/src/assets/vue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/demo-create-vite/src/components/HelloWorld.vue b/app/demo-create-vite/src/components/HelloWorld.vue deleted file mode 100644 index 319fd28..0000000 --- a/app/demo-create-vite/src/components/HelloWorld.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/app/demo-create-vite/src/main.ts b/app/demo-create-vite/src/main.ts deleted file mode 100644 index abc64eb..0000000 --- a/app/demo-create-vite/src/main.ts +++ /dev/null @@ -1,5 +0,0 @@ -import {createApp} from 'vue'; -import './style.css'; -import App from './App.vue'; - -createApp(App).mount('#app'); diff --git a/app/demo-create-vite/src/style.css b/app/demo-create-vite/src/style.css deleted file mode 100644 index bb131d6..0000000 --- a/app/demo-create-vite/src/style.css +++ /dev/null @@ -1,79 +0,0 @@ -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - 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; -} - -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; -} - -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; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/app/demo-create-vite/src/vite-env.d.ts b/app/demo-create-vite/src/vite-env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/app/demo-create-vite/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/app/demo-create-vite/tsconfig.json b/app/demo-create-vite/tsconfig.json deleted file mode 100644 index 4e268d8..0000000 --- a/app/demo-create-vite/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "compilerOptions": { - "target": "es2020", - "useDefineForClassFields": true, - "module": "esnext", - "lib": ["es2020", "DOM", "DOM.Iterable"], - "skipLibCheck": true, - - /* Bundler mode */ - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "preserve", - - /* Linting */ - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true - }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], - "references": [{"path": "./tsconfig.node.json"}] -} diff --git a/app/demo-create-vite/tsconfig.node.json b/app/demo-create-vite/tsconfig.node.json deleted file mode 100644 index c172b46..0000000 --- a/app/demo-create-vite/tsconfig.node.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "skipLibCheck": true, - "module": "esnext", - "moduleResolution": "bundler", - "allowSyntheticDefaultImports": true - }, - "include": ["vite.config.ts"] -} diff --git a/app/demo-create-vite/vite.config.ts b/app/demo-create-vite/vite.config.ts deleted file mode 100644 index 2eb196a..0000000 --- a/app/demo-create-vite/vite.config.ts +++ /dev/null @@ -1,7 +0,0 @@ -import {defineConfig} from 'vite'; -import vue from '@vitejs/plugin-vue'; - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()], -}); diff --git a/app/demo-create-vue/.eslintrc.cjs b/app/demo-create-vue/.eslintrc.cjs deleted file mode 100644 index c2c6516..0000000 --- a/app/demo-create-vue/.eslintrc.cjs +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-env node */ -require('@rushstack/eslint-patch/modern-module-resolution'); - -module.exports = { - root: true, - extends: [ - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/eslint-config-typescript', - '@vue/eslint-config-prettier/skip-formatting', - ], - parserOptions: { - ecmaVersion: 'latest', - }, - rules: { - 'no-console': 'warn', - }, -}; diff --git a/app/demo-create-vue/env.d.ts b/app/demo-create-vue/env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/app/demo-create-vue/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/app/demo-create-vue/index.html b/app/demo-create-vue/index.html deleted file mode 100644 index dcd6967..0000000 --- a/app/demo-create-vue/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/app/demo-create-vue/package.json b/app/demo-create-vue/package.json deleted file mode 100644 index 575f34c..0000000 --- a/app/demo-create-vue/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "demo-create-vue", - "version": "0.0.0", - "private": true, - "type": "module", - "engines": { - "node": ">=20.10.0", - "pnpm": ">=8.14.0" - }, - "scripts": { - "clean": "rm -rf dist && rm -rf *.tsbuildinfo", - "start": "vite", - "start:fresh": "vite --force", - "preview": "vite preview --host", - "build": "pnpm --parallel type-check && vite build", - "lint": "eslint . --ext .vue,.ts", - "lint:fix": "eslint . --fix --ext .vue,.ts", - "type-check": "vue-tsc --build --force" - }, - "dependencies": { - "@earwurm/utilities": "workspace:*", - "earwurm": "workspace:*", - "vue": "^3.4.15" - }, - "devDependencies": { - "@earwurm/types": "workspace:*", - "@rushstack/eslint-patch": "^1.7.0", - "@tsconfig/node20": "^20.1.2", - "@vitejs/plugin-vue": "^5.0.3", - "@vue/eslint-config-prettier": "^9.0.0", - "@vue/eslint-config-typescript": "^12.0.0", - "@vue/tsconfig": "^0.5.1", - "eslint-plugin-vue": "^9.20.1", - "vue-tsc": "^1.8.27" - } -} diff --git a/app/demo-create-vue/public/favicon.ico b/app/demo-create-vue/public/favicon.ico deleted file mode 100644 index df36fcf..0000000 Binary files a/app/demo-create-vue/public/favicon.ico and /dev/null differ diff --git a/app/demo-create-vue/src/App.vue b/app/demo-create-vue/src/App.vue deleted file mode 100644 index 17b5d25..0000000 --- a/app/demo-create-vue/src/App.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - - diff --git a/app/demo-create-vue/src/assets/base.css b/app/demo-create-vue/src/assets/base.css deleted file mode 100644 index 8816868..0000000 --- a/app/demo-create-vue/src/assets/base.css +++ /dev/null @@ -1,86 +0,0 @@ -/* color palette from */ -:root { - --vt-c-white: #ffffff; - --vt-c-white-soft: #f8f8f8; - --vt-c-white-mute: #f2f2f2; - - --vt-c-black: #181818; - --vt-c-black-soft: #222222; - --vt-c-black-mute: #282828; - - --vt-c-indigo: #2c3e50; - - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); - --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); - --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); - --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); - - --vt-c-text-light-1: var(--vt-c-indigo); - --vt-c-text-light-2: rgba(60, 60, 60, 0.66); - --vt-c-text-dark-1: var(--vt-c-white); - --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); -} - -/* semantic color variables for this project */ -:root { - --color-background: var(--vt-c-white); - --color-background-soft: var(--vt-c-white-soft); - --color-background-mute: var(--vt-c-white-mute); - - --color-border: var(--vt-c-divider-light-2); - --color-border-hover: var(--vt-c-divider-light-1); - - --color-heading: var(--vt-c-text-light-1); - --color-text: var(--vt-c-text-light-1); - - --section-gap: 160px; -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--vt-c-black); - --color-background-soft: var(--vt-c-black-soft); - --color-background-mute: var(--vt-c-black-mute); - - --color-border: var(--vt-c-divider-dark-2); - --color-border-hover: var(--vt-c-divider-dark-1); - - --color-heading: var(--vt-c-text-dark-1); - --color-text: var(--vt-c-text-dark-2); - } -} - -*, -*::before, -*::after { - box-sizing: border-box; - margin: 0; - font-weight: normal; -} - -body { - min-height: 100vh; - color: var(--color-text); - background: var(--color-background); - transition: - color 0.5s, - background-color 0.5s; - line-height: 1.6; - font-family: - Inter, - -apple-system, - BlinkMacSystemFont, - 'Segoe UI', - Roboto, - Oxygen, - Ubuntu, - Cantarell, - 'Fira Sans', - 'Droid Sans', - 'Helvetica Neue', - sans-serif; - font-size: 15px; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} diff --git a/app/demo-create-vue/src/assets/logo.svg b/app/demo-create-vue/src/assets/logo.svg deleted file mode 100644 index 7565660..0000000 --- a/app/demo-create-vue/src/assets/logo.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/app/demo-create-vue/src/assets/main.css b/app/demo-create-vue/src/assets/main.css deleted file mode 100644 index 36fb845..0000000 --- a/app/demo-create-vue/src/assets/main.css +++ /dev/null @@ -1,35 +0,0 @@ -@import './base.css'; - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - font-weight: normal; -} - -a, -.green { - text-decoration: none; - color: hsla(160, 100%, 37%, 1); - transition: 0.4s; - padding: 3px; -} - -@media (hover: hover) { - a:hover { - background-color: hsla(160, 100%, 37%, 0.2); - } -} - -@media (min-width: 1024px) { - body { - display: flex; - place-items: center; - } - - #app { - display: grid; - grid-template-columns: 1fr 1fr; - padding: 0 2rem; - } -} diff --git a/app/demo-create-vue/src/components/HelloWorld.vue b/app/demo-create-vue/src/components/HelloWorld.vue deleted file mode 100644 index f13846d..0000000 --- a/app/demo-create-vue/src/components/HelloWorld.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - - - diff --git a/app/demo-create-vue/src/components/TheWelcome.vue b/app/demo-create-vue/src/components/TheWelcome.vue deleted file mode 100644 index 0143747..0000000 --- a/app/demo-create-vue/src/components/TheWelcome.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - diff --git a/app/demo-create-vue/src/components/WelcomeItem.vue b/app/demo-create-vue/src/components/WelcomeItem.vue deleted file mode 100644 index 6d7086a..0000000 --- a/app/demo-create-vue/src/components/WelcomeItem.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/app/demo-create-vue/src/components/icons/IconCommunity.vue b/app/demo-create-vue/src/components/icons/IconCommunity.vue deleted file mode 100644 index ea8ddef..0000000 --- a/app/demo-create-vue/src/components/icons/IconCommunity.vue +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/app/demo-create-vue/src/components/icons/IconDocumentation.vue b/app/demo-create-vue/src/components/icons/IconDocumentation.vue deleted file mode 100644 index 63a8534..0000000 --- a/app/demo-create-vue/src/components/icons/IconDocumentation.vue +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/app/demo-create-vue/src/components/icons/IconEcosystem.vue b/app/demo-create-vue/src/components/icons/IconEcosystem.vue deleted file mode 100644 index 385a202..0000000 --- a/app/demo-create-vue/src/components/icons/IconEcosystem.vue +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/app/demo-create-vue/src/components/icons/IconSupport.vue b/app/demo-create-vue/src/components/icons/IconSupport.vue deleted file mode 100644 index 7db961e..0000000 --- a/app/demo-create-vue/src/components/icons/IconSupport.vue +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/app/demo-create-vue/src/components/icons/IconTooling.vue b/app/demo-create-vue/src/components/icons/IconTooling.vue deleted file mode 100644 index 660598d..0000000 --- a/app/demo-create-vue/src/components/icons/IconTooling.vue +++ /dev/null @@ -1,19 +0,0 @@ - - diff --git a/app/demo-create-vue/src/main.ts b/app/demo-create-vue/src/main.ts deleted file mode 100644 index 198aa7c..0000000 --- a/app/demo-create-vue/src/main.ts +++ /dev/null @@ -1,6 +0,0 @@ -import './assets/main.css'; - -import {createApp} from 'vue'; -import App from './App.vue'; - -createApp(App).mount('#app'); diff --git a/app/demo-create-vue/tsconfig.app.json b/app/demo-create-vue/tsconfig.app.json deleted file mode 100644 index 0410f90..0000000 --- a/app/demo-create-vue/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "@vue/tsconfig/tsconfig.dom.json", - "compilerOptions": { - "composite": true, - "noEmit": true, - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } - }, - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"] -} diff --git a/app/demo-create-vue/tsconfig.json b/app/demo-create-vue/tsconfig.json deleted file mode 100644 index 66b5e57..0000000 --- a/app/demo-create-vue/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "files": [], - "references": [ - { - "path": "./tsconfig.node.json" - }, - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/app/demo-create-vue/tsconfig.node.json b/app/demo-create-vue/tsconfig.node.json deleted file mode 100644 index 7a61a0c..0000000 --- a/app/demo-create-vue/tsconfig.node.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "@tsconfig/node20/tsconfig.json", - "compilerOptions": { - "composite": true, - "noEmit": true, - "module": "esnext", - "moduleResolution": "bundler", - "types": ["node"] - }, - "include": ["vite.config.ts"] -} diff --git a/app/demo-create-vue/vite.config.ts b/app/demo-create-vue/vite.config.ts deleted file mode 100644 index 69dfc4b..0000000 --- a/app/demo-create-vue/vite.config.ts +++ /dev/null @@ -1,12 +0,0 @@ -import {defineConfig} from 'vite'; -import vue from '@vitejs/plugin-vue'; -import {fileURLToPath, URL} from 'node:url'; - -export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)), - }, - }, -}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f48aa30..158667a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,71 +63,6 @@ importers: specifier: ^1.2.1 version: 1.2.1(@types/node@20.11.5)(@vitest/ui@1.2.1)(happy-dom@13.2.0) - app/demo-create-vite: - dependencies: - '@earwurm/utilities': - specifier: workspace:* - version: link:../../pkg/utilities - earwurm: - specifier: workspace:* - version: link:../../pkg/earwurm - vue: - specifier: ^3.4.15 - version: 3.4.15(typescript@5.3.3) - devDependencies: - '@earwurm/types': - specifier: workspace:* - version: link:../../pkg/types - '@rushstack/eslint-patch': - specifier: ^1.7.0 - version: 1.7.0 - '@vitejs/plugin-vue': - specifier: ^5.0.3 - version: 5.0.3(vite@5.0.12)(vue@3.4.15) - vue-tsc: - specifier: ^1.8.27 - version: 1.8.27(typescript@5.3.3) - - app/demo-create-vue: - dependencies: - '@earwurm/utilities': - specifier: workspace:* - version: link:../../pkg/utilities - earwurm: - specifier: workspace:* - version: link:../../pkg/earwurm - vue: - specifier: ^3.4.15 - version: 3.4.15(typescript@5.3.3) - devDependencies: - '@earwurm/types': - specifier: workspace:* - version: link:../../pkg/types - '@rushstack/eslint-patch': - specifier: ^1.7.0 - version: 1.7.0 - '@tsconfig/node20': - specifier: ^20.1.2 - version: 20.1.2 - '@vitejs/plugin-vue': - specifier: ^5.0.3 - version: 5.0.3(vite@5.0.12)(vue@3.4.15) - '@vue/eslint-config-prettier': - specifier: ^9.0.0 - version: 9.0.0(eslint@8.56.0)(prettier@3.2.4) - '@vue/eslint-config-typescript': - specifier: ^12.0.0 - version: 12.0.0(eslint-plugin-vue@9.20.1)(eslint@8.56.0)(typescript@5.3.3) - '@vue/tsconfig': - specifier: ^0.5.1 - version: 0.5.1 - eslint-plugin-vue: - specifier: ^9.20.1 - version: 9.20.1(eslint@8.56.0) - vue-tsc: - specifier: ^1.8.27 - version: 1.8.27(typescript@5.3.3) - app/website: dependencies: '@earwurm/utilities':