Permalink
Switch branches/tags
Commits on Jan 20, 2018
  1. Bump package versions for 1.6.1-rc.10 release.

    benjamn committed Jan 20, 2018
  2. Go back to writing .meteor-portable-2.json files asynchronously.

    benjamn committed Jan 19, 2018
    This reverts commit 4e4e204.
    
    This commit caused a strange regression in reliability of the Windows
    dynamic-import self-test, which may be an indication of a deeper problem,
    so it seems safest to revert this change for now.
    
    In case empty .meteor-portable-2.json files are written, I've added an
    additional check that the cached JSON value is a boolean.
Commits on Jan 19, 2018
  1. Avoid hiding errors due to missing dependencies of custom Babel plugins.

    benjamn committed Jan 19, 2018
    As illustrated by #9554, if a custom .babelrc plugin such as
    @babel/plugin-proposal-optional-chaining imports a missing dependency such
    as @babel/core, that failure causes inputFile.require to throw an
    exception that looks a lot like @babel/plugin-proposal-optional-chaining
    itself is missing, which can be confusing.
    
    This change does not fix the underlying problem (the @babel/core package
    still needs to be installed), but it does expose the exception so that the
    developer can do something about it, rather than merely leaving the ?.
    syntax uncompiled.
    
    Here's the offending line of code:
    https://github.com/babel/babel/blob/47ce7e71c9f97d151be493d05755562cb299fcca/packages/babel-plugin-proposal-optional-chaining/src/index.js#L2
    
    Unfortunately, depending directly on @babel/core seems to be the policy
    for Babel plugins, per this PR: babel/babel#6778
Commits on Jan 18, 2018
  1. Bump package versions for 1.6.1-rc.9 release.

    benjamn committed Jan 18, 2018
  2. Write .meteor-portable-2.json files synchronously.

    benjamn committed Jan 18, 2018
    Previously these files were written asynchronously in an attempt to
    improve performance, since the success of the write is not critical.
    While I stand by my claim that it's acceptable for these writes to fail, I
    noticed recently that the async write was failing very often (resulting in
    an empty .meteor-portable-2.json file). Switching to sync semantics
    eliminated that problem with no noticeable loss of performance. In fact,
    overall performance is likely better because of the future work saved by a
    successful write.
  3. Improve node_modules portability scan.

    benjamn committed Jan 18, 2018
    In an attempt to fix #9552, recursively scan child directories of
    directories that start with '@' characters, rather than treating the
    parent directory as a potential npm package.
    
    Also, ignore directories that start with a '.' character, such as the
    common node_modules/.bin directory.
Commits on Jan 17, 2018
  1. Bump package versions for 1.6.1-rc.8 release.

    benjamn committed Jan 17, 2018
  2. Bump $BUNDLE_VERSION to 8.9.18 before rebuilding dev bundle.

    benjamn committed Jan 17, 2018
  3. Revert "Mark JS hot-code-push test "slow" so CircleCI will skip it."

    benjamn committed Jan 17, 2018
    This reverts commit 5ae7a09.
  4. Fix `meteor bundle`-related self-tests.

    benjamn committed Jan 17, 2018
Commits on Jan 16, 2018
  1. Fix ddp-heartbeat self-test.

    benjamn committed Jan 16, 2018
  2. Bump package versions for 1.6.1-rc.7 release.

    benjamn committed Jan 16, 2018
  3. Guarantee all WebApp handler functions run in a Fiber.

    benjamn committed Jan 16, 2018
  4. Allow processFilesFor{Target,Bundle,Package} to return a Promise.

    benjamn committed Jan 16, 2018
    This paves the way for compiler plugins to use normal async/await rather
    than using fibers and/or futures to wait for async compilation to finish.
  5. Make "meteor-dev-bundle" and "meteor-dev-bundle-tool" packages private (

    klaussner authored and benjamn committed Jan 16, 2018
    #9542)
    
    Since these packages aren't published to the npm registry, they can be made private to avoid unnecessary warnings about missing description, repository, and license fields when installing server dependencies and generating dev bundles.
  6. Fall back to async for EPERM errors in files.rm_recursive.

    benjamn committed Jan 16, 2018
    Previously, the async fallback was only used in case of ENOTEMPTY errors,
    but Windows appears to throw temporary EPERM errors as well. If the errors
    are actually robust/non-temporary, the async version will fail, too.
    
    Should help with #9540.
Commits on Jan 15, 2018
  1. Bump package versions for 1.6.1-rc.6 release.

    benjamn committed Jan 15, 2018