monorepofiy

This commit is contained in:
taskylizard 2024-02-25 01:31:53 +00:00
parent b693586301
commit 9065a0aeb7
No known key found for this signature in database
GPG Key ID: 1820131ED1A24120
42 changed files with 14 additions and 6 deletions

View File

@ -3,7 +3,6 @@ export default defineNitroConfig({
runtimeConfig: {
WEBHOOK_URL: process.env.WEBHOOK_URL
},
srcDir: '.vitepress',
routeRules: {
'/': {
cors: false

View File

@ -8,7 +8,7 @@
"dev": "nitropack dev",
"build": "nitropack build",
"preview": "node .output/server/index.mjs",
"postinstall": "nitropack prepare"
"types": "nitropack prepare"
},
"dependencies": {
"itty-fetcher": "^0.9.4",

View File

@ -5,7 +5,7 @@ import {
type FeedbackType,
getFeedbackOption,
feedbackOptions
} from '../../types/Feedback'
} from '../../../../api/types/Feedback'
const loading = ref<boolean>(false)
const error = ref<unknown>(null)

View File

@ -6,7 +6,8 @@
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview",
"lint": "eslint --cache --fix ."
"lint": "eslint --cache --fix .",
"og:dev": "x-satori -t ./.vitepress/hooks/Template.vue -c ./.vitepress/hooks/satoriConfig.ts --dev"
},
"dependencies": {
"@headlessui/vue": "^1.7.17",

View File

@ -5,8 +5,16 @@
"node": "21.6.2"
},
"scripts": {
"og:dev": "x-satori -t ./.vitepress/hooks/Template.vue -c ./.vitepress/hooks/satoriConfig.ts --dev",
"format": "prettier -w --cache --check ."
"docs:dev": "pnpm -F docs dev",
"docs:build": "pnpm -F docs build",
"docs:preview": "pnpm -F docs serve",
"api:dev": "pnpm -F api dev",
"api:build": "pnpm -F api build",
"api:prepare": "pnpm -F api prepare",
"api:preview": "pnpm -F api preview",
"format": "prettier -w --cache --check .",
"lint": "pnpm --parallel -R lint",
"postinstall": "pnpm -F api types"
},
"devDependencies": {
"@taskylizard/eslint-config": "^1.1.1",