Commit Graph

17952 Commits

Author SHA1 Message Date
Ben Newman
35a19eb1fd Bump package versions for 1.4.2.2-beta.0 release. release/METEOR@1.4.2.2-beta.0 2016-11-10 17:59:56 -05:00
Ben Newman
61ada2d27b Update statOrNull method of cached Resolver objects.
This solves a problem that sometimes occurs when new modules are added
to an app but the cached Resolver object cannot find them because its
statOrNull method is still using a previous instance of the
corresponding ImportScanner.

Related issues and comments:

https://forums.meteor.com/t/meteor-not-detecting-new-files/31151
https://github.com/Akryum/meteor-vue-component/issues/80
https://github.com/meteor/meteor/pull/7975#issuecomment-259263650
https://github.com/meteor/meteor/issues/8008
2016-11-10 17:50:59 -05:00
Ben Newman
e44e9bb876 Add banner for Meteor 1.4.2.1. 2016-11-10 17:50:59 -05:00
Joshua Byrd
5e9076f463 Twitter changed this 2016-11-10 17:50:59 -05:00
Ben Newman
7abd832f75 Upgrade modules test app to Meteor 1.4.2.1. 2016-11-10 17:50:59 -05:00
Seba Kerckhof
f99d6e000e Link directly to target. 2016-11-10 17:50:58 -05:00
Ben Newman
177dcccbb7 Merge pull request #7975 from meteor/release-1.4.2.1
Release 1.4.2.1
2016-11-09 01:34:30 -05:00
Ben Newman
2d8f187cc9 Remove version constraints from ecmascript/package.js.
These constraints are only helpful when publishing the package apart
from a Meteor release, and are hard to maintain otherwise.
2016-11-08 17:38:51 -05:00
Ben Newman
51bb575e00 Bump ecmascript version to 0.6.0 to republish.
Temporarily adding version constraints so that we can publish
independently from the Meteor release.
2016-11-08 17:38:24 -05:00
Ben Newman
45b01ba809 Bump package versions for the official 1.4.2.1 release. release/METEOR@1.4.2.1 2016-11-08 15:42:56 -05:00
Ben Newman
8f07a87bd5 Give package test modules access to Npm.depends dependencies.
Similar in spirit to bbac272530.

Fixes #7999.
2016-11-08 15:36:36 -05:00
Ben Newman
e1e3c89c6a Link to a few more fixed bugs in History.md. 2016-11-08 14:32:29 -05:00
Ben Newman
7abaa56b1a Bump package versions for 1.4.2.1-rc.2 release. release/METEOR@1.4.2.1-rc.2 2016-11-08 14:08:08 -05:00
Ben Newman
932115120f Don't let options.hash override File#hash() salting. 2016-11-08 14:08:08 -05:00
Ben Newman
08016d25b8 Merge branch 'devel' into release-1.4.2.1 2016-11-08 13:55:30 -05:00
Ben Newman
4ada5c8a17 Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure.
This will trigger recompilation and relinking, which should help prevent
various stale caching issues, e.g. #7977.
2016-11-08 13:50:32 -05:00
Ben Newman
940cc4f4d6 Add salt to File#hash in bundler.js.
This is what determines, among other things, source map URL names of the
form <hash>.map, so this may help to avoid #7977.
2016-11-08 13:48:54 -05:00
Ben Newman
a43d66991b Allow watch.sha1 to accept multiple arguments. 2016-11-08 13:48:23 -05:00
Ben Newman
a7ac32e00a Tolerate ENOENT errors in Builder#copyDirectory. 2016-11-08 13:33:20 -05:00
Ben Newman
6ce7891d9b Bump package versions for 1.4.2.1-rc.1 release. release/METEOR@1.4.2.1-rc.1 2016-11-04 18:45:51 -04:00
Ben Newman
ad460e0d7d Tolerate files.realpath throwing ELOOP exceptions. 2016-11-04 18:45:51 -04:00
Ben Newman
52697c7167 Cache getProdPackageNames optimistically. 2016-11-04 18:26:03 -04:00
Ben Newman
7f35e94713 Tolerate files.realpath throwing ENOENT exceptions. 2016-11-04 18:14:09 -04:00
Ben Newman
af51b8160c Use absolute paths for external symlinks in Builder#copyDirectory.
Thanks to @worldsayshi for reporting this issue with a reproduction.

