Commit Graph

16 Commits

Author SHA1 Message Date
Jesse Rosenberger
1ebd907804 Remove version constraint from ecmascript in shell-server.
We only need version constraints on core packages in some cases.  For
example, when referring to "core" package wrappers (like `npm-mongo`)
which uses an API outside the Meteor build system.
2017-03-09 13:51:35 +02:00
Jesse Rosenberger
4ce0de7b16 Bump version in preparation for publishing. 2017-03-08 18:50:37 +02:00
Jesse Rosenberger
4a9ddb6404 Add TODO about Node.js 6 repl changes.
Just a note to revisit this/clean-up in Node 6 as the `Recoverable` is now exported from Node 6's `eval` and this is no longer necessary.

* https://github.com/nodejs/node/blob/v6.x/lib/repl.js#L1398
* https://nodejs.org/api/repl.html#repl_custom_evaluation_functions
2017-03-03 17:16:39 +02:00
Matt McCutchen
28309de07b Shell: Don't be confused by SyntaxErrors thrown by command execution.
Apply the check for a SyntaxError indicating an incomplete command only
to the ECMAScript translation and parsing of a command and not to the
execution, following the example of Node's defaultEval function.

Fixes #8290.
2017-03-02 16:23:30 -05:00
Ben Newman
92ab3e461a Update package versions for the official 1.4.3 release. 2017-02-10 18:45:22 -05:00
Ben Newman
3d16706f00 Bump package versions for 1.4.3-rc.6 release. 2017-02-10 17:52:32 -05:00
Ben Newman
db848e2dde Bump package versions for 1.4.3-rc.5 release. 2017-02-10 13:37:51 -05:00
Ben Newman
2f3f90d7e6 Bump package versions for 1.4.3-rc.4 release. 2017-02-10 12:05:17 -05:00
Ben Newman
81cc8aabcf Bump package versions for 1.4.3-rc.3 release. 2017-02-09 16:40:35 -05:00
Ben Newman
3761fd4bf1 Bump package versions for 1.4.3-rc.2 release. 2017-02-08 15:10:39 -05:00
Ben Newman
33e4a6e658 Bump package versions for 1.4.3-rc.1 release. 2017-02-07 15:36:12 -05:00
Ben Newman
9502f1bd79 Bump package versions for 1.4.3-rc.0 release. 2017-02-02 17:19:07 -05:00
Jesse Rosenberger
f33f75d759 Bump package versions for 1.4.3-beta.3 release. 2017-01-26 16:12:26 -08:00
Ben Newman
7ce9cc46d9 Bump package versions for 1.4.3-beta.2 release. 2017-01-10 13:39:31 -05:00
Jesse Rosenberger
23c52ff002 meteor shell should pass its TTY width to the server on connect
Previously, the width (or "columns") for the readline shell was being obtained on the server.  This causes problems for clients which are connecting to the server which are sized differently.

The client will still have problems if they resize AFTER they are connected to the REPL, but at least they have the option of being a different size.

A more complete solution would be to have the client listen on process.stdout "resize" and pass that to the server when it occurs, but I'm not sure of an easy way to do that with the current communication (perhaps pause-reconfigure-unpause?).

Fixes meteor/meteor#5346
2016-12-12 12:57:16 +02:00
Ben Newman
3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00