Konrad Borowski
b4f272b9b2
Introduce cache for syntax testing.
...
This cache is quite awful (welcome to the world of Node.js, I guess),
but at least it works. It has few flaws, like not being able to GC
unused cache files. Still, has to work for now. Changes syntax test
times from 10 minutes on my very slow laptop to 0.6 seconds.
(I wonder how this will work with Travis...)
Later I will try to figure out why JSHint is so unbelievably slow.
2015-03-27 21:28:03 +01:00
Guangcong Luo
5ddfe77e7a
Update dependencies
2015-03-15 03:24:21 -04:00
Konrad Borowski
35d76cb121
Disable deprecated engineStrict
...
In newest version of npm, this makes depreciation warnings.
See npm/npm#7171 for justification of removal of this feature from npm.
2015-03-03 18:09:33 +01:00
Ivo Julca
253c2b951e
Update dependencies
2015-02-23 04:14:30 -05:00
Ivo Julca
d6c3058673
Deps: update dev dependencies
...
- Remove `gulp-util`: it's not used and its installation is no longer recommended in Gulp's documentation.
- Next minor version for `gulp-jscs`. Next major for `jshint-stylish`.
2015-02-18 19:51:51 -05:00
Ivo Julca
68aaa48974
Gulpfile: no files are exempt from style checks
...
- Streams are merged to make sure that all errors and warnings are reported.
- Adds dev dependencies: `merge-stream` and `lazypipe`.
- Tracks a fork of `gulp-jshint` to fix https://github.com/spalger/gulp-jshint/issues/88
2015-02-18 19:51:15 -05:00
Ivo Julca
88c74abe76
Implement Mocha-based test suite
2015-02-15 13:27:36 -05:00
sirDonovan
6e171cb59c
Update gulp-jshint to 1.9.2
...
The old version caused build errors due to one
of the dependencies (rcloader), which was fixed in this newest
release
2015-02-02 12:05:25 -06:00
sirDonovan
68bca82397
Update gulp-replace to 0.5.1
...
The old version of gulp-replace began to cause build errors due to one
of the dependencies (istextorbinary), which was fixed in this newest
release
2015-01-15 12:55:20 -06:00
Guangcong Luo
80704c272d
Merge pull request #1298 from Slayer95/disabled-maybe
...
Hide moves disabled by Imprison or NEXT's Telepathy
2014-12-10 03:57:30 -06:00
Guangcong Luo
454c5a6cfb
Update gulp-jscs to 1.3.1
...
The old version of gulp-jscs apparently broke somewhere upstream
and is making npm test fail. The newest version works fine, so
I'm updating it.
2014-11-26 15:47:48 -06:00
Ivo Julca
e16346005a
Bump version to 0.9.3
...
Battle choices will now be parsed in a significatively different way.
2014-11-13 14:45:56 -05:00
ryanj
3c943fb096
Autoconfiguration for cloud hosting environments, OpenShift support
2014-10-24 23:02:07 -07:00
小太
5027be79fb
Add jscs as a style checker, and add some extra jshint options
2014-09-29 18:38:01 +10:00
Guangcong Luo
f4f0adb5bd
Update node-static version
2014-08-24 02:33:30 -04:00
Guangcong Luo
5c2a6e4f43
Update versions in package.json
2014-08-22 00:25:39 -04:00
Guangcong Luo
354a784370
npm test now exits with code 1 on JSLint fail
...
This is mostly for Travis CI compatibility
2014-08-16 23:53:13 -05:00
Ivo Julca
52a764fdb0
Update SockJS to 0.3.9
2014-08-12 20:09:12 -05:00
Guangcong Luo
075baf89b5
Add gulp-replace to devDependencies
2014-08-11 05:38:46 -04:00
Guangcong Luo
536c6d0d3f
Support npm test
...
Also made linting synchronous, which makes Gulp's output look
slightly nicer (and time it, which is cool).
2014-08-10 21:16:14 -04:00
Slayer95
9f2beb65bd
Add ofe as an opt-in dependency
...
The ´nonDefaultDependencies´ field in package.json is not used by NPM, but allows us to keep track of them.
2014-05-05 20:56:38 -05:00
小太
4f6a3e9c36
Merge remote-tracking branch 'upstream/master' into tournaments-frontend
...
Conflicts:
package.json
2014-03-10 12:15:35 +11:00
Guangcong Luo
58e28f0231
Version 0.9.2
...
(The new team format is an incompatible change)
2014-03-05 23:32:32 -05:00
Tyler Stark
0ffdd34741
Making JSHint actually look helpful, and explicitly ignoring eqeqeq errors
2014-02-09 20:22:33 -06:00
Tyler Stark
949d29be63
Adding Gulp and JSHint
2014-02-09 19:02:06 -06:00
小太
f9101abbe7
Merge remote-tracking branch 'upstream/master' into tournaments-frontend
...
Conflicts:
package.json
2014-02-03 00:24:23 +11:00
Guangcong Luo
5e4db2d512
Update SockJS version
2013-12-18 12:53:37 -08:00
Guangcong Luo
d9688b991a
PS no longer supports Node <0.10.x
2013-12-18 12:53:01 -08:00
小太
e01604251f
Merge remote-tracking branch 'upstream/master' into tournaments
2013-12-12 18:40:20 +11:00
Guangcong Luo
6a2add8898
ipbans.txt now supports CIDR format
...
This introduces a new file cidr.js, which handles matching CIDR IP
blocks. It replaces our dependency on node-ip.
The old proxy IP system is also moved to cidr.js.
2013-09-21 14:15:11 -07:00
小太
435460387d
Merge remote-tracking branch 'upstream/master' into tournaments
...
Conflicts:
package.json
2013-09-16 16:04:24 +10:00
小太
3abf381182
Add elimination tournaments
2013-09-16 16:00:56 +10:00
Guangcong Luo
8c757ab17f
Update dependancies
2013-09-01 02:37:35 -07:00
Guangcong Luo
933ed177ff
Version 0.9.1
2013-07-03 20:39:47 -07:00
Cathy J. Fitzpatrick
3547885a91
Fix version of all dependencies
...
The versions specified are known to work.
2013-06-11 02:37:23 -06:00
Cathy J. Fitzpatrick
5174e0d939
More sophisticated proxyip feature
2013-06-02 16:10:42 -06:00
Guangcong Luo
ab31f5573a
Version 0.9.0
2013-05-23 21:17:36 -07:00
Cathy J. Fitzpatrick
f1926209df
v0.3.5 is the only version of node-sockjs known to work
...
After upgrading node-sockjs to v0.3.7 on the live server, there was an
issue where the `close` event was apparently not being fired on some
sockets, causing various problems.
The only version of ndoe-sockjs that we know for sure works is v0.3.5,
which is the version that had previously been in use on the main server
for a long time.
2013-05-16 17:17:03 -06:00
Guangcong Luo
d9d0c176b6
Show package.js version in /version
2013-05-14 23:36:50 -07:00
Cathy J. Fitzpatrick
0b24a25170
Remove socket.io from package.json
2013-05-13 20:50:23 -06:00
Guangcong Luo
28034e9970
Update Zarel's information in package.json
2013-04-25 16:01:55 -07:00
Guangcong Luo
3b24ef347d
Update README with new nicer URIs
...
The message on server start has been updated, too
2013-04-25 16:00:03 -07:00
Cathy J. Fitzpatrick
d8d3d897be
Implement email crash logging
2013-04-24 23:20:29 -06:00
Cathy J. Fitzpatrick
2d8b489bc1
Add support for serving static files over HTTP
2013-04-24 01:37:58 -06:00
Cathy J. Fitzpatrick
36b3f173dd
Note that node v0.10.0 and v0.10.1 are broken
2013-03-25 22:53:42 -06:00
Cathy J. Fitzpatrick
e8c0b45c12
Revise package.json
...
- upgrade sugar version to 1.3.8 (at least 1.3.7 is required for
`Object.select` and we may as well require the latest version)
- change two space indentation to tabs for consistency
- add Cathy J. Fitzpatrick to contributors array
2013-03-24 22:35:47 -06:00
Cathy J. Fitzpatrick
79b1814361
Move socket.io to optionalDependencies
...
The default configuration of Pokemon Showdown does not use
socket.io, so it is more appropriately marked as an optional
dependency. This change is largely cosmetic because npm install
will still install optionalDependencies.
2013-01-23 23:25:07 -07:00
Cathy J. Fitzpatrick
84c00ac31f
Remove unused dependency
...
The 'request' module is currently unused so it doesn't need to
be included in package.json.
In addition, GitHub is now served over SSL (and has been for
a while).
2013-01-23 17:57:52 -07:00
Bill Meltsner
c31ee2a428
Add SockJS as the default networking library.
...
You can still use Socket.IO by setting config.protocol in config.js.
2012-07-06 22:56:28 -05:00
Guangcong Luo
41b670ad37
Add a new dependency: sugar
...
also clean up our includes a bit
2012-05-16 21:56:29 -07:00