From b693586301924daf0f82091509ca6b566f0b10d3 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sun, 25 Feb 2024 01:13:16 +0000 Subject: [PATCH] move these configs respectively --- api/tsconfig.json | 3 +-- wrangler.toml => api/wrangler.toml | 0 eslint.config.js => docs/eslint.config.js | 0 docs/package.json | 3 ++- unocss.config.ts => docs/unocss.config.ts | 0 package.json | 3 +-- 6 files changed, 4 insertions(+), 5 deletions(-) rename wrangler.toml => api/wrangler.toml (100%) rename eslint.config.js => docs/eslint.config.js (100%) rename unocss.config.ts => docs/unocss.config.ts (100%) diff --git a/api/tsconfig.json b/api/tsconfig.json index a49a06c8a..79a477195 100644 --- a/api/tsconfig.json +++ b/api/tsconfig.json @@ -2,6 +2,5 @@ "extends": "./.nitro/types/tsconfig.json", "compilerOptions": { "verbatimModuleSyntax": true - }, - "include": ["./.vitepress/"] + } } diff --git a/wrangler.toml b/api/wrangler.toml similarity index 100% rename from wrangler.toml rename to api/wrangler.toml diff --git a/eslint.config.js b/docs/eslint.config.js similarity index 100% rename from eslint.config.js rename to docs/eslint.config.js diff --git a/docs/package.json b/docs/package.json index e373642d0..16bcd3a08 100644 --- a/docs/package.json +++ b/docs/package.json @@ -5,7 +5,8 @@ "scripts": { "dev": "vitepress dev", "build": "vitepress build", - "preview": "vitepress preview" + "preview": "vitepress preview", + "lint": "eslint --cache --fix ." }, "dependencies": { "@headlessui/vue": "^1.7.17", diff --git a/unocss.config.ts b/docs/unocss.config.ts similarity index 100% rename from unocss.config.ts rename to docs/unocss.config.ts diff --git a/package.json b/package.json index ae2632851..3923fe966 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,7 @@ }, "scripts": { "og:dev": "x-satori -t ./.vitepress/hooks/Template.vue -c ./.vitepress/hooks/satoriConfig.ts --dev", - "format": "prettier -w --cache --check .", - "lint": "eslint .vitepress -f pretty --cache" + "format": "prettier -w --cache --check ." }, "devDependencies": { "@taskylizard/eslint-config": "^1.1.1",