Fix typechecks in project-view

This commit is contained in:
Adam Obuchowicz 2024-10-03 12:10:30 +02:00
parent 7b5be36976
commit fabd6707ce
No known key found for this signature in database
GPG Key ID: 8A80F2A22CBB484F
4 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@
"include": [
"env.d.ts",
"lib0-ext.d.ts",
"e2e/project-view/mock/*",
"src/**/*",
"src/**/*.vue",
"src/**/*.ts",
@ -16,5 +17,5 @@
"types": ["vitest/importMeta"],
"paths": { "@/*": ["./src/project-view/*"], "#/*": ["./src/dashboard/*"] },
},
"references": [{ "path": "../dashboard" }, { "path": "../ydoc-shared" }]
"references": [{ "path": "../ydoc-shared" }]
}

View File

@ -5,6 +5,7 @@
"vitest.config.*",
"project-manager-shim-middleware/*.ts",
"playwright.config.*",
"tailwind.config.*",
"eslint.config.js",
"e2e/**/*",
"node.env.d.ts",

View File

@ -3,7 +3,6 @@
import react from '@vitejs/plugin-react'
import vue from '@vitejs/plugin-vue'
import { getDefines, readEnvironmentFromFile } from 'enso-common/src/appConfig'
import * as tailwindConfig from 'enso-dashboard/tailwind.config'
import { fileURLToPath } from 'node:url'
import postcssNesting from 'postcss-nesting'
import tailwindcss from 'tailwindcss'
@ -11,6 +10,7 @@ import tailwindcssNesting from 'tailwindcss/nesting'
import { defineConfig, type Plugin } from 'vite'
import VueDevTools from 'vite-plugin-vue-devtools'
import wasm from 'vite-plugin-wasm'
import * as tailwindConfig from './tailwind.config'
const dynHostnameWsUrl = (port: number) => JSON.stringify(`ws://__HOSTNAME__:${port}`)
const projectManagerUrl = dynHostnameWsUrl(process.env.E2E === 'true' ? 30536 : 30535)