meteor 6.0有什么新变化吗?

2013-04-05 13:36:44 +08:00
 yakczh
New version available: 0.6.0
downloading [=============================] 100%... finished download

Meteor has a brand new distribution system!

In this new system, code-named Engine, packages are downloaded
individually and on demand. But all of the packages in each official
Meteor release are prefetched and cached so you can still use Meteor
when you're on a plane or in a coffeeshop with no Wifi.

Also, every Meteor project is now pinned to a specific Meteor release,
so everyone on your team is always running the same code regardless of
what they have installed on their laptop. Whenever you run 'meteor',
Engine automatically fetches the needed release manifest, build tools,
smart packages, and npm dependencies into your local warehouse.

Removing your current installation.

Downloading Engine upgrade
######################################################################## 100.0%

Installing Meteor in your home directory (~/.meteor):
* 'meteor' build tool
* Package updates: absolute-url accounts-base accounts-facebook
account-github accounts-google accounts-oauth1-helper accounts-oauth2-helper
accounts-oauth-helper accounts-password accounts-twitter accounts-ui
accounts-ui-unstyled accounts-urls account-weibo amplify autopublish
backbone bootstrap code-prettify coffeescript d3 deps domutils ejson email
force-ssl handlebars htmljs http insecure jquery jquery-history
jquery-layout jquery-waypoints json jsparse less livedata liverange
localstorage-polyfill logging madewith meteor minimongo mongo-livedata
ordered-dict past preserve-inputs random reload routepolicy session showdown
spark spiderable srp startup stream stylus templating test-helpers
test-in-browser tinytest underscore universal-events

Writing a launcher script to /usr/local/bin/meteor for your convenience.
**************************************************************
*** Meteor is now installed at /usr/local/bin/meteor. ***
*** Run `hash -r` so that your shell notices it has moved. ***
**************************************************************
demo: updated to Meteor 0.6.0.

-- Notice --

0.6.0: Variables declared with `var` at the outermost level of a JavaScript
source file are now private to that file. Remove the `var` to share
a value between files.
3981 次点击
所在节点    Meteor
1 条回复
chuangbo
2013-04-05 14:30:55 +08:00
简单翻译一下
主要改进:
1. 可以为每个应用单独指定 meteor 的版本,meteor 会在更新的时候保留各个版本的 meteor.
2. 可以使用 NPM 的包。

其他更新:
1. 支持所有 x86 Linux
2. 为每个 js 文件加上了闭包
3. 为内部包加上了测试

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/65008

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX