Commit Graph

16533 Commits

Author SHA1 Message Date
Ben Newman
83c2f7a790 Bump package versions for the official 1.3.2 release. release/METEOR@1.3.2 2016-04-15 11:05:16 -04:00
Ben Newman
afd851d7f7 Tweak to History.md. 2016-04-15 11:05:15 -04:00
Ben Newman
0fcf118798 Update History.md with changes in 1.3.2. 2016-04-15 10:49:34 -04:00
Ben Newman
295e3d7819 Fix less plugin tests. 2016-04-14 12:45:50 -04:00
Ben Newman
f5ced99eb2 Bump package versions for 1.3.2-rc.6 release. release/METEOR@1.3.2-rc.6 2016-04-13 19:59:33 -04:00
Ben Newman
cd8bc10b1d Allow .less files in imports/ directories to be imported.
Because the files are in an imports/ directory, they are still considered
lazy, so they will not be applied to the document unless imported from JS.

Related: #6037
2016-04-13 19:52:20 -04:00
Ben Newman
f616b6bc81 Let multiple files have the same .sourcePath in the ImportScanner.
Importantly, the files can now differ with respect to their .lazy
properties, which fixes #6806 and related issues. Note that the files must
have different .targetPath values if they have the same .sourcePath.

This is a minor breaking change for code that relied on module.id being
based on the .sourcePath instead of the .targetPath.
2016-04-13 19:49:29 -04:00
Ben Newman
3a5e8da935 Make sure JS resources have a .targetPath property.
This path can be specified by calling addJavaScript({ path: ... }), and
defaults to being identical to the .sourcePath if no options.path is
provided.  The .targetPath may be different from the .sourcePath when a
compiler plugin calls addJavaScript multiple times for the same file,
using a different options.path each time, e.g. when a JSON configuration
file turns into multiple JS resources.
2016-04-13 19:26:33 -04:00
Ben Newman
8e9d0ab7ba Let ImportScanner resolve input files not on disk.
If we pass a file to ImportScanner#addInputFiles, and a module identifier
resolves to that file, it shouldn't matter if the file actually exists on
disk. A common example is a new file generated by a compiler plugin.
2016-04-13 16:34:58 -04:00
Zoltan Olah
7b1d879d98 Update Roadmap.md 2016-04-13 16:34:58 -04:00
Zoltan Olah
cbbcec0eee Update Roadmap.md 2016-04-13 16:34:57 -04:00
Zoltan Olah
eaac8f362d Update Roadmap.md 2016-04-13 16:34:57 -04:00
Zoltan Olah
206fe28c2d Update Roadmap.md 2016-04-13 16:34:56 -04:00
Ben Newman
4826b323a1 Bump package versions for 1.3.2-rc.5 release. release/METEOR@1.3.2-rc.5 2016-04-12 12:29:05 -04:00
Ben Newman
1d31896564 Normalize node_modules directory names when cross-building.
Really fixes #6765.
2016-04-12 12:19:06 -04:00
Ben Newman
d8bed6d491 Bump package versions for 1.3.2-rc.4 release. release/METEOR@1.3.2-rc.4 2016-04-11 19:36:25 -04:00
Ben Newman
984e27e372 Better error message for _combineFiles lazy/bare mismatch. 2016-04-11 18:26:37 -04:00
Zoltan Olah
d1654ae0f8 First pass at an updated roadmap 2016-04-11 18:26:36 -04:00
Jesse Rosenberger
e59c7ebc8e Fix Match.Optional to work as it did previously in Meteor 1.2
`Match.Optional` is still only supposed to "pass" if the value is `null`
or the specified type.  The new `Match.Maybe` allows `undefined` or
`null` in addition to the specified types. `Match.Optional` is on the
track toward deprecation, however to not break existing code it was
*supposed* to stay working the same as before. (per #3876).

There weren't tests in place to make sure that `Match.Optional` kept
working the same, and the code didn't actually make it keep working the
same.  Hopefully extra tests will make this better.

`.Maybe` has some additional bugs, but should be addressed separately
(see #6271)

Fixes #6735
2016-04-11 18:26:35 -04:00
Ben Newman
d287681868 Don't interfere with explicit sourceReadOptions.names.
Fixes #6787.
2016-04-11 17:02:10 -04:00
Ben Newman
865735a436 Tolerate malformed .meteor-portable files. 2016-04-11 17:02:10 -04:00
Ben Newman
901e4a5c01 Bump package versions for 1.3.1-rc.2 release. release/METEOR@1.3.2-rc.2 2016-04-11 13:59:22 -04:00
Ben Newman
1eb61a7aa9 Bump $BUNDLE_VERSION to 0.5.37 to improve dev_bundle/bin/npm.cmd.
Includes #6664.
Fixes #6679.
Fixes #6785.
2016-04-11 12:33:55 -04:00
Ben Newman
cf98e285ac Fix imports of tools/tool-env/isopackets.js.
Fixes #6778.
2016-04-11 12:33:16 -04:00
Daniel Klischies
6ca586ff27 Fix whitespace and command-output handling of npm.cmd 2016-04-11 12:33:16 -04:00
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