Bert Belder
004e0426f7
deno2: make parcel produce more modern javascript
...
Parcel runs typescript compiler output through babel. Unfortunately
there's no way to turn this off entirely, but with this rule it at least
won't transpile down to ES5.
See also https://github.com/parcel-bundler/parcel/issues/954
2018-06-15 23:33:24 +02:00
Bert Belder
4f6c8ba54b
deno2: add global deno
namespace
2018-06-14 17:24:00 +02:00
Ryan Dahl
f92f10b848
deno2: pass argv to js
2018-06-14 14:19:17 +02:00
Ryan Dahl
4ac67cf343
Demo protobufs in deno2.
...
Adds deno_set_response() to allow stack allocated responses.
2018-06-14 14:19:17 +02:00
Ryan Dahl
0888f2b2ae
Change msg.proto package name.
2018-06-14 14:19:17 +02:00
Ryan Dahl
bb6222c918
Clean up the build (replace browserify with parcel)
2018-06-13 14:58:06 +02:00
Bert Belder
1676822888
deno2: build on Windows
2018-06-13 00:31:38 +02:00
Ryan Dahl
7784cc2c15
Fix protobufjs snapshotting.
2018-06-12 17:26:18 +02:00
Ryan Dahl
dd48f8095c
Simplify pbjs build with hack.
...
Just check in the generated files and create them using
js/pbjs_hack.py. This allows vscode to be used and sane
compilations.
2018-06-12 05:16:41 +02:00
Ryan Dahl
0f71da91d3
Improve deno2 bundling
2018-06-12 04:45:37 +02:00
Ryan Dahl
b3003535be
deno2: compile in TS, build protobuf
2018-06-12 03:59:04 +02:00
Ryan Dahl
356fd18c73
Calling denoSub twice should fail.
2018-06-11 22:51:11 +02:00
Ryan Dahl
f89f576f6d
Use camel-case for deno js api.
2018-06-11 22:42:08 +02:00
Ryan Dahl
7d972b4534
Fix deno executable
2018-06-11 22:32:55 +02:00
Ryan Dahl
7242f2b5a5
Add channel to pub/sub
2018-06-11 21:57:25 +02:00
Ryan Dahl
997b300745
deno2: fmt js dir
2018-06-11 21:34:01 +02:00
Ryan Dahl
314f086721
Better function names in mock_runtime.js
2018-06-11 21:33:58 +02:00
Ryan Dahl
482fc3a2ce
Add tests for deno_sub_cb.
2018-06-11 20:18:56 +02:00
Ryan Dahl
2443f7efee
Use pub/sub instead of send/recv
2018-06-11 19:19:34 +02:00
Ryan Dahl
9590c87c62
Add deno_dispose to tests.
...
And fix ArrayBuffer memory problem.
2018-06-11 19:19:30 +02:00
Ryan Dahl
cbbe8ad999
Add deno_send tests.
2018-06-11 18:17:28 +02:00
Ryan Dahl
0e07e16dd6
Add mock_runtime_test.
2018-06-11 17:50:06 +02:00
Ryan Dahl
110ddab670
Add deno2 prototype from external repo.
2018-06-10 01:02:08 +02:00