Commit Graph

58 Commits

Author SHA1 Message Date
Ben Newman
5f6f585276 Test fallback to index.js when package.json has no "main" field.
Related to #6589.
2016-03-24 20:07:14 -04:00
Ben Newman
be871bf2ed Upgrade modules-runtime install package to v0.6.1.
Fixes #6543.
2016-03-20 13:44:10 -04:00
Ben Newman
19d9f33219 Test that #6514 is fixed. 2016-03-18 15:00:54 -04:00
Ben Newman
37c218ec09 Update version metadata for modules test app. 2016-03-17 01:23:53 -04:00
Ben Newman
267bae8803 Remove meteor-env-{dev,prod} from modules test app .meteor/versions. 2016-03-14 21:05:55 -04:00
Ben Newman
c27e96bbd5 Update .meteor/versions for the modules test app. 2016-03-11 19:24:28 -05:00
Ben Newman
f56940b314 Fix CSS computed property tests broken by app-hiding logic. 2016-03-10 16:04:04 -05:00
Ben Newman
ab959fb700 import assert from "assert" 2016-03-10 16:03:52 -05:00
Ben Newman
8c6d38ea3f Use avital:mocha for the modules test app. 2016-03-10 15:47:56 -05:00
Ben Newman
4f5cb1d7a0 Bump package versions for 1.3-beta.16 release.
What happened to beta.13, beta.14, and beta.15? All unfortunately suffered
from problems that made it either impossible or unwise to upgrade to those
versions.
2016-03-09 12:13:18 -05:00
Ben Newman
2cc42128a6 Bump package versions for 1.3-beta.13 release 2016-03-08 22:48:49 -05:00
Ben Newman
a92aaee133 Test that various packages can now be imported using pure Node.
Closes #6165.
Closes #6173.
Closes #6285.
Closes #6313.
Closes #6373.
2016-03-07 19:52:05 -05:00
Ben Newman
636c4b9046 Update tools/tests/apps/modules/.meteor/versions for beta.12. 2016-02-29 23:35:17 -05:00
Ben Newman
5c47891489 Allow custom stubs to override meteor-node-stubs.
Part of #6056.
2016-02-29 19:45:52 -05:00
Ben Newman
7acca944a9 Remove manual stream stub, now that we have meteor-node-stubs. 2016-02-29 16:12:21 -05:00
Ben Newman
4236cdafbf Test with meteor test --full-app instead of meteor test-app. 2016-02-29 15:42:59 -05:00
Ben Newman
1d5e424bb7 Remove assertion that assumed too much about the util stub package. 2016-02-28 14:02:21 -05:00
Ben Newman
2fa65685d6 Install stubs for Node built-in modules automatically.
The implementation of these stubs is controlled by an optional npm package
called meteor-node-stubs, so we can keep iterating on them after releasing
Meteor 1.3, if we need to.

Fixes #6056.
2016-02-27 18:41:23 -05:00
Ben Newman
22d423e5a5 Infer optional import extensions from source processors.
This way, enabling an optional import extension like .jsx or .ts is as
easy as using the relevant compiler plugin.

Fixes #6151.
2016-02-26 14:36:32 -05:00
Ben Newman
ed454dfd7b Test that #6312 was fixed by the recent Babel upgrade.
Closes #6312.
2016-02-26 13:26:06 -05:00
Ben Newman
c1b57d672e Update .meteor/versions for modules test app. 2016-02-26 12:51:13 -05:00
Ben Newman
292824da3f Update babel-compiler dependencies.
The meteor-babel update includes a change to ignore .babelrc files, which
fixes #6016.

