Sync with playbooks: install-go-tools, gotestsum, and dynamic versions (#192)
* Revert "Update main.go (#154)" This reverts commitbe4a281d0c
. * Revert "[MM-33506] Use embed package to include plugin manifest (#145)" This reverts commitca9ee3c17c
. * Revert "Don't generate manifest.ts (#127)" This reverts commit18d30b50bc
. * install-go-tools target, adopt gotestsum * bring back make apply + automatic versioning * Update build/manifest/main.go Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * suppress git describe error when no tags match * make version/release notes opt-in * fix whitespace in Makefile * document version management options --------- Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
This commit is contained in:
parent
376ea7e1f5
commit
de0b31b48a
12 changed files with 198 additions and 50 deletions
|
@ -2,7 +2,7 @@ import {Store, Action} from 'redux';
|
|||
|
||||
import {GlobalState} from '@mattermost/types/lib/store';
|
||||
|
||||
import {manifest} from '@/manifest';
|
||||
import manifest from '@/manifest';
|
||||
|
||||
import {PluginRegistry} from '@/types/mattermost-webapp';
|
||||
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
import {manifest} from './manifest';
|
||||
import manifest from './manifest';
|
||||
|
||||
test('Plugin manifest, id and version are defined', () => {
|
||||
expect(manifest).toBeDefined();
|
||||
expect(manifest.id).toBeDefined();
|
||||
expect(manifest.version).toBeDefined();
|
||||
});
|
||||
|
||||
// To ease migration, verify separate export of id and version.
|
||||
test('Plugin id and version are defined', () => {
|
||||
expect(manifest.id).toBeDefined();
|
||||
expect(manifest.version).toBeDefined();
|
||||
});
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import manifest from '@/../../plugin.json';
|
||||
|
||||
export {manifest};
|
Reference in a new issue