-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#22 Improving ember-cli-2.18.2 upgrade.
- Loading branch information
Showing
4 changed files
with
41 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,12 +144,6 @@ Check out these extra mixins at | |
git clone [email protected]:cybertoothca/ember-cli-textarea-autosize.git | ||
``` | ||
|
||
### With NPM | ||
|
||
``` | ||
npm install | ||
``` | ||
|
||
### With Yarn | ||
|
||
``` | ||
|
@@ -177,31 +171,25 @@ For more information on using ember-cli, visit [http://ember-cli.com/](http://em | |
|
||
## Linking | ||
|
||
1. From the command line at the root of __this__ project run the | ||
`npm link` command to _link_ this addon within your local | ||
node repository. | ||
1. From the _other_ Ember project that you wish to test this addon | ||
in, execute the following command: | ||
`npm link ember-cli-textarea-autosize`. | ||
1. Now in that same _other_ Ember project, you should go into the | ||
`package.json` and add the ember addon with the version _*_. It will | ||
look something like this: `"ember-cli-textarea-autosize": "*"`. Now | ||
when/if you execute `npm install` on this _other_ project it | ||
will know to look for the linked addon rather than fetch it from | ||
the central repository. | ||
1. Lastly, in the _other_ Ember project run the blueprint for the | ||
`ember-cli-textarea-autosize` addon by executing: `ember g ember-cli-textarea-autosize`. This | ||
will install the appropriate Ember Addons and Bower dependencies. | ||
Use yarn. | ||
|
||
```bash | ||
# from this addon project | ||
$ yarn link | ||
# from the other project that depends on this addon | ||
$ yarn link ember-cli-textarea-autosize | ||
``` | ||
|
||
## Unlinking | ||
|
||
1. Remove the addon from your local node repository with the following | ||
command (that can be run anywhere): | ||
`npm uninstall -g ember-cli-textarea-autosize` | ||
1. Remove the reference to the `ember-cli-textarea-autosize` | ||
in your _other_ project's `package.json`. | ||
1. Run an `npm prune` and `bower prune` from the root of your _other_ project's command line. | ||
Again, use yarn. | ||
|
||
```bash | ||
# from the other project that linked to this addon | ||
$ yarn unlink ember-cli-textarea-autosize | ||
# from this addon project | ||
$ yarn unlink | ||
``` | ||
|
||
# Deploying The Dummy Application | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters