[MM-52696] Upgrade and clean up Desktop App dev dependencies (#2970)
* Upgrade to ESLint v8 * Upgrade TypeScript, api-types, react-intl * Remove unnecessary dependencies * Update to React 17.0.2 * npm audit fixes, remove storybook * Lock some packages * Remove nan patch * Remove some deprecated dependencies * Fix lint/type/tests * Merge'd * Fix bad use of spawn * Fix notarize * Fix afterpack, switch to tsc es2020 * Fix api types * Use @mattermost/eslint-plugin
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
|
||||
import Joi from 'joi';
|
||||
|
||||
import {Args} from 'types/args';
|
||||
import {AnyConfig, ConfigV0, ConfigV1, ConfigV2, ConfigV3, ConfigServer} from 'types/config';
|
||||
import {DownloadedItems} from 'types/downloads';
|
||||
import {SavedWindowState} from 'types/mainWindow';
|
||||
import {AppState} from 'types/appState';
|
||||
import {ComparableCertificate} from 'types/certificate';
|
||||
import {PermissionType, TrustedOrigin} from 'types/trustedOrigin';
|
||||
|
||||
import {Logger} from 'common/log';
|
||||
import {TAB_MESSAGING} from 'common/views/View';
|
||||
import {isValidURL} from 'common/utils/url';
|
||||
import {TAB_MESSAGING} from 'common/views/View';
|
||||
|
||||
import type {AppState} from 'types/appState';
|
||||
import type {Args} from 'types/args';
|
||||
import type {ComparableCertificate} from 'types/certificate';
|
||||
import type {AnyConfig, ConfigV0, ConfigV1, ConfigV2, ConfigV3, ConfigServer} from 'types/config';
|
||||
import type {DownloadedItems} from 'types/downloads';
|
||||
import type {SavedWindowState} from 'types/mainWindow';
|
||||
import type {PermissionType, TrustedOrigin} from 'types/trustedOrigin';
|
||||
|
||||
const log = new Logger('Validator');
|
||||
const defaultOptions = {
|
||||
|
Reference in New Issue
Block a user