The check update just seemed like a good idea.
2016-02-26 12:36:57 -05:00
Ben Newman
c9f42c7bc2 Always enable profiling when running the modules test app. 2016-02-26 12:36:57 -05:00
Ben Newman
c33f2f25c4 Use --driver-package when testing the modules app. 2016-02-26 11:00:16 -05:00
Ben Newman
67e5157db4 Test that stub modules can be installed under different names.
This relies on the symbolic link functionality provided by meteorInstall.
2016-02-23 19:53:09 -05:00
Ben Newman
0efd8b7bef Allow JSX syntax in .js files compiled with ecmascript.
Fixes #6151.
2016-02-23 18:32:32 -05:00
Ben Newman
1f3c03d662 Use meteor test-app to run the modules test app. 2016-02-19 17:07:07 -05:00
Martijn Walraven
d922c816be Bump package versions for 1.3-beta.11 release 2016-02-18 14:26:48 +01:00
Ben Newman
868c249c15 Add a test to verify #6240 has been fixed.
Closes #6240.
2016-02-16 20:58:12 -05:00
Ben Newman
4e5f7ab83c Update .meteor/versions for modules test app. 2016-02-16 16:46:56 -05:00
Ben Newman
1fd6a31913 Update .meteor/versions for modules test app. 2016-02-13 16:17:46 -05:00
Ben Newman
017ded7ab6 Install client-side stub for buffer module in modules test app. 2016-02-13 16:17:02 -05:00
Ben Newman
c368d98593 Support __filename and __dirname.
Part of #6055.
Fixes #6022.
2016-02-13 16:09:40 -05:00
Ben Newman
3ecc3e43a9 Allow main/browser field of package.json to be top-level identifier. 2016-02-12 16:58:12 -05:00
Ben Newman
e4544b5428 Prevent local node_modules from overriding builtins on the server. 2016-02-12 12:21:19 -05:00
Ben Newman
5d0a8f8f0e Allow apps and packages to import "meteor/<package>/..." modules. 2016-02-11 11:45:58 -05:00
Ben Newman
ce4fda3783 Tolerate compilation errors for lazy files.
Fixes #5998.
2016-02-11 11:41:39 -05:00
Ben Newman
1437e07ee5 Forbid server bundles from importing client-only files.
This partially reverts 35a02864af, and also
fixes #6182.
2016-02-11 11:41:39 -05:00
Ben Newman
35a02864af Allow client modules to be imported by server modules. 2016-02-05 18:37:54 -05:00
Ben Newman
c9534b8156 Add a test that .es5.js files are not transpiled.
Part of #5782.
2016-02-05 17:03:50 -05:00
Ben Newman
ae90250f80 Don't assume strict mode when parsing ecmascript files.
This will require rebuilding the dev bundle before the next release.
2016-02-05 16:38:40 -05:00
Ben Newman
6d46ac6125 Add a basic test of import {Meteor} from meteor/meteor. 2016-02-05 16:38:40 -05:00
Ben Newman
b7c48ee8ed Bump 1.3 beta release numbers. 2016-02-04 23:48:45 -05:00
Ben Newman
e150f6c919 Bump 1.3 beta release numbers.
The beta released with this commit (modules-beta.6) included everything on
the release-1.3 branch up to bdf64da339
("Avoid circular package.json resolution chains.").

Unfortunately, additional commits were pushed to the branch before this
commit was pushed, so the release tag release/METEOR@1.3-modules-beta.6
does not correspond to any commit in the branch history.

Rather than attempting to rewrite the branch history, I decided to amend
this commit with this explanation before pushing it.

To see exactly what was released with the sixth beta:

  git fetch --tags
  git log release/METEOR@1.3-modules-beta.6
2016-02-04 09:58:05 -05:00
Ben Newman
bdf64da339 Avoid circular package.json resolution chains.
Fixes #6114.
2016-02-03 13:21:58 -05:00
Ben Newman
b0da03b009 Regression test to verify #6144 fixed.
Closes #6144.
2016-02-03 10:30:49 -05:00
Ben Newman
877cb9e61a Add a test of client/compatibility directories. 2016-01-25 15:34:16 -05:00
Ben Newman
2c1083feb3 Add basic test of async functions and await expressions. 2016-01-25 14:21:05 -05:00
Ben Newman
cd27d78d45 Update .meteor/versions for modules test app. 2016-01-25 11:12:51 -05:00
Ben Newman
819e13a562 Fix modules tests to work with Babel 6 default exports. 2016-01-20 23:57:01 -05:00