From 569666fb8223ae8ebfccde589f7a0b2cdb619f85 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 17 Dec 2024 00:10:24 +0100 Subject: [PATCH] refactor: :fire: Remove old code --- nuxt.config.ts | 5 -- packages/ui/components/buttons/button.vue | 42 -------------- packages/ui/components/icons/icon.vue | 11 ---- packages/ui/demo/buttons-demo.vue | 68 ----------------------- packages/ui/package.json | 52 ----------------- pages/notifications.vue | 15 +---- 6 files changed, 2 insertions(+), 191 deletions(-) delete mode 100644 packages/ui/components/buttons/button.vue delete mode 100644 packages/ui/components/icons/icon.vue delete mode 100644 packages/ui/demo/buttons-demo.vue delete mode 100644 packages/ui/package.json diff --git a/nuxt.config.ts b/nuxt.config.ts index 3e0de10..b7c5377 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -10,11 +10,6 @@ export default defineNuxtConfig({ "@nuxtjs/color-mode", ], ssr: false, - vue: { - compilerOptions: { - isCustomElement: (tag) => tag === "iconify-icon", - }, - }, components: { dirs: [], }, diff --git a/packages/ui/components/buttons/button.vue b/packages/ui/components/buttons/button.vue deleted file mode 100644 index 14fe205..0000000 --- a/packages/ui/components/buttons/button.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - - - \ No newline at end of file diff --git a/packages/ui/components/icons/icon.vue b/packages/ui/components/icons/icon.vue deleted file mode 100644 index fa0b332..0000000 --- a/packages/ui/components/icons/icon.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - \ No newline at end of file diff --git a/packages/ui/demo/buttons-demo.vue b/packages/ui/demo/buttons-demo.vue deleted file mode 100644 index 85339f9..0000000 --- a/packages/ui/demo/buttons-demo.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - \ No newline at end of file diff --git a/packages/ui/package.json b/packages/ui/package.json deleted file mode 100644 index 4ac7f9e..0000000 --- a/packages/ui/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@cpluspatch/ui", - "displayName": "CPlusPatch UI", - "version": "0.0.0", - "author": { - "email": "jesse.wierzbinski@cpluspatch.com", - "name": "Jesse Wierzbinski (CPlusPatch)", - "url": "https://cpluspatch.com" - }, - "readme": "README.md", - "repository": { - "type": "git", - "url": "https://github.com/versia-pub/frontend.git", - "directory": "packages/ui" - }, - "bugs": { - "url": "https://github.com/versia-pub/frontend/issues" - }, - "license": "MIT", - "contributors": [ - { - "email": "jesse.wierzbinski@cpluspatch.com", - "name": "Jesse Wierzbinski (CPlusPatch)", - "url": "https://cpluspatch.com" - } - ], - "maintainers": [ - { - "email": "jesse.wierzbinski@cpluspatch.com", - "name": "Jesse Wierzbinski (CPlusPatch)", - "url": "https://cpluspatch.com" - } - ], - "description": "UI library for my apps", - "categories": ["Other"], - "type": "module", - "engines": { - "bun": ">=1.1.38" - }, - "exports": { - ".": { - "import": "./index.ts", - "default": "./index.ts" - }, - "./types": { - "import": "./types.ts", - "default": "./types.ts" - } - }, - "keywords": ["typescript", "vue", "tailwindcss"], - "packageManager": "bun@1.1.38" -} diff --git a/pages/notifications.vue b/pages/notifications.vue index 14e0362..fad6ad4 100644 --- a/pages/notifications.vue +++ b/pages/notifications.vue @@ -1,17 +1,6 @@