Commit Graph

16508 Commits

Author SHA1 Message Date
Ben Newman
7722ace625 Bump package versions for 1.3.2-rc.1 release. release/METEOR@1.3.2-rc.1 2016-04-10 19:55:11 -04:00
Ben Newman
201e0f11f6 Make accounts-password depend on the newest version of npm-bcrypt. 2016-04-10 19:51:59 -04:00
Ben Newman
5db9e2cdcd Upgrade packages/non-core/npm-bcrypt and republish.
Developers using Meteor 1.3+ should really just `npm install bcrypt`
instead of using this wrapper package.
2016-04-10 19:51:59 -04:00
Ben Newman
5c7e6065ac Keep quiet about legacy registerBuildPlugin errors in lazy files.
Fixes #6767.

This is essentially the same treatment we give to compilation errors in
lazy files processed by Package.registerCompiler-style plugins, which
fixed a similar issue: #5998. Here are the relevant commits:

be986fd709
ce4fda3783
2016-04-10 12:02:10 -04:00
Ben Newman
41b58b32d9 Bump package versions for 1.3.2-rc.0 release. release/METEOR@1.3.2-rc.0 2016-04-08 19:47:29 -04:00
Ben Newman
c0b64865ab Don't try to use CSS source maps for CommonJS-ified CSS modules.
Part of #6037.
2016-04-08 19:37:47 -04:00
Ben Newman
911b4aa4cb Simplify CSS-to-CommonJS conversion by not handling @import rules.
We can revisit this conversion if it turns out anyone really wants to use
@import rules in CSS files instead of using something like LESS.

Part of #6037.
2016-04-08 19:02:33 -04:00
Ben Newman
2b62539d9f Allow Galaxy users to disable npm rebuild if they really want to.
Part of #6537..
2016-04-08 15:20:09 -04:00
Ben Newman
a073280e3f Ignore nested node_modules directories if parent contains no sources.
This in important optimization for #6037, and it also fixes #6627, since
we are now registering watchSet dependencies on the contents of
node_modules directories.
2016-04-08 11:11:01 -04:00
Ben Newman
43659ff561 Search local node_modules directories for non-.js(on) source files.
Part of #6037.
2016-04-08 11:11:01 -04:00
Ben Newman
eb18d59faa Make all files in imports and node_modules directories lazy.
The most notable change here is that we now treat files in app imports
directories as lazy even before we know whether the app is using modules.
This could be a breaking change for some 1.3 apps that do not use modules
but have imports directories containing eager .js files. That (very minor)
level of backwards incompatibility seems acceptable in the context of
upgrading to Meteor ~1.3, however.
2016-04-08 11:10:52 -04:00
skirunman
be7773f076 Document Meteor.defer
- Mention similarity to calling Meteor.setTimeout
- Run JSDoc script
2016-04-08 09:44:11 -04:00
Ben Newman
b5d1edbecb Bump $BUNDLE_VERSION to 0.5.36 before rebuilding dev bundle. 2016-04-07 14:14:01 -04:00
Ben Newman
6849b93fd2 Add trailing newline to bundle/programs/server/package.json. 2016-04-07 14:13:33 -04:00
Ben Newman
5a78420b10 Upgrade meteor-babel versions to 0.9.2. 2016-04-07 13:51:24 -04:00
Ben Newman
ddb7f86bbd Use meteor-babel-helpers package in babel-runtime. 2016-04-07 13:51:23 -04:00
Ben Newman
2d47bf9b64 Bump meteor-babel version to rebuild dev bundle. 2016-04-07 13:05:53 -04:00
Ben Newman
7c3014302c Add install script to programs/server/package.json when bundling.
This package.json file is used at times when npm-rebuild.js is not
available, such as when we're building the dev bundle.
2016-04-07 13:05:53 -04:00
Ben Newman
a7c3aa6a50 Tolerate (and prevent) missing file.deps in the ImportScanner.
Fixes #6724.
2016-04-07 13:05:52 -04:00
Ben Newman
b3a83bd118 Install reliable stubs for all Package[name] objects.
If a Meteor package had a file called index.js, the runtime module system
would resolve "meteor/<name>" to "/node_modules/meteor/<name>/index.js",
instead of falling back to Package[<name>] as expected.

Installing a stub for Package[<name>] at /node_modules/meteor/<name>.js
means the runtime module system no longer needs the fallback, and will no
longer be confused by index.js files.

Fixes #6590.
2016-04-07 13:05:52 -04:00
Ben Newman
179225f7f8 Construct identity source maps for unmapped files.
This is a partial reversion of ad3f56a0bf,
but hopefully less time intensive than the original.

Fixes #6639.
2016-04-07 13:05:52 -04:00
Ben Newman
b1c3f22ff4 Make quiet symlink loop checking the default.
Fixes #6665.
2016-04-07 13:05:52 -04:00
Ben Newman
a36c204d7d Allow importing files with unknown extensions if they parse as JS.
Fixes #6699.
2016-04-07 13:05:51 -04:00
Ben Newman
6f8a9cd711 Load jquery as a peer dependency if installed by app.
Fixes #6626.
2016-04-07 13:05:51 -04:00
Ben Newman
b535ce9eb8 Eliminate jquery dependency from check package.
Part of #6626.
Fixes #6563.
2016-04-07 13:05:51 -04:00
Ben Newman
37659529ca Eliminate check package dependency from babel-compiler. 2016-04-07 13:05:51 -04:00
Ben Newman
65c8e65e77 Exit early from npm-rebuild.js when npm-rebuilds.json does not exist. 2016-04-07 13:05:50 -04:00
Ben Newman
c18c1f5278 Replace setup.sh with npm-rebuild.js, and run it on npm install.
Implements https://github.com/meteor/meteor/issues/6537#issuecomment-205954797

The setup.sh script was only sometimes written previously, so no existing
deployment logic should rely on it existing.

On the other hand, all apps built by `meteor build` require running
`npm install` in the programs/server/ directory, so the install hook I
added to programs/server/package.json will ensure npm-rebuild.js is
invoked reliably.

Using a pure Node script means this code will work just as well on Windows
as on Linux or Darwin, though Linux is by far the most common deployment
platform for Meteor apps.

TODO Remember to rebuild the dev bundle before the next release!
2016-04-07 13:05:50 -04:00
Ben Newman
2dd511ff11 Remove logic for writing package.json files for binary npm packages.
We're going to be using programs/server/setup.sh to run `npm rebuild` in
these packages, which is a much cleaner solution for #6537.
2016-04-07 13:05:50 -04:00
Ben Newman
91244f36c3 Run npm rebuild in programs/server/setup.sh.
Part of #6537.
2016-04-07 13:05:49 -04:00
Ben Newman
b4fe0d5c85 Allow importing .css files from node_modules directories.
Fixes #6037.
2016-04-07 13:05:49 -04:00
Ben Newman
94d03ee6bb Update the modules test app to Meteor 1.3.1. 2016-04-07 13:05:49 -04:00
Zoltan Olah
aedee2df30 Update README.md 2016-04-07 09:28:40 -07:00
Zoltan Olah
61cd0be862 Adds guide to readme 2016-04-07 09:28:12 -07:00
Marcelo Schmidt
a290346af6 Remove _.once and add cache to getPool
Subsequent calls to getPool will return the cached value, until process.env.MAIL_URL changes and getPool is called again.
2016-04-07 16:31:24 +02:00
skirunman
f9a6e314bc Fix bad link 2016-04-07 00:11:38 -07:00
Sashko Stubailo
1f5ca3c151 Merge branch 'hwillson-devel' into devel
PR #6721
2016-04-06 09:57:38 -07:00
Sashko Stubailo
b1b9eb1338 Add to table of contents 2016-04-06 09:57:11 -07:00
Sashko Stubailo
73e43738d0 Update docs data and jsdoc 2016-04-06 09:54:15 -07:00
hwillson
6cbb0bb30e Added in missing Meteor.isProduction. 2016-04-06 12:48:56 -04:00
Ben Newman
3ba4b04b04 Include link to 1.3.1 announcement in upgrade banner text. 2016-04-06 11:33:37 -04:00
hwillson
8b7668f19c Added in missing Meteor.isDevelopment. 2016-04-06 11:33:24 -04:00
Skaag Argonius
c737f5d1b3 Fixed issue #6666 + Removed progress bar animation when no tty is present 2016-04-05 17:09:01 -07:00
Ben Newman
412736a812 Merge branch 'master' into devel 2016-04-04 14:51:37 -04:00
Ben Newman
80ae68989b Merge branch 'release-1.3.1' 2016-04-04 14:51:03 -04:00
Sashko Stubailo
bfc88706c4 Fix spacing 2016-04-03 23:53:13 -07:00
Michel Floyd
c788afa30d Converted example to use ES6 conventions (Method shorthand and arrow functions)
* Converted example to use ES6 conventions (fat-arrow functions)

* Removed arrow functions from onRendered/onDestroyed at Sashko's request

* Fixed spacing
2016-04-03 23:51:32 -07:00
Joseph Orbegoso Pea
441fc9871f Update Blaze.remove docs.
* Update Blaze.remove docs.

* Update view.js
2016-04-03 23:02:04 -07:00
Ben Newman
2acade83f9 Merge pull request #6688 from laosb/patch-7
Fixes #6686
2016-04-03 23:26:38 -04:00
Ben Newman
977dbd11c3 Add update banner text for 1.3 => 1.3.1. 2016-04-03 23:05:41 -04:00