Commit Graph

55 Commits

Author SHA1 Message Date
Geoff Schmidt
f2a1d9c71c rename runner.js to run-all.js
make main.js the entry point rather than meteor.js
2014-01-06 22:42:29 -08:00
Geoff Schmidt
7b185ae426 rename run.js -> runner.js 2013-12-30 18:55:48 -08:00
Nick Martin
1b08ac2d9d Upgrade to stock Node 0.10.22.
This discards our fix for stream pausing. We'll monkey patch it in
at startup instead of relying on a custom build.
2013-12-10 15:27:40 -08:00
Emily Stark
652eb0cb89 Merge remote-tracking branch 'origin/follower-node0.10' into follower
Conflicts:
	docs/client/concepts.html
	meteor
	packages/follower-livedata/follower.js
	packages/livedata/livedata_server.js
	packages/webapp/.npm/package/npm-shrinkwrap.json
	packages/webapp/package.js
	packages/webapp/webapp_server.js
	scripts/generate-dev-bundle.sh
	tools/bundler.js
	tools/meteor.js
	tools/server/boot.js
2013-10-31 15:47:17 -07:00
Nick Martin
baa6aa56a0 Bump node version from 0.8.24 to 0.8.26 for Meteor 0.6.5.2 release.
Conflicts:
	History.md
2013-10-21 17:07:01 -07:00
Nick Martin
f4e21c0d37 Bump node version from 0.10.20 to 0.10.21 for Meteor 0.6.6.2 release. 2013-10-20 22:02:25 -07:00
David Glasser
664339fdb3 Yet another Node version bump: to 0.10.20. Fixes tls read bug. 2013-10-03 15:52:19 -07:00
David Glasser
6c1f92e891 Might as well use the version that just got released (0.10.19). 2013-09-24 23:31:47 -07:00
David Glasser
411c6cf8f4 Update to Node 0.10.18, bumping dev bundle version. Use caronte. 2013-09-24 17:13:37 -07:00
Naomi Seyfer
a3e5196109 Todos now runs correctly outside galaxy again. Still have to try the NWO inside galaxy 2013-08-14 17:46:22 -07:00
David Glasser
237f6da87e Store runner.js in test-in-console as an asset; extract via env var.
Allow packages to specify that files are assets, overriding any handler defined
for them. (May be useful for web workers!)

Let Assets.getBinary work before global-imports.js is executed.
2013-07-19 11:27:55 -07:00
David Glasser
74da4b1adb Fix Meteor.release. 2013-07-18 12:40:16 -07:00
David Glasser
9538bec685 Replace "asset directory" concept with manifest of assets.
We were partway here already: the client served assets from the manifest instead
of from a static directory (since 5b8e1c1), and we already generated the list of
assets in the slice JSON file. But on the server, we ignored that list and
re-walked the asset directory at bundle time.

Now, the idea of asset directory is solely a part of initFromAppDir.

This also fixes a bug where assets that weren't associated with on-disk files
wouldn't work properly if Asset.get* is called in a package loaded with
unipackage.load. Not really sure how dev-bundle-fetcher even worked...

Also fixes a bug in builder where generated filenames didn't actually avoid
duplicate files.

This does not bump BUILT_BY because the previous commit did, and this commit
will not be pushed without the previous commit.
2013-07-17 00:01:06 -07:00
David Glasser
869bc23c25 Rename "static" directory to "assets". 2013-07-17 00:01:05 -07:00
Emily Stark
d2eb68c60b Update package name guess to account for no slash in front of path 2013-07-12 16:00:53 -07:00
David Glasser
6eb9cdb69f make it work in node too 2013-07-12 10:11:32 -07:00
David Glasser
269434a44b Inline source code in source maps instead of keeping another data structure. 2013-07-12 10:11:31 -07:00
David Glasser
01a1bc8d6b On server, parse source maps less often. 2013-07-12 10:11:30 -07:00
David Glasser
7456124102 Node stack traces are now rewritten based on (slightly wrong) source maps.
Also, assume that the program.json given to boot.js is relative to CWD, not
source file.
2013-07-12 10:11:29 -07:00
David Glasser
c4609fc04c rename Meteor._postStartup -> WebApp.onListening (needs matching galaxy change) 2013-07-02 16:15:12 -07:00
Emily Stark
a97138f04f Don't allow .. in Assets inputs 2013-06-18 17:13:06 -07:00
estark37
b50a1bf12f Add server static assets and an API for retrieving them.
Server assets can be included in a bundle by putting them in the private/
directory of an application, or by registering a build plugin that calls
compileStep.addAsset with a server file. The Assets API (Assets.getText and
Assets.getBinary) allows an application or package to retrieve the contents of
its own server assets.
2013-06-13 22:53:25 -07:00
David Glasser
e07445cd75 Merge branch 'devel' into linker
This pulls the Node upgrade, which needs a different dev bundle version number
here

Conflicts:
	meteor
	tools/server/server.js
2013-06-10 16:58:03 -07:00
David Glasser
870b0c5065 Bump MIN_NODE_VERSION. 2013-06-10 15:52:30 -07:00
Emily Stark
9a4948d8ed Add postStartup hook that fires once webapp_server is listening. 2013-05-29 18:28:26 -07:00
David Glasser
34c42d76b5 Upgrade Connect to 2.x.
Set $NODE_ENV appropriately (to 'development' in 'meteor run' and 'production'
otherwise) so that connect doesn't send stack traces over the network in
production.
2013-05-28 12:23:11 -07:00
David Glasser
6299f69754 Upgrade Connect to 2.x.
Set $NODE_ENV appropriately (to 'development' in 'meteor run' and 'production'
otherwise) so that connect doesn't send stack traces over the network in
production.
2013-05-28 12:14:11 -07:00
Emily Stark
0866b15814 Add star-translate and dev-bundle packages
dev-bundle exposes the shell script that downloads the dev bundle. We need this
in a package because both star-translate and tools/bundler.js need access to it.
2013-05-22 11:35:33 -07:00
David Glasser
d36a8f3c91 Kill node_modules directory instead of renaming it. 2013-05-16 13:32:25 -07:00
David Glasser
2d827e74fc Factor webapp-specific stuff (and keepalive) out of boot.js into webapp package.
Replace type: "bare" with type: "server" in attributes.json.  This now just
means "only make one server process" rather than controlling the boot script.

Programs that are type: "traditional" that want to be a webapp now need to
explicitly depend on the webapp package.
2013-05-13 11:58:58 -07:00
Naomi Seyfer
31bd79c54b actually attempt to fetch the route from the env var that we put it in 2013-05-13 11:58:57 -07:00
Naomi Seyfer
ae43e039f3 Fix target script to not hardcode linux? 2013-05-13 11:58:57 -07:00
David Glasser
258f6f4502 hardcode correctly 2013-05-13 11:58:57 -07:00
David Glasser
beeaac05b9 temporarily hardcode linux 2013-05-13 11:58:57 -07:00
David Glasser
5520163647 deps into DATA_DIR 2013-05-13 11:58:57 -07:00
David Glasser
1383e3b5e0 lastStart is actually lastStarted 2013-05-13 11:58:57 -07:00
David Glasser
b9179fa2d3 boot.js: new pid structure 2013-05-13 11:58:43 -07:00
David Glasser
ab3c30f577 Fix command-line parsing with --keepalive. 2013-05-13 11:57:48 -07:00
David Glasser
91f5d3c132 Specify insecurePort, not securePort. 2013-05-13 11:57:47 -07:00
David Glasser
437b174b16 If $METEOR_DEPLOY_CONFIG is specified, apps bind to a Galaxy proxy. 2013-05-13 11:57:21 -07:00
David Glasser
2e5652b104 Cache dev bundles in /tmp. 2013-05-13 11:56:51 -07:00
Geoff Schmidt
b3a5c26847 bare programs receive argv correctly. also, boot
scripts receive their load lists via a command
line argument (as had been originally intended
but not implemented) rather than by a hardcoded
reference to 'package.json'.
2013-05-13 11:56:51 -07:00
Geoff Schmidt
f73714cadc programs in an app have an attributes file (this
is temporary and subject to change!) which can be
used to mark them as "regular old programs" (no
http server or mongo setup) and/or to mark them
as a star's control program
2013-05-13 11:56:51 -07:00
Geoff Schmidt
ff09e101ee If we're using an arch-specific, auto-downloaded dev_bundles kit, get rid of the bundled node_modules 2013-05-13 11:54:20 -07:00
Geoff Schmidt
0f3ab1af6b Change format identifiers to look like prereleases 2013-05-13 11:54:20 -07:00
Geoff Schmidt
607e637b22 Generate dev_bundle trampoline scripts in star balls. Nothing uses them yet. 2013-05-13 11:53:51 -07:00
Geoff Schmidt
3abacc44f1 move server config info out of program.json into a separate config.json 2013-05-13 11:53:51 -07:00
Geoff Schmidt
5ec1d9997c rentame 'version' to 'format' in control files 2013-05-13 11:53:50 -07:00
Geoff Schmidt
78212bff0e Eliminate dead code 2013-05-13 11:51:53 -07:00
Geoff Schmidt
e26732d3dd Factor out bundle file-handling logic into new Builder class 2013-05-13 11:51:52 -07:00