forked from matterpoll/matterpoll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downstream mattermost-plugin-starter-template (matterpoll#381)
* build: add plan.yml for sync * build: make sync * lint: disable fieldalignment * fix: transpilation warnings * fix: lint error * revert changes * remove header comments Co-authored-by: Ben Schumacher <[email protected]>
- Loading branch information
Showing
6 changed files
with
67 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
checks: | ||
- type: repo_is_clean | ||
params: | ||
repo: source | ||
- type: repo_is_clean | ||
params: | ||
repo: target | ||
actions: | ||
- paths: | ||
- build/pluginctl | ||
- build/manifest | ||
actions: | ||
- type: overwrite_directory | ||
params: | ||
create: true | ||
- paths: | ||
- Makefile | ||
actions: | ||
- type: overwrite_file | ||
params: | ||
create: true | ||
- paths: | ||
- .editorconfig | ||
- .gitattributes | ||
- .gitignore | ||
- build/.gitignore | ||
- build/go.mod | ||
- build/go.sum | ||
- build/setup.mk | ||
- server/.gitignore | ||
#- webapp/.eslintrc.json | ||
- webapp/.npmrc | ||
- webapp/babel.config.js | ||
#- webapp/package.json | ||
- webapp/tsconfig.json | ||
- webapp/webpack.config.js | ||
- webapp/src/manifest.test.ts | ||
- webapp/tests/setup.js | ||
actions: | ||
- type: overwrite_file | ||
params: | ||
create: true | ||
conditions: | ||
- type: file_unaltered |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import manifest, {id, version} 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(id).toBeDefined(); | ||
expect(version).toBeDefined(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters