From c69f9930137fc6f530ab92468041f06c2df69c63 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 24 Dec 2015 14:39:07 +0100 Subject: Accelerate the build process Following a valuable comment from @Slava [0], this commit improves the build and the reload time of Wekan. It does so by implementing the following changes: * Upgrade the meteor build tool to a version which includes a fix to an issue with the caching of the dependency resolution [1]. This fix will be included in Meteor 1.3, so we won't have to use a "special release" anymore; * Change the stylus package from `mquandalle:stylus` to `stylus` as we don't use the libraries included with my (mquandalle) version like Jeet or Rupture, and the core package implement the new meteor build plugin API with caching. The generated CSS file is slighly different mostly mostly because we miss some autoprefixed values but even until meteor-core figure out a good way to configure CSS autoprefixing, the benefits (better compile time) outweights the cons. For record I attached a diff in the generated style [2]; * Upgrade `mquandalle:jade` to a version that implements the build plugin caching correctly. These 3 changes decrease the reload time of about 50% on my computer. [0]: https://github.com/meteor/meteor/issues/5269#issuecomment-166422201 [1]: https://github.com/meteor/meteor/pull/5747 [2]: https://gist.github.com/mquandalle/e95198626767b56fc63a --- .meteor/packages | 2 +- .meteor/release | 2 +- .meteor/versions | 38 +++++++++++++++++++------------------- 3 files changed, 21 insertions(+), 21 deletions(-) (limited to '.meteor') diff --git a/.meteor/packages b/.meteor/packages index ad6ddf0b..1756f8a8 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -7,9 +7,9 @@ meteor-base # Build system ecmascript +stylus standard-minifiers mquandalle:jade -mquandalle:stylus # Polyfills es5-shim diff --git a/.meteor/release b/.meteor/release index 3a05e0a2..aa93b69d 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -METEOR@1.2.1 +METEOR@1.2.2-faster-rebuilds.0 diff --git a/.meteor/versions b/.meteor/versions index 8e9282e7..802c27c3 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -7,7 +7,7 @@ alethes:pages@1.8.4 arillo:flow-router-helpers@0.4.7 audit-argument-checks@1.0.4 autoupdate@1.2.4 -babel-compiler@5.8.24_1 +babel-compiler@5.8.25-faster-rebuild.0 babel-runtime@0.1.4 base64@1.0.4 binary-heap@1.0.4 @@ -15,7 +15,7 @@ blaze@2.1.3 blaze-html-templates@1.0.1 blaze-tools@1.0.4 boilerplate-generator@1.0.4 -caching-compiler@1.0.0 +caching-compiler@1.0.1-faster-rebuild.0 caching-html-compiler@1.0.2 callback-hook@1.0.4 cfs:access-point@0.1.49 @@ -37,21 +37,21 @@ cfs:upload-http@0.0.20 cfs:worker@0.1.4 check@1.1.0 chuangbo:cookie@1.1.0 -coffeescript@1.0.11 +coffeescript@1.0.12-faster-rebuild.0 cosmos:browserify@0.9.2 cottz:publish-relations@2.0.0 dburles:collection-helpers@1.0.4 ddp@1.2.2 -ddp-client@1.2.1 +ddp-client@1.2.2-faster-rebuild.0 ddp-common@1.2.2 ddp-rate-limiter@1.0.0 -ddp-server@1.2.2 +ddp-server@1.2.3-faster-rebuild.0 deps@1.0.9 diff-sequence@1.0.1 -ecmascript@0.1.6 +ecmascript@0.1.7-faster-rebuild.0 ecmascript-runtime@0.2.6 ejson@1.0.7 -email@1.0.8 +email@1.0.9-faster-rebuild.0 es5-shim@4.1.14 fastclick@1.0.7 fortawesome:fontawesome@4.5.0 @@ -59,7 +59,7 @@ geojson-utils@1.0.4 hot-code-push@1.0.0 html-tools@1.0.5 htmljs@1.0.5 -http@1.1.1 +http@1.1.2-faster-rebuild.0 id-map@1.0.4 idmontie:migrations@1.0.1 jquery@1.11.4 @@ -70,10 +70,10 @@ kenton:accounts-sandstorm@0.1.8 launch-screen@1.0.4 livedata@1.0.15 localstorage@1.0.5 -logging@1.0.8 +logging@1.0.9-faster-rebuild.0 matb33:collection-hooks@0.8.1 matteodem:easy-search@1.6.4 -meteor@1.1.10 +meteor@1.1.11-faster-rebuild.0 meteor-base@1.0.1 meteor-platform@1.2.3 meteorhacks:aggregate@1.3.0 @@ -83,25 +83,24 @@ meteorhacks:inject-data@1.4.1 meteorhacks:picker@1.0.3 meteorhacks:subs-manager@1.6.2 meteorspark:util@0.2.0 -minifiers@1.1.7 +minifiers@1.1.8-faster-rebuild.0 minimongo@1.0.10 mobile-status-bar@1.0.6 -mongo@1.1.3 +mongo@1.1.4-faster-rebuild.0 mongo-id@1.0.1 mongo-livedata@1.0.9 mousetrap:mousetrap@1.4.6_1 mquandalle:autofocus@1.0.0 mquandalle:collection-mutations@0.1.0 -mquandalle:jade@0.4.5 +mquandalle:jade@0.4.7 mquandalle:jade-compiler@0.4.5 mquandalle:jquery-textcomplete@0.8.0_1 mquandalle:jquery-ui-drag-drop-sort@0.2.0 mquandalle:moment@1.0.1 mquandalle:mousetrap-bindglobal@0.0.1 mquandalle:perfect-scrollbar@0.6.5_2 -mquandalle:stylus@1.1.1 npm-bcrypt@0.7.8_2 -npm-mongo@1.4.39_1 +npm-mongo@1.4.40-faster-rebuild.0 observe-sequence@1.0.7 ongoworks:speakingurl@1.1.0 ordered-dict@1.0.4 @@ -111,7 +110,7 @@ peerlibrary:blaze-components@0.15.1 peerlibrary:computed-field@0.3.1 peerlibrary:reactive-field@0.1.0 perak:markdown@1.0.5 -promise@0.5.1 +promise@0.5.2-faster-rebuild.0 raix:eventemitter@0.1.3 raix:handlebar-helpers@0.2.5 random@1.0.5 @@ -130,10 +129,11 @@ softwarerero:accounts-t9n@1.1.7 spacebars@1.0.7 spacebars-compiler@1.0.7 srp@1.0.4 -standard-minifiers@1.0.2 +standard-minifiers@1.0.3-faster-rebuild.0 +stylus@2.511.2-faster-rebuild.0 tap:i18n@1.7.0 templates:tabs@2.2.0 -templating@1.1.5 +templating@1.1.6-faster-rebuild.0 templating-tools@1.0.0 tracker@1.0.9 ui@1.0.8 @@ -143,6 +143,6 @@ useraccounts:core@1.13.0 useraccounts:flow-routing@1.13.0 useraccounts:unstyled@1.13.0 verron:autosize@3.0.8 -webapp@1.2.3 +webapp@1.2.4-faster-rebuild.0 webapp-hashing@1.0.5 zimme:active-route@2.3.2 -- cgit v1.2.3-1-g7c22