Commit graph

40 commits

Author SHA1 Message Date
Ben Schumacher
d9532472eb
Migrate index.js to use Typescript (#129)
* Migrate index.js to use Typescript

* Fix tests
2020-09-24 09:42:36 +02:00
Ben Schumacher
18d30b50bc
Don't generate manifest.ts (#127) 2020-09-23 01:14:00 +02:00
Ben Schumacher
dcaf9dd289
Fix issues with Repository synchronization tool (#124)
* Only run tests in build/sync if directory exists

* Use t.Helper()

* Don't compare size of directories

* Fix TestFileHistory

* Fix linter issue

* Apply changes from https://github.com/mattermost/mattermost-plugin-github/pull/345

* Use ts file for tests

* Add sync target
2020-09-15 12:32:37 -04:00
dependabot[bot]
ed45ff7aba
Bump lodash from 4.17.14 to 4.17.19 in /webapp (#106)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-22 12:57:06 +02:00
Christopher Speller
7cdbf90a73
MM-26572 Improve tooling around typescript (#105)
* Upstream typescript tooling changes.

* Update rest of dependencies.
2020-07-09 10:51:28 -03:00
Jesse Hallam
becbbc9685
Fix build issues (#104)
* fix linting issues on webpack.config.js

* sync with demo plugin, go mod tidy

* npm audit fix

There's a rash of lodash issues right now that have no available fix, but I'm fixing the remaining issues.

* use exact versions

* update webapp/package-lock.json too

* manually clean up go.mod/go.sum

* private package.json
2020-07-07 09:50:31 -03:00
Jesse Hallam
a49d6f6dd4
Various tooling improvements from other plugins (#96) 2020-06-22 11:21:37 -04:00
Alejandro García Montoro
c557d38b4d
MM-25822: Import react-router-dom from the webapp (#101) 2020-06-10 15:25:56 +02:00
dependabot[bot]
1ce44fa2a3
Bump acorn from 5.7.3 to 5.7.4 in /webapp (#92)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-06 07:10:06 +02:00
Ben Schumacher
5d32943c36
Add junit.xml to gitignore (#89) 2020-03-20 09:07:35 +01:00
Michael Kochell
adf353748e
Add corejs: 3, and pull out babel config from webpack config (#84)
* add `corejs: 3` and pull out babel config from webpack config

* typo
2020-02-06 07:09:11 -05:00
Allan Guwatudde
81af083834
Add webapp component test watch command (#82) 2020-02-05 05:38:55 -05:00
Md Zubair Ahmed
80fb59276d Fixes #13571 : Introduce webapp tests to mattermost-plugin-starte… (#78)
* added test setup

* added missing deps

* support for new babel config

* update enzyme types to restrict to 3.10.4 itself

Co-Authored-By: Michael Kochell <mjkochell@gmail.com>

* pkg name change

* fixed to absolute versioning for all dependencies

Co-authored-by: Michael Kochell <mjkochell@gmail.com>
2020-01-17 14:55:54 -05:00
İlker Göktuğ Öztürk
8cf303c943 build/manifest: print whole manifest variable as it is (#73)
while generating manifest files for both JS and Go sources.

fixes #72.
2019-12-20 23:01:40 +01:00
Jesse Hallam
8f6268d813
npm audit fix --save (#75) 2019-12-16 23:56:42 -04:00
Nikhil Ranjan
7c1e432a27 replacing apache.com/thrift with github.com to solve network issue when building; missing dangling comma (#66) 2019-09-16 18:02:14 -04:00
Nikhil Ranjan
3475ff3c9d add typescript support (#64)
* add typescript support

* remove typescript extend from eslint-config-mattermost
2019-09-04 17:24:37 -03:00
dependabot[bot]
aac26c1068 Bump mixin-deep from 1.3.1 to 1.3.2 in /webapp (#62)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-28 07:13:11 -07:00
Ian Whitlock
49e8d0b875 Add debug-dist and debug-deploy build targets (#61)
* Add debug-dist and debug-deploy build targets

* Fix typos in documentation for new targets

Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
2019-08-28 09:53:15 -04:00
dependabot[bot]
90c0d4e853 Bump eslint-utils from 1.3.1 to 1.4.2 in /webapp (#60)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-27 07:42:59 -07:00
Mario de Frutos Dieguez
b7165a0f5f Mark manifest.[go|js] as a generated file (#57)
manifest.[go|js] files are autogenerated so we dont need to
show diffs, cope with conflicts in merge operations or show the
diff in github.
2019-08-14 23:40:52 +02:00
dependabot[bot]
e7b5efefc6 Bump lodash from 4.17.11 to 4.17.14 in /webapp (#54)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 07:37:33 -07:00
dependabot[bot]
3d59ca1912 Bump lodash-es from 4.17.10 to 4.17.14 in /webapp (#52)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.10 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 07:37:24 -07:00
Yusuke Nemoto
d08a4c1ccc Add a task of webapp test (#51)
* Add a task of webapp test

* Flesh out tests

* Simplify test case

* Remove unnecessary dependency

* Fix style

* Add dependency

* Add trainling newline
2019-07-12 12:07:20 -04:00
Jesse Hallam
b8201a2731 downstream dependency updates from mattermost-plugin-demo (#53) 2019-07-12 07:43:45 -07:00
dependabot[bot]
5265633fe0 Bump js-yaml from 3.12.0 to 3.13.1 in /webapp (#48)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-28 10:31:33 -07:00
dependabot[bot]
9169c02a3f
Bump lodash from 4.17.10 to 4.17.11 in /webapp (#49) 2019-06-26 04:52:14 +00:00
Michael Kochell
1a5f1bc2d2
[MM-14189] Update references to "mattermost-plugin-sample" to be… (#47)
Repo name changed
2019-06-24 22:02:25 -04:00
Hanzei
43af4d9cfe
Refactoring (#43)
* Cleanup .gitignore

* Document minimum server version

* Become golint compliant

* Use pre defined http method

* Update dependencies

* Add i18n-extract target

* Add golint target

* Run check-style against all go files

Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
2019-06-22 16:15:48 +02:00
Hanzei
05dd2de750 Start with version 0.1.0 (#35) 2019-04-04 07:44:40 -07:00
Jesse Hallam
15a3d3c433
fix index.js import of plugin id 2018-09-20 14:21:10 -04:00
Jesse Hallam
5b2980d1ac
tweak plugin id/version injection
* define BUNDLE_NAME after including build/setup.mk (just for clarity, not correctness)
* separate plugin id from version with dash in bundle name to match Mattermost package
* fix various js/go idioms (some pre-existing!)
* fix error message
2018-09-20 11:56:40 -04:00
Hanzei
8cb9ff92df
Extract plugin version from manifest 2018-09-18 08:12:48 +02:00
Jesse Hallam
6d10b915ca
tweak plugin_id.js generation 2018-07-24 16:06:31 -04:00
Jesse Hallam
b245410cbe
pin same react/redux dependencies as webapp 2018-07-24 16:03:48 -04:00
Jesse Hallam
daaf7822ea
strip out sample bits (moved to demo repository) 2018-07-24 16:02:46 -04:00
Jesse Hallam
390fab485d
access window.PostUtils 2018-07-23 14:50:12 -04:00
Jesse Hallam
33eb1385d2
add webapp/.npminstall target to speed up rebuilds 2018-07-23 14:07:42 -04:00
Jesse Hallam
bc26a8c5d5
tweak webpack externals 2018-07-23 13:49:44 -04:00
Jesse Hallam
189f92c54b
initial commit 2018-07-23 13:43:22 -04:00