Upgrade node to 16.13 (#163)
* Updated base packages and regenerated package-lock * Added babel plugin to eslint, cleaned up webpack config * Version requirements for node/npm in README * Readded compass and css, removed by mistake * Fixed jest testing * Fixing lint issues. * Moved import to use webapp redux package * Fixed final jest issue * Modified packages and rebuild packagelock for node 16.14 * Add src and mattermost-redux alias * Update README.md Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * Adding nvm and removing the default type from the package * Delete root package-lock.json * Pinned to webapp v7, rebuild package log * fixed imports with TS * change tsconfig location pointer * updates for vscode-eslint to work with tsconfig subpath * don't import webapp for tests * remove "v" from .nvmrc --------- Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
c0b3c8b760
commit
121997e77a
13 changed files with 27601 additions and 13223 deletions
|
@ -1,11 +1,10 @@
|
|||
import {Store, Action} from 'redux';
|
||||
|
||||
import {GlobalState} from 'mattermost-redux/types/store';
|
||||
import {GlobalState} from '@mattermost/types/lib/store';
|
||||
|
||||
import manifest from './manifest';
|
||||
import {manifest} from '@/manifest';
|
||||
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
import {PluginRegistry} from './types/mattermost-webapp';
|
||||
import {PluginRegistry} from '@/types/mattermost-webapp';
|
||||
|
||||
export default class Plugin {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function
|
||||
|
@ -16,7 +15,7 @@ export default class Plugin {
|
|||
|
||||
declare global {
|
||||
interface Window {
|
||||
registerPlugin(id: string, plugin: Plugin): void
|
||||
registerPlugin(pluginId: string, plugin: Plugin): void
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue