Commit Graph

696 Commits

Author SHA1 Message Date
Jérémie Astori
9c4ea85041 Instrument client code before running tests
Despite being a bit gross to look at, this brings a few advantages:

- Tests are now closer to what actually runs, so more likely to find broken stuff.
- We can start using things that were so far Webpack-only or browser-only, like ES6 imports, loading Handlebars templates, etc.
- We open ourselves to browser testing (there is some work to do, but that would be a necessary step).
- We improve the client/server separation, by making it possible to run them independently

I do some extra steps around coverage: now we have 2 reports (client + server), so I have an extra step to combine them (the `nyc report` part). This is  strictly to keep feature parity (the coverage report of this code is effectively the same as before), but in the near future, we might want to keep both reports separate, for example to continue separating client/server. Another reason would be to use something like Codecov, which I believe has the ability to have multiple reports. This is down the road though, our coverage is not good enough to make hosting them somewhere be useful (I think).

A few extras with this commit:

- Coverage summary is displayed when tests are run (this is not slowing down tests)
- Tests check for leaks (see https://mochajs.org/#--check-leaks)
- Tests now output with the `dot` reporter. This is nice as `npm test` runs in parallel, the whole output holds in a few lines instead of spanning over multiple screens.
2018-02-20 15:32:30 +02:00
Pavel Djundik
913e88185e Change (un)install commands to use locally installed yarn 2018-02-20 11:28:14 +02:00
Jérémie Astori
69a4207ea4
Remove support for the lounge CLI (which was replaced with thelounge) 2018-02-19 13:14:14 -05:00
Jérémie Astori
8403d277b4
Replace reference to website with new URL 2018-02-19 12:23:41 -05:00
greenkeeper[bot]
38e8c2eb41 chore(package): update stylelint to version 9.0.0 2018-02-19 18:41:51 +02:00
Jérémie Astori
c432ee431d Switch to Node v6 as the oldest version we support
Removed a deprecation notice I added in an earlier commit (ef1c59072c).
2018-02-19 18:30:00 +02:00
Jérémie Astori
7b27e7d024
2.7.1 2018-02-18 21:12:11 -05:00
greenkeeper[bot]
44353772da chore(package): update stylelint-config-standard to version 18.1.0 2018-02-18 10:23:33 +00:00
Jérémie Astori
51ee504e90
Merge pull request #2068 from thelounge/greenkeeper/eslint-4.18.0
Update eslint to the latest version 🚀
2018-02-17 00:31:01 -05:00
greenkeeper[bot]
a3fd86f9a9 chore(package): update eslint to version 4.18.0 2018-02-17 01:07:56 +00:00
greenkeeper[bot]
227c9263e5 fix(package): update mime-types to version 2.1.18 2018-02-16 17:35:16 +00:00
greenkeeper[bot]
93131fb542 chore(package): update mocha to version 5.0.1 2018-02-14 02:18:02 +00:00
Pavel Djundik
4639a2528d
Merge pull request #2021 from thelounge/xpaw/ldapjs-no-dtrace
Use forked ldapjs to remove dtrace
2018-02-13 11:58:25 +02:00
Jérémie Astori
0b3741859f
Merge pull request #2048 from thelounge/greenkeeper/copy-webpack-plugin-4.4.1
Update copy-webpack-plugin to the latest version 🚀
2018-02-11 03:48:19 -05:00
Jérémie Astori
f2ddb633b1
Merge pull request #2052 from thelounge/greenkeeper/webpack-3.11.0
Update webpack to the latest version 🚀
2018-02-10 13:57:08 -05:00
greenkeeper[bot]
03a99ecd60 fix(package): update urijs to version 1.19.1 2018-02-10 16:06:01 +00:00
greenkeeper[bot]
053e2ffbbf chore(package): update webpack to version 3.11.0 2018-02-10 15:31:49 +00:00
greenkeeper[bot]
12b5cbc40f chore(package): update copy-webpack-plugin to version 4.4.1 2018-02-08 15:09:03 +00:00
greenkeeper[bot]
9c90e94ef8 chore(package): update copy-webpack-plugin to version 4.4.0 2018-02-08 10:40:42 +00:00
greenkeeper[bot]
e28efe5e38 fix(package): update commander to version 2.14.1 2018-02-07 07:52:52 +00:00
Pavel Djundik
c4f6701d65 Use forked ldapjs to remove dtrace
Fixes #1756
2018-02-06 13:21:59 +02:00
greenkeeper[bot]
72aa243666 fix(package): update commander to version 2.14.0 2018-02-06 01:33:31 +00:00
greenkeeper[bot]
c0749136fc fix(package): update lodash to version 4.17.5 2018-02-04 01:24:58 +00:00
greenkeeper[bot]
349edad826 chore(package): update eslint to version 4.17.0 2018-02-03 04:22:32 +00:00
Pavel Djundik
bc05ca1c63
Merge pull request #1988 from thelounge/greenkeeper/primer-tooltips-1.5.2
Update primer-tooltips to the latest version 🚀
2018-01-30 14:07:53 +02:00
Jérémie Astori
a9e3b551e6
Merge pull request #1994 from thelounge/greenkeeper/jquery-3.3.1
Update jquery to the latest version 🚀
2018-01-30 00:08:20 -05:00
Pavel Djundik
25460156cb
Merge pull request #1985 from thelounge/greenkeeper/semver-5.5.0
Update semver to the latest version 🚀
2018-01-29 16:33:05 +02:00
Jérémie Astori
46931b0a7d
Merge pull request #1989 from thelounge/greenkeeper/mocha-5.0.0
Update mocha to the latest version 🚀
2018-01-29 01:06:08 -05:00
Jérémie Astori
f7429ab80b
Merge pull request #1992 from thelounge/greenkeeper/eslint-4.16.0
Update eslint to the latest version 🚀
2018-01-29 01:05:11 -05:00
Jérémie Astori
9e49ee28e8
2.7.0 2018-01-28 23:11:58 -05:00
Jérémie Astori
275d80b412
Add thelounge keyword to package.json for npm registry 2018-01-27 16:32:47 -05:00
Jérémie Astori
65c6774af0
Remove pre-release dist-tag for release of v2.7.0 stable 2018-01-27 16:32:46 -05:00
Jérémie Astori
449a59ae72
2.7.0-rc.3 2018-01-27 00:05:37 -05:00
greenkeeper[bot]
25f02eb211 chore(package): update jquery to version 3.3.1 2018-01-20 17:37:32 +00:00
greenkeeper[bot]
cfca2fa155 chore(package): update eslint to version 4.16.0 2018-01-20 06:15:08 +00:00
Jérémie Astori
b2eebfa65e
2.7.0-rc.2 2018-01-19 23:33:00 -05:00
greenkeeper[bot]
710ba10772 chore(package): update mocha to version 5.0.0 2018-01-18 06:10:02 +00:00
greenkeeper[bot]
9946b918d7 fix(package): update primer-tooltips to version 1.5.2 2018-01-18 00:44:09 +00:00
greenkeeper[bot]
d3cbcfcc8b fix(package): update semver to version 5.5.0 2018-01-16 20:35:46 +00:00
Jérémie Astori
7a691b8e6c
2.7.0-rc.1 2018-01-13 19:23:24 -05:00
Jérémie Astori
d1c7613535
Merge pull request #1963 from thelounge/greenkeeper/commander-2.13.0
Update commander to the latest version 🚀
2018-01-11 23:36:42 -05:00
greenkeeper[bot]
fd6f740d36 fix(package): update ldapjs to version 1.0.2 2018-01-11 18:41:53 +00:00
greenkeeper[bot]
c4b5671aef fix(package): update commander to version 2.13.0 2018-01-11 15:08:34 +00:00
greenkeeper[bot]
41d872bcaf chore(package): update eslint to version 4.15.0 2018-01-07 02:37:59 +00:00
greenkeeper[bot]
37cc576af1 fix(package): update irc-framework to version 2.10.3 2018-01-04 14:52:22 +00:00
Pavel Djundik
6675ced196 Store images with correct file extension 2018-01-03 13:33:52 +02:00
Jérémie Astori
9ca08ae434
Update primer-tooltips to the latest version
Only changes between v1.5.0 and v1.5.1 (according to https://github.com/primer/primer/commits/master/modules/primer-tooltips) are:

- https://github.com/primer/primer/pull/394
- https://github.com/primer/primer/pull/409

So we are not affected.
2017-12-29 02:20:21 -05:00
greenkeeper[bot]
168bd1b3ab chore(package): update mocha to version 4.1.0 2017-12-29 05:18:38 +00:00
Jérémie Astori
0a8cccf5d7
Remove CLI option of Stylelint that currently makes it a noop 2017-12-28 17:07:37 -05:00
Jérémie Astori
470f2dd814
2.7.0-pre.4 2017-12-27 19:39:36 -05:00