Fixes #8005.
Fixes #2876.
Fixes #7154.
2016-11-04 17:44:42 -04:00
Ben Newman
340f0f6fd4 Merge branch 'release-1.4.2.1' into devel 2016-11-03 13:25:33 -04:00
Jesse Rosenberger
9d7cf49511 Support SAVE_DEV_BUNDLE_TARBALL caching on Windows dev_bundle install
The SAVE_DEV_BUNDLE_TARBALL environment variable is already supported in the Unix version and this mimics that functionality in the Windows script.  Use of this flag makes debugging much less painful, especially when switching branches (for example, during a `git bisect`) as the dev_bundle can be cached locally.

I also replaced a couple un-related uses of `echo` with `Write-Host` which is the preferred way to output messages in PowerShell as it supports more options.

Fixes: developer experience
2016-11-03 13:19:36 -04:00
Ben Newman
2e00dc3663 Bump package versions for 1.4.2.1-rc.0 release. release/METEOR@1.4.2.1-rc.0 2016-11-03 12:19:56 -04:00
Ben Newman
e7a8320ef9 Update History.md with changes in Meteor 1.4.2.1. 2016-11-03 12:18:42 -04:00
Ben Newman
57fe26161d Use Meteor.setTimeout to re-run tryInsert function. 2016-11-03 12:18:42 -04:00
Ben Newman
f290abc72e Another attempt to make "run --once" test more reliable. 2016-11-03 11:48:02 -04:00
Ben Newman
19fdc5c65f Make npm-rebuild.js more Windows-friendly.
Fixes #8007.
2016-11-03 10:25:55 -04:00
Ben Newman
acc98c7c15 Set NPM_CONFIG_PREFIX to dev_bundle by default. 2016-11-02 19:23:09 -04:00
Ben Newman
11c7b2aee2 Bump package versions for 1.4.2.1-beta.1 release. release/METEOR@1.4.2.1-beta.1 2016-11-02 18:10:10 -04:00
Ben Newman
6a137ea333 Merge branch 'devel' into release-1.4.2.1 2016-11-02 18:00:07 -04:00
Ben Newman
32ecb87dcc Merge pull request #7995 from meteor/babel-runtime-revamp
Rely on npm babel-runtime instead of Meteor helper implementations.
2016-11-02 17:49:44 -04:00
Ben Newman
cfc167a67b Make test more reliable by calling insert in Meteor.startup. 2016-11-02 17:25:26 -04:00
Ben Newman
e345fc2d27 Separate failing part of "run --once" test into own test. 2016-11-02 17:07:50 -04:00
Ben Newman
476d6bf7b3 Attempt to fix "run --once" test by giving Mongo a chance to exit.
This test has been failing intermittently on Circle CI.
2016-11-02 16:25:37 -04:00
Ben Newman
31e7b8bb48 Clean up temporary package.json files. 2016-11-02 15:45:04 -04:00
Ben Newman
643a9f12da Move default npm deps install function into own module.
This extraction was necessary because importing tools/cli/commands.js is
not entirely side-effect-free, and was interfering with older tests.
2016-11-02 15:38:39 -04:00
Ben Newman
4bf69409fa Call installDefaultNpmDeps in old bundler-assets test. 2016-11-02 15:16:30 -04:00
Ben Newman
fd57b86125 Run npm install in test apps even if package.json exists. 2016-11-02 14:18:43 -04:00
Ben Newman
5f0ffc5217 Remove coffeescript version constraint in modules test app. 2016-11-02 14:18:42 -04:00
Ben Newman
a90011b885 Improve meteor shell self-test. 2016-11-02 14:18:42 -04:00
Ben Newman
5dc2eaa0f7 Add babel-runtime to test app package.json files. 2016-11-02 13:32:01 -04:00
Ben Newman
8bc4fe20c6 Cache .meteor-portable values temporarily in memory.
This is another way to fix the bug I previously fixed by passing
options.allowSyntaxError to optimisticReadJsonOrNull.

To reproduce the bug (and/or verify that it is fixed), run the following
commands in a terminal:

  rm -rf meteor/packages/npm-mongo/.npm
  meteor/meteor --get-ready

Before these two commits, optimisticReadJsonOrNull would throw a
SyntaxError when reading one of the .meteor-portable files because an
asynchronous write to the same file had not yet finished.
2016-11-02 13:15:57 -04:00
Ben Newman
909419b36e Optionally tolerate SyntaxError in optimisticReadJsonOrNull. 2016-11-02 13:04:09 -04:00
Ben Newman
6b6a71b073 Fix and improve app creation tests. 2016-11-02 12:47:01 -04:00
Ben Newman
270b5cc8ef Run meteor npm install as part of meteor create tests. 2016-11-02 12:05:33 -04:00
Ben Newman
6dcd8b78f2 Run installDefaultNpmDeps whenever creating self-test apps.
Some tests disable the --prepare-app step, but still need babel-runtime
to be installed.
2016-11-02 12:05:33 -04:00