Merge pull request #21 from greenart7c3/main

fix build
This commit is contained in:
believethehype 2024-01-31 19:51:27 +01:00 committed by GitHub
commit f4373be729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 52 additions and 3 deletions

View File

@ -5,8 +5,9 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "vue-tsc --build --force && vite build",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force"
},
"dependencies": {
@ -25,6 +26,8 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.2",
"@vue/tsconfig": "^0.5.1",
"@types/node": "^20.11.10",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.33",
"sass": "^1.70.0",
@ -32,7 +35,8 @@
"typescript": "~5.3.0",
"vite": "^5.0.10",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.27"
"vue-tsc": "^1.8.27",
"@tsconfig/node20": "^20.1.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.6.1"

View File

@ -1,6 +1,5 @@
<script>
import ImageGeneration from "@/components/ImageGeneration.vue";
import ResultsTable from "@/components/ImageResultTable.vue";
import Nip07 from "@/components/Nip07.vue";
import Donate from "@/components/Donate.vue";

0
ui/noogle/src/index.ts Normal file
View File

View File

@ -0,0 +1,16 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"allowJs": true,
"noImplicitAny": false,
"verbatimModuleSyntax":false,
}
}

11
ui/noogle/tsconfig.json Normal file
View File

@ -0,0 +1,11 @@
{
"files": [],
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
}
]
}

View File

@ -0,0 +1,19 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"nightwatch.conf.*",
"playwright.config.*"
],
"compilerOptions": {
"composite": true,
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]
}
}