Files
meteor/tools/static-assets
Ben Newman 7eafc55eb2 Improve meteor shell command evaluation.
Specific improvements:

- Parentheses are now stripped from commands that look like named classes
  so that they will be treated as class declarations rather than as named
  class expressions.

- When the `ecmascript` package is installed, `compileForShell` errors are
  now exposed to the `evalCommand` callback.

- Instead of using `vm.runInThisContext` to parse and evaluate commands at
  the same time, `evalCommand` now parses commands by creating a new
  `vm.Script` and later evaluates them using `script.runInThisContext()`,
  so that `SyntaxError`s can be reported immediately. Fixes #5131.
2015-09-11 18:32:39 -04:00
..

Isobuild Static Assets

Files here are designed to be copied to the output destination of a Meteor CLI command.

Sometimes, for code sharing, the JS files can be imported by parts of the tool (like mini-files.js - it is shared between built apps and tool).

skel - App Skeleton

skel is a folder that is the skeleton of a new fresh app. It is copied to the destination on meteor create command. The important part of the skeleton is the packages it includes by default.

skel-pack - Package Skeleton

Similar to skel, skel-pack is copied on meteor create --package command.

server - Bundled App's Bootstrap

The server folder is copied by Isobuild when the app is bundled (on meteor run or meteor build). The boot.js file is the default entry point of any built Meteor app, it loads the server program and runs the files from the manifest. It also sets up the source-maps and a backdoor for meteor shell.