From a93f8c82941b31274f139d9a7f8f8384b64a26a7 Mon Sep 17 00:00:00 2001
From: Ben Gotow
Date: Thu, 22 Oct 2015 14:55:30 -0700
Subject: [PATCH] fix(*): Packages => Plugins in a few more places
Resolves T4289
---
docs/Overview.md | 4 ++--
docs/WritingSpecs.md | 2 +-
docs/index.md | 38 +++++++++++++++++++-------------------
menus/darwin.cson | 6 +++---
menus/linux.cson | 6 +++---
menus/win32.cson | 6 +++---
6 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/docs/Overview.md b/docs/Overview.md
index eb1e15cb9..77d926b9a 100644
--- a/docs/Overview.md
+++ b/docs/Overview.md
@@ -24,8 +24,8 @@ N1 is available for Mac, Windows, and Linux. Download the latest build for your
Packages lie at the heart of N1. Each part of the core experience is a separate package that uses the Nylas Package API to add functionality to the client. Learn more about packages and create your first package.
-
2
Start a Package
-
Packages lie at the heart of N1. The thread list, composer and other core parts of the app are packages bundled with the app, and you have access to the same set of APIs. From the Developer Menu, choose Create a Package... and name your new package.
+
2
Start a Plugin
+
Plugins lie at the heart of N1. The thread list, composer and other core parts of the app are plugins bundled with the app, and you have access to the same set of APIs. From the Developer Menu, choose Create a Plugin... and name your new plugin.
@@ -90,7 +90,7 @@ blockquote p {
3
See it in Action
-
Your new package comes with some basic code that adds a section to the message sidebar, and it's already enabled! View a message to see it in action. If you make changes to the source, choose View > Refresh to see your changes in N1.
+
Your new plugin comes with some basic code that adds a section to the message sidebar, and it's already enabled! View a message to see it in action. If you make changes to the source, choose View > Refresh to see your changes in N1.
@@ -98,7 +98,7 @@ blockquote p {
@@ -108,28 +108,28 @@ blockquote p {
A
Explore the source
-
Nylas is built on the modern web - packages are written in CoffeeScript or JavaScript. Packages are a lot like node modules, with their own source, assets, and tests. Check out yours in ~/.nylas/dev/packages.
+
Nylas is built on the modern web - plugins are written in CoffeeScript or JavaScript. Plugins are a lot like node modules, with their own source, assets, and tests. Check out yours in ~/.nylas/dev/packages.
B
Run the specs
-
In N1, select Developer > Run Package Specs... from the menu to run your package's new specs. Nylas and its packages use the Jasmine testing framework.
+
In N1, select Developer > Run Plugin Specs... from the menu to run your plugin's new specs. Nylas and its plugins use the Jasmine testing framework.
-
+
-If you followed the [first part](getting-started) of our Getting Started Guide, you should have a brand new package just waiting to be explored.
+If you followed the [first part](getting-started) of our Getting Started Guide, you should have a brand new plugin just waiting to be explored.
-This sample package simply adds the name of the currently focused contact to the sidebar:
+This sample plugin simply adds the name of the currently focused contact to the sidebar:
-We're going to build on this to show the sender's [Gravatar](http://gravatar.com) image in the sidebar, instead of just their name. You can check out the full code for the package [in the sample packages repository](https://github.com/nylas/edgehill-plugins/tree/master/sidebar-gravatar).
+We're going to build on this to show the sender's [Gravatar](http://gravatar.com) image in the sidebar, instead of just their name. You can check out the full code for the plugin [in the sample plugins repository](https://github.com/nylas/edgehill-plugins/tree/master/sidebar-gravatar).
-Find the package source in `~/.nylas/dev/packages` and open the contents in your favorite text editor.
+Find the plugin source in `~/.nylas/dev/plugins` and open the contents in your favorite text editor.
-> We use [CJSX](https://github.com/jsdf/coffee-react), a [CoffeeScript](http://coffeescript.org/) syntax for [JSX](https://facebook.github.io/react/docs/jsx-in-depth.html), to streamline our package code.
+> We use [CJSX](https://github.com/jsdf/coffee-react), a [CoffeeScript](http://coffeescript.org/) syntax for [JSX](https://facebook.github.io/react/docs/jsx-in-depth.html), to streamline our plugin code.
For syntax highlighting, we recommend [Babel](https://github.com/babel/babel-sublime) for Sublime, or the [CJSX Language](https://atom.io/packages/language-cjsx) Atom package.
### Changing the data
@@ -149,13 +149,13 @@ _renderContent: =>
```
-After making changes to the package, reload N1 by going to `View > Reload`.
+After making changes to the plugin, reload N1 by going to `View > Reload`.
### Installing a dependency
Now we've figured out how to show the contact's email address, we can use that to generate the [Gravatar](http://gravatar.com) for the contact. However, as per the [Gravatar documentation](https://en.gravatar.com/site/implement/images/), we need to be able to calculate the MD5 hash for an email address first.
-Let's install the `md5` package and save it as a dependency in our `package.json`:
+Let's install the `md5` plugin and save it as a dependency in our `package.json`:
```bash
$ npm install md5 --save
@@ -229,11 +229,11 @@ You'll see these styles reflected in your sidebar.