1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
J. Ryan Stinnett
2144791d52 Update scripts and docs to use yarn where appropriate
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
2019-03-08 15:45:57 +00:00
David Baker
712490b671 Use a vaguely recent node 2018-11-21 18:44:21 +00:00
David Baker
5c4472492a Un-hardcode home directory in jenkins.sh 2017-02-17 19:28:47 +00:00
Richard van der Hoff
75d213f6b3 Make test coverage work again
* don't try to run npm under istanbul
* use _mocha instead of mocha because
  https://github.com/gotwarlost/istanbul/issues/44#issuecomment-16093330

Also:
* write a text report for better travis
* On jenkins, clear out old coverage reports so that we don't pick up last
  time's.
2017-02-15 16:52:19 +00:00
Richard van der Hoff
c906dbad75 jenkins.sh: clean out old reports 2017-02-08 15:14:17 +00:00
Richard van der Hoff
18001dc539 jenkins.sh: stop if npm i fails
(There is no point going on)
2017-01-19 10:50:28 +00:00
Kegan Dougal
9633532dd4 Bump to node 6 to fix 'SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode' 2017-01-13 11:57:33 +00:00
David Baker
8c512bce9e Use less ancient version of node
ESLint errors with old node (at least without --harmony) so use
a more sensible version
2017-01-12 16:20:49 +00:00
David Baker
4775010452 Be quiet npm
we don't need the commands you're running in the xml file
2017-01-12 16:07:44 +00:00
David Baker
e057956ede Add google eslint rules as a base
Remove some we don't care about. Set some other ones we do care
about but don't currently adhere to to warn. Set the max warnings
threshold to the current number of warnings, so we don't introduce
more of them. Fix a bunch of legit lint errors and add exceptions
to various places in the test code that does funny things with
'this'.
2017-01-12 14:35:58 +00:00
David Baker
9b5cb3a631 Update build process for ES6
* Make npm run build run npm compile (it needs the output)
 * Switch to ESlint so we can actually use ES6 without the linter
   crying.
2017-01-11 18:11:47 +00:00
Kegan Dougal
0bbec9e182 Appease linters 2017-01-11 10:40:20 +00:00
David Baker
f93eea095e Fail the build if the docs don't generate 2016-10-12 11:32:42 +01:00
Richard van der Hoff
a47e59f02c make jenkins fail the build if the tests fail 2016-07-28 14:18:34 +01:00
Richard van der Hoff
79c10c1b68 Remove old tarball before building new one 2016-02-25 17:23:54 +00:00
Richard van der Hoff
e97e3c673f jenkins.sh: Run npm pack after build to build tarball 2016-02-25 13:20:13 +00:00
Richard van der Hoff
f0ae46afc9 add jenkins.sh script 2016-02-25 13:17:38 +00:00