Meteor

Packages

article

 

Shawn McKay

shmck.com

@Sh_McK

Why?

Reusable

Clean Dependencies

Share

Why?

Packages++ =>

MeteorDevs++ =>

MorePackages++ =>

YourJob === Easier

Why?

If you use other

people's packages,

and you don't contribute...

 

You are a 나쁜사람.

Creating a Package

Package.js

Meteor Packages

!==

Meteor

1. Use Globals

Export Globals

2. Load Order is Important

3. Declare Dependencies

Minimize Dependencies

Config

Defaults

Load Options

Validate Options

Override Defaults with Options

Load Options

on Startup

Publishing

Specific Versions

Describe

Publish

Updating

Increment Version

Semantic Versioning

1.2.34

Major: I broke it

Minor: I added a new feature

Fix: I fixed something

Quick Update

Publish Update

Deleting a

Package

Don't be a 

이기적인놈...

Make

Packages

Shawn McKay

shmck.com

@Sh_McK

Made with Slides.com