Skip to content

Commit 1774654

Browse files
committed
Add Meteor 1.3 migration guide.
1 parent 6d1e242 commit 1774654

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Use Npm Modules with Your Meteor App
22

3-
> **Using With Meteor 1.2**
4-
>
5-
> If you are already using `meteorhacks:npm` and want to use Meteor 1.2 for your project. Follow these steps:
6-
>
7-
> ~~~
8-
> rm -rf packages/npm-container
9-
> meteor remove npm-container
10-
> meteor update meteorhacks:npm
11-
> meteor
12-
> ~~~
3+
> ### Using With Meteor 1.3
4+
> Meteor 1.3 has the build in NPM support. So, in Meteor 1.3 this package won't add anything.
5+
> #### Migration Guide
6+
> If your app use this package, follow these steps to migrate into 1.3.
7+
> * Create a `package.json` in your app. Use: `npm init`.
8+
> * Move all the packages on `packages.json` into `package.json` dependencies.
9+
> * Then do a `npm install` to install those NPM module.
10+
> * Remove `meteorhacks:npm` from your app with: `meteor remove meteorhacks:npm`.
11+
> * Remove `npm-container` from your app with: `meteor remove npm-container`.
12+
> * If you use Async methods introduced by this package, use [`meteorhacks:async`](https://atmospherejs.com/meteorhacks/async) package directly.
1313
1414
With Meteor you only can use `npm` modules inside packages. You can't directly use `npm` modules with meteor apps. This package solves that issue :)
1515

0 commit comments

Comments
 (0)