Commit Graph

16235 Commits

Author SHA1 Message Date
Tom Coleman
aae95c8b6a Make test-in-console confirm to new driver spec.
See #6439
2016-03-11 10:22:49 +11:00
Ben Newman
ac6a2a961f Support meteor node ... and meteor npm ... 2016-03-10 16:39:18 -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
09ac637964 Fix testDriverPackageName reference in test_environment.js. 2016-03-10 15:42:57 -05:00
Ben Newman
1189c217be Make sure ImportScanner#_resolveNodeModule uses the correct sourceRoot.
Fixes #6453.
2016-03-10 15:27:28 -05:00
Ben Newman
ad3f56a0bf Don't bother generating identity source maps in the linker.
For really big files, constructing a source map can be incredibly slow.
2016-03-10 13:57:00 -05:00
Tom Coleman
a5fb01310c Removed references to --deploy argument of test modes 2016-03-10 15:49:23 +11:00
Tom Coleman
75749bb544 Fix problem with previous commit 2016-03-10 13:44:58 +11:00
Tom Coleman
5e4107b899 Actually test properly that things exist.
For the `meteor test` command when copying build directories into the test app
2016-03-10 12:35:13 +11:00
Tom Coleman
64e2758bb1 Merge pull request #6442 from meteor/fix-meteor-istest-for-packages-6331
Fix meteor istest for packages 6331
2016-03-10 09:45:17 +11:00
Tom Coleman
b6c2ecf5fc A couple of small typos 2016-03-10 09:37:11 +11:00
Ben Newman
bcad71e95b Update History.md with new features in 1.3-beta.16. 2016-03-09 15:54:00 -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.
release/METEOR@1.3-beta.16
2016-03-09 12:13:18 -05:00
Ben Newman
f74975d0df Write node_modules metadata as single strings.
Packages published with node_modules unibuild properties that are
object-valued instead of string-valued cannot be loaded by the previous
version of meteor-tool, so the tool can't upgrade itself if any packages
have object-valued node_modules properties. Fortunately, no packages
currently exist that need both Npm.depends and local node_modules
directories, so we can just keep writing strings for now. At some point in
the future (maybe 1.3.1), we can assume people have upgraded to a version
of the tool that supports object-valued node_modules properties, and then
we can start writing those properties to disk without worrying about
old versions of the tool.
2016-03-09 11:52:09 -05:00
Ben Newman
992c27e716 Recreate symlinks in Builder#copyDirectory, even if !canSymlink.
According to the comment for the copyDirectory method, this was the
intended behavior before I changed it.
2016-03-09 11:52:08 -05:00
Ben Newman
b82f82e7da Revert "Follow symbolic links in builder.copyDirectory."
This reverts commit e6b33a2627.
2016-03-09 11:52:08 -05:00
Tom Coleman
fc32905903 Pass test metadata through to the client via meteorEnv
For #6331
2016-03-09 15:48:11 +11:00
Tom Coleman
27faeefb31 Pass test metadata in via an environment variable.
[Only works on the server right now, fairly uselessly]

For #6331
2016-03-09 15:30:45 +11:00
Ben Newman
2cc42128a6 Bump package versions for 1.3-beta.13 release 2016-03-08 22:48:49 -05:00
Ben Newman
e6b33a2627 Follow symbolic links in builder.copyDirectory.
Fixes a blocking bug with the `meteor publish-release` command.
2016-03-08 22:48:48 -05:00
Tom Coleman
33e619e3ab Added *.[app-]spec[s].* as valid test file names 2016-03-09 14:34:30 +11:00
Ben Newman
40857bdaff Propagate meteorEnv subset of process.env from server to client.
Fixes #6399.
2016-03-08 19:37:57 -05:00
Ben Newman
93e5e7391f Concatenate files that have the same .sourcePath.
Fixes #6422.
2016-03-08 16:30:54 -05:00
Ben Newman
f89ced5ff5 Permit nonexistent addJavaScript({sourcePath}) paths.
Fixes #6383.
Fixes #6411.
2016-03-08 14:03:13 -05:00
Ben Newman
515ff24469 Upgrade meteor-babel dependency to v0.8.2.
This will fix https://github.com/meteor/meteor/issues/6380, thanks to
https://github.com/babel/babel/pull/3391.
2016-03-08 13:01:17 -05:00
Ben Newman
62c41b2ef5 Revert "Don't scan require calls in Browserify/Webpack bundles."
This reverts commit 99cb96fcf7.

