Ben Newman
084f0cb279
Call npm rebuild --update-binary in npm-rebuild.json.
2016-07-12 19:02:32 -04:00
Ben Newman
2c8d36aed2
Ensure parent directory exists in files.writeFileAtomically.
2016-07-12 14:12:03 -04:00
Ben Newman
f620f2f047
Save .meteor/local/resolver-result-cache.json to improve startup performance.
2016-07-12 13:32:09 -04:00
Ben Newman
bee3112a63
Try harder to create .meteor/dev_bundle symlink.
...
May help with #7391 .
2016-07-12 11:41:27 -04:00
Ben Newman
6313a66049
Prevent archinfo.host() from yielding by forcing its result to be cached.
2016-07-11 22:01:22 -04:00
Ben Newman
7b2193188f
Return all packages from getProdPackageNames if package.json missing.
2016-07-11 21:25:26 -04:00
Ben Newman
f001d223fa
Rebuild binary npm packages used by compiler plugins, too.
...
Fixes #7297 .
2016-07-11 20:40:55 -04:00
Ben Newman
d732c2e649
Always link .meteor/dev_bundle to release specified in .meteor/release.
...
I was mistaken to think that files.getDevBundle() would be called after
springboarding to the appropriate release.
2016-07-11 18:39:52 -04:00
Ben Newman
586af3482c
Merge branch 'devel' into release-1.4
2016-07-10 15:50:03 -04:00
Ben Newman
f8b1bba606
Improve .meteor/dev_bundle link reading and creation.
2016-07-10 15:39:46 -04:00
Ben Newman
74aea0ca3c
Update modules test app to Meteor 1.3.4.4.
2016-07-10 15:26:06 -04:00
Ben Newman
0689cae25a
Set loglevel = error for Npm.depends-related npm commands.
2016-07-10 10:04:50 -04:00
Ben Newman
1dac34f00c
Store .meteor/dev_bundle target as text when symbolic linking fails.
...
This wouldn't work if .meteor/dev_bundle needed to be a true symbolic
link, but fortunately we just need to record the target path in a way that
allows us to read it later.
Fixes #7374 .
2016-07-09 17:15:21 -04:00
Ben Newman
77feb7b76a
Decompose readLink and makeLink helper functions.
...
Part of #7374 .
2016-07-09 16:55:14 -04:00
Ben Newman
ac28ac16d9
Fix bug: solutionReleaseName no longer defined.
2016-07-09 16:31:46 -04:00
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