mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:00:23 -06:00
63260119fb
* Bump fake-indexeddb from 4.0.0 to 4.0.1 in /web Bumps [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases) - [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md) - [Commits](https://github.com/dumbmatter/fakeIndexedDB/compare/v4.0.0...v4.0.1) --- updated-dependencies: - dependency-name: fake-indexeddb dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/video.js from 7.3.49 to 7.3.50 in /web Bumps [@types/video.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/video.js) from 7.3.49 to 7.3.50. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/video.js) --- updated-dependencies: - dependency-name: "@types/video.js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @typescript-eslint/eslint-plugin from 5.44.0 to 5.47.1 in /web Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.44.0 to 5.47.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump axios from 1.2.0 to 1.2.2 in /web Bumps [axios](https://github.com/axios/axios) from 1.2.0 to 1.2.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.2.0...1.2.2) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * json5 vulnerability * update linters * reformat * dev deps * more deps Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34 lines
928 B
TypeScript
34 lines
928 B
TypeScript
/// <reference types="vitest" />
|
|
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
import preact from '@preact/preset-vite';
|
|
import monacoEditorPlugin from 'vite-plugin-monaco-editor';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
define: {
|
|
'import.meta.vitest': 'undefined',
|
|
},
|
|
plugins: [
|
|
preact(),
|
|
monacoEditorPlugin.default({
|
|
customWorkers: [{ label: 'yaml', entry: 'monaco-yaml/yaml.worker' }],
|
|
languageWorkers: ['editorWorkerService'], // we don't use any of the default languages
|
|
}),
|
|
],
|
|
test: {
|
|
environment: 'jsdom',
|
|
alias: {
|
|
'testing-library': path.resolve(__dirname, './__test__/testing-library.js'),
|
|
},
|
|
setupFiles: ['./__test__/test-setup.ts'],
|
|
includeSource: ['src/**/*.{js,jsx,ts,tsx}'],
|
|
coverage: {
|
|
reporter: ['text-summary', 'text'],
|
|
},
|
|
mockReset: true,
|
|
restoreMocks: true,
|
|
globals: true,
|
|
},
|
|
});
|