Ben Newman
c54686126e
Merge branch 'devel' into release-1.4
2016-07-09 15:07:52 -04:00
Ben Newman
126b9172c7
Update modules test app to Meteor 1.3.4.3.
2016-07-08 22:07:05 -04:00
Ben Newman
b2cae10a24
Always update .meteor/dev_bundle when reading .meteor/release.
2016-07-08 13:44:06 -04:00
Ben Newman
9e6ebde836
Make sure .meteor/.gitignore ignores .meteor/dev_bundle.
...
https://github.com/meteor/meteor/pull/7340#issuecomment-231253317
2016-07-08 13:44:05 -04:00
Ben Newman
e2dbb6093e
Always call updateMeteorToolSymlink after successful update.
...
https://github.com/meteor/meteor/pull/7340#issuecomment-231254368
2016-07-08 13:44:04 -04:00
Ben Newman
817187bfc9
Bump LINKER_CACHE_SALT to trigger relinking.
2016-07-07 17:01:12 -04:00
Ben Newman
a9e8cbe267
Move Promise runtime setup into its own module.
...
Test code was requiring the install-runtime.js module without requiring
the index.js module, so global.Promise was not defined.
2016-07-07 17:01:11 -04:00
Ben Newman
7b37188279
Remove .meteor/dev_bundle if .meteor/release reads "none".
2016-07-07 16:51:04 -04:00
Ben Newman
542891b65d
Make meteor {node,npm} respect .meteor/dev_bundle when possible.
2016-07-07 15:24:25 -04:00
Ben Newman
6cd1c472d9
Create a .meteor/dev_bundle symlink when writing .meteor/release.
...
This will make it easier for `meteor node` and `meteor npm` to find the
right dev_bundle for the current application.
2016-07-07 15:24:24 -04:00
Ben Newman
b23ad6d85f
Respect .meteor/release when running meteor {npm,node} from checkout.
2016-07-07 15:24:24 -04:00
Ben Newman
eadb6e65cc
Ensure only one Promise constructor is ever used by tools code.
2016-07-07 11:04:18 -04:00
Ben Newman
f812762353
Infer dev_bundle for meteor {npm,node} from .meteor/release.
...
Fixes #7338 .
Fixes #7297 .
2016-07-06 21:00:40 -04:00
Ben Newman
9c37dbf3e5
Only write .meteor-portable files in npm package directories.
...
Also clean up any existing misplaced .meteor-portable files.
Fixes #7296 .
2016-07-06 21:00:39 -04:00
Ben Newman
c91a95cbef
Make sure meteor shell options JSON is parsed separately.
...
Also don't ignore the `error` parameter passed to the readJSONFromStream
callback function.
Fixes #7312 .
2016-07-06 21:00:39 -04:00
Ben Newman
1783559b56
Use ES2015 syntax to import JsFile and CssFile.
2016-07-06 21:00:39 -04:00
Ben Newman
9d417303c1
Symlink .meteor/local/plugin-cache in temporary test directory.
...
Because the cache directories are shared instead of copied, the results
now have a chance of surviving multiple invocations of `meteor test`.
This significantly reduces rebuild times when testing a large app; for
example, the meteor/tools/tests/apps/modules app now takes less than 10
seconds to rebuild (after restarting the process, not after a file change)
instead of 60 seconds or more.
2016-07-06 21:00:38 -04:00
Ben Newman
9865322d4c
Compute prodPackageNames lazily.
2016-07-06 21:00:38 -04:00
Ben Newman
94f9ebbdd8
Don't call nonexistent writeHead method of net.Socket objects.
2016-07-06 21:00:38 -04:00
Ben Newman
ad997e9d4d
Tolerate non-string results from path.* functions.
...
In particular, path.isAbsolute returns a boolean value.
2016-07-06 21:00:37 -04:00
Wexpo Lyu
5aaf1877f9
Update the code using files.
2016-07-04 06:19:36 +08:00
Wexpo Lyu
2e73838926
Relative path resolves to project directory.
...
Fixing #7292
2016-07-03 12:41:18 +08:00
Ben Newman
f38725e0b2
Infer dev_bundle for meteor {npm,node} from .meteor/release.
...
Fixes #7338 .
Fixes #7297 .
2016-07-01 20:38:44 -04:00
Ben Newman
3b9a44383f
Only write .meteor-portable files in npm package directories.
...
Also clean up any existing misplaced .meteor-portable files.
Fixes #7296 .
2016-06-30 14:50:22 -04:00
Tom Coleman
e9666f2aa0
Remove "running" check from autoupdate test
...
The issue was the order of the two matches kept changing due to ..?.. (various factors I guess).
2016-06-29 14:14:09 -04:00
Tom Coleman
d2d1455f40
Updated meteor create to write package versions
2016-06-29 14:14:09 -04:00
Tom Coleman
add36ae322
Added test to check *updating* constraints
2016-06-29 14:14:09 -04:00
Tom Coleman
7519c6b547
Updated update test to work properly
2016-06-29 14:14:08 -04:00
Tom Coleman
63f1311630
First version of release constraint unpinning
...
For #7004 . Still working on the self test but it appears to work :)
2016-06-29 14:14:08 -04:00
Ben Newman
2dfb450408
Merge branch 'devel' into release-1.4
2016-06-29 10:16:05 -04:00
Ben Newman
61c32e94b4
Make sure meteor shell options JSON is parsed separately.
...
Also don't ignore the `error` parameter passed to the readJSONFromStream
callback function.
Fixes #7312 .
2016-06-28 21:06:52 -04:00
Ben Newman
4ebd0b2710
Use ES2015 syntax to import JsFile and CssFile.
2016-06-28 20:49:04 -04:00
Gabriel Rubens
cbb9e219d7
Include test for App.appendToConfig
2016-06-29 09:18:12 +10:00
Gabriel Rubens
2be5bedc19
Update App.appendToConfig to use a raw string
2016-06-29 09:18:12 +10:00
Gabriel Rubens
3797ab014e
Implement App.appendToConfig
2016-06-29 09:18:12 +10:00
Tom Coleman
8bdbcb7199
Marginally more helpful message to install phantom for self-test
2016-06-29 08:24:58 +10:00
Ben Newman
e229c3546c
Symlink .meteor/local/plugin-cache in temporary test directory.
...
Because the cache directories are shared instead of copied, the results
now have a chance of surviving multiple invocations of `meteor test`.
This significantly reduces rebuild times when testing a large app; for
example, the meteor/tools/tests/apps/modules app now takes less than 10
seconds to rebuild (after restarting the process, not after a file change)
instead of 60 seconds or more.
2016-06-28 12:59:50 -04:00
Ben Newman
315f6ee74c
Compute prodPackageNames lazily.
2016-06-28 12:59:50 -04:00
Ben Newman
81986f1894
Don't call nonexistent writeHead method of net.Socket objects.
2016-06-27 10:02:37 -04:00
Ben Newman
03516c142a
Tolerate non-string results from path.* functions.
...
In particular, path.isAbsolute returns a boolean value.
2016-06-24 12:16:43 -04:00
Fabricio Nascimento
0c5e19bf70
Removing error handling no longer needed
2016-06-24 12:15:29 -04:00
Fabricio Nascimento
52ae06c771
Fix get master name on test
2016-06-24 12:15:28 -04:00
Fabricio Nascimento
7aa58f3ee5
Fix MasterDocDetection
2016-06-24 12:15:28 -04:00
Fabricio Nascimento
711c50291c
Improves on error handling during replicaSet setup
2016-06-24 12:15:28 -04:00
Fabricio Nascimento
4a5d4b7d68
Fix initializing and running mongod
2016-06-24 12:15:27 -04:00
Tom Coleman
bcfe072d52
Turn off journal for wired tiger in development
2016-06-24 12:15:27 -04:00
Tom Coleman
49d7afabca
Added a warning when running the tool against a mmapv1 database
2016-06-24 12:15:27 -04:00
Ben Newman
381064e4bb
Run mongod with mmapv1 instead of wiredTiger on Windows.
2016-06-24 12:15:27 -04:00
Tom Coleman
25b7d3f585
Update mongo tests to check for 3.2
2016-06-24 12:15:26 -04:00
Tom Coleman
6273e74ff6
Updated run-mongo code for 3.2 messages
2016-06-24 12:15:25 -04:00