Webpack already avoids this problem by transforming `require` to
`__webpack_require__`, and Browserify bundles can use something like
https://www.npmjs.com/package/derequire to rewrite ``require` calls to
avoid confusing other tools. False positives are acceptable, and we can
measure/mitigate the performance consequences in any number of ways.

Fixes #6427.
Fixes #6430.
2016-03-08 12:13:15 -05:00
Ben Newman
d01e0be293 Update History.md to reflect #6398 changes. 2016-03-07 20:28:20 -05:00
Ben Newman
f8084682f5 Commit some accidentally unstaged changes. 2016-03-07 20:21:57 -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
c9660d9f83 Implement module.useNode() for importing node_modules on the server.
Upgrading the install package to 0.5.6 was vital to enable support for
Module.prototype.useNode: 9eb8351e11
2016-03-07 19:41:15 -05:00
Ben Newman
26e3cd7df2 Make sure <bundle>/npm/ contains all node_modules directories. 2016-03-07 19:41:15 -05:00
Ben Newman
99213da719 Make builder.copyDirectory symlink directory children. 2016-03-07 19:41:12 -05:00
Martijn Walraven
2a36418c75 Merge branch 'devel' into release-1.3 2016-03-07 09:32:23 +01:00
Martijn Walraven
0d9586cc17 Merge branch 'devel' into release-1.3 2016-03-07 09:29:15 +01:00
Martijn Walraven
217f1a5854 Merge pull request #6392 from mitar/object-check
Require plain objects for Match.ObjectIncluding
2016-03-05 10:42:23 +01:00
Martijn Walraven
83474f9a1e Don't build web.cordova when not running on mobile targets
Closes #6417.
2016-03-05 08:44:06 +01:00
Tom Coleman
9952d2b19b Properly remove version from skeleton package.json 2016-03-05 09:54:58 +11:00
Tom Coleman
42b8f41824 Revert "Remove version from the skeleton package.json"
This reverts commit 81e40d7301.
2016-03-05 09:54:35 +11:00
Martijn Walraven
651f10345f Use window.location.reload() when the location contain a hash 2016-03-04 11:43:27 +01:00
Tom Coleman
b865ff0702 Merge pull request #6393 from meteor/release-1.3-move-examples
Removed examples and added a command to printout their repos.
2016-03-04 09:36:08 +11:00
Ben Newman
cfdcc37e0d Make ImportScanner path manipulation more Windows-friendly. 2016-03-03 12:35:30 -05:00
Tom Coleman
6c90662818 Removed examples and added a command to printout their repos.
See #6379
2016-03-03 19:06:51 +11:00
Martijn Walraven
081c5b6446 Add some missing Cordova default access rules 2016-03-03 08:55:02 +01:00
Martijn Walraven
ad8a6087ab Update Cordova platforms to Android 5.1.1 and iOS 4.1.0 2016-03-03 08:54:39 +01:00
Martijn Walraven
e70c66f66c Always print status of individual platform requirements 2016-03-03 08:05:38 +01:00
Mitar
22e5a2611d Require plain objects for Match.ObjectIncluding.
Fixes: #6140
2016-03-02 21:38:34 -08:00
Sashko Stubailo
e99a46670d Commit NPM shrinkwrap 2016-03-02 19:58:06 -08:00
Tom Coleman
058002e7e4 Fix incorrect logic 2016-03-03 14:52:34 +11:00