Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Meteorite still relevant now that Meteor 0.6.0+ supports npm packages?

Since Meteor 0.6.0+ supports npm packages directly, is Meteorite still relevant, and would there be any advantage/disadvantage to using it?

like image 793
0x6A75616E Avatar asked Apr 10 '13 03:04

0x6A75616E


People also ask

How do I update my meteor package?

If you want to update to a newer version of a package after installing it, use meteor update . You can run meteor update without any arguments to update all packages and Meteor itself to their latest versions, or pass a specific package to update just that one, for example meteor update ostrio:flow-router-extra .

What does meteor npm install do?

npm on the client If you are upgrading an application to Meteor 1.3 you may have to run meteor npm install --save meteor-node-stubs manually. The meteor-node-stubs npm package provides browser-friendly implementations of Node's built-in modules, like path , buffer , util , etc.


1 Answers

Meteorite is definitely still relevant and recent talks from meteor team indicate it will be folded into meteor itself eventually.

Meteorite does more than NPM, it also takes client side 3rd party libraries and specifies how they get integrated into a meteor app. In this aspect it serves the same purpose as yeoman/bower. 3rd party client side libraries like x-editable, sugar.js, moment.js, etc dont really belong in NPM, but you also shouldnt have to manually incorporate them into your meteor project either. See this comment from the meteor team: https://github.com/meteor/meteor/pull/516#issuecomment-12919473

Meteorite doesnt provide the full functionality of NPM. With just meteor, you cant just require a NPM package in your app and use it, even in 0.6.0+ you still have to make a package and an api wrapper. If you wanted to use a certain NPM and it was already wrapped and shared on meteorite, that would in effect provide a NPM 'proxy' via a meteorite package. Like this package https://atmosphere.meteor.com/package/ncp

I would suggest using meteorite for the capabilities you gain beyond meteor itself. However, be aware that this is an area in great flux so you may have to rework/adjust your project in the near term. IMO if you are building more than simplistic apps, you'll definitely want meteorite for the ease of incorporating 3rd party libraries.

like image 103
nate-strauser Avatar answered Oct 18 '22 05:10

nate-strauser