Commit Graph

21936 Commits

Author SHA1 Message Date
Ben Newman
d3ccc4ef73 Bump package versions for 1.8.1-beta.20 release. release/METEOR@1.8.1-beta.20 2019-02-28 16:18:39 -05:00
Ben Newman
ea86f86cbd Merge pull request #10453 from zodern/linker-performance
Improve linker performance for dynamic files, and avoid rebuilding main
bundle when only dynamic files have changed.
2019-02-28 15:16:13 -05:00
Ben Newman
bb564dd93f Address my own (minor) review feedback. 2019-02-28 14:55:38 -05:00
zodern
95a1f54cce Skip regenerating main bundle when only a dynamic file changed. 2019-02-28 14:55:38 -05:00
zodern
7b2adcb9da Cache stringified prelinked output for dynamic files. 2019-02-28 14:55:38 -05:00
zodern
358f4541d9 Update source-map to 0.5.7. 2019-02-28 14:55:38 -05:00
Ben Newman
986e0a3e84 Merge pull request #10448 from sakulstra/update-deps-again 2019-02-28 14:52:51 -05:00
Ben Newman
eda0146266 Merge pull request #10454 from zodern/write-performance 2019-02-28 14:52:05 -05:00
Ben Newman
7c7dea58a7 Double-check isDirectory before calling copyNpmPackageWithSymlinkedNodeModules. 2019-02-28 14:47:44 -05:00
Ben Newman
61ee90ef2d Begin garbage directory names with a '.' character. 2019-02-28 14:34:37 -05:00
Ben Newman
cd9ace9434 Bump package versions after updating npm dependencies in #10448. 2019-02-28 14:11:22 -05:00
Ben Newman
3348d708aa Update shrinkwrap files for npm dependencies bumped in #10448. 2019-02-28 14:09:40 -05:00
lukas strassel
2edc15a055 fix(deps): update terser, fetch, decimaljs, postcss, nanocss 2019-02-28 14:05:27 -05:00
Ben Newman
01f515e6b2 Inconsequential style tweaks. 2019-02-28 14:02:59 -05:00
zodern
aadbbfbd2b Clean up code. 2019-02-28 14:02:57 -05:00
zodern
c34a61a3f9 Simplify deciding when to not calculate SRI. 2019-02-28 14:02:52 -05:00
zodern
29b6ca6483 Avoid unnecessary work if the file was already written. 2019-02-28 14:02:48 -05:00
zodern
b48715d804 Improve performance of minifying dynamic files.
Avoids converting file contents to and from buffers and strings. The
conversion had been done for dynamic files before minifying them, and all
files after they were minified.
2019-02-28 14:02:41 -05:00
zodern
79d643574a Skip calculating SRI for assets from the public/ folder.
Saves on average ~2ms per file in one app, which adds up when there are
hundreds. SRI is currently only supported for js and css files, and Meteor
only uses it for the main bundles.
2019-02-28 14:02:27 -05:00
Ben Newman
367572f27d Bump $BUNDLE_VERSION to 8.15.1.0 before rebuilding dev bundle. 2019-02-28 13:50:08 -05:00
Ben Newman
0981817a30 Update Mongo to latest version(s). 2019-02-28 13:50:08 -05:00
Ben Newman
b2d7df5704 Update Node to version 8.15.1.
Release blog post: https://nodejs.org/en/blog/release/v8.15.1/
Security details: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/
2019-02-28 13:50:08 -05:00
Ben Newman
05e5cb9105 Avoid global staticFilesByArch variable in webapp_server.js. 2019-02-28 13:50:08 -05:00
Ben Newman
24e8d1d6f9 Merge pull request #10452 from zodern/cache-assets
Use optimistic functions with assets
2019-02-27 11:07:36 -05:00
Ben Newman
7ea14024bf Bump package versions for 1.8.1-beta.18 release. release/METEOR@1.8.1-beta.18 2019-02-26 21:55:12 -05:00
Ben Newman
743bfb6f43 Update RegExp for detecting non-existent npm packages.
Should fix failures like https://circleci.com/gh/meteor/meteor/31259.
2019-02-26 20:49:01 -05:00
Ben Newman
ae9bab7d35 Bump $BUNDLE_VERSION to 8.15.0.1 before rebuilding dev bundle. 2019-02-26 20:30:25 -05:00
Ben Newman
5ff5881804 Prevent strange EISDIR error when building dev bundle. 2019-02-26 20:05:53 -05:00
Ben Newman
83ec5e9ff8 Update meteor-babel to version 7.3.4. 2019-02-26 19:09:43 -05:00
Ben Newman
ba3e33380b Update npm to version 6.8.0 and pacote to version 9.4.1. 2019-02-26 18:28:48 -05:00
zodern
f11b905185 Use optimistic functions with assets 2019-02-13 11:13:00 -06:00
Ben Newman
c842d216a3 Merge branch 'devel' into release-1.8.1 2019-02-08 11:44:54 -05:00
Ben Newman
f04160aea8 Bump autoupdate patch version to 1.5.1. 2019-02-08 11:41:26 -05:00
Ben Newman
987c7b99b9 Bump package versions for 1.8.1-beta.17 release. release/METEOR@1.8.1-beta.17 2019-02-04 16:58:15 -05:00
Ben Newman
808d78dc44 Merge pull request #10442 from meteor/add-gitRevision-to-star.json-and-runtime-config
Expose Git commit hash in star.json and via Meteor.gitCommitHash.
2019-02-04 16:26:56 -05:00
Ben Newman
0f4802883a Attempt to fix tests by reverting puppeteer from 1.12.1 to 1.6.2.
Tests have started failing for reasons that may be related to puppeteer's
Meteor process management: https://circleci.com/gh/meteor/meteor/31035

