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: { runtimeConfig: {
WEBHOOK_URL: process.env.WEBHOOK_URL WEBHOOK_URL: process.env.WEBHOOK_URL
}, },
srcDir: '.vitepress',
routeRules: { routeRules: {
'/': { '/': {
cors: false cors: false

View File

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

View File

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

View File

@ -6,7 +6,8 @@
"dev": "vitepress dev", "dev": "vitepress dev",
"build": "vitepress build", "build": "vitepress build",
"preview": "vitepress preview", "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": { "dependencies": {
"@headlessui/vue": "^1.7.17", "@headlessui/vue": "^1.7.17",

View File

@ -5,8 +5,16 @@
"node": "21.6.2" "node": "21.6.2"
}, },
"scripts": { "scripts": {
"og:dev": "x-satori -t ./.vitepress/hooks/Template.vue -c ./.vitepress/hooks/satoriConfig.ts --dev", "docs:dev": "pnpm -F docs dev",
"format": "prettier -w --cache --check ." "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": { "devDependencies": {
"@taskylizard/eslint-config": "^1.1.1", "@taskylizard/eslint-config": "^1.1.1",