Since I can't identify any other possible causes, using the same version
of puppeteer that other tests use (e.g. modules, dynamic-import) seems
like a reasonable first step.

Also updated puppeteer in tests/apps/app-config/package-lock.json to
version 1.6.2 (was 1.3.0), in an attempt to fix some unhandled promise
rejection warnings: https://circleci.com/gh/meteor/meteor/31063
2019-02-04 15:46:19 -05:00
Ben Newman
1e5863af69 Update Meteor.gitRevision to Meteor.gitCommitHash in History.md. 2019-02-04 14:33:16 -05:00
Ben Newman
a96241911a Address review feedback from @glasser. 2019-02-04 14:22:29 -05:00
Ben Newman
c4e6cdb96e Mention Meteor.gitRevision in History.md. 2019-02-04 13:21:06 -05:00
Ben Newman
2486743aab Expose Meteor.gitRevision for even easier access. 2019-02-04 13:21:06 -05:00
Ben Newman
ccab56380a Add a self-test of gitRevision extraction. 2019-02-04 12:06:45 -05:00
Ben Newman
312d06a90a Add gitRevision property to star.json and __meteor_runtime_config__.
This information is useful when you need a unique identifier for the
current version of the application (and you're using Git).

If the current Git HEAD revision can't be found for any reason, the
gitRevision property simply will not appear in star.json or
__meteor_runtime_config__.
2019-02-04 11:51:38 -05:00
Ben Newman
f1b736ec24 Bump cordova-plugin-meteor-webapp version to 1.6.5.
Includes https://github.com/meteor/cordova-plugin-meteor-webapp/pull/73
which fixes https://github.com/meteor/cordova-plugin-meteor-webapp/issue/72.
2019-02-04 10:58:42 -05:00
Ben Newman
0a08d59a22 Update meteor/circleci Docker image to Android API v27.
Should fix Circle CI tests that have been failing because the Android
license was not accepted: https://circleci.com/gh/meteor/meteor/30908
2019-01-31 12:47:12 -05:00
Ben Newman
985892c658 Bump package versions for 1.8.1-beta.16 release. release/METEOR@1.8.1-beta.16 2019-01-31 12:07:51 -05:00
Ben Newman
419ff7ce92 Merge pull request #10399 from zodern/windows-build-performance
Windows build performance
2019-01-31 12:02:41 -05:00
zodern
ead0a6de1f Fix indentation 2019-01-17 16:12:15 -06:00
zodern
31dfb0cc06 Remove timeout for starting delayed build 2019-01-17 16:09:21 -06:00
zodern
f9d17aaf0f Fix delaying render 2019-01-16 22:17:28 -06:00
zodern
285e1b50c3 Clean up code 2019-01-16 22:16:51 